Post not yet marked as solved
Post marked as unsolved with 6 replies, 3,206 views
Hello guys, I constantly keep getting error code -12780 while saving the file.Configuration isAVAssetWriterInput(mediaType: AVMediaType.video, outputSettings: [
AVVideoCodecKey: AVVideoCodecType.h264,
AVVideoWidthKey: floor(UIScreen.main.bounds.width / 16) * 16,
AVVideoHeightKey: floor(UIScreen.main.bounds.height / 16) * 16,
AVVideoCompressionPropertiesKey: [
AVVideoAverageBitRateKey: 2300000,
],
])I don't understand what NSOSStatusErrorDomain -12780 means. The localized description is The operation could not be completed.Other than that I discovered that on my iOS 13 beta device the error code is: -17508,but still is The operation could not be completed.