Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法确定通过通知引发的 NSError 是否是致命错误(结束/阻止视频播放),而不是非致命错误(例如声音丢失,但播放恢复)?
我们之前依赖 player.rate 为 0(表示播放器无法启动)来确定错误是否致命,但事实证明这是不可靠的。