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

[Android] Audio duration = -1 when play a mp3 audio on website

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.14.1
    • Multimedia
    • None
    • Android

      I am facing an issue with mp3 duration, it doesn't work well on android. For example code, please refer attached files
      This is output duration on Desktop and Android for same MP3 LINK
      Desktop:
      qml: Duration: 17604
      Android: 
      D libMP3Example_x86.so: qml: Duration: -1

      I don't know why on Android, that duration is -1. In my project, I need correct value to use for Slider.
      I tested on iOS, and it worked well, then it seems this happens only in android system.
      It also works well if I use mp3 file as resource instead play online mp3.}}}}

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

            valentyn.doroshchuk Valentyn Doroshchuk
            phubq Quang Phu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes