@tencentcloud/tuiroom-engine-electron 2.2.0 → 2.2.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +1 -1
- package/index.d.ts +6 -4
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
- package/plugins/audio-effect-manager/index.cjs.js +503 -0
- package/plugins/audio-effect-manager/index.d.ts +75 -0
- package/plugins/audio-effect-manager/index.js +495 -0
- package/plugins/audio-effect-manager/index.umd.js +507 -0
- package/plugins/audio-effect-manager/package.json +15 -0
- package/plugins/device-manager-plugin/index.cjs.js +548 -0
- package/plugins/device-manager-plugin/index.d.ts +64 -0
- package/plugins/device-manager-plugin/index.js +539 -0
- package/plugins/device-manager-plugin/index.umd.js +552 -0
- package/plugins/device-manager-plugin/package.json +14 -0
- package/plugins/media-mixing-plugin/index.cjs.js +134 -0
- package/plugins/media-mixing-plugin/index.d.ts +88 -0
- package/plugins/media-mixing-plugin/index.js +125 -0
- package/plugins/media-mixing-plugin/index.umd.js +138 -0
- package/plugins/media-mixing-plugin/package.json +14 -0
- package/plugins/video-effect-plugin/index.cjs.js +65 -0
- package/plugins/video-effect-plugin/index.d.ts +27 -0
- package/plugins/video-effect-plugin/index.js +56 -0
- package/plugins/video-effect-plugin/index.umd.js +68 -0
- package/plugins/video-effect-plugin/package.json +15 -0
- package/types.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -72,8 +72,7 @@ declare class TUIRoomEngine {
|
|
|
72
72
|
* @param {object} options
|
|
73
73
|
* @param {string} options.userName 用户名,必填
|
|
74
74
|
* @param {string} options.avatarUrl 用户头像,必填
|
|
75
|
-
* @
|
|
76
|
-
* @param {object=} options.customInfo 用户自定义资料
|
|
75
|
+
* @param {object=} options.customInfo 用户自定义资料, customInfo 字段自 v2.2.0 版本废弃
|
|
77
76
|
* App 管理员可以通过 [即时通信 IM 控制台 > 用户自定义字段](https://console.cloud.tencent.com/im/user-data) 新增自定义资料字段
|
|
78
77
|
* 用户自定义字段生效以后,用户可以调用 setSelfInfo 接口设置自定义资料
|
|
79
78
|
* @returns {Promise<void>}
|
|
@@ -137,7 +136,7 @@ declare class TUIRoomEngine {
|
|
|
137
136
|
* @param {boolean=} [options.isMessageDisableForAllUser=false] 是否允许成员发送消息,默认不禁止(创建房间可选参数)
|
|
138
137
|
* @param {number=} options.maxSeatCount 最大麦位数量 (创建房间可选参数)<br>
|
|
139
138
|
* roomType 为 TUIRoomType.kConference (教育及会议场景) 时,maxSeatCount 值不做限制;
|
|
140
|
-
* roomType 为 TUIRoomType.
|
|
139
|
+
* roomType 为 TUIRoomType.kLive(直播场景) 时,maxSeatCount 最大限制为 16;
|
|
141
140
|
* @returns {Promise<void>}
|
|
142
141
|
*
|
|
143
142
|
* @example
|
|
@@ -165,6 +164,7 @@ declare class TUIRoomEngine {
|
|
|
165
164
|
* 进入房间接口
|
|
166
165
|
* @param {object} options
|
|
167
166
|
* @param {string} options.roomId 房间号,字符串类型
|
|
167
|
+
* @param {TUIRoomType} options.roomType 房间类型, 默认值为 TUIRoomType.kConference (自 v2.3.0 支持)
|
|
168
168
|
* @returns {Promise<TUIRoomInfo>} roomInfo
|
|
169
169
|
* 该接口返回当前房间信息
|
|
170
170
|
*
|
|
@@ -172,10 +172,12 @@ declare class TUIRoomEngine {
|
|
|
172
172
|
* const roomEngine = new TUIRoomEngine();
|
|
173
173
|
* const roomDetailInfo = await roomEngine.enterRoom({
|
|
174
174
|
* roomId: '12345',
|
|
175
|
+
* roomType: TUIRoomType.kConference, // 设置房间类型为 TUIRoomType.kConference 类型
|
|
175
176
|
* });
|
|
176
177
|
*/
|
|
177
178
|
enterRoom(options: {
|
|
178
179
|
roomId: string;
|
|
180
|
+
roomType: TUIRoomType;
|
|
179
181
|
}): Promise<TUIRoomInfo>;
|
|
180
182
|
/**
|
|
181
183
|
* 解散房间接口,解散房间必须由房间所有者发起,解散房间之后房间不可进入
|
|
@@ -838,7 +840,7 @@ declare class TUIRoomEngine {
|
|
|
838
840
|
* @param {object} options
|
|
839
841
|
* @param {number} options.maxSeatCount 设置房间麦位最大值<br/>
|
|
840
842
|
* roomType 为 TUIRoomType.kConference (教育及会议场景) 时,maxSeatCount 值不做限制;
|
|
841
|
-
* roomType 为 TUIRoomType.
|
|
843
|
+
* roomType 为 TUIRoomType.kLive(直播场景) 时,maxSeatCount 最大限制为 16;
|
|
842
844
|
* @returns {Promise<void>}
|
|
843
845
|
* const roomEngine = new TUIRoomEngine();
|
|
844
846
|
* await roomEngine.createRoom({ roomId: '12345' });
|