AVFoundation recording error -11800 with MultiCam

Dear AVFoundation Engineers, I get this error which is reproducible sometimes while using AVAssetWriter to record in multicamera session.

Error -11800
Localized Description: "The operation could not be completed"
Localized Failure Reason: "An unknown error occurred -16364"

And I checked the timestamps for consistency. Here are the timestamps logged in order before they are appended to AVAssetWriter. I am appending trailing log of last few frames timestamps.


Code Block
2020-08-12 14:41:29.255527+0530 MyApp[1474:1750168] Frame time 126866.62201475
2020-08-12 14:41:29.282100+0530 MyApp[1474:1750174] Frame time 126866.655337833
2020-08-12 14:41:29.313364+0530 MyApp[1474:1750168] Frame time 126866.688661083
2020-08-12 14:41:29.355942+0530 MyApp[1474:1750231] Frame time 126866.721984166
2020-08-12 14:41:29.387164+0530 MyApp[1474:1750174] Frame time 126866.755307333
2020-08-12 14:41:29.423126+0530 MyApp[1474:1750174] Frame time 126866.788630375
2020-08-12 14:41:29.452698+0530 MyApp[1474:1750172] Frame time 126866.821953791
2020-08-12 14:41:29.490752+0530 MyApp[1474:1750175] Frame time 126866.855276791
2020-08-12 14:41:29.518082+0530 MyApp[1474:1750168] Frame time 126866.888599958
2020-08-12 14:41:29.553148+0530 MyApp[1474:1750175] Frame time 126866.921922916
2020-08-12 14:41:29.584810+0530 MyApp[1474:1750168] Frame time 126866.955246333
2020-08-12 14:41:29.620997+0530 MyApp[1474:1750174] Frame time 126866.988569333
2020-08-12 14:41:29.650584+0530 MyApp[1474:1750168] Frame time 126867.021892291
2020-08-12 14:41:29.684804+0530 MyApp[1474:1750175] Frame time 126867.05521575
2020-08-12 14:41:29.724279+0530 MyApp[1474:1750172] Frame time 126867.08853875
2020-08-12 14:41:29.747264+0530 MyApp[1474:1750175] Frame time 126867.121862208
2020-08-12 14:41:29.781779+0530 MyApp[1474:1750172] Frame time 126867.155184916
2020-08-12 14:41:29.817972+0530 MyApp[1474:1750175] Frame time 126867.18850825
2020-08-12 14:41:29.851997+0530 MyApp[1474:1750172] Frame time 126867.221831458
2020-08-12 14:41:29.885758+0530 MyApp[1474:1750175] Frame time 126867.2551545
2020-08-12 14:41:29.916920+0530 MyApp[1474:1750172] Frame time 126867.288477791
2020-08-12 14:41:29.963321+0530 MyApp[1474:1750172] Frame time 126867.31711775
2020-08-12 14:41:29.992338+0530 MyApp[1474:1750172] Frame time 126867.350480875
2020-08-12 14:41:30.029164+0530 MyApp[1474:1750168] Frame time 126867.383843583
2020-08-12 14:41:30.068155+0530 MyApp[1474:1750175] Frame time 126867.417207541
2020-08-12 14:41:30.095844+0530 MyApp[1474:1750175] Frame time 126867.450570833
2020-08-12 14:41:30.133841+0530 MyApp[1474:1750168] Frame time 126867.483933791
2020-08-12 14:41:30.168765+0530 MyApp[1474:1750175] Frame time 126867.517297208
2020-08-12 14:41:30.198893+0530 MyApp[1474:1750168] Frame time 126867.550660416
2020-08-12 14:41:30.235167+0530 MyApp[1474:1750168] Frame time 126867.584023666
2020-08-12 14:41:30.257920+0530 MyApp[1474:1750168] Frame time 126867.617387208
2020-08-12 14:41:30.259389+0530 MyApp[1474:1750009] Error Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16364), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x11eb6f2d0 {Error Domain=NSOSStatusErrorDomain Code=-16364 "(null)"}}, Info ["NSLocalizedDescription": The operation could not be completed, "NSLocalizedFailureReason": An unknown error occurred (-16364), "NSUnderlyingError": Error Domain=NSOSStatusErrorDomain Code=-16364 "(null)"]


exactly the same

AVFoundation recording error -11800 with MultiCam
 
 
Q