some fixes

This commit is contained in:
2026-07-01 11:26:29 +02:00
parent df63969bc5
commit 355d6f4c19
6 changed files with 17 additions and 24 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ const { serverConfig, configExists } = require('../server_config');
if (!configExists() || !serverConfig.audio.audioDevice) return;
const { spawn } = require('child_process');
const { logDebug, logError, logInfo, logWarn, logFfmpeg } = require('../console');
const { logDebug, logError, logInfo, logWarn } = require('../console');
const checkFFmpeg = require('./checkFFmpeg');
const consoleLogTitle = '[Audio Stream]';
@@ -84,7 +84,7 @@ checkFFmpeg().then((ffmpegPath) => {
ffmpeg.stderr.on('data', (data) => {
const msg = data.toString();
logFfmpeg(`[FFmpeg stderr]: ${msg}`);
logError(`[FFmpeg stderr]: ${msg}`);
// Detect frozen timestamps
const match = msg.match(/time=(\d\d):(\d\d):(\d\d\.\d+)/);