RealtimeClientEventOutputAudioBufferClear interface

WebRTC/SIP Only: Emit to cut off the current audio response. This will trigger the server to stop generating audio and emit a output_audio_buffer.cleared event. This event should be preceded by a response.cancel client event to stop the generation of the current response. Learn more.

Extends

Properties

event_id

The unique ID of the client event used for error handling.

type

The event type, must be output_audio_buffer.clear.

Property Details

event_id

The unique ID of the client event used for error handling.

event_id?: string

Property Value

string

type

The event type, must be output_audio_buffer.clear.

type: "output_audio_buffer.clear"

Property Value

"output_audio_buffer.clear"