RealtimeAPI Producing Infinite Audio Deltas Near Function Call

Hey everyone,

I’ve been running into a weird issue with the Realtime API. It seems like every once in a while, maybe every 50 calls or so, things just go haywire when it tries to make a function call.

Here’s what’s happening: suddenly, it starts sending a bunch of infinite audio deltas. Sometimes they’re just silent, and other times it’s a strange buzzing noise. On top of that, it keeps repeating phrases like “calling function now” over and over, but the function call itself never actually happens. The weird part is that when I look at the transcription, none of these strange audio artifacts show up.

I’ve checked my WebSocket setup multiple times and everything seems solid. I’ve also combed through the API docs, and nothing’s jumping out as a possible cause.

Has anyone faced anything similar or have tips to stop this from happening?

1 Like