未验证 提交 8162df13 编写于 作者: O openharmony_ci 提交者: Gitee

!3153 修改相机代码调用逻辑解决用例卡住问题

Merge pull request !3153 from FULIZHONG/0511flz
......@@ -179,11 +179,9 @@ describe('VideoRecorderAPICallbackTest', function () {
await captureSession.addInput(cameraInput);
await captureSession.addOutput(videoOutPut);
await captureSession.commitConfig();
await captureSession.start();
}
async function stopCaptureSession() {
await captureSession.stop();
await captureSession.release();
}
......
......@@ -213,11 +213,9 @@ describe('VideoRecorderFuncCallbackTest', function () {
await captureSession.addInput(cameraInput);
await captureSession.addOutput(videoOutPut);
await captureSession.commitConfig();
await captureSession.start();
}
async function stopCaptureSession() {
await captureSession.stop();
await captureSession.release();
}
......
......@@ -124,11 +124,9 @@ describe('VideoRecorderFuncPromiseTest', function () {
await captureSession.addInput(cameraInput);
await captureSession.addOutput(videoOutPut);
await captureSession.commitConfig();
await captureSession.start();
}
async function stopCaptureSession() {
await captureSession.stop();
await captureSession.release();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册