4

I need to create a simple media player that can stream internet radio stations in WMA, MP3 and AAC formats as part of a bigger app.

I was wondering if someone could please give me some pointers on where to start and how to go about tackling each of these formats? never really handled this topic before..

Thanks!

dpigera
  • 3,339
  • 5
  • 39
  • 60

2 Answers2

2

For audio streaming on the iPhone you'll have to use the AudioQueue framework. This framework has native support for mp3 and aac but is not easy to get started with. There's an open source project by Matt Gallagher that can play mp3 and aac audio streams by using the AudioQueue framework: AudioStreamer.

If you also need to play wma audio streams you have to use the open source FFmpeg library. Decoding wma audio streams with the FFmpeg library is not that hard but integration with the AudioQueue framework for playback is not that straightforward.

Kemal Taskin
  • 481
  • 4
  • 10
0

If you are familiar with handling this problem in a web app, you could try having a UIWebView in your app.

ThE uSeFuL
  • 1,456
  • 1
  • 16
  • 29