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