latency
# support
i
Hello, i am using the sdk of Vapi, however i am facing a 10 seconds latency before the agent start, i want to know how i can solve that!
v
@IMad Hello! I'm sorry to hear that you're experiencing latency issues with the VAPI SDK. Typically, VAPI is known for its low latency, so a 10-second delay is quite unusual. Here are a few steps you can take to troubleshoot and potentially resolve the issue: 1. **Check Network Connection**: Ensure that your internet connection is stable and fast. Network issues are a common cause of latency. 2. **Update SDK**: Make sure you are using the latest version of the VAPI SDK, as updates often include performance improvements and bug fixes. 3. **Optimize Code**: Review your code to ensure that there are no pre-processing tasks or synchronous operations that could be causing the delay before the agent starts. 4. **Server Location**: If possible, use a server that is geographically closer to your users to reduce latency. 5. **Contact Support**: If none of the above steps resolve the issue, it might be something specific to your setup or an issue on our end. Please reach out to our support team for a more in-depth investigation. Would you like me to assist you in contacting our support team or is there anything else you'd like to try first?
You can continue this conversation by mentioning me in the message.
i
@Sahil could you help me please !
s
latest call_id pls
i
Hello, 1a062d76-ef8d-407a-9b78-53de1f14bf14 for example
in fact, every time it is the case
s
try once again
should be fixed
i
Sorry to say that, but i didn’t see anything changing
s
You can check the call logs over there you will be able to see exactly what's taking the most time
i
@Sahil i am not speaking during the call
But i am speaking before starting the call
The attempts to connect to the agent !
s
You can’t solve it. It take some times to spin up all the thing.
10 Views