@tencentcloud/tuiroom-engine-electron 1.7.1 → 1.7.3
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 +2 -2
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -272,7 +272,7 @@ declare class TUIRoomEngine {
|
|
|
272
272
|
/**
|
|
273
273
|
* 设置本地视频流的渲染位置
|
|
274
274
|
* @param {object} options 设置本地视频流的渲染位置的参数
|
|
275
|
-
* @param {string | Array<string>} options.view
|
|
275
|
+
* @param {string | Array<string> | null} options.view 本地视频流的渲染位置,如果传入 null 则不预览摄像头画面,但不影响摄像头采集,会正常推流。
|
|
276
276
|
* @returns {Promise<void>}
|
|
277
277
|
* @desc 自 v1.6.1 版本起,setLocalVideoView 不再需要传入 streamType 参数
|
|
278
278
|
*
|
|
@@ -285,7 +285,7 @@ declare class TUIRoomEngine {
|
|
|
285
285
|
* });
|
|
286
286
|
*/
|
|
287
287
|
setLocalVideoView(options: {
|
|
288
|
-
view: string | Array<string
|
|
288
|
+
view: string | Array<string> | null;
|
|
289
289
|
streamType?: TUIVideoStreamType;
|
|
290
290
|
}): void;
|
|
291
291
|
/**
|