Skip to content

Commit

Permalink
more watcher removals
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 committed Jul 10, 2024
1 parent 2275ef2 commit cd10e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playback-watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default class PlaybackWatcher extends videojs.EventTarget {
this.liveRangeSafeTimeDelta = options.liveRangeSafeTimeDelta;
this.media = options.media;
this.playedRanges_ = [];
this.stuckTimeout_ = null;

this.consecutiveUpdates = 0;
this.lastRecordedTime = null;
Expand Down Expand Up @@ -500,6 +499,7 @@ export default class PlaybackWatcher extends videojs.EventTarget {
this.skipTheGap_(currentTime);
return true;
}

// All checks failed. Returning false to indicate failure to correct waiting
return false;
}
Expand Down

0 comments on commit cd10e01

Please sign in to comment.