Our app is using avfoundation to add overlay and merge several video tracks and audio.
we are using:
Code Block AVMutableComposition AVMutableVideoCompositionInstruction AVMutableCompositionTrack AVMutableAudioMix AudioCompositor AVAssetExportSession.exportAsynchronously
it works well until iOS 14.5. From iOS 14.5, there are more errors below (very frequently), sometime it crashes too.
Code Block Error Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedRecoverySuggestion=Try again later., NSLocalizedDescription=Cannot Complete Action, NSUnderlyingError=0x283cf3d80 {Error Domain=NSOSStatusErrorDomain Code=-16978 "(null)"}}
With our first investigations, we suppose that iOS 14.5 is more strict on memory consumption, but we cant' find any changelog about avfoundation or memory restriction on iOS 14.5
We are in trouble, because our app is completely inusable.
Looking forward for your relays, thank you!
-
—
huang_xiaoqing
Add a CommentLike you, this problem occurs frequently after users upgrade to 14.6, which gives me a headache, because users only have this problem after upgrading the system, and they use it very well in versions before IOS 14.5. What's more, as long as it appears on this mobile phone, it is a necessary error. Have you solved this problem now?