Do not set bool on timer

This commit is contained in:
Gabe Kangas 2022-04-06 19:10:55 -07:00
parent 0254afea71
commit 748ada13d3
No known key found for this signature in database
GPG key ID: 9A56337728BC81EA

View file

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