From 62dc819cd00d008c60aa11bf68c716b1a9ba6c15 Mon Sep 17 00:00:00 2001 From: dongwei Date: Mon, 31 Jul 2023 15:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9avRecorder.start=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6error=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dongwei --- .../src/main/js/test/AvVideoRecorderFuncTestOne.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 a9b353dd0..dfcd0db94 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 -- GitLab