Hi All,

I'm using MediaPlayer to stream an .mp3 radio broadcast. This stream is a 
live stream and therefore has no duration. I'm debugging it on my phone in 
eclipse and every few seconds I'm getting info/warnings that the buffering 
is starting and stopping. Sometimes the buffering lasts longer than other 
times, but while it's buffering it pauses the playback of the audio. Since 
this happens every few seconds it's not a great experience for users. I've 
been trying to find a way to get around this but I haven't been able to 
find anything. If anyone has any suggestions I'd love to hear them, or if 
you can point me to some examples that would be great.

My test device is an HTC Sensation 4G running Android 4.0.3. I'm running 
the stream over my phone network. I have a feeling that the buffering has 
something to do with the speed of the network connection, but I haven't 
been able to find any examples of how I can request a slower/faster speed 
stream based on the network speed. This would be an ideal solution since 
you never know what kind of network people are using to stream audio. I 
know the Network Manager has ways to implement different things based on 
when the network changes but I read that it doesn't actually give you the 
speed of the network, just when it's changed.

Thanks in advance for any help,
Danielle

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to