From 6acdf97050626e4ad06ec76a688ce95aac776e18 Mon Sep 17 00:00:00 2001 From: lwx1121892 Date: Fri, 24 Feb 2023 17:08:26 +0800 Subject: [PATCH] =?UTF-8?q?<=E5=A4=B1=E8=B4=A5=E7=94=A8=E4=BE=8B=E9=80=82?= =?UTF-8?q?=E9=85=8D>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lwx1121892 --- multimedia/media/media_js_standard/AVPlayerTestBase.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/multimedia/media/media_js_standard/AVPlayerTestBase.js b/multimedia/media/media_js_standard/AVPlayerTestBase.js index 4eae83a9c..88f2ebca4 100644 --- a/multimedia/media/media_js_standard/AVPlayerTestBase.js +++ b/multimedia/media/media_js_standard/AVPlayerTestBase.js @@ -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); -- GitLab