提交 99210261 编写于 作者: D dongwei

AVPlayerLocalTest 偶现fail问题解决

Signed-off-by: Ndongwei <dongwei@kaihong.com>
上级 b372db92
......@@ -284,7 +284,7 @@ export function setAVPlayerFunCb(src, avPlayer, playTest, playTime, done) {
completedCnt++;
expect(avPlayer.currentTime).assertEqual(avPlayer.duration);
expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.COMPLETED);
if (completedCnt == 1) {
if (completedCnt == 1 && seekDoneCnt[0] < 5) {
// step 9: completed -> play
avPlayer.play();
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册