Getting failed to initialize audio filter

Sometimes before I start the conversation I am getting the “Failed to initialize the audio filter it will not be enabled for this session”. There is no more info related to it. Could you please give me any information as to why is this error being thrown and in what situations and how to debug and solve this.

Hi, how do you reproduce this? Is this related to your Avatar changes? Request for reviewer

It looks like the it’s coming from low level audio processing (at least that’s the only place I can see that erro): rust-sdks/livekit-ffi/src/server/audio_stream.rs at main · livekit/rust-sdks · GitHub

I can’t seem to reproduce this intentionally but this keeps happening been seeing this in our cloud logs, I found this link that others are reporting as well

I will go through the link you shared

Are you self-hosting your agents? Or hosting your agents in LiveKit cloud? I’m just curious since that PR’s environment is self-hosted agents.

i believe it’s in livekit cloud

OK, thanks for the report, I will investigate.

I was unable to reproduce this. Looking at your account, I believe you are self-hosting your agent (you also have an agent in the account create by Agent builder, but I assume you are testing with your other agent). That tracks with all the other (occasional) reports I can find and verify, everyone seems to be using self-hosted agents.

It’s difficult to narrow it down further without more concrete reproduction steps, if you find anything more reproducible I would be grateful