我的應用程序開始AVAssetExportSession進行一些處理,並在某些時候需要調用一個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?
我無法讓它在後臺運行。即使會話在進入後臺之前啓動,它也會立即中斷。你使用的是_backgroundTaskId = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^ {...讓它在後臺運行? – eddy 2012-06-21 21:32:46
@eddy是的我正在使用類似的東西 – Dex 2012-07-01 09:40:26
我有同樣的問題。有沒有解決方法? – 2012-11-13 08:56:14