sensitive-blue
sensitive-blue15mo ago

Any documentation or guides to get the lowest latency possible for phone calls?

Hi do you have any documentation or links on how to get the lowest latency possible for phone calls? ie Which voice, llm, and settings to use to get the lowest possible latency?
8 Replies
Vapi
Vapi15mo ago
@Vahid Absolutely, I can provide some guidance on achieving the lowest latency for phone calls using VAPI. 1. Choose the Right Voice Codec: Select a voice codec that is optimized for low latency. Codecs like Opus are designed to work well over various network conditions and have low processing requirements. 2. Low Latency Mode (LLM): Ensure that you are using a Low Latency Mode if available. This mode is specifically designed to reduce audio processing time and prioritize speed over other factors. 3. Network Quality: Use a high-quality, stable internet connection. Wired connections are typically more reliable than wireless ones. 4. Server Location: Choose a server that is geographically close to both the caller and the recipient to reduce the transmission time of the data. 5. Optimize Application Code: Ensure that your application code is efficient and not introducing additional delays in the call setup or voice processing. 6. Settings: Adjust settings to prioritize speed. This might include reducing the bitrate, disabling certain voice processing features that are not necessary, or tweaking session initiation protocols. For specific documentation, links, or to enable certain features like Low Latency Mode, you would need to refer to the documentation provided by your voice API provider or contact their support team for the most accurate and up-to-date information. If you need further assistance or have specific questions about settings or features in VAPI, please let me know, and I'll be happy to help! You can continue this conversation by mentioning me in the message.
sensitive-blue
sensitive-blueOP15mo ago
Can you tell me which voice codecs and LLMs have the lowest latency? What settings to change to get the lowest latency? @Vapi Support Bot
like-gold
like-gold15mo ago
can you help me with your current assistant id and issue your facing.
sensitive-blue
sensitive-blueOP15mo ago
Hi @Shubham Bajaj this my assistant id acd756c3-58d6-4524-a5a5-eea67647d569 any way to decrease the latency would be great. Thanks
like-gold
like-gold15mo ago
what latency issue your facing can you describe that as well? ----also - set num_words_to_interrupt_assistant to 1 - check if add punctuation endpointing or boundaries helps
sensitive-blue
sensitive-blueOP15mo ago
ok thanks
like-gold
like-gold15mo ago
is it resolved>?
sensitive-blue
sensitive-blueOP15mo ago
Yes Thanks!

Did you find this page helpful?