ripe-arm-36009
08/29/2025, 7:53 AMtall-airline-16756
08/29/2025, 7:53 AMtall-airline-16756
08/29/2025, 7:54 AMAudioCaptureOptions
class in the LiveKit SDKs to make sure echo cancellation stays active. For example, in Swift:
let audioOptions = AudioCaptureOptions(echoCancellation: true)
• Platform-Specific Settings: On iOS, Apple’s voice-processing I/O (which includes echo cancellation) is on by default. You can check or adjust it with:
AudioManager.shared.isVoiceProcessingBypassed = false
• For Android, echo cancellation is also turned on automatically during audio session setup.
• LiveKit Cloud: If you’re using LiveKit Cloud, there’s an option to enable enhanced noise and echo cancellation for an even cleaner sound.
These tips should help keep your own voice from echoing back to you. If you run into any issues or want to chat more about it, just let me know—I’m here to help!
Sources: Tests/LiveKitTests/AudioProcessingTests.swift | docs/index.html | Noise & echo cancellation | LiveKit Docs | SIP troubleshooting guide | LiveKit Docsripe-arm-36009
08/29/2025, 2:50 PMtall-airline-16756
08/29/2025, 2:51 PMechoCancellation
option to true
in the AudioCaptureOptions
class.
Here’s how you can do it:
• Flutter SDK: Just use AudioCaptureOptions(echoCancellation: true)
.
• Python SDK: Set echo_cancellation=True
when you create an AudioProcessingModule
instance.
If you want a hand with this in any specific SDK or have questions, feel free to ask—I’m here to help!
Sources: lib/src/proto/livekit_models.pbenum.dart | livekit-agents/livekit/agents/voice/chat_cli.py | Noise & echo cancellation | LiveKit Docs