Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Remove antipating an initial time jump

Gabe Kangas59414fed7643
diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js
index 5390338b53..19ff4c9155 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;