muslimtv / flutter_playout

AV Playout in Flutter
BSD 3-Clause "New" or "Revised" License
154 stars 93 forks source link

Missing listener when stop audio and play again on iOS #4

Open phanbaohuy96 opened 5 years ago

phanbaohuy96 commented 5 years ago

I tried to stop the audio and after that, i play the same link then the audio running with duration i stop before and all listener is missing on iOS. Could you check that issue?

KhuramKhalid commented 5 years ago

In the example app I was calling stop() on onComplete() causing the event listeners to clear. Removing that fixed the issue.

phanbaohuy96 commented 5 years ago

When i stop player myself and replay, i dont receive any trigger from observer and if i stop it again i get crash on iOS.