From 748ada13d3d2fdbd96de7bf779d3ce9e0153c526 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 6 Apr 2022 19:10:55 -0700 Subject: [PATCH] Do not set bool on timer --- webroot/js/components/latencyCompensator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js index 87dc586f6..f90151a29 100644 --- a/webroot/js/components/latencyCompensator.js +++ b/webroot/js/components/latencyCompensator.js @@ -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 { setTimeout(() => { this.jumpingToLiveIgnoreBuffer = false; - this.performedInitialLiveJump = true; }, 5000); }