简体   繁体   English

AVPlayer无法在iOS 11中播放

[英]AVPlayer is not playing in iOS 11

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. 我在iOS 11中遇到AVPlayer的问题。相同的代码在iOS 10上运行良好。我使用DRM播放视频。

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. 如果您需要有关我使用的应用的更多信息,请告诉我,我会更新我的问题。

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. 然后,只有我们会执行并回复您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM