Hey team, since one of the recent Python SDK upgra...
# agents
p
Hey team, since one of the recent Python SDK upgrades (not sure which one, as we have upgraded a few versions), we have started noticing that the agent can now hear itself while using the Phone speaker (as in, it thinks the user is talking when it's itself). This was not something we had until very recently, and the only thing we have updated is the Python agent libraries, not the app ones. Any idea if anything has been introduced that may affect this? Perhaps something with Krisp? We use
noise_cancellation=noise_cancellation.BVC()
👀 1
🔖 1
h
+1 Experiencing the same issue
p
Seems like we are not alone on this one then... Any idea from which version it started happening? I will try to test tomorrow downgrading the library until I find the first one where it does not happen.
v
Experiencing the same issue but not sure if I upgraded python SDK
j
it sounds related to the echo cancellation
l
Hi, Did we get any root cause of the issue. I'm also facing the same. Is this related to python agent framework or browser sdk
https://github.com/livekit/agents/issues/315 Also found this, seems related
c
The issue is not in noise cancelling, but in version 1.0.13 of "livekit" package. in your pyproject try to pin livekit==1.0.12 and it works again
I was just about to open a bug about it. If you can quickly check and see if it fixes it for you
j
@clean-lawyer-43115 what frontend are you using?
c
using swift sdk, but i tested it with every frontend that is using text stream
j
oh I see, you mean the user transcript is showing as agent’s transcript, that’s a different issue I think
c
Oh, I see. Sorry for the confusion
j
but thanks for reporting, I’ll forward that to the team as well
c
Thanks! Would you like me to open another thread or the issue and here is enough?
p
I have been testing today and I dropped the agents library and plugins to
1.2.6
, and it seemed to work a bit better, but it could still pick up the opening message at the start (eg. from "Welcome, lorem ipsum dolor sit amet..." it would pick up "Welcome"). I wonder if it's an issue with the echo cancellation not being properly warmed up at the early stage of the conversation, as the whole thing seems to improve once the conversation progresses (in
1.2.6
at least, in newer versions, it seems to keep picking up words at the beginning of each sentence).
b
Any updates on the agent talking with itself with the speaker on? It is also happening for us on version
1.2.9
➕ 2
p
Has anyone on this thread been able to solve it, even if it's with a workaround?
❌ 1
c
@prehistoric-lion-61312 Are you getting this on desktop? Getting it as well but a lot more on mobile
p
We only have mobile apps, however in the past I have always had an issue like this when using the web Playground on speakers
c
Are your mobile apps in a browser or native?
p
Native
f
oon browser u need to enable echo cancelation BUT then u might have a tiny issue of it not hearing the user when they interrupt. trying to figure that one out