rtcEngine$onNetworkDetectionResult$quality$rtt$lostRate$bitrate$jitter method
FutureOr<void>
rtcEngine$onNetworkDetectionResult$quality$rtt$lostRate$bitrate$jitter(
- ByteRTCEngine engine,
- ByteRTCNetworkDetectionLinkType type,
- ByteRTCNetworkQuality quality,
- int rtt,
- double lostRate,
- int bitrate,
- int jitter,
@detail callback
@author hanchenchen.c
@brief Callback of pre-call network detection result.
After successfully calling startNetworkDetection:uplinkBandwidth:downlink:downlinkBandwidth:{@link #ByteRTCEngine#startNetworkDetection:uplinkBandwidth:downlink:downlinkBandwidth}, you will receive this callback for the first time in 3s and every 2s thereafter.
@param engine ByteRTCEngine instance.
@param type Identifies the network type as uplink/downlink.
@param quality Network quality, see ByteRTCNetworkQuality{@link #ByteRTCNetworkQuality}.
@param rtt Network RTT in ms.
@param lostRate Packet loss rate.
@param bitrate Network bandwidth in kbps.
@param jitter Network jitter in ms
Implementation
FutureOr<void>
rtcEngine$onNetworkDetectionResult$quality$rtt$lostRate$bitrate$jitter(
ByteRTCEngine engine,
ByteRTCNetworkDetectionLinkType type,
ByteRTCNetworkQuality quality,
int rtt,
double lostRate,
int bitrate,
int jitter) async {}