trtc-cloud-js-sdk 2.13.1-beta.5 → 2.13.2-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-cloud-js-sdk",
3
- "version": "2.13.1-beta.5",
3
+ "version": "2.13.2-beta.1",
4
4
  "description": "Tencent Cloud RTC SDK for Web And Electron",
5
5
  "main": "trtc-cloud-js-sdk.js",
6
6
  "module": "trtc-cloud-js-sdk.esm.js",
@@ -19,6 +19,6 @@
19
19
  "author": "Tencent Cloud Client R&D Center",
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
- "trtc-sdk-v5": "5.18.4-beta.10"
22
+ "trtc-sdk-v5": "5.18.4-beta.12"
23
23
  }
24
24
  }
@@ -1,4 +1,8 @@
1
1
  import EventEmitter from 'eventemitter3';
2
+ import { VirtualBackground } from 'trtc-sdk-v5/plugins/video-effect/virtual-background';
3
+ import { BasicBeauty } from 'trtc-sdk-v5/plugins/video-effect/basic-beauty';
4
+ import VideoMixer from 'trtc-sdk-v5/plugins/video-effect/video-mixer';
5
+ import Whiteboard from 'trtc-sdk-v5/plugins/whiteboard';
2
6
 
3
7
  declare enum TRTCVideoResolution {
4
8
  TRTCVideoResolution_120_120 = 1,
@@ -1223,7 +1227,6 @@ declare class TRTC_Cloud extends EventEmitter {
1223
1227
  private _isBeautyEnabled;
1224
1228
  private _isTestBeautyEnabled;
1225
1229
  private _enableAutoPlayDialog;
1226
- private _isWaterMark;
1227
1230
  private _sdkAppId;
1228
1231
  private _userId;
1229
1232
  private _userSig;
@@ -1236,7 +1239,7 @@ declare class TRTC_Cloud extends EventEmitter {
1236
1239
  private _hasJoinedRoom;
1237
1240
  private _isExitingRoom;
1238
1241
  constructor(config?: ITRTCCloudConfig);
1239
- static getPlugin(pluginName: string): any;
1242
+ static getPlugin(pluginName: string): typeof VirtualBackground | typeof BasicBeauty | typeof VideoMixer | typeof Whiteboard | null;
1240
1243
  /**
1241
1244
  * 创建 TRTCCloud 对象单例
1242
1245
  * @param {ITRTCCloudConfig} config 构造函数初始化
@@ -1741,6 +1744,7 @@ declare class TRTC_Cloud extends EventEmitter {
1741
1744
  * @param {Number} params.videoFps 帧率
1742
1745
  * @param {Number} params.videoBitrate 码率
1743
1746
  * @param {Boolean=} params.screenAudio 屏幕分享是否采集系统音频, 默认 false 不采集
1747
+ * @param {Boolean=} params.applyResolutionConstraints 是否将设置的分辨率作为约束应用于屏幕采集, 默认 false
1744
1748
  * @param {MediaStreamTrack=} params.videoTrack 自定义采集的 videoTrack
1745
1749
  * **Note:**
1746
1750
  * - 采集系统声音只支持 Chrome M74+ ,在 Windows 和 Chrome OS 上,可以捕获整个系统的音频
@@ -1907,7 +1911,6 @@ declare class TRTC_Cloud extends EventEmitter {
1907
1911
  private _resolveAIDenoiserMode;
1908
1912
  private _handleBeautyStyleParam;
1909
1913
  private _resetBeautyStyle;
1910
- setWaterMark(params: any): Promise<void>;
1911
1914
  /**
1912
1915
  * 获取麦克风设备列表<br>
1913
1916
  * @returns {Promise<TRTCDeviceInfo[]>} 麦克风管理器列表
@@ -2048,6 +2051,7 @@ declare class TRTC_Cloud extends EventEmitter {
2048
2051
  private _getTRTCResolution;
2049
2052
  private _getTRTCVideoProfile;
2050
2053
  private _getTRTCStreamType;
2054
+ private _getTRTCCloudStreamType;
2051
2055
  private _getTRTCFillMode;
2052
2056
  private _getTRTCCloudVideoFillMode;
2053
2057
  private _getTRTCCloudMirrorType;