voice widget example
# support
p
I've add the voice widget to a static index.html file. When run from my macbook pro it works flawless, time after time, end call start another, no issues. When run from my iPhone 16 iOS Version 26 Beta. The initial call works fine, end call start another - no audio coming back from assistant. I've attached the call id for the call where vapi is getting my audio but i do not hear the assistants. This is repeatable on an IOS device but does not happen on macbook pro. Call ID: be773f33-63ab-4f29-bec4-fccfcc1d23d4 Sept 2, 13:44:05.940+ First call plays audio through VAPI widget, calls following on IOS device have no audio, or incorrect audio. This is repeatable with the widget code from this page https://docs.vapi.ai/chat/web-widget
s
did you force AudioContext restart on each call?
p
Yes the problem persists.
I should also have posted that I couldn't find a VAPI specific switch for doing this, I've done this by closing the old AudioContext when a call ends and creating a fresh one before the next vapi.start(...). Should I have to do this when using the example Widget provided by VAPI?
c
Hey Phlay, thanks for sharing your details. Our team will look into it and get back to you soon with an update.
p
thank you. I've moved to using native Swift SDK and have no issues but probelms with the web sdk.
c
Sorry it's taking longer than usual. Our team is looking into it and will get back to you with an update soon.
2 Views