简体   繁体   中英

iPhone Audio Streaming

I would like to know how to start creating an Audio Streaming Player to iPhone (a radio streaming).

I read that I have to use AudioToolbox and AudioQueue. Is there any easy solution? Anybody has an advice?

Thanks!

Take a look at http://cocoawithlove.com/2010/03/streaming-mp3aac-audio-again.html for a very complete audio streaming example.

Recent versions of the iOS SDK allow you to use AVPlayer which can also play remote mp3 audio streams. AVPlayer is easier to use and way more high-level than the AudioQueue API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM