提交 856b1a60 编写于 作者: D dongwei

code check

Signed-off-by: Ndongwei <dongwei@kaihong.com>
上级 208e2c5f
......@@ -959,6 +959,20 @@ export async function avRecorderLoopPause2ResumeWithCallback(avConfig, avRecorde
eventEmitter.emit(mySteps[0], avRecorder, avConfig, 3000, mySteps, done);
}
export async function avRecorderLoopCreate2Release2WithCallback(avConfig, avRecorder, loopTimes, done) {
while (loopTimes > 0) {
avRecorder = await idle(avRecorder);
console.info('case avConfig.url is ' + avConfig.url);
releaseCallback(avRecorder);
console.info(`avRecorderLoopCreate2Release2WithCallback loop time is :${loopTimes}`)
loopTimes--;
if(loopTimes == 0){
sleep(2000)
done();
}
}
}
export async function avRecorderReliabilitTest01(avConfig, avRecorder, recorderTime, done) {
let result = true;
avRecorder = await idle(avRecorder);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册