Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.12.2, 5.13.0
-
None
-
windows10 1903, MSVC2017
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)