diff --git a/drb-edge-node/app/internal/call_recorder.py b/drb-edge-node/app/internal/call_recorder.py index b5ae03d..33300f4 100644 --- a/drb-edge-node/app/internal/call_recorder.py +++ b/drb-edge-node/app/internal/call_recorder.py @@ -32,7 +32,7 @@ class CallRecorder: cmd = [ "ffmpeg", "-y", "-f", "pulse", - "-i", "default.monitor", + "-i", "default", "-acodec", "libmp3lame", "-ar", "22050", "-b:a", "32k", diff --git a/drb-edge-node/app/internal/discord_radio.py b/drb-edge-node/app/internal/discord_radio.py index ca17cf5..202d1d2 100644 --- a/drb-edge-node/app/internal/discord_radio.py +++ b/drb-edge-node/app/internal/discord_radio.py @@ -113,7 +113,7 @@ class RadioBot: # Read directly from PulseAudio monitor (zero-delay, no Icecast buffer). # PULSE_SERVER is set in the container environment to the shared socket. source = discord.FFmpegPCMAudio( - "default.monitor", + "default", before_options="-f pulse", ) self._voice_client.play(