Class: OpenAI::Models::Live::MediaSessionForkConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Live::MediaSessionForkConfig
- Defined in:
- lib/openai/models/live/media_session_fork_config.rb,
sig/openai/models/live/media_session_fork_config.rbs
Defined Under Namespace
Classes: Delegation
Instance Attribute Summary collapse
-
#client ⇒ OpenAI::Models::Live::ClientConfig?
Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session.
-
#delegation ⇒ OpenAI::Models::Live::MediaSessionForkConfig::Delegation?
Update the Responses backend for an existing Live session without changing delegation ownership.
-
#store ⇒ Boolean?
Whether to store the forked session.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(client: nil, delegation: nil, store: nil) ⇒ Object
constructor
Optional overrides for a stored Live session.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(client: nil, delegation: nil, store: nil) ⇒ Object
Optional overrides for a stored Live session. Omitted settings are inherited. The model, voice, frontend instructions, and prior conversation come from the stored session. WebRTC negotiates its audio format; audio.format is only supported on WebSocket forks.
|
|
# File 'lib/openai/models/live/media_session_fork_config.rb', line 28
|
Instance Attribute Details
#client ⇒ OpenAI::Models::Live::ClientConfig?
Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.
12 |
# File 'lib/openai/models/live/media_session_fork_config.rb', line 12 optional :client, -> { OpenAI::Live::ClientConfig } |
#delegation ⇒ OpenAI::Models::Live::MediaSessionForkConfig::Delegation?
Update the Responses backend for an existing Live session without changing delegation ownership.
19 |
# File 'lib/openai/models/live/media_session_fork_config.rb', line 19 optional :delegation, -> { OpenAI::Live::MediaSessionForkConfig::Delegation } |
Instance Method Details
#to_hash ⇒ {
32 |
# File 'sig/openai/models/live/media_session_fork_config.rbs', line 32
def to_hash: -> {
|