Open arnaudbreton opened 4 weeks ago
As a temporary fix, I'm sending the session configuration directly and once the app has received the session.created
event.
switch (event?.type) {
case 'session.created':
openAIWs.realtime.send('session.update', config);
break;
}
Hi,
I'm facing a weird bug where the following code doesn't lead to the session configuration to being properly sent.
On the browser-side (React Native through Expo):
On the relay server:
Most of the time I get the following logs:
In rare occasions, or if I set a breakdown in the
updateSession
method, I get the following log:This prevents server_vad to be effective as the session configuration isn't sent.
Thanks for your help