livekit icon indicating copy to clipboard operation
livekit copied to clipboard

How to implement BVC in a self-hosted LiveKit server

Open Prince-Girgilani opened this issue 1 year ago • 6 comments

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?

Prince-Girgilani avatar Oct 25 '25 11:10 Prince-Girgilani

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 ..

rajshahunify avatar Dec 05 '25 06:12 rajshahunify

@thomasyuill-livekit, can this be done on a self-hosted Livekit Cloud?

facitoo avatar Jan 08 '26 05:01 facitoo

@Prince-Brevitaz did you found any solution for adding the noise cancellation for self hosted one

acharan-tech-200037 avatar Feb 06 '26 17:02 acharan-tech-200037

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-Girgilani avatar Feb 09 '26 07:02 Prince-Girgilani

@Prince-Brevitaz Thank you so much for your valuable reply

acharan-tech-200037 avatar Feb 10 '26 13:02 acharan-tech-200037

Give this a try: https://github.com/aloware/livekit-plugins-dtln

SohrabZ avatar Mar 06 '26 05:03 SohrabZ