Player state is wrong (PLAYING but it is not playing) #961
Labels
bug
platform-ios
Affects the ios platform
stale
Automatically close this issue, if no activity is recognized
waiting for report
Wait for the author to respond to the conversation
While I cannot easily reproduce, I can confidently say the player state is sometimes wrong.
Full Description
My app relies on the player state to decide if it should let other audio play.
However I notice it sometimes gets "stuck." While this is probably a sign I should change my design, I printed the state above the check and see this:
PlayerState.PLAYING
. My audio files are maximum 20 seconds so for sake of illustrating that the state is definitely wrong, I can wait 5 minutes, press the play button again and it will print the state isPlayerState.PLAYING
before I get to any code that plays it.iOS 14.6
Flutter 2.2.3 (stable)
This plugin: 0.19.1
The text was updated successfully, but these errors were encountered: