AVFoundationErrorDomain Code-11800 NSOSStatusErrorDomain Code-12642

Hello I am working on a project that supports play HLS videos (like m3u8 ...), but I have the above error in iOS14.

It is working fine in iOS13.

playerItem error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12642), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x2804ac600 {Error Domain=NSOSStatusErrorDomain Code=-12642 "(null)"}}


How can I fix it ?

Replies

If it was working in iOS 13 but fails in iOS 14, please file a bug report using the feedback assistant.