AVPlayer无法在iOS 11中播放 [英] AVPlayer is not playing in iOS 11

查看:834
本文介绍了AVPlayer无法在iOS 11中播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iOS 11中面临AVPlayer的问题。相同的代码在iOS 10上完美运行。我使用DRM播放视频。

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.

我收到以下警告:

  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)

请指导我。我在过去3天内无法解决此问题。如果您需要有关我使用的应用程序的更多信息,请告诉我,我会更新我的问题。

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.

这篇关于AVPlayer无法在iOS 11中播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆