mirror of
https://github.com/owncast/owncast.git
synced 2024-10-24 21:45:59 +03:00
Do not set bool on timer
This commit is contained in:
parent
0254afea71
commit
748ada13d3
1 changed files with 2 additions and 1 deletions
|
@ -228,6 +228,8 @@ class LatencyCompensator {
|
||||||
|
|
||||||
jump(seekPosition) {
|
jump(seekPosition) {
|
||||||
this.jumpingToLiveIgnoreBuffer = true;
|
this.jumpingToLiveIgnoreBuffer = true;
|
||||||
|
this.performedInitialLiveJump = true;
|
||||||
|
|
||||||
this.lastJumpOccurred = new Date();
|
this.lastJumpOccurred = new Date();
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
|
@ -240,7 +242,6 @@ class LatencyCompensator {
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.jumpingToLiveIgnoreBuffer = false;
|
this.jumpingToLiveIgnoreBuffer = false;
|
||||||
this.performedInitialLiveJump = true;
|
|
||||||
}, 5000);
|
}, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue