ios - AVPlayer class & AVPlayerStatusFailed -


i'm using avplayer class playing server mp3 urls in our music streaming app. works well, avplayer status set "avplayerstatusfailed". , documentation suggest that, when happens need drop current avplayer object , instantiate new one.

this recovery approach fails sometimes, , when recovery approach fails irrespective of how many times avplayer object reinitialised not playing songs. faced simular issues? , have solution ?


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -