Lagging voice
# support
r
Hi, I have been experiencing a lagging voice. It's not always, but sometimes when I call a number, it's either lagging a lot or it isn't even recognizable what it's saying. It doesnt happen everytime and when it happens, it's not recorder on the actual recording. I dont know where this issue comes from. Any idea on solving it please? One example where this happened is: 79590a18-8437-4e94-beb0-1260b3059d32 Really laggy, but recording doesnt show it. (Ignore the 500 error at the end for EOCR) Doesn't make difference, client told me it happened today on his working scenario. @User
v
Hi Radim! 👋 I understand you're experiencing intermittent lagging voice issues during calls that aren't showing up in the recordings. Let me help troubleshoot this. I'm unable to provide specific details about the call ID you mentioned or what EOCR refers to. However, I can definitely help with the lagging voice issue you're experiencing. There are several potential causes for this issue, especially since it doesn't appear in recordings: ### Why It Might Not Show in Recordings This discrepancy between live calls and recordings is actually common! According to the information I found, this happens because: - The AI processes transcribed text rather than directly "hearing" the audio, so certain audio artifacts like lag aren't captured in recordings - The way audio is processed in real-time (streaming) differs from how it's processed when the entire recording is available ### Potential Causes & Solutions 1. Network Issues: - Check your internet connection stability - High network latency can contribute to delays in voice transmission - A TURN server latency of 1200-2000ms is quite high and could cause voice lag 2. VAPI Configuration Settings: - Review settings that affect call setup and response times: -
silenceTimeoutSeconds
-
responseDelaySeconds
-
llmRequestDelaySeconds
3. Endpointing Settings: - Try setting Deepgram's endpointing to 300ms - Set
startSpeakingPlan.waitSeconds
to 0.8 seconds - For non-English transcriptions, set
smartEndpointingEnabled
to
false
4. Voice Model Settings: - Try adjusting these voice model parameters:
Copy code
stability: 0.5
  similarityBoost: 0.75
- Consider switching to a different voice provider for more stability - The "flash model" has known hiccups - try using the "turbo model" instead 5. Resource Utilization: - Monitor your server's CPU, memory, and bandwidth usage - High call volumes can sometimes slow down response times
Would you like me to provide more specific configuration adjustments for any of these areas? I'm happy to dive deeper into any particular solution that seems most relevant to your situation. Sources: - [Troubleshooting lagging voice issues during calls](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334651376743092355) - [Possible causes of lagging voice during calls](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332286268805087272) - [Why is lagging voice not present in call recordings?](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1337125226747662427) - [Network issues that can cause lagging voice during calls](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333877747453395014) - [Voice configuration settings that can cause lagging voice](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339794428688076871)
r
@Shubham Bajaj Please help
s
@Radim Kopp can you share the Twilio logs for this call ID? There might be visible issues on their side that we can't see. The call recording doesn't have any lagging voice as you have said.
r
Shared into your dm's. Im not sure if there isnt something that shouldnt be public. Rather be safe then sorry
k
This issue is most likely originating from Twilio's side, and there is no error log or anything visible in the log. You have to check it out with them. Here is the Twilio call SID CA91caeb477464a5b3b13bbdeddf44206c associated with this call:
r
Great, thank you! Solved from your side.