Module: OpenAI::Models::Webhooks::LiveCallIncomingWebhookEvent::Data::SipMediaSecurity

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/webhooks/live_call_incoming_webhook_event.rb,
sig/openai/models/webhooks/live_call_incoming_webhook_event.rbs

Overview

Media protection selected on the SIP leg during SDP negotiation. srtp indicates SRTP; rtp indicates unencrypted RTP. Omitted when unknown. This does not describe SIP signaling security or confirm that media has flowed. Clients should handle unrecognized values as unknown.

See Also:

  • OpenAI::Models::Webhooks::LiveCallIncomingWebhookEvent::Data#sip_media_security

collapse

RTP =

Returns:

  • (:rtp)
:rtp
SRTP =

Returns:

  • (:srtp)
:srtp

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.variants ⇒ Array(Symbol, String)

Returns:

  • (Array(Symbol, String))


152
153
154
155
156
# File 'lib/openai/models/webhooks/live_call_incoming_webhook_event.rb', line 152

define_sorbet_constant!(:Variants) do
  T.type_alias {
    T.any(OpenAI::Webhooks::LiveCallIncomingWebhookEvent::Data::SipMediaSecurity::TaggedSymbol, String)
  }
end