JRTCEngineChannelConfig class
频道配置信息
Constructors
- JRTCEngineChannelConfig({bool publishLocalAudio = true, bool publishLocalVideo = true, int capacity = 16, int degradationMode = 0, int maxResolution = 0, int heartbeatTime = 20, int heartbeatTimeout = 60, int frameRate = 24, double videoRatio = 1.78, int defaultBitrate = 0, String customVideoResolution = '1.78', bool volumeChangeNotify = true})
Properties
- capacity ↔ int
-
频道最大人数
默认值为 16,如果存在大的推拉流需求,需要找客服评估
getter/setter pair
- customVideoResolution ↔ String
-
会议画面宽高比(浮点数),传入值为宽高比浮点数,默认为 16:9
getter/setter pair
- defaultBitrate ↔ int
-
会议初始化码率
单位 kbps,默认值为 0。如果为 0,内部会根据探测情况计算得出的码率值进行自动设置
getter/setter pair
- degradationMode ↔ int
-
宽带受限时,视频编码处理模式
getter/setter pair
- frameRate ↔ int
-
视频帧率 1-30
默认值为 24
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- heartbeatTime ↔ int
-
心跳间隔
默认值为 20
getter/setter pair
- heartbeatTimeout ↔ int
-
心跳超时时间
默认值为 60
getter/setter pair
- maxResolution ↔ int
-
会议最大分辨率
默认为360p :
getter/setter pair
- publishLocalAudio ↔ bool
-
是否默认发布本地音频流
getter/setter pair
- publishLocalVideo ↔ bool
-
是否默认发布本地视频流
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoRatio ↔ double
-
频道画面比例
传入值为宽高比浮点数,默认为 16:9
getter/setter pair
- volumeChangeNotify ↔ bool
-
是否通知成员音量变化
getter/setter pair
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