Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

πŸ›(frontend) fix noise reduction left-channel-only audio

leo61f7ad05e918
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 87491848..4cd090d7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,10 @@ and this project adheres to
- ♻️(addon) improve Outlook add-on: i18n support, feedback link, smarter link
+### Fixed
+
+- πŸ›(frontend) fix noise reduction left-channel-only audio
+
## [1.19.0] - 2026-06-04
### Added
diff --git a/src/frontend/src/features/rooms/livekit/processors/RnnNoiseProcessor.ts b/src/frontend/src/features/rooms/livekit/processors/RnnNoiseProcessor.ts
index 69a71009..d8324bdb 100644
--- a/src/frontend/src/features/rooms/livekit/processors/RnnNoiseProcessor.ts
+++ b/src/frontend/src/features/rooms/livekit/processors/RnnNoiseProcessor.ts
@@ -43,7 +43,16 @@ export class RnnNoiseProcessor implements AudioProcessorInterface {
this.noiseSuppressionNode = new AudioWorkletNode(
audioContext,
- NoiseSuppressorWorklet_Name
+ NoiseSuppressorWorklet_Name,
+ {
+ // RNNoise is a mono algorithm. Its worklet only denoises and writes
+ // channel 0. Force any (possibly stereo) input to down-mix to a single
+ // channel and emit a single channel, so we don't produce a stereo frame
+ // whose right channel is left silent.
+ channelCount: 1,
+ channelCountMode: 'explicit',
+ outputChannelCount: [1],
+ }
)
this.destinationNode = audioContext.createMediaStreamDestination()