melodic-address-84629
08/17/2025, 11:16 PMpython
from livekit.plugins import noise_cancellation
await session.start(
agent=agent,
room=ctx.room,
room_input_options=RoomInputOptions(
noise_cancellation=noise_cancellation.BVC(), # also tried NC()
audio_enabled=True,
),
)
Logs (stable repro)
text
... registered worker {"url": "wss://huijin-test-gdwkd89w.livekit.cloud", ...}
... input stream attached ...
not authenticated
livekit_ffi::server::audio_stream - failed to initialize the audio filter. it will not be enabled for this session.
What we tried
- NC() and BVC() both fail with the same two lines.
- Disabled all proxies, set NO_PROXY, synced system time → same result.
- RUST_LOG=livekit_ffi=trace (and ureq=trace) → still only the two lines above (no visible HTTP).
- Verified plugin files exist, readable, arm64, plugin v0.2.5 OK.
- Also attempted constructing NoiseCancellationOptions with explicit options:
- modelPath from livekit.plugins.noise_cancellation.plugin.model_path("bvc")
- and optional url/token keys (Bearer ...) if provided via env
- Result: unchanged (“not authenticated”).
Clues from plugin binary (strings)
- Keys: url, token, enhancedNoiseCancellation
- “Bearer Authorization”
- “enhancedNoiseCancellation is disabled”
- “unknown model: not authenticated”
- Uses ureq (proxy/HTTP error strings embedded)
Questions
1) Is inbound Krisp (NC/BVC) gated by a project-side feature on Cloud? If yes, how to enable it for this project (Free plan)?
2) Does the Python noise-cancellation plugin expect a feature token? If so, what’s the official way to supply it (env var names or NoiseCancellationOptions keys)? Are {"url": "...", "token": "Bearer ..."} supported?
3) Is “not authenticated” the expected indicator for disabled/unauthorized inbound NC/BVC? Any way to obtain a more specific error for troubleshooting?
4) Are our versions (agents 1.2.4 / rtc 1.0.12 / plugin 0.2.5) known-good for inbound BVC on macOS arm64?
Goal
We need inbound noise cancellation for voice AI (BVC preferred; NC acceptable). Please advise whether to enable a project feature or provide a token and how to inject it in Python. Thanks!refined-appointment-81829
08/18/2025, 12:42 AMmelodic-address-84629
08/18/2025, 2:25 AMrefined-appointment-81829
08/19/2025, 8:07 PMmelodic-address-84629
08/19/2025, 8:52 PMmelodic-address-84629
08/19/2025, 8:55 PMmelodic-address-84629
08/21/2025, 7:01 AMrefined-appointment-81829
08/21/2025, 12:50 PMmelodic-address-84629
08/21/2025, 12:52 PMmelodic-address-84629
08/21/2025, 12:58 PMrefined-appointment-81829
08/21/2025, 2:23 PMmelodic-address-84629
08/22/2025, 12:49 AMrefined-appointment-81829
08/27/2025, 2:58 PMcurl https://<project-url> from the agent server to see what it returns.
That will help use to further isolate this issue. I am still quite stumped on this one but I think the answers here will help us get much closer to helping you solve the issue you are seeing.