Skip to content

Commit

Permalink
fix: Disable live sync when the stream is paused (#7579)
Browse files Browse the repository at this point in the history
Fixes #7577
  • Loading branch information
avelad committed Nov 15, 2024
1 parent 745730b commit 7a78670
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -6739,6 +6739,11 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
return;
}

// We don't want to block the user from pausing the stream.
if (this.video_.paused) {
return;
}

let targetLatency;
let maxLatency;
let maxPlaybackRate;
Expand Down

0 comments on commit 7a78670

Please sign in to comment.