AVPlayer is not playing in iOS 11

三世轮回 提交于 2019-12-06 23:55:45

问题


I am facing an issue with AVPlayer in iOS 11. The same code is working perfectly on iOS 10. I used DRM for playing the video.

I am getting below warning :

  2017-11-22 20:48:09.237095+0530 AppName[9113:3782887] [] <<<< 
  AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -
  [AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl 
  outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device 
  discovery mode to DiscoveryMode_None (client: AppName)
  2017-11-22 20:48:09.266561+0530 AppName[9113:3782887] Presenting view 
  controllers on detached view controllers is discouraged 
  <Nettkino.PlayerViewController: 0x103f0a4b0>.
  2017-11-22 20:48:09.272713+0530 AppName[9113:3782887] [framework] 
  CUICatalog: Invalid asset name supplied: '(null)'
  2017-11-22 20:48:09.272730+0530 AppName[9113:3782887] [framework] 
  CUICatalog: Invalid asset name supplied: '(null)'
  2017-11-22 20:48:09.285772+0530 AppName[9113:3782887] [] <<<< 
  AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -
  [AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl 
  outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device 
  discovery mode to DiscoveryMode_Presence (client: AppName)

Please guide me. I am unable to solve this issue from last 3 days. Please let me know if you need more information about the app I used, I'll update my question.


回答1:


Without code we can get the exact error descriptions. Please Post the Player creation and the steps you are using to play the file. Then only we will execute and get back to you.



来源:https://stackoverflow.com/questions/47438401/avplayer-is-not-playing-in-ios-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!