Stream audio from iPhone to browser. Ideas?

I've seen many articles and SO questions about streaming TO iPhone app, but my question is the opposite, i.e. streaming OT iPhone app.

I have audio content in an iPhone app that I want to stream to the browser. So the idea is that the browser can connect to the server running on the iphone. The server on the iphone will transmit the audio to the browser. The browser will play an endless stream.

I already have seamless outline content on my phone with AudioQueue. I already know how to set up a server running on the phone with CocoaHTTPServer. Is there a third part that can make an AudioQueue (or FileStream) stream in a browser connected to the iPhone's back-end server?

Anyone have any thoughts on how to implement this?

+2


source to share


1 answer


Well, there are some good open source projects out there that you can analyze, port, or emulate. I would guess Icecast and streamTranscoderv3 work together. The latter will take the audio source and send it to the Icecast server as the source. Port parts of both and run them locally on the iPhone and you have a solution. My guess is that Bonjour can be used so that other systems on the local network can find and listen to the iPhone.

Or send the output of streamTranscoder to an Icecast server elsewhere and make it available to the world.



Unfortunately, no project is constructed - the code is not supermodular, but it is clear and modestly cross-cutting.

+2


source







All Articles