_serverConnectionDiednotification. Info — notification=Error Domain=AVFoundationErrorDomain Code=-11819 “Cannot Complete Action” UserInfo=0x5dfcb0 {NSLocalizedRecoverySuggestion=Try again later.,NSLocalizedDescription=Cannot Complete Action},AVPlayer =,currentTime = 0.00
2012-05-27 15:32:41.777 AnswerMania[3885:707] * Terminating app due to uncaught exception ‘NSinvalidargumentexception’,reason: ‘An AVPlayerItem cannot be associated with more than one instance of AVPlayer’
这不会发生.我观察了所有MpMovIEPlayerController通知,但无法观察到此错误.它与服务器连接有关吗?如何观察serverConnectionDiednotification?
解决方法 播放视频时出现日历提醒时出现类似问题.它是通过不使用应用程序音频会话为我解决的:movIEPlayer.useApplicationAudioSession = NO;
编辑:
它与以下错误有关,没有看到_serverConnectionDiednotification:
AVPlayerItem cannot be associated with more than one instance of AVPlayer总结
以上是内存溢出为你收集整理的ios – MPMoviePlayerViewController观察’_serverConnectionDiedNotification’全部内容,希望文章能够帮你解决ios – MPMoviePlayerViewController观察’_serverConnectionDiedNotification’所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)