OTTransportStats
Provides network-level transport statistics.
The OTTransportStats class exposes metrics related to the underlying network transport layer of a WebRTC connection. These stats reflect current conditions such as the estimated available bandwidth and can be used for monitoring or debugging network performance issues.
Properties
| Name |
Type |
Description |
connectionEstimatedBandwidth |
int64_t |
The estimated available connection bandwidth, in bits per second (bps). |
networkCondition |
OTNetworkCondition |
The current network condition score. This value represents an assessment of the local participant’s network quality based on transport-level metrics. |
networkConditionReason |
OTNetworkReason |
The primary reason impacting the current network condition. This value indicates the dominant factor influencing the network condition score, such as bandwidth limitations, packet loss, or other network-related causes. |
Methods
| Name |
Description |
initWithConnectionEstimatedBandwidth:networkCondition:networkConditionReason:(connectionEstimatedBandwidth, networkCondition, networkConditionReason) → {instancetype} |
|
initWithConnectionEstimatedBandwidth:networkCondition:networkConditionReason:(connectionEstimatedBandwidth, networkCondition, networkConditionReason) → {instancetype}
Parameters:
Returns: