mattgallagher / AudioStreamer

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

How do I get audio stream to continue after network changes? #75

Open n1mda opened 10 years ago

n1mda commented 10 years ago

When device loses WiFi and goes to cellular, the playback stops with error "Unable to configure network read stream".

How do I get the app to restart the stream after an interruption like network change or phone call?

mostafaberg commented 10 years ago

I'm not 100% sure if you can "continue", but you can surely restart streaming and perhaps seek to the last part you stopped at.

Regarding phone calls, it's supposed to continue automatically. are you sure your implementation is correct ?