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.
source share