Which Realtime server events can give both input & output audio on the server side?

I am trying to retrieve audio files on the server side. Can you suggest which Realtime server events can give both input & output audio on the server side?

https://platform.openai.com/docs/api-reference/realtime-server-events

My purpose is to merge whole conversation audio on serve side.

2 Likes

@pdeva03 Could you find a solution? I am also trying to find a way to do this

I am getting all events in client.conversation.getItems() but only event with role as assistant returns audio content. Not with role as User.

Still couldn’t get a solution for this