Class: OpenAI::Models::Realtime::SidebandConnection

Inherits:
Realtime::Connection show all
Defined in:
sig/openai/helpers/realtime/sideband_connection.rbs

Instance Attribute Summary collapse

Attributes inherited from Realtime::Connection

#conversation, #input_audio_buffer, #response, #session, #url

Instance Method Summary collapse

Methods inherited from Realtime::Connection

#abort, #close, #closed?, #each, #parse_event, #receive, #receive_raw, #send_event, #send_raw

Constructor Details

#initializeSidebandConnection

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of SidebandConnection.

Parameters:

  • socket: (Object)
  • url: (URI::Generic)


8
# File 'sig/openai/helpers/realtime/sideband_connection.rbs', line 8

def initialize: (socket: untyped, url: URI::Generic) -> void

Instance Attribute Details

#output_audio_bufferOpenAI::Realtime::ConnectionResources::OutputAudioBuffer (readonly)

Returns the value of attribute output_audio_buffer.



5
6
7
# File 'sig/openai/helpers/realtime/sideband_connection.rbs', line 5

def output_audio_buffer
  @output_audio_buffer
end