We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter Version
My version : 3.3.10
Lib Version
My version : 3.0.6
Platform (Android / iOS / web) + version
Platform : web
Describe the bug playlistFinished is calling onData function before the audio is finished.
onData
Small code to reproduce
//Stop speaking once the audio is finished AssetsAudioPlayer player = AssetsAudioPlayer.newPlayer(); player?.open(Audio.network(audioPath), autoStart: true); player?.playlistFinished.listen((finished) { print("[log][audio] finished: $finished audio: : $audioPath"); if (finished == true) { audioPlayerCallback(splashRiveVm); setState(() { audioReadyToPlay = false; }); } }, onDone: () { print('done'); audioPlayerCallback(splashRiveVm); setState(() { audioReadyToPlay = false; }); }, onError: (error) { print('[log][audio][error]$error'); GlobalExceptionHandler().reportError(error, StackTrace.current); audioPlayerCallback(splashRiveVm); });
The text was updated successfully, but these errors were encountered:
florent37
No branches or pull requests
Flutter Version
My version : 3.3.10
Lib Version
My version : 3.0.6
Platform (Android / iOS / web) + version
Platform : web
Describe the bug
playlistFinished is calling
onData
function before the audio is finished.Small code to reproduce
The text was updated successfully, but these errors were encountered: