thyagoluciano / flutter_radio

Radio station streaming example with ExoPlayer and Flutter.
GNU General Public License v3.0
86 stars 41 forks source link

Add isBuffering property [feature] #49

Open hqueiroga opened 3 years ago

hqueiroga commented 3 years ago

I loved this plugin... it's quite simple to use and really works on iOS. However I think it would be nice having a proper player state management or a simple isBuffering flag to the flutter_radio class indicating when stream is buffering... when using plugin to online streams flag isPlaying will be always TRUE but this is not really correct because sometimes users can't listen anything (while buffering). Is that possible to add a new isBuffering flag? Thank you a lot for your work!