添加[session addInput:audioInput](audioInput =我的音频设备)后,视频录制不会保存并挂起

时间:2011-10-14 01:54:13

标签: iphone objective-c ios ipad

我能够在没有音频的情况下保存文件,但在添加[session addInput:audioInput]以在我的视频录制中包含音频后,它会给我一个控制台错误

_playbackInterruptionDidEndNotification :: NSConcreteNotification 0x3ade70 {name = AVController_PlaybackInterruptionDidEndNotification; object = <AVController: 0x389130>; userInfo = {
"AVController_InterruptionStatusNotificationParameter" = "non-resumable.PlayAndRecord";
"AVController_InterruptorNameNotificationParameter" = RecorderServer;}}
, _state = 0

以下是didFinishRecordingToOutputFileAtURL功能

的错误
Error Domain=NSOSStatusErrorDomain Code=-12780 "The operation couldn’t be completed. (OSStatus error -12780.)" UserInfo=0x344be0 {AVErrorRecordingSuccessfullyFinishedKey=false}

有时它会成功录制,有时会停止录制和挂起。它真的很难追查。希望你能帮助我。

谢谢!

0 个答案:

没有答案