clear video timer on stream ending
This commit is contained in:
@@ -67,6 +67,8 @@ function FGFM(config) {
|
|||||||
console.log(`Credits will be shown in ${creditsDelaySeconds} seconds!`);
|
console.log(`Credits will be shown in ${creditsDelaySeconds} seconds!`);
|
||||||
|
|
||||||
let end = () => {
|
let end = () => {
|
||||||
|
clearTimeout(this.state.videoTimer);
|
||||||
|
|
||||||
this.state.showStatus = 'ENDING';
|
this.state.showStatus = 'ENDING';
|
||||||
|
|
||||||
this.obs.switchToScene('credits')
|
this.obs.switchToScene('credits')
|
||||||
|
|||||||
Reference in New Issue
Block a user