muslimtv / flutter_playout

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

Control being interrupted when play another url while the control loading another audio #6

Open phanbaohuy96 opened 5 years ago

phanbaohuy96 commented 5 years ago

The issues happened when I fast-playing a few audios. Because I want to load the audio first, then I play another audio that issue has happened. I think we should have a function to load the audio instead of using the 'play' function.

KhuramKhalid commented 5 years ago

Yes this is currently a limitation in the player implementation. Multiple players cannot be created at the same time and so loading URL on play is a way to enforce that. I will look into finding a better implementation where we can support multiple players.

phanbaohuy96 commented 5 years ago

In my case, i dont need multiple players, that is happens when i play a audio while the player loading another one. I think i should clear that one and load new audio. I hope this case will be resolved and also hope you find the best way to use multiple players.