When using AVPlayer to play audio from an url it will
discontinue to play when for example disconnecting from wifi.
[player play];
Does not resume the AVPlayer
player.rate // Value is 1.0
player.currentItem.isPlaybackLikelyToKeepUp // Value is YES
player.status // Value is AVPlayerStatusReadyToPlay
player.error // Value is nil
But the player is not playing any audio.
How do I handle a disconnect from AVPlayer, for reconnecting the AVPlayer
and start playing again?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…