Android Question MediaPlayerStream - How to know the stream has stopped

biometrics

Active Member
Licensed User
Longtime User
Once I have started playing an audio stream, how will I know if it has stopped due to the internet connection failing?

In my test, I start the audio stream and unplug the network cable, after about 15 seconds the stream stopped. After about another 100 seconds of silence the StreamError event had not yet fired. Will it fire eventually and after how long?

So how do I know that the stream has stopped?
 
Top