RealtimeServerEventOutputAudioBufferCleared interface

WebRTC/SIP Only: Emitted when the output audio buffer is cleared. This happens either in VAD mode when the user has interrupted (input_audio_buffer.speech_started), or when the client has emitted the output_audio_buffer.clear event to manually cut off the current audio response. Learn more.

Extends

Properties

event_id

The unique ID of the server event.

response_id

The unique ID of the response that produced the audio.

type

The event type, must be output_audio_buffer.cleared.

Property Details

event_id

The unique ID of the server event.

event_id: string

Property Value

string

response_id

The unique ID of the response that produced the audio.

response_id: string

Property Value

string

type

The event type, must be output_audio_buffer.cleared.

type: "output_audio_buffer.cleared"

Property Value

"output_audio_buffer.cleared"