Audio Streaming and player state
Hi,
First time congratulations by this repository. Very usefully and very clean.
I'm using this audio player in my app and I've needed some changes and I thought that this changes could be new features for this player.
I've added a new method that load an play a streaming audio file. I've changed current method "loadItem" and I execute in background with blocks, so don't block the UI.
Also, I've added a new player property, the state. Now player has got various states, buffering, playing, stopped, paused and error. With this change the user be able to know the current status of player.
I've changed the delegate notification. Now, the method called "_notifyStatusChanged" is executed when set the current status of player.
Wait you feedback about this changes.
Thanks for code again, Juanpe
Thank you! I'll check it out asap.
Hi Serg Krivoblotsky, Could you check my code? Thanks
Hi, Juanpe. Thank you for the PR. I'm having some difficulties with permissions over this repository. Once I will be able to merge pull requests, I'll check your code once again and merge it. Thanks for contribution.