From 679e797568b0d80a41caecb7e6230203f5ce7c8e Mon Sep 17 00:00:00 2001 From: Lucas Gallone Date: Wed, 3 Sep 2025 20:13:04 +0200 Subject: [PATCH] Lowering audio boost to 1.7 in order to prevent saturation --- server/stream/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/stream/index.js b/server/stream/index.js index d8bc45f..0909e6d 100644 --- a/server/stream/index.js +++ b/server/stream/index.js @@ -154,7 +154,7 @@ checkFFmpeg().then((ffmpegPath) => { // Apply audio boost if enabled if (serverConfig.audio.audioBoost) { - ffmpegArgs.splice(ffmpegArgs.indexOf('pipe:1'), 0, '-af', 'volume=2.5'); + ffmpegArgs.splice(ffmpegArgs.indexOf('pipe:1'), 0, '-af', 'volume=1.7'); } logDebug(`${consoleLogTitle} Launching FFmpeg with args: ${ffmpegArgs.join(' ')}`); @@ -234,7 +234,7 @@ checkFFmpeg().then((ffmpegPath) => { // Apply audio boost if enabled and FFmpeg is used if (serverConfig.audio.audioBoost && serverConfig.audio.ffmpeg) { - commandDef.args.splice(commandDef.recArgs.indexOf('pipe:1'), 0, '-af', 'volume=2.5'); + commandDef.args.splice(commandDef.recArgs.indexOf('pipe:1'), 0, '-af', 'volume=1.7'); } function startRec() { @@ -314,7 +314,7 @@ checkFFmpeg().then((ffmpegPath) => { // Apply audio boost if enabled and FFmpeg is used if (serverConfig.audio.audioBoost && serverConfig.audio.ffmpeg) { - commandDef.args.splice(commandDef.args.indexOf('pipe:1'), 0, '-af', 'volume=2.5'); + commandDef.args.splice(commandDef.args.indexOf('pipe:1'), 0, '-af', 'volume=1.7'); } function startArecord() {