trtc-cloud-js-sdk 2.12.2-beta.22 → 2.12.2-beta.24

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.12.2-beta.22",
3
+ "version": "2.12.2-beta.24",
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.1"
22
+ "trtc-sdk-v5": "5.18.2-beta.5"
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,
@@ -1243,7 +1247,7 @@ declare class TRTC_Cloud extends EventEmitter {
1243
1247
  private _hasJoinedRoom;
1244
1248
  private _isExitingRoom;
1245
1249
  constructor(config?: ITRTCCloudConfig);
1246
- static getPlugin(pluginName: string): any;
1250
+ static getPlugin(pluginName: string): typeof VirtualBackground | typeof BasicBeauty | typeof VideoMixer | typeof Whiteboard | null;
1247
1251
  /**
1248
1252
  * 创建 TRTCCloud 对象单例
1249
1253
  * @param {ITRTCCloudConfig} config 构造函数初始化