Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-4660

Symbian: Phonon MMF Backend: support network streaming/network URIs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.1
    • 4.6.0
    • (Inactive) mmfphonon
    • None
    • 3117e3, bed33a, 66b765

      The main question here is how best to implement the MIME type detection for streams. The OpenUrlL functions only take a URL, whereas the corresponding OpenFileL functions have overloads for filenames and for open RFile handles. This is because files support random access whereas streams do not. A naieve approach to MIME type detection for streams is as follows; is there a more efficient approach?
      1. Open network connection
      2. Download header
      3. Detect MIME type and create AbstractMediaPlayer instance
      4. Close network connection
      5. Pass URL to MMF client utility, which will then re-open the stream
      An alternative approach is to always create a VideoPlayer when passed an RTSP URL, and then modify VideoPlayer::hasVideo to check CVideoPlayerUtility::VideoMimeTypeL before returning. This way, we would always use CVideoPlayerUtility for RTSP streaming, whether the source is audio or video. Well-behaved client apps, however, should check MediaObject::hasVideo before creating the UI - and therefore the VideoWidget would only be connected if the source is actually a video stream.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            gastockw Gareth Stockwell
            fenglich Frans Englich (closed Nokia identity)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes