RealtimeClientEventOutputAudioBufferClear interface

僅限 WebRTC/SIP: 發射以切斷目前的音訊回應。 這會觸發伺服器停止產生音訊並發出 output_audio_buffer.cleared 事件。 此事件之前應有 response.cancel 用戶端事件,以停止產生目前的回應。 了解更多。

Extends

屬性

event_id

用於錯誤處理的用戶端事件的唯一 ID。

type

事件類型 必須是 output_audio_buffer.clear。

屬性詳細資料

event_id

用於錯誤處理的用戶端事件的唯一 ID。

event_id?: string

屬性值

string

type

事件類型 必須是 output_audio_buffer.clear。

type: "output_audio_buffer.clear"

屬性值

"output_audio_buffer.clear"