6
votes

My goal: play MP3/AAC files from a web server (streamed, rather than downloaded in advance) in PERFECT sync between multiple iOS devices.

Two questions:

1 - Can AVPlayer stream existing MP3/AAC files, while continuing on to the next tracks in the background? Meaning, assuming the phone is locked, or another app is in the foreground, if I am playing a list of multiple MP3/AAC files, and one finishes playback, will the next track begin playing seamlessly?

2 - Can the new setRate:time:atHostTime: method in iOS6 AVPlayer allow for synchronized playback between MULTIPLE iOS devices? Meaning, I want to play audio in perfect sync between multiple iOS devices. I read the documentation here, but it's a bit confusing and I can't find any sample code to see how it works:

1

1 Answers

0
votes

Matt's AudioStreamer is the best option for you , Avplayer and AVaudioplayer downloads the remote mp3 url synchronously before playing which takes time .

click here