@tencentcloud/tuiroom-engine-electron 2.2.1 → 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.d.ts CHANGED
@@ -136,7 +136,7 @@ declare class TUIRoomEngine {
136
136
  * @param {boolean=} [options.isMessageDisableForAllUser=false] 是否允许成员发送消息,默认不禁止(创建房间可选参数)
137
137
  * @param {number=} options.maxSeatCount 最大麦位数量 (创建房间可选参数)<br>
138
138
  * roomType 为 TUIRoomType.kConference (教育及会议场景) 时,maxSeatCount 值不做限制;
139
- * roomType 为 TUIRoomType.kLivingRoom (直播场景) 时,maxSeatCount 最大限制为 16;
139
+ * roomType 为 TUIRoomType.kLive(直播场景) 时,maxSeatCount 最大限制为 16;
140
140
  * @returns {Promise<void>}
141
141
  *
142
142
  * @example
@@ -164,6 +164,7 @@ declare class TUIRoomEngine {
164
164
  * 进入房间接口
165
165
  * @param {object} options
166
166
  * @param {string} options.roomId 房间号,字符串类型
167
+ * @param {TUIRoomType} options.roomType 房间类型, 默认值为 TUIRoomType.kConference (自 v2.3.0 支持)
167
168
  * @returns {Promise<TUIRoomInfo>} roomInfo
168
169
  * 该接口返回当前房间信息
169
170
  *
@@ -171,10 +172,12 @@ declare class TUIRoomEngine {
171
172
  * const roomEngine = new TUIRoomEngine();
172
173
  * const roomDetailInfo = await roomEngine.enterRoom({
173
174
  * roomId: '12345',
175
+ * roomType: TUIRoomType.kConference, // 设置房间类型为 TUIRoomType.kConference 类型
174
176
  * });
175
177
  */
176
178
  enterRoom(options: {
177
179
  roomId: string;
180
+ roomType: TUIRoomType;
178
181
  }): Promise<TUIRoomInfo>;
179
182
  /**
180
183
  * 解散房间接口,解散房间必须由房间所有者发起,解散房间之后房间不可进入
@@ -837,7 +840,7 @@ declare class TUIRoomEngine {
837
840
  * @param {object} options
838
841
  * @param {number} options.maxSeatCount 设置房间麦位最大值<br/>
839
842
  * roomType 为 TUIRoomType.kConference (教育及会议场景) 时,maxSeatCount 值不做限制;
840
- * roomType 为 TUIRoomType.kLivingRoom (直播场景) 时,maxSeatCount 最大限制为 16;
843
+ * roomType 为 TUIRoomType.kLive(直播场景) 时,maxSeatCount 最大限制为 16;
841
844
  * @returns {Promise<void>}
842
845
  * const roomEngine = new TUIRoomEngine();
843
846
  * await roomEngine.createRoom({ roomId: '12345' });