audioplayers
audioplayers copied to clipboard
onPlayerStateChanged don't send playing notification when looping
onPlayerStateChanged sends AudioPlayerState.COMPLETED but no AudioPlayerState.PLAYING when release mode is set to LOOP after it loops.
As such, if you just subscribe to onPlayerStateChanged the app doesn't know that audio is still playing. I have reproduced on iOS but haven't tested any other platforms.
Can you confirm on audioplayers: ^1.1.0
?
@Gustl22 Same thing happens for me with audioplayers: ^1.1.0
can confirm.
also when audio play interuption happens for example on incoming call onPlayerStateChanged is not triggered