Prettified Code!
This commit is contained in:
@@ -281,7 +281,7 @@ class LatencyCompensator {
|
|||||||
if (this.bufferingCounter > 1) {
|
if (this.bufferingCounter > 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const now = new Date().getTime();
|
const now = new Date().getTime();
|
||||||
const delta = now - this.lastJumpOccurred;
|
const delta = now - this.lastJumpOccurred;
|
||||||
return delta > MAX_JUMP_FREQUENCY;
|
return delta > MAX_JUMP_FREQUENCY;
|
||||||
|
|||||||
Reference in New Issue
Block a user