diff --git a/multimedia/media/media_js_standard/AVPlayerTestBase.js b/multimedia/media/media_js_standard/AVPlayerTestBase.js index 4eae83a9cb57720aeff61a86d9b1114758b2f4c2..88f2ebca40b6d04f6b010ba0b64fdefb27d60526 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);