Packet loss from VAPI's server to Daily's SFU
# support
p
I investigated very deep and found that when vapi is streaming to daily, there is jitters and packet loss happening which is same forwarded to daily's frontend sdk client consumed by vapi's sdk client and hence i am receiving audio loss in between. I check same recording on vapis' dashboard and there audio of bot is very clear and correct, because you store on your end separately. it is not my frontend issue i am running wih m4 mac/m2 mac pro with only chrome open (no cpu throttle or low web speed -150mbps+) i have proofs of both these audios, one which is clear and where daily's url has the issue (daily stores what vapi sends from server to sfu) can someone please investigate this and solution for this? i know this is webrtc on udp but there must be some way to get audio stream on websocket or something? Call IDs 019bdc66-b426-7aa9-890c-484e8ff717b2 019bc7e9-64f0-7003-b7bf-6bf30884dc75 019c1f37-3004-7995-a97b-d9f599180bc2 - Check this both vapi recording and daily recording url. @Vapi @Vapi Support Bot https://cdn.discordapp.com/attachments/1468504819110252584/1468504819432951943/image.png?ex=6984ebf0&is=69839a70&hm=5b566322478fc65373c2b288a90ecaf0b2550a11c8240954df03f2636874f143&
can you please provide dual transport (Daily for video/events, WebSocket for audio)
this happens most of the time in US morning time (IST evening).. noticed many times now same pattern
j
You’re right to call this out, the audio being clean in Vapi recordings but breaking only once it hits Daily really points to a transport issue, not your frontend or the voice itself. The time-of-day pattern makes SFU load / UDP jitter very likely, especially with server → Daily streaming. A separate or fallback transport for audio (WebSocket or data channel) would help a lot here. One thing that would help narrow it down: during those bad windows, do you see RTP retransmissions or dropped frames on Daily’s side? Also, is the bot audio streamed as live RTP or as re-encoded chunks from the server? @Pranav FE
p
I am not sure about the last part on daily's side, yes I dont see video frames dropped just the audio, that is when i concluded it is vapi to daily issue not daily to frontend client moreover, my voice goes via same webrtc to daily and daily passes to vapi, interesting thing to note here is - in this case, daily's recording has my voice clear but vapi's recording doesn't (which again proves there is issue in vapi-daily sfu)
@User
k
we're looking into this
p
any update here please?
I have received mail from Sarthak, however relevant screenshots are not for my callIds. this is serious bug, its been almost a week now 😿
Honestly it is really really sad no-one is coming from support here to give us proper resolution to this issue. call ID :
019c4a21-fbda-7ffe-926d-6ba0f05ca24c
https://wfb-ai-role-play.s3.us-east-1.amazonaws.com/vapi-call-recordings/prod/6989bb03fe64c6c111fdcda7/6989c240fe64c6c111fdcdaa/019c4a21-fbda-7ffe-926d-6ba0f05ca24c-1770770472496-42450c2c-cb44-4da2-8af8-b9dd658b98bc-mono.mp3 check this recording (heavy amount of packet loss of speaker clearly audible here) and same daily recording of the same call (Packet loss of Agent clearly audible here) https://daily-co-call-recordings.s3.us-west-2.amazonaws.com/vapi/bWTERQ2M6yXWS7Gj2Bjm/1770770270474 is this the kind of experience VAPI wants our enterprise grade customers to have? this issue wasn't there till december, we have been seeing these since january and it has become very degraded experience. what is really disappointing here is that, its been 10 days now, and VAPI is not taking this seriously at all despite knowing it. @Vapi @User @Sarthak ( Vapi ) @kyle
@Shubham Bajaj @arthur @Kings_big💫
@Arvind someone here ???
@Prateek @tejas
e
hey folks i'm pinging our team for any insights here. They'll share update soon
c
hey there, apologies for the delay. debugging for issues with daily take a little more time than normal websocket calls due to our logging. rest assured that we are continuing to investigate this to provide some insights on how to navigate the issue. thank you for being patient
p
Hoping to get some insights as easly as possible, our contract is on hold now because of this single issue 😔 . this is happening with just 25 concurrency, not sure how will it handle 200+ lines at a time
any update?
any update?
@Vapi @User @Evadora (Vapi) tagging here again 😔
c
please ensure that there is no blocking of the Daily IPs on your side: https://docs.daily.co/guides/privacy-and-security/corporate-firewalls-nats-allowed-ip-list. you can also run this network test to see how it performs: https://network-test-v2.daily.co/
p
Hi Kyle no we dont have firewall or blocking as call connect and runs.. it is the audio loss that is consistently happening during US morning hours.
test performed and everything was green btw
@User we are still facing these issues.. too much jitters with random customers on web calls
p
@User We're experiencing the same issue here.
p
@Evadora (Vapi) @Shubham Bajaj @Arvind
e
looking into this