@tencentcloud/tuiroom-engine-electron 1.3.0 → 1.4.0-bate.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 +2 -2
- package/index.d.ts +4 -4
- package/index.esm.js +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -272,7 +272,7 @@ declare class TUIRoomEngine {
|
|
|
272
272
|
* 设置本地流的渲染位置
|
|
273
273
|
* @param {object} options 设置本地流的渲染位置的参数
|
|
274
274
|
* @param {TUIVideoStreamType} options.streamType 本地流类型
|
|
275
|
-
* @param {string} options.view streamType 对应的流渲染的 div 元素的 id
|
|
275
|
+
* @param {string | Array<string>} options.view streamType 对应的流渲染的 div 元素的 id
|
|
276
276
|
* @returns {Promise<void>}
|
|
277
277
|
*
|
|
278
278
|
* @example
|
|
@@ -292,7 +292,7 @@ declare class TUIRoomEngine {
|
|
|
292
292
|
*/
|
|
293
293
|
setLocalVideoView(options: {
|
|
294
294
|
streamType: TUIVideoStreamType;
|
|
295
|
-
view: string
|
|
295
|
+
view: string | Array<string>;
|
|
296
296
|
}): void;
|
|
297
297
|
/**
|
|
298
298
|
* 打开本地摄像头,开始视频流采集
|
|
@@ -413,7 +413,7 @@ declare class TUIRoomEngine {
|
|
|
413
413
|
* @param {object} options 设设置远端流渲染区域的参数
|
|
414
414
|
* @param {string} options.userId 用户 Id
|
|
415
415
|
* @param {TUIVideoStreamType} options.streamType 用户流类型
|
|
416
|
-
* @param {string} options.view 播放远端用户流的 div 元素的 id
|
|
416
|
+
* @param {string | Array<string>} options.view 播放远端用户流的 div 元素的 id
|
|
417
417
|
* @returns {Promise<void>}
|
|
418
418
|
*
|
|
419
419
|
* @example
|
|
@@ -436,7 +436,7 @@ declare class TUIRoomEngine {
|
|
|
436
436
|
setRemoteVideoView(options: {
|
|
437
437
|
userId: string;
|
|
438
438
|
streamType: TUIVideoStreamType;
|
|
439
|
-
view: string
|
|
439
|
+
view: string | Array<string>;
|
|
440
440
|
}): Promise<void>;
|
|
441
441
|
/**
|
|
442
442
|
* 开始播放远端用户视频流
|