Issue with states of QMediaPlayer
Unsolved
Qt for MCUs
-
When I call stop() function on QMediaPlayer, audio will stop playing and the source of the media player is set to null.
But state is not changing to "StoppedState" sometimes. But I expect the state of QMediaPlayer to get changed to "StoppedState" as soon as stop() is called at all times.
I even tried to give around 1sec delay after calling stop() just to see if the state changing takes some time, but even then the state is not getting updated to "StoppedState" ( state is showing as "PlayingState").
Please let me know if I'm missing something. -
Hi,
Which version of Qt ?
On which OS ?
Using which backend ?