onNetworkSpeedTestError property
getter/setter pair
Network speed test error callback.
Available since: 1.20.0 Description: Network speed test error callback. Use cases: This function can be used to detect whether the network environment is suitable for pushing/pulling streams with specified bitrates. When to Trigger: If an error occurs during the speed test, such as: can not connect to speed test server, this callback will be triggered. Restrictions: None.
errorCode
Network speed test error code. Please refer to error codes document https://docs.zegocloud.com/en/5548.html for details.type
Uplink or downlink.
Implementation
static void Function(int errorCode, ZegoNetworkSpeedTestType type)?
onNetworkSpeedTestError;