Skip to content

Commit f2cb69b

Browse files
committed
Add isSeeking to checks
1 parent aa79008 commit f2cb69b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/streaming/controllers/StreamController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ function StreamController() {
818818
&& event.time > settings.get().streaming.buffer.videoFramesNotAdvancing.thresholdInSeconds // We should be at least one threshold into the video before triggering
819819
&& !videoModel.isPaused()
820820
&& !videoModel.isStalled()
821+
&& !videoModel.isSeeking()
821822
&& videoModel.getReadyState() >= Constants.VIDEO_ELEMENT_READY_STATES.HAVE_ENOUGH_DATA
822823
&& playbackQuality.totalVideoFrames > 0 // Handles devices (some TVs), where Video Quality API, totalVideoFrames always returns 0.
823824
&& playbackQuality.totalVideoFrames < 2147483647 //Handles devices (some WebKit TVs), where Video Quality API, totalVideoFrames can return the max value of a 32 bit signed integer becuase the implementation uses totalVideoFrames = mediaTime * framerate.

0 commit comments

Comments
 (0)