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

QML MediaPlayer on Android 4.2.2 does not play any HLS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.2.0
    • Multimedia
    • None
    • Android 4.2.2, tested with 5 different devices
    • Android

    Description

      The QML MediaPlayer on Android 4.2.2 loads HLS but does not start playing it. It loads and parses the HLS, probes and recognizes audio and video, but instead of playing, playback is cancelled. See the attached Logcat for details.

      The same HLS plays fine on these 4.2.2 devices when started through the browser by clicking on an HLS link to these same HLS sources.

      I got told that this problem affects also Andoid 4.3, and also devices such as Nexus 7, but currently I have no such device for testing.

      Devices with Android 4.0.4 or 4.1.x play the HLS without any problem in the QML MediaPlayer.

      To reproduce create a default Quick2 app and add a MediaPlayer to main.qml, or use the attached main.qml. Give it an HLS source, for example from the Apple developer sources, such as http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8 or any other valid HLS source, and run the app.

      IMHO this is a high priority, HLS is quite common now and 4.2.2 also.

      Attachments

        1. Logcat_HlsTest_4.2.2.txt
          10 kB
          Kali Leo
        2. main.qml
          5 kB
          Kali Leo
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            kalileo Kali Leo
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes