onNetworkSpeedTestError property

(void Function(int errorCode, ZegoNetworkSpeedTestType type)?) onNetworkSpeedTestError
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.

Implementation

static void Function(int errorCode, ZegoNetworkSpeedTestType type)?
    onNetworkSpeedTestError;