NetworkQualityStats class
Tx/Rx network quality related data
Constructors
- NetworkQualityStats({String? uid, double? fractionLost, int? rtt, int? totalBandwidth, NetworkQuality? txQuality, NetworkQuality? rxQuality})
-
const
Properties
- fractionLost → double?
-
Packet loss rate, and the range is
0.0,1.0
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- rtt → int?
-
Round-trip time (RTT) in ms from client to server. Effective for the local user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- rxQuality → NetworkQuality?
-
Rx network quality grade in a range of
0,5
. The higher the grade, the worse the network quality.final - totalBandwidth → int?
-
Average transmission rate(bps) of the media RTP packages in 2s.
final
- txQuality → NetworkQuality?
-
Tx network quality grade in a range of
0,5
. The higher the grade, the worse the network quality.final - uid → String?
-
User ID
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited