Hi LiveKit team,
I’ve deployed my voice agent to a production server, and I’m seeing a big performance difference compared to local testing.
When I run the agent locally, everything works smoothly — STT is fast, responses are quick, and the interaction works perfectly when tested through the LiveKit Playground.
However, after deploying the same agent to my server, there is a significant delay in STT and overall agent response time. The exact same code works fine locally, but in the deployed environment the audio processing becomes slow and the agent replies very late.
I’m not sure what is causing this difference (network latency, TURN routing, GPU/CPU limitations, or server configuration). Could you please help me understand what might be causing the delay or guide me on what I should check on my side?