Skip to content

Commit 5948e1d

Browse files
Merge pull request #103 from bbc/video-not-advancing-updates
Video not advancing updates
2 parents 3a97e47 + a6a42cd commit 5948e1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/streaming/controllers/StreamController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ function StreamController() {
809809
totalVideoFramesAtLastPlaybackProgress = 0
810810
}
811811

812-
const isEnded = event.timeToEnd ? event.timeToEnd >= 0 : false;
812+
const isEnded = event.timeToEnd ? event.timeToEnd <= 0 : false;
813813

814814
const isVideoFramesNotAdvancing = playbackQuality &&
815815
typeof playbackQuality.totalVideoFrames === 'number'

0 commit comments

Comments
 (0)