播放视频时,crash
Closed this issue · 4 comments
sunlei4076 commented
提示如下
NSInvalidArgumentException
An AVPlayerItem cannot be associated with more than one instance of AVPlayer
CoreFoundation ___exceptionPreprocess
sunlei4076 commented
bqlin commented
出现这个问题是因为我们使用的播放器是继承于MPMoviePlayerController
,因此是不能同时存在两个播放器对象的。
sunlei4076 commented
是因为我这边没有销毁便又初始化另一个播放器的原因吗
bqlin commented
可能是。