OpenAI::RealtimeServerEventOutputAudioBufferCleared
Inherits JSON::Serializable < Reference < Object
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.
Constructors
new(pull : JSON::PullParser)
Sourcenew(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, response_id : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source