We’re running a LiveKit agent + end user session with egress recording to S3. The S3 audio is crystal clear for both tracks, but session analytics tell a different story — the end user’s audio fades out, which caused our agent to interrupt them repeatedly.
To be clear: the agent’s audio is fine throughout. It’s only the end user’s track that behaves strangely, and only in analytics — the egress recording sounds great, so we know the audio is arriving cleanly on our end.
What’s causing the discrepancy between the egress recording and the session analytics? Has anyone run into this before?
My best guess would be that noise cancellation is being applied multiple times in the audio path (for example it might be applied on both the SIP trunk and in the agent’s settings) - can you ensure that noise cancellation is only applied a single time? This would explain why the audio heard by the agent (in analytics) differs from what you see in egress (room-level audio). You could also try disabling noise cancellation in the agent to see if the issue goes away.
Some links: