TCICBasicConfig class
Constructors
- TCICBasicConfig({bool? autoStartClass, bool? allowEarlyEnter, bool? allowPipMode, bool? autoStartStageLoop, bool? enableSmallVideoStream, bool? enableVirtualBackground, bool? rememberBeautyConfig, bool? rememberVirtualBackgroundConfig, bool? microphoneAutoOpen, bool? cameraAutoOpen, String? logPassword, bool? enableExperienceDegradation, bool? enableFullLogReport, bool? handupButtonKeepEnabled, bool? enableQuicMode, bool? showStreamSubscriptionSetting, bool? showQuicModeSetting, bool? teacherVideoFloating})
Properties
- allowEarlyEnter ↔ bool?
-
是否允许提前进入教室
getter/setter pair
- allowPipMode ↔ bool?
-
是否允许画中画模式
getter/setter pair
- autoStartClass ↔ bool?
-
是否自动开始课堂 仅对老师角色有效
getter/setter pair
- autoStartStageLoop ↔ bool?
-
是否自动开始循环上台模式
getter/setter pair
- cameraAutoOpen ↔ bool?
-
摄像头自动打开
学生端有效
getter/setter pair
- enableExperienceDegradation ↔ bool?
-
是否开启弱网或者高负载时体验降级,默认为true
功能优先级:P0(最高): 音频通话 > P1: 屏幕共享 > P2: 老师视频 > P3: 学生视频 > P4: 虚拟背景/美颜
默认情况下,当网络较差或者负载较高时、且状态持续时,会根据优先级从低到高,关闭功能。
当网络恢复正常或者负载降低时,且状态持续一段时间后,会根据优先级从高到低,恢复功能。
getter/setter pair
- enableFullLogReport ↔ bool?
-
是否开启全量日志http上报,默认为false
开启后,所有日志都会通过http上报,包括错误日志、警告日志、信息日志等。
关闭后,只有错误日志会通过http上报,其他日志通过本地文件存储。
getter/setter pair
- enableQuicMode ↔ bool?
-
是否启用QUIC协议进行IM通信,默认为false(quic协议的抗弱网能力更强,建议国外用户或者部分网络差的用户开启)
getter/setter pair
- enableSmallVideoStream ↔ bool?
-
是否启用小视频流,默认为false,仅在小班课且上台人数大于超过2人时生效。
开启小流模式后,当前用户的编码器会同时输出【高清大画面】和【低清小画面】两路视频流(但只有一路音频流)。
房间中的其他用户就可以根据自身的网络情况或屏幕大小选择订阅【高清大画面】或是【低清小画面】。
getter/setter pair
- enableVirtualBackground ↔ bool?
-
开启虚拟背景
getter/setter pair
- handupButtonKeepEnabled ↔ bool?
-
是否保持举手上台按钮一直显示,仅对非老师角色有效,默认false
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- logPassword ↔ String?
-
日志密码, 用于加密日志文件,仅用于本地加密,不用于网络传输,建议通过环境变量传入,如未传入,则使用默认密码加密,请妥善保管。
getter/setter pair
- microphoneAutoOpen ↔ bool?
-
麦克风自动打开
学生端有效
getter/setter pair
- rememberBeautyConfig ↔ bool?
-
是否记住美颜配置
getter/setter pair
- rememberVirtualBackgroundConfig ↔ bool?
-
是否记住虚拟背景配置
仅在开启虚拟背景时有效
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showQuicModeSetting ↔ bool?
-
设置展示设置面板中的开启quic模式设置项,默认为true
getter/setter pair
- showStreamSubscriptionSetting ↔ bool?
-
设置展示设置面板中的流订阅设置项,默认为true
getter/setter pair
- teacherVideoFloating ↔ bool?
-
老师视频流是否浮动显示,默认false
getter/setter pair
Methods
-
copy(
) → TCICBasicConfig -
isEqual(
TCICBasicConfig other) → bool -
merge(
TCICBasicConfig other) → void -
mergeFromJson(
Map< String, dynamic> json) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → TCICBasicConfig