Package im.zego.zegoexpress.entity
Class ZegoNetworkSpeedTestQuality
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoNetworkSpeedTestQuality
-
public class ZegoNetworkSpeedTestQuality extends java.lang.Object
network speed test quality
-
-
Field Summary
Fields Modifier and Type Field Description int
connectCost
Time to connect to the server, in milliseconds.double
packetLostRate
packet lost rate.ZegoStreamQualityLevel
quality
network quality.int
rtt
rtt, in milliseconds
-
Constructor Summary
Constructors Constructor Description ZegoNetworkSpeedTestQuality()
-
-
-
Field Detail
-
connectCost
public int connectCost
Time to connect to the server, in milliseconds. During the speed test, if the network connection is disconnected, it will automatically initiate a reconnection, and this variable will be updated accordingly.
-
rtt
public int rtt
rtt, in milliseconds
-
packetLostRate
public double packetLostRate
packet lost rate. in percentage, 0.0 ~ 1.0
-
quality
public ZegoStreamQualityLevel quality
network quality. excellent, good, medium and poor
-
-