It appears that in iOS Media api, streaming is not supported.
https://github.com/phonegap/phonegap-iphone/issues/55
If you are ready to work with code that is still under development (not sure if I have any flaws from it yet), then I wrote a plugin using the Matt Gallagher AudioStreamer classes, which so far work fine on iOS
https://github.com/devgeeks/phonegap-plugins/tree/AudioStreamer/iPhone/AudioStream
If you try it and find any errors, be sure to let me know :)
EDIT: This plugin has never been fully completed and is probably NOT the best solution. I worry that people still support this, hehe. For streaming on PhoneGap and iOS, it's probably best to use HTML5 live audio. It works.
source share