AVQueuePlayer sometimes moves to the next AVPlayerItem in its items queue without sending AVPlayerItemDidPlayToEndTimeNotification

雨燕双飞 提交于 2019-12-11 05:30:57

问题


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:


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



来源:https://stackoverflow.com/questions/4957216/avqueueplayer-sometimes-moves-to-the-next-avplayeritem-in-its-items-queue-withou

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