Error Domain=NSOSStatusErrorDomain Code=-16341

I'm using AVAssetWriter writing CMSampleBuffer from camera to mp4 file, but occasinally this error occurs: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x17005c0b0 {Error Domain=NSOSStatusErrorDomain Code=-16341 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-16341), NSLocalizedDescription=The operation could not be completed}.

what does code = -16341 mean? where can I get those errors' description documents?

With great appreciate for your help.

Replies

AVErrorUnknown

-11800

Reason for the error is unknown.


-16341 ...?

-=-


Look up known errors here:

h t t p s : / / www.osstatus.com

I experiencing the same issue, can anyone help?😢

Many thanks!!! 🙂

I just figured out my case that because of movieFragmentInterval is too small, set more time to release I/O 's pressure