1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00
This commit is contained in:
NoobishSVK
2024-04-06 00:40:12 +02:00
parent 05c8c641c0
commit 0d71f4437d
13 changed files with 24 additions and 34 deletions

View File

@@ -36,7 +36,7 @@ function enableAudioStream() {
childProcess.stderr.on('data', (data) => {
logFfmpeg(`stderr: ${data}`);
if(data.includes('I/O error')) {
logError('Audio device \x1b[35m' + serverConfig.audio.audioDevice + '\x1b[0m failed to start. Start server with the command \x1b[33mnode . --ffmpegdebug \x1b[0mfor more info.')
logError('Audio device \x1b[35m' + serverConfig.audio.audioDevice + '\x1b[0m failed to start. Start server with the command \x1b[33mnode . --ffmpegdebug \x1b[0mfor more info.');
}
if(data.includes('size=') && startupSuccess === false) {
logInfo('Audio stream started up successfully.');