fijkplayer
fijkplayer copied to clipboard
No response after network disconnection
When using fijkplayer to play audio files, such as "http://lhttp.qingting.fm/live/386/64k.mp3".
Call the following code in turn:
await player.setDataSource(url, autoPlay: false); await player.prepareAsync(); await player.start();
The player starts to work normally and the output state is: FijkState.started.
At this time, after disconnecting the device network, there is no response after playing the cached buffer, there is no error message, and it will not be played again after the network is restored.
I hope to get a callback message when the playback cannot be played due to network reasons.