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.
Properties
| Name |
Type |
Description |
transport |
OTTransportStats * |
Local transport and network statistics for this subscriber. 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. |
remotePublisherTransport |
OTTransportStats * |
Remote publisher transport and network statistics. 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. |
networkDegradationSource |
OTNetworkDegradationSource |
Indicates the source of network degradation, if any. 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. |
Methods
| Name |
Description |
initWithTransport:remotePublisherTransport:networkDegradationSource:(transport, remotePublisherTransport, networkDegradationSource) → {instancetype} |
|
initWithTransport:remotePublisherTransport:networkDegradationSource:(transport, remotePublisherTransport, networkDegradationSource) → {instancetype}
Parameters:
| Name |
Type |
Description |
transport |
OTTransportStats * |
|
remotePublisherTransport |
OTTransportStats * |
|
networkDegradationSource |
OTNetworkDegradationSource |
|
Returns: