问题
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