When the app enters background, the compression continues for few seconds with low GPU priority and then it stops and after entering the app again the compression will fail with below error :
Error: Error Domain=AVFoundationErrorDomain Code=-11847 "Operation Interrupted" UserInfo={NSLocalizedRecoverySuggestion=Stop other operations and try again., NSLocalizedDescription=Operation Interrupted, NSUnderlyingError=0x2806c07e0 {Error Domain=NSOSStatusErrorDomain Code=-16121 "(null)"}}
I'm using swift 4 and ios 12.2 both simulator and iphone 6s tested
When the app enters background, the compression continues for few seconds with low GPU priority and then it stops and after entering the app again the compression will fail with below error :
Error: Error Domain=AVFoundationErrorDomain Code=-11847 "Operation Interrupted" UserInfo={NSLocalizedRecoverySuggestion=Stop other operations and try again., NSLocalizedDescription=Operation Interrupted, NSUnderlyingError=0x2806c07e0 {Error Domain=NSOSStatusErrorDomain Code=-16121 "(null)"}}I'm using swift 4 and ios 12.2 both simulator and iphone 6s tested