trtc-cloud-js-sdk 2.14.2-beta.1 → 2.14.2-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-cloud-js-sdk",
3
- "version": "2.14.2-beta.1",
3
+ "version": "2.14.2-beta.3",
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.19.0-kit.2"
22
+ "trtc-sdk-v5": "5.19.2-kit.1"
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,
@@ -1246,7 +1250,7 @@ declare class TRTC_Cloud extends EventEmitter {
1246
1250
  private _hasJoinedRoom;
1247
1251
  private _isExitingRoom;
1248
1252
  constructor(config?: ITRTCCloudConfig);
1249
- static getPlugin(pluginName: string): any;
1253
+ static getPlugin(pluginName: string): typeof VirtualBackground | typeof BasicBeauty | typeof VideoMixer | typeof Whiteboard | null;
1250
1254
  /**
1251
1255
  * 创建 TRTCCloud 对象单例
1252
1256
  * @param {ITRTCCloudConfig} config 构造函数初始化
@@ -2172,4 +2176,4 @@ declare class TRTC_Cloud extends EventEmitter {
2172
2176
  getAITranscriberManager(): AITranscriberManager;
2173
2177
  }
2174
2178
 
2175
- export { AITranscriberListener, AudioMuteType, IAITranscriberManager, ITRTCMediaMixingEvent, ITRTCMediaMixingManager, ITRTCWhiteboardManager, InteractionOption, Rect, TRTCAppScene, TRTCAudioQuality, TRTCAudioSceneEx, TRTCBeautyStyle, TRTCCameraCaptureMode, TRTCCameraCaptureParams, TRTC_Cloud as TRTCCloud, TRTCDeviceInfo, TRTCDeviceState, TRTCDeviceType, TRTCImageBuffer, TRTCLocalStatistics, TRTCLogLevel, TRTCMediaMixingEncParam, TRTCMediaMixingErrorCode, TRTCMediaMixingEvent, TRTCMediaSource, TRTCMediaSourceType, TRTCMixInputType, TRTCMixUser, TRTCNetworkQosParam, TRTCParams, TRTCPublishCDNParam, TRTCQosControlMode, TRTCQuality, TRTCQualityInfo, TRTCRemoteStatistics, TRTCRenderParams, TRTCRoleType, TRTCScreenCaptureProperty, TRTCScreenCaptureSourceInfo, TRTCScreenCaptureSourceType, TRTCStatistics, TRTCTranscodingConfig, TRTCTranscodingConfigMode, TRTCVideoEncParam, TRTCVideoFillMode, TRTCVideoMirrorType, TRTCVideoQosPreference, TRTCVideoResolution, TRTCVideoResolutionMode, TRTCVideoRotation, TRTCVideoStreamType, TRTCVolumeInfo, TRTCWhiteboardEvent, TranscriberMessage, TranscriberParams, WHITEBOARD_EXPERIMENTAL_EVENT_NAME, WhiteboardCanvasInfo, WhiteboardExperimentalEventPayload, WhiteboardOp, WhiteboardRecvCommand, WhiteboardToolConfig, WhiteboardToolType, TRTC_Cloud as default, loggerManager };
2179
+ export { AITranscriberListener, AudioMuteType, IAITranscriberManager, ITRTCMediaMixingEvent, ITRTCMediaMixingManager, ITRTCWhiteboardManager, InteractionOption, Rect, TRTCAppScene, TRTCAudioQuality, TRTCAudioSceneEx, TRTCBeautyStyle, TRTCCameraCaptureMode, TRTCCameraCaptureParams, TRTCDeviceInfo, TRTCDeviceState, TRTCDeviceType, TRTCImageBuffer, TRTCLocalStatistics, TRTCLogLevel, TRTCMediaMixingEncParam, TRTCMediaMixingErrorCode, TRTCMediaMixingEvent, TRTCMediaSource, TRTCMediaSourceType, TRTCMixInputType, TRTCMixUser, TRTCNetworkQosParam, TRTCParams, TRTCPublishCDNParam, TRTCQosControlMode, TRTCQuality, TRTCQualityInfo, TRTCRemoteStatistics, TRTCRenderParams, TRTCRoleType, TRTCScreenCaptureProperty, TRTCScreenCaptureSourceInfo, TRTCScreenCaptureSourceType, TRTCStatistics, TRTCTranscodingConfig, TRTCTranscodingConfigMode, TRTCVideoEncParam, TRTCVideoFillMode, TRTCVideoMirrorType, TRTCVideoQosPreference, TRTCVideoResolution, TRTCVideoResolutionMode, TRTCVideoRotation, TRTCVideoStreamType, TRTCVolumeInfo, TRTCWhiteboardEvent, TranscriberMessage, TranscriberParams, WHITEBOARD_EXPERIMENTAL_EVENT_NAME, WhiteboardCanvasInfo, WhiteboardExperimentalEventPayload, WhiteboardOp, WhiteboardRecvCommand, WhiteboardToolConfig, WhiteboardToolType, TRTC_Cloud as default, loggerManager };