diff --git a/multimedia/media/media_js_standard/avRecorder/src/main/js/test/AvVideoRecorderFuncTestOne.test.js b/multimedia/media/media_js_standard/avRecorder/src/main/js/test/AvVideoRecorderFuncTestOne.test.js index a9b353dd003b6bbfcd9ffdeaccc3505777b864c2..dfcd0db949b3c970924bdddd22e69975c7fc37f4 100644 --- a/multimedia/media/media_js_standard/avRecorder/src/main/js/test/AvVideoRecorderFuncTestOne.test.js +++ b/multimedia/media/media_js_standard/avRecorder/src/main/js/test/AvVideoRecorderFuncTestOne.test.js @@ -505,6 +505,7 @@ export default function avVideoRecorderTestOne() { }, recorderTime); } else { console.info('start AVRecorder failed and error is ' + err.message); + toNextStep(avRecorder, avConfig, recorderTime, steps, done); } }) }); @@ -5785,9 +5786,9 @@ export default function avVideoRecorderTestOne() { // start avRecorder STARTCAMERA_EVENT, STARTRECORDER_CALLBACK_EVENT, // stop avRecorder - STOPRECORDER_CALLBACK_EVENT, + STOPRECORDER_CALLBACK_EVENT, STOPCAMERA_EVENT, // start avRecorder - STARTRECORDER_CALLBACK_EVENT, + STARTCAMERA_EVENT, STARTRECORDER_CALLBACK_EVENT, // stop camera STOPCAMERA_EVENT, // release avRecorder and camera