mattgallagher / AudioStreamer

A streaming audio player class (AudioStreamer) for Mac OS X and iPhone.
http://cocoawithlove.com
1.93k stars 553 forks source link

Detect when the available bandwidth is too low #23

Open jeremyquinn opened 13 years ago

jeremyquinn commented 13 years ago

I would like to find a way to detect when the bandwidth is too low to support the stream. On mobile devices you can often get into this state when 3G drops to Edge or worse. Apple’s Reachability cannot detect this AFAIK. AudioStreamer is so robust, it just keeps on trying, the effect is that listener gets a brief burst of music every 10 seconds or so. My users find this disconcerting, specially with the player in the background ;-)