From 568ecc7ddf1844dc784628e07f8531c89a31fcb7 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 8 Apr 2022 20:09:38 -0700 Subject: [PATCH] Remove antipating an initial time jump --- webroot/js/components/latencyCompensator.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js index 5390338b5..19ff4c915 100644 --- a/webroot/js/components/latencyCompensator.js +++ b/webroot/js/components/latencyCompensator.js @@ -50,7 +50,6 @@ class LatencyCompensator { this.running = false; this.inTimeout = false; this.jumpingToLiveIgnoreBuffer = false; - this.performedInitialLiveJump = false; this.timeoutTimer = 0; this.checkTimer = 0; this.bufferingCounter = 0; @@ -321,10 +320,6 @@ class LatencyCompensator { return; } - if (!this.performedInitialLiveJump) { - return; - } - if (this.jumpingToLiveIgnoreBuffer) { return; } @@ -392,10 +387,6 @@ class LatencyCompensator { return; } - if (!this.performedInitialLiveJump) { - return; - } - if (this.jumpingToLiveIgnoreBuffer) { this.jumpingToLiveIgnoreBuffer = false; return;