iPhone Radio Streaming for WMA audio files

筅森魡賤 提交于 2019-12-06 02:16:10

Basically impossible unless you feel like writing your own decoder. The iPhone doesn't support WMA and that's kind of the end of it.

I totally agree with Noah Witherspoon. Just adding one step, for handling audio streaming you should look at this

Hope this helps.

For wma you should use the FFmpeg library. FFmpeg will be able to decode wma audio streams and also connect to mms audio streams.

If you do a little research you'll find ways to compile static FFmpeg libraries for the iOS platform. Once you have the static FFmpeg libraries in place you can connect to audio streams and start decoding. To play the decoded audio packets you'll need to use the AudioQueue framework. Basically you pass the decoded audio data to AudioQueue and tell it to play the buffers filled with the decoded data FFmpeg gave you.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!