How to implement BVC in a self-hosted LiveKit server
I’m trying to implement BVC (Background Voice Cancellation) in a self-hosted LiveKit server. I know that Krips is provided by default, but it appears to be available only for the cloud version.
I’ve gone through the documentation and found this page: 🔗 https://docs.livekit.io/home/cloud/noise-cancellation/ However, it doesn’t provide any context or guidance for setting up BVC in a self-hosted environment.
How can I integrate and use a different BVC model (e.g., RNNNoise, DeepNet3, or any other custom model) with a self-hosted setup?
please do tell if you find a solution though there are some ways to add noise canellaiton and suppresion in the livekit sip and trunk in bound , i dont know how affective it is , the latency in handeling NC in agent side is little high in python ..
@thomasyuill-livekit, can this be done on a self-hosted Livekit Cloud?
@Prince-Brevitaz did you found any solution for adding the noise cancellation for self hosted one
Hi @charan-akula
There isn’t a proper server-side configuration available yet for enabling noise cancellation in a self-hosted setup at the agent level.
As a workaround, you could use external services like AssemblyAI or Azure STT, since they handle background noise suppression reasonably well. But honestly, that’s not a complete solution it’s more of a mitigation than a fix.
If you’re building a client application, the better approach is to enable enhanced noise cancellation on the frontend itself. LiveKit provides documentation for configuring it on the client side: LINK
That said, I did face some issues while trying to set it up in Flutter. Still investigating that part.
@Prince-Brevitaz Thank you so much for your valuable reply
Give this a try: https://github.com/aloware/livekit-plugins-dtln