From 8f429ac04b1ed97f59541b78d6e7c9799a959a0e Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Wed, 9 Jul 2025 08:52:55 -0400 Subject: [PATCH] spa: aec: webrtc: Actually enable echo cancellation for 2.0 --- spa/plugins/aec/aec-webrtc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/plugins/aec/aec-webrtc.cpp b/spa/plugins/aec/aec-webrtc.cpp index 74255aae4..e20991d5b 100644 --- a/spa/plugins/aec/aec-webrtc.cpp +++ b/spa/plugins/aec/aec-webrtc.cpp @@ -191,6 +191,7 @@ static int webrtc_init2(void *object, const struct spa_dict *args, config.voice_detection.enabled = voice_detection; #elif defined(HAVE_WEBRTC2) webrtc::AudioProcessing::Config config; + config.echo_canceller.enabled = true; config.pipeline.multi_channel_capture = rec_info->channels > 1; config.pipeline.multi_channel_render = play_info->channels > 1; // FIXME: Example code enables both gain controllers, but that seems sus