diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js index 2a9ff7a18809f4db116664a26cc1e3059e569119..c30dcc1556e29caf3f52f6611ca02e08dab66242 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerAPICallbackTest.test.js @@ -47,7 +47,7 @@ describe('VideoPlayerAPICallbackTest', function () { const SPEED_VALUE = 1; const NEXT_FRAME_TIME = 8333; const PREV_FRAME_TIME = 4166; - const DELTA_TIME = 100; + const DELTA_TIME = 300; let surfaceID = ''; let fileDescriptor = null; const pagePath1 = 'pages/surfaceTest/surfaceTest'; diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js index a36db93ed711aee8bc5e2a993ec0f81f6e1c83f7..8b244f9dde69e03413de258d273da587fbaa839f 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncCallbackTest.test.js @@ -48,7 +48,7 @@ describe('VideoPlayerFuncCallbackTest', function () { const DELTA_TIME = 1000; const NEXT_FRAME_TIME = 8333; const PREV_FRAME_TIME = 4166; - const DELTA_SEEK_TIME = 100; + const DELTA_SEEK_TIME = 300; let surfaceID = ''; let fdHead = 'fd://'; let fileDescriptor = null; diff --git a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js index b947142803203eaf92d65618fc833c88e424f357..6e39423910de284f566dd556ab86705a5277a89a 100644 --- a/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoPlayer/src/main/js/test/VideoPlayerFuncPromiseTest.test.js @@ -30,7 +30,7 @@ describe('VideoPlayerFuncPromiseTest', function () { const DELTA_TIME = 1500; const NEXT_FRAME_TIME = 8333; const PREV_FRAME_TIME = 4166; - const DELTA_SEEK_TIME = 100; + const DELTA_SEEK_TIME = 300; let surfaceID = ''; let fdHead = 'fd://'; let fileDescriptor = null; @@ -244,7 +244,7 @@ describe('VideoPlayerFuncPromiseTest', function () { expect(videoPlayer.state).assertEqual('playing'); }, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback); let endTime = videoPlayer.currentTime; - expect(Math.abs(endTime - startTime - PLAY_TIME)).assertLess(DELTA_TIME); + expect(Math.abs(endTime - startTime - 1000)).assertLess(DELTA_TIME); startTime = videoPlayer.currentTime; await videoPlayer.setSpeed(media.PlaybackSpeed.SPEED_FORWARD_0_75_X).then((speedMode) => {