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

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章