开发者

Objective-C, iPhone How play audio files from different URLs in sequence?

开发者 https://www.devze.com 2023-03-01 12:22 出处:网络
I need to play 3 audio files in sequence, from 3 different 开发者_运维技巧URLs in my iPhone app.

I need to play 3 audio files in sequence, from 3 different 开发者_运维技巧URLs in my iPhone app.

How can I do this?


The AVQueuePlayer does exactly this. Create an array of AVPlayerItem objects, and pass in the array when you create the AVQueuePlayer.

  • AVQueuePlayer Reference
0

精彩评论

暂无评论...
验证码 换一张
取 消