AVQueuePlayer sometimes moves to the next AVPlayer

2019-07-23 04:30发布

I'm using AVQueuePlayer to play a couple of streams in order. But often the AVQueuePlayer decides to skip to the next song without sending AVPlayerItemDidPlayToEndTimeNotification. Also no error is logged in the player. The streaming protocol used is Http Live Streaming. Could this behavoir be due to a problem with the streams? Has anyone else encountered it?

1条回答
孤傲高冷的网名
2楼-- · 2019-07-23 04:54

Have you checked the status of the item that didn't play? It may have failed, for some reason.

查看更多
登录 后发表回答