Browse Source

Prettified Code!

pull/1938/head
gabek 3 years ago committed by GitHub Action
parent
commit
31fc84ff52
  1. 2
      webroot/js/components/latencyCompensator.js

2
webroot/js/components/latencyCompensator.js

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

Loading…
Cancel
Save