mirror of
https://github.com/vale981/doccam-pi
synced 2025-03-05 09:21:40 -05:00
Merge branch 'master' of https://git.protagon.space/root/doccam-pi
This commit is contained in:
commit
8f7eca8a30
1 changed files with 2 additions and 2 deletions
4
main.js
4
main.js
|
@ -211,7 +211,7 @@ function stopFFMPEG() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
logger.log(importance[3], "Force Stop!");
|
logger.log(importance[3], "Force Stop!");
|
||||||
cmd.kill();
|
cmd.kill();
|
||||||
}, 30);
|
}, 3000);
|
||||||
}
|
}
|
||||||
|
|
||||||
var commandHandlers = function commandHandlers(command, cb) {
|
var commandHandlers = function commandHandlers(command, cb) {
|
||||||
|
@ -351,7 +351,7 @@ var commandHandlers = function commandHandlers(command, cb) {
|
||||||
}, command.sender);
|
}, command.sender);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
//call the handler
|
//call the handler
|
||||||
var call = handlers[command.command];
|
var call = handlers[command.command];
|
||||||
|
|
Loading…
Add table
Reference in a new issue