onNetworkSpeedTestQualityUpdate property

(void Function(ZegoNetworkSpeedTestQuality quality, ZegoNetworkSpeedTestType type)?) onNetworkSpeedTestQualityUpdate
getter/setter pair

Network speed test quality callback.

Available since: 1.20.0 Description: Network speed test quality callback when the network can be connected. 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: After call startNetworkSpeedTest start network speed test, this callback will be triggered. The trigger period is determined by the parameter value specified by call startNetworkSpeedTest, default value is 3 seconds Restrictions: None. Caution: When error occurred during network speed test or stopNetworkSpeedTest called, this callback will not be triggered.

  • quality Network speed test quality.
  • type Uplink or downlink.

Implementation

static void Function(
        ZegoNetworkSpeedTestQuality quality, ZegoNetworkSpeedTestType type)?
    onNetworkSpeedTestQualityUpdate;