OTNetworkCondition

Estimated network condition score for a transport.

This enum represents the overall health of the network connection for a given transport (local or remote). It is typically derived from metrics such as packet loss and estimated available bandwidth. Higher values indicate better network conditions.

OTNetworkConditionWarning and OTNetworkConditionCritical indicate degraded network conditions that may trigger audio fallback callbacks. If audio fallback is enabled, the SDK will notify via the corresponding callbacks, and in the critical state, video may be disabled to preserve call stability.

Constants

Name Description
OTNetworkConditionUnknown Network condition could not be determined.
OTNetworkConditionCritical Severe network issues.
OTNetworkConditionWarning Poor network conditions.
OTNetworkConditionFair Moderate network conditions.
OTNetworkConditionGood Good network conditions.
OTNetworkConditionExcellent Excellent network conditions.