OTSubscriberKitMediaLinkStats Class Reference

Inherits from NSObject
Declared in OTNetworkStatsKit.h

Overview

Provides subscriber media link statistics including local and remote transport metrics and network degradation information.

Since audio and video share the same underlying transport, this class consolidates the local transport, remote publisher transport, and network degradation source into a single object.

  transport

Local transport and network statistics for this subscriber.

@property (readonly, nonnull) OTTransportStats *transport

Discussion

This property reflects transport-level metrics for the subscriber’s local connection. Some fields may be limited if sender-side statistics and/or audio fallback are disabled.

Declared In

OTNetworkStatsKit.h

  remotePublisherTransport

Remote publisher transport and network statistics.

@property (readonly, nonnull) OTTransportStats *remotePublisherTransport

Discussion

This property reflects transport-level metrics for the remote publisher. Some fields may be limited if sender-side statistics and/or audio fallback are disabled.

Declared In

OTNetworkStatsKit.h

  networkDegradationSource

Indicates the source of network degradation, if any.

@property (readonly) OTNetworkDegradationSource networkDegradationSource

Discussion

This value identifies whether network degradation is primarily caused by the local subscriber, the remote publisher, or cannot be determined. Availability may be limited if sender-side statistics and/or audio fallback are disabled.

Declared In

OTNetworkStatsKit.h