ios - How to tell if Airplay streaming failed? -


i'm working on video content app features both live stream , vod ads. drm reasons need use different streams when playing vod on device / streaming on airplay. when switch , try start streaming airplay new avplayer , every apple tv display message:

an error occurred loading content.

i'm observing avplayer status through kvo, doesn't seem change status 'avplayerstatusfailed' when happens, don't know when close video playback or start retry logic.

do notification this?


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -