Skip to content

Commit edffe5e

Browse files
committed
if livesync is disabled, don't perform any low latency features
1 parent 0b1bed6 commit edffe5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/player.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5711,6 +5711,10 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
57115711
if (!this.isLive()) {
57125712
return;
57135713
}
5714+
// If the live stream is not seekable, do not sync.
5715+
if (!this.config_.streaming.liveSync) {
5716+
return;
5717+
}
57145718
const seekRange = this.seekRange();
57155719
if (!Number.isFinite(seekRange.end)) {
57165720
return;

0 commit comments

Comments
 (0)