IPhone: streaming WMA, MP3 and AAC

I need to create a simple media player that can broadcast Internet radio stations in WMA, MP3 and AAC formats as part of a larger application.

I was wondering if anyone can give me some guidance on where to start and how to solve each of these formats? never considered this topic before.

Thanks!

+4
source share
2 answers

To stream audio to your iPhone, you have to use the AudioQueue framework. This framework has built-in support for mp3 and aac, but it’s easy to get started. There is Matt Gallagher's open source project that can play mp3 and aac audio streams using the AudioQueue: AudioStreamer framework .

If you also need to play wma audio streams, you need to use the open source FFmpeg library. Decoding wma audio streams using the FFmpeg library is not so difficult, but integration with the AudioQueue framework for playback is not so simple.

+2
source

If you are familiar with this problem in a web application, you can try using UIWebView in your application.

0
source

All Articles