TRTCNetworkQosParam class

网络带宽限制参数

这些设置决定了 SDK 在各种网络条件下的带宽限制策略(例如,在弱网络下是“保清晰度”还是“保流畅度”)。

Constructors

TRTCNetworkQosParam({int preference = 2, int controlMode = 1})

Properties

controlMode int
字段说明:视频分辨率(云端控制/客户端控制)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
preference int
字段说明:在弱网络下是“保清晰度”还是“保流畅度”
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
将当前对象转换为 JSON 格式。
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited