Working with Cupertino HTTP Streaming and iPhone AudioQueue
I am writing an iPhone app, which is going to play an audio stream from Wowza Media Server 2. Since the wowza server description said that I should use HTTP streaming to play the audio stream on iPhone, I prepared an AAC format audio file and set the server up. I found that my audio stream can be played well by entering the stream URL on Mobile Safari.
I also found that I can play the stream via 'MPMoviePlayerController' as well, but it has been figured out that we cannot use MPMoviePlayerController. We hoped to play the audio stream on background, but MPMoviePlayerController pops the quicktime player up on a full screen and covers our all UIs up.
We found that AudioQueue can play an audio stream downloaded from internet with HTTP protocol. This example shows how: