From 418a2f98b9ff6e0efbefdf1bf7167094a50e2ad9 Mon Sep 17 00:00:00 2001 From: Mark de Bruijn Date: Sat, 13 Sep 2025 12:14:18 +0200 Subject: [PATCH] Fix macOS audio support --- server/stream/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/stream/index.js b/server/stream/index.js index db4ee0a..79bfda5 100644 --- a/server/stream/index.js +++ b/server/stream/index.js @@ -64,8 +64,6 @@ function buildCommand(ffmpegPath) { if (!serverConfig.audio.ffmpeg) { logInfo(`${consoleLogTitle} Platform: macOS (darwin) using "coreaudio" with the default audio device.`); return { - // command not used if recArgs are used - command: `rec -t coreaudio -b 32 -r 48000 -c ${audioChannels} -t raw -b 16 -r 48000 -c ${audioChannels}`, args: [], recArgs: [ '-t', 'coreaudio', @@ -76,6 +74,7 @@ function buildCommand(ffmpegPath) { '-b', '16', '-r', '48000', '-c', `${audioChannels}` + , '-' ] }; } else {