Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    2
    3
    2668
    Loading More Posts
    • 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
      duudle last edited by

      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 Reply Quote 0
      • Z
        ZapB last edited by

        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 Reply Quote 0
        • D
          duudle last edited by

          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 Reply Quote 0
          • First post
            Last post