提交 62dc819c 编写于 作者: D dongwei

修改avRecorder.start事件error处理

Signed-off-by: Ndongwei <dongwei@kaihong.com>
上级 e58a701a
...@@ -505,6 +505,7 @@ export default function avVideoRecorderTestOne() { ...@@ -505,6 +505,7 @@ export default function avVideoRecorderTestOne() {
}, recorderTime); }, recorderTime);
} else { } else {
console.info('start AVRecorder failed and error is ' + err.message); console.info('start AVRecorder failed and error is ' + err.message);
toNextStep(avRecorder, avConfig, recorderTime, steps, done);
} }
}) })
}); });
...@@ -5785,9 +5786,9 @@ export default function avVideoRecorderTestOne() { ...@@ -5785,9 +5786,9 @@ export default function avVideoRecorderTestOne() {
// start avRecorder // start avRecorder
STARTCAMERA_EVENT, STARTRECORDER_CALLBACK_EVENT, STARTCAMERA_EVENT, STARTRECORDER_CALLBACK_EVENT,
// stop avRecorder // stop avRecorder
STOPRECORDER_CALLBACK_EVENT, STOPRECORDER_CALLBACK_EVENT, STOPCAMERA_EVENT,
// start avRecorder // start avRecorder
STARTRECORDER_CALLBACK_EVENT, STARTCAMERA_EVENT, STARTRECORDER_CALLBACK_EVENT,
// stop camera // stop camera
STOPCAMERA_EVENT, STOPCAMERA_EVENT,
// release avRecorder and camera // release avRecorder and camera
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册