Browse Source

Do not set bool on timer

pull/1819/head
Gabe Kangas 4 years ago
parent
commit
748ada13d3
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 3
      webroot/js/components/latencyCompensator.js

3
webroot/js/components/latencyCompensator.js

@ -228,6 +228,8 @@ class LatencyCompensator { @@ -228,6 +228,8 @@ class LatencyCompensator {
jump(seekPosition) {
this.jumpingToLiveIgnoreBuffer = true;
this.performedInitialLiveJump = true;
this.lastJumpOccurred = new Date();
console.log(
@ -240,7 +242,6 @@ class LatencyCompensator { @@ -240,7 +242,6 @@ class LatencyCompensator {
setTimeout(() => {
this.jumpingToLiveIgnoreBuffer = false;
this.performedInitialLiveJump = true;
}, 5000);
}

Loading…
Cancel
Save