Browse Source

Remove antipating an initial time jump

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

9
webroot/js/components/latencyCompensator.js

@ -50,7 +50,6 @@ class LatencyCompensator { @@ -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 { @@ -321,10 +320,6 @@ class LatencyCompensator {
return;
}
if (!this.performedInitialLiveJump) {
return;
}
if (this.jumpingToLiveIgnoreBuffer) {
return;
}
@ -392,10 +387,6 @@ class LatencyCompensator { @@ -392,10 +387,6 @@ class LatencyCompensator {
return;
}
if (!this.performedInitialLiveJump) {
return;
}
if (this.jumpingToLiveIgnoreBuffer) {
this.jumpingToLiveIgnoreBuffer = false;
return;

Loading…
Cancel
Save