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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -