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

!7728 【媒体子系统】avplayer失败用例适配

Merge pull request !7728 from 秦莉文/master
......@@ -298,9 +298,6 @@ export function setAVPlayerFunCb(src, avPlayer, playTest, playTime, done) {
break;
case AV_PLAYER_STATE.RELEASED:
expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.RELEASED);
offCallback(avPlayer, ['stateChange', 'volumeChange', 'endOfStream', 'seekDone', 'speedDone',
'bitrateDone', 'timeUpdate', 'durationUpdate', 'bufferingUpdate', 'startRenderFrame', 'videoSizeChange',
'audioInterrupt', 'availableBitrates', 'error']);
// step 18: release -> done
avPlayer = null;
expect(volumeCnt[0]).assertLarger(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册