0

Remove antipating an initial time jump

This commit is contained in:
Gabe Kangas 2022-04-08 20:09:38 -07:00
parent 4ed02d4e0f
commit 568ecc7ddf
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -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;