Closed sunlei4076 closed 7 years ago
提示如下 NSInvalidArgumentException An AVPlayerItem cannot be associated with more than one instance of AVPlayer CoreFoundation ___exceptionPreprocess
http://stackoverflow.com/questions/12041260/an-avplayeritem-cannot-be-associated-with-more-than-one-instance-of-avplayer 能使用这个方法解决吗
出现这个问题是因为我们使用的播放器是继承于MPMoviePlayerController,因此是不能同时存在两个播放器对象的。
MPMoviePlayerController
是因为我这边没有销毁便又初始化另一个播放器的原因吗
可能是。
提示如下 NSInvalidArgumentException An AVPlayerItem cannot be associated with more than one instance of AVPlayer CoreFoundation ___exceptionPreprocess