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

QMediaPlayer cannot emit correct bufferStatusChanged(int) signal while loading online audio data.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.12.2, 5.13.0
    • Multimedia
    • None
    • windows10 1903, MSVC2017
    • Windows

    Description

      The source code is in media.7z, before running this program, please replace "http://xxx.com/.mp3" with an online audio URL in main.cpp first, and add restrictions for your network speed.

       

      QMediaPlayer cannot emit correct bufferStatusChanged(int) signal while loading online audio data.

      Drag the progress slider to a location where the audio is not buffered,bufferStatusChanged(int) should emit the value from 0 to 100, but it didn't.

      Sometimes it emits bufferStatusChanged(0) , sometimes it not emit this signal.

      You can also find if you drag the progress slider to a location where the audio is not buffered, the slider will bounce back by signal positionChanged(qint64),  it's not normal.

      If you compile the code and run it in ubuntu, you can find those two errors are not happened.

      But it happened in windows.

      (Forgive me for my poor English T_T)

       

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            xingziyi Ziyi Xing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes