Okay, if u set echoCancelation on front end then t...
# agents
f
Okay, if u set echoCancelation on front end then the interrupts no longer work as our voice is canceled. If we remove echoCancelation then the agent hears itself. We have tested this in every single possible combination with backend NC (BVC, NC and None) and none matter. How do u guys handle echo cancelation while making sure the voice is not canceled? I mean there must be something we are missing, we have tried every single combination. The livekit website demo works perfectly on the device we are testing on. we have tried ever single combination here: audio={{ echoCancellation: true, // Keep ON for echo prevention noiseSuppression: false, // MUST be OFF when using backend BVC/NC (per LiveKit docs) autoGainControl: true, // Keep for volume normalization }} can you guys please give us the settings you guys are using for ur demo? I dont get why this is hidden, we are trying to build great products using livekit and it is a win win if we are able to get it right haha
r
The echo canceler should cancel the agent hearing itself and not the users voice. You would use NC or BVC for the speakers voice.
l
You should see good results with the starter agent, https://github.com/livekit-examples/agent-starter-python/tree/main, and starter front end, https://github.com/livekit-examples/agent-starter-react/tree/main, the website demo is not doing anything different
f
Thanks guys, we found out that the adaptive stream flag was set and that might have been playing a role in effecting the results
💯 1