Are any recommended solutions for noise available ...
# ask-ai
c
Are any recommended solutions for noise available in the community for LiveKit self-host?
t
Thanks for reaching out, Prem. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
When it comes to reducing noise in self-hosted LiveKit deployments, here are some helpful approaches you can try: • Built-in WebRTC Noise and Echo Suppression: LiveKit makes good use of WebRTC's native features like
noiseSuppression
and
echoCancellation
. You can easily enable these client-side by using
AudioCaptureOptions
when connecting to a room. • Client-Side Noise Cancellation with Custom Processing: If you’re comfortable with the LiveKit Rust SDK, it offers access to `libwebrtc`'s
AudioProcessingModule
, which lets you apply real-time noise suppression and echo cancellation on raw audio frames before publishing. • Third-Party Libraries: Another option is to integrate open-source libraries like RNNoise into your client or agent application for extra noise filtering. I want to mention that some advanced noise cancellation features, such as Krisp or Background Voice Cancellation (BVC), are currently exclusive to LiveKit Cloud and aren’t available in self-hosted setups. If achieving the best audio quality is a priority for you, considering LiveKit Cloud might be a great choice. Sources: README.md | LICENSE | Noise & echo cancellation | LiveKit Docs | examples/local_audio/src/main.rs | livekit-rtc/livekit/rtc/audio_stream.py