WebRTC 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.

interface OutputAudioBufferClear {
    event_id?: string;
    type: "output_audio_buffer.clear";
}

Properties

Properties

event_id?: string

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

type: "output_audio_buffer.clear"

The event type, must be output_audio_buffer.clear.