I am struggling with getting a live radio stream to work on android. I am using the MediaPlayer
class and just setting the URL and playing it. It works great
Maybe RDS data ? Do you set your buffer size manually ?
My question is, what do the error codes (1, 26) mean?
The error is -11, which means PVMFErrTimeout. You can check out the definition files here link text
To start the playback, start() must be called. After start() returns successfully, the MediaPlayer object is in the Started state. isPlaying() can be called to test whether the MediaPlayer object is in the Started state.
While in the Started state, the internal player engine calls a user supplied OnBufferingUpdateListener.onBufferingUpdate() callback method if a OnBufferingUpdateListener has been registered beforehand via setOnBufferingUpdateListener(OnBufferingUpdateListener). This callback allows applications to keep track of the buffering status while streaming audio/video.
Calling start() has not effect on a MediaPlayer object that is already in the Started state.
Maybe it a part of the response.