OTTransportStats Class Reference

Inherits from NSObject
Declared in OTNetworkStatsKit.h

Overview

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.

  connectionEstimatedBandwidth

The estimated available connection bandwidth, in bits per second (bps).

@property (readonly) int64_t connectionEstimatedBandwidth

Declared In

OTNetworkStatsKit.h

  networkCondition

The current network condition score.

@property (readonly) OTNetworkCondition networkCondition

Discussion

This value represents an assessment of the local participant’s network quality based on transport-level metrics.

Declared In

OTNetworkStatsKit.h

  networkConditionReason

The primary reason impacting the current network condition.

@property (readonly) OTNetworkReason networkConditionReason

Discussion

This value indicates the dominant factor influencing the network condition score, such as bandwidth limitations, packet loss, or other network-related causes.

Declared In

OTNetworkStatsKit.h