big-controller-60015
10/01/2025, 12:52 PMtall-airline-16756
10/01/2025, 12:52 PMtall-airline-16756
10/01/2025, 12:53 PMconst room = new Room();
await room.connect(url, token, {
audioCaptureDefaults: {
echoCancellation: true, // Enabled by default
noiseSuppression: true,
}
});
• Server-Side Audio Processing: If you’re working on custom bots or agents, you can take advantage of the AudioProcessingModule (APM) available in SDKs like Rust or Python to add echo cancellation programmatically. This approach processes both microphone and reference audio streams.
• AI Agents: For AI agents, you can also enable enhanced noise cancellation features (such as Background Voice Cancellation) alongside client-side echo cancellation by using RoomInputOptions.
If you’d like, I’m here to provide more details or examples tailored to a specific SDK or your particular use case. Just let me know!
Sources: livekit-rtc/livekit/rtc/apm.py | Enhanced noise cancellation | LiveKit Docs | SIP troubleshooting guide | LiveKit Docs | Operational Guidance & Best Practices | livekit/livekit_composite | DeepWik... | Noise & echo cancellation | LiveKit Docs