NetworkQualityStats class
上行/下行网络质量相关数据
Constructors
- NetworkQualityStats({String? uid, double? fractionLost, int? rtt, int? totalBandwidth, NetworkQuality? txQuality, NetworkQuality? rxQuality})
-
const
Properties
- fractionLost → double?
-
丢包率,范围
[0.0,1.0]final - hashCode → int
-
The hash code for this object.
read-onlyinherited
- rtt → int?
-
当
uid为本地用户时有效,客户端到服务端的往返延时,单位:msfinal - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- rxQuality → NetworkQuality?
-
下行网络质量分,范围
[0,5],分数越高网络质量越差final - totalBandwidth → int?
-
本端的音视频 RTP 包 2 秒内的平均传输速率,单位:bps
final
- txQuality → NetworkQuality?
-
上行网络质量分,范围
[0,5],分数越高网络质量越差final - uid → String?
-
用户 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