Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to implement basic authentication for video URLs in Qt app?
QtWS25 Last Chance

How to implement basic authentication for video URLs in Qt app?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    duudle
    wrote on last edited by
    #1
    1.  How to properly  implement supplying authentication parameters in http request headers, some using http basic authentication headers, some custom headers, for an URL that is used as video source for video playback , in Qt app?
      
    2.  Is it possible to open a video URL that requires http basic authentication or custom request headers using the Video player application that comes with the device, and can this be launched from Qt app?
      

    Both streaming and downloading the video file cases should be considered.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      For 1). take a look at "QNetworkRequest::setRawHeader()":http://doc.qt.nokia.com/latest/qnetworkrequest.html#setRawHeader.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • D Offline
        D Offline
        duudle
        wrote on last edited by
        #3

        Yes, I'm familiar with that method; but I don't seem to get it working for any video source requests that are used by Mobility Multimedia class methods, like QMediaPlayer.setMedia() on Symbian (tested on Nokia C7). On MeeGo that approach on the other hand does seem to work properly.

        Anybody with known working solution for Symbian^3?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved