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' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -