Skip to content

Audio stream stutter/lag when talking over SIP #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vykintazo opened this issue May 7, 2025 · 1 comment
Open

Audio stream stutter/lag when talking over SIP #348

vykintazo opened this issue May 7, 2025 · 1 comment

Comments

@vykintazo
Copy link

I am not sure if this is the right place to ask about this as I am currently using Cloud LiveKit, but I noticed that Agent using default OpenAI TTS lags very noticeably when calling over phone via SIP. For me it sounds as if audio chunks got re-encoded and because of that contain artifacts at places where chunk ended, but speech didn't.
I of course don't know for sure.
I've tried 2 different SIP trunk providers (Vonage and Twilio) and the results where exactly the same.
Is there anything I can do to debug and resolve this?
Thanks

@davidzhao
Copy link
Member

there wouldn't be any differences if you are running over telephony or not.. the main thing that will influence latency is where you are running your agents. try to ensure the agent is close to inference servers to minimize latency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants