我的应用程序进行了一些处理,在某些时候它需要调用 AVAssetExportSession。
如果会话已经开始,然后我后台应用程序,一切正常完成。但是,如果我在调用exportAsynchronouslyWithCompletionHandler
. 我收到此错误:
AVAssetExportSessionStatusFailed Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo=0x1e550db0 {NSLocalizedFailureReason=An unknown error occurred (-12985), NSUnderlyingError=0x1e574910 "The operation couldn’t be completed. (OSStatus error -12985.)", NSLocalizedDescription=The operation could not be completed}
是否可以在后台启动 AVAssetExportSession?