An AVPlayerItem cannot be associated with more than one instance of AVPlayer'

来源:互联网 发布:足球比赛软件 编辑:程序博客网 时间:2024/06/13 01:46

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'An AVPlayerItem cannot be associated with more than one instance of AVPlayer'

*** First throw call stack:

(0x18317822c 0x194dec0e4 0x18194cb50 0x18193f770 0x181960f00 0x18556db24 0x1854d9d8c 0x1854d97b4 0x1854db20c 0x1018ccfd4 0x1018ccf94 0x1018d1c28 0x18312f544 0x18312d5ec 0x183058f74 0x18cabb6fc 0x187c5ad94 0x100214dc0 0x195496a08)

libc++abi.dylib: terminating with uncaught exception of type NSException


可能是因为播放器用了单例   重复操作了视频  play 和pause

0 0