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

!4721 解决流水线audio概率性失败

Merge pull request !4721 from liuxueqi/OpenHarmony-3.2-Beta2
......@@ -506,7 +506,7 @@ describe('audioCall', function () {
rendererInfo: AudioRendererInfo
}
await getAbilityInfo("capture_js-44100-2C-16B-2.pcm");
recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_VOICE_CHAT);
await recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_VOICE_CHAT);
await sleep(500);
readpath = 'StarWars10s-1C-44100-2SW.wav';
await getFdRead(readpath, done);
......
......@@ -515,7 +515,7 @@ describe('audioVoip', function () {
}
await getAbilityInfo("capture_js-44100-2C-16B-2.pcm");
recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_PHONE_CHAT);
await recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_PHONE_CHAT);
await sleep(500);
readpath = 'StarWars10s-1C-44100-2SW.wav';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册