class

OpenAI::RealtimeServerEventOutputAudioBufferStopped

Inherits JSON::Serializable < Reference < Object

WebRTC/SIP Only: Emitted when the output audio buffer has been completely drained on the server, and no more audio is forthcoming. This event is emitted after the full response data has been sent to the client (response.done). Learn more.

Constructors

new(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, response_id : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

event_id

The unique ID of the server event.

Source
event_id=(event_id : String)

The unique ID of the server event.

Source
response_id

The unique ID of the response that produced the audio.

Source
response_id=(response_id : String)

The unique ID of the response that produced the audio.

Source
type_value

The event type, must be output_audio_buffer.stopped.

Source
type_value=(type_value : Hash(String, JSON::Any))

The event type, must be output_audio_buffer.stopped.

Source