lively-horse-90722
12/06/2025, 7:20 PMtall-airline-16756
12/06/2025, 7:20 PMtall-airline-16756
12/06/2025, 7:20 PMuv add "livekit-plugins-noise-cancellation~=0.2"
b. Enable in `room_options`:
from livekit.plugins import noise_cancellation
from livekit.agents.voice import room_io
await session.start(
room=ctx.room,
agent=agent,
room_options=room_io.RoomOptions(
audio_input=room_io.AudioInputOptions(
noise_cancellation=noise_cancellation.BVC(),
),
),
)
• Node.js
a. Install: pnpm add @livekit/noise-cancellation-node
b. Enable:
import { BackgroundVoiceCancellation } from '@livekit/noise-cancellation-node';
await session.start({
room: ctx.room,
agent: agent,
inputOptions: {
noiseCancellation: BackgroundVoiceCancellation(),
},
});
Notes:
• Don’t enable frontend noise-cancellation (e.g., Krisp) at the same time—double processing can cause issues.
• BVC runs inbound inside the agent (not on web/Swift/Android frontends).
Would you like the exact config tailored to your current code (share your language and a short snippet of how you start the session)?
Sources: Enhanced noise cancellation | LiveKit docs