LastmileProbeConfig class
Last-mile 网络探测配置。
- Annotations
- @JsonSerializable(explicitToJson: true)
Constructors
- LastmileProbeConfig(bool probeUplink, bool probeDownlink, int expectedUplinkBitrate, int expectedDownlinkBitrate)
- Constructs a LastmileProbeConfig
-
LastmileProbeConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- expectedDownlinkBitrate → int
-
用户期望的最高接收码率,单位为 bps,范围为
100000,5000000
。final - expectedUplinkBitrate → int
-
用户期望的最高发送码率,单位为 bps,范围为
100000,5000000
。 Agora 推荐参考 RtcEngine.setVideoEncoderConfiguration 中的码率值设置该参数的值。final - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- probeDownlink → bool
-
是否探测下行网络。
final
- probeUplink → bool
-
是否探测上行网络。有些用户,如直播频道中的普通观众,不需要进行网络探测。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited