Module: Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Stats

Extended by:
Internal::Type::Union
Defined in:
lib/telnyx/models/voice_sdk_call_report_retrieve_response.rb

Overview

Raw stats payload emitted by the Voice SDK and stored without normalization. The exact shape can vary by SDK platform and version. Live responses commonly return an array of interval snapshots, but object-shaped stats payloads are also allowed for compatibility.

See Also:

Defined Under Namespace

Classes: UnionMember1

Constant Summary collapse

UnionMember0Array =
Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Stats::UnionMember1)



# File 'lib/telnyx/models/voice_sdk_call_report_retrieve_response.rb', line 377

Instance Method Details

#initialize(audio: nil, connection: nil, ice: nil, transport: nil) ⇒ Object

Some parameter documentations has been truncated, see UnionMember1 for more details.

Raw stats object emitted by the Voice SDK.

Parameters:

  • audio (Hash{Symbol=>Object}) (defaults to: nil)

    Raw audio stats such as inbound/outbound packet, byte, jitter, packet-loss, bitr

  • connection (Hash{Symbol=>Object}) (defaults to: nil)

    Raw connection stats such as round-trip time, packets, and bytes sent or receive

  • ice (Hash{Symbol=>Object}) (defaults to: nil)

    Raw ICE candidate-pair information, including selected pair, local/remote candid

  • transport (Hash{Symbol=>Object}) (defaults to: nil)

    Raw transport stats such as ICE state, DTLS state, SRTP cipher, TLS version, and



# File 'lib/telnyx/models/voice_sdk_call_report_retrieve_response.rb', line 361