Skip to content
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

Reduce connection delay in iOS SDK for real-time voice assistant activation #21

Open
albertcyhe opened this issue Nov 12, 2024 · 1 comment

Comments

@albertcyhe
Copy link

Hey team,

I’m using the Vapi iOS SDK to build a voice assistant, where the user can say something like “Hey” to trigger a connection to Vapi and handle tasks like explaining content. However, with the current SwiftUI version, I’m experiencing a delay of about 5-7 seconds from when I hit “start a call” to when it actually connects. This delay makes it tough to use for a real-time assistant scenario.

Is there a way to pre-load certain modules or make adjustments so that a quick action (like a tap or a “Hey” trigger) could start Vapi with minimal delay? Any tips or workarounds would be super helpful!

@nikhilro
Copy link

Unfortunately most of that is WebRTC setup. I see people having a workaround to play some sounds.

Daily team has it as a priority to shorten this time and I'll bump it up again.

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