trtc-cloud-js-sdk 2.13.1-beta.4 → 2.13.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
|
|
3
|
+
"version": "2.13.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.
|
|
22
|
+
"trtc-sdk-v5": "5.18.3-kit.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/trtc-cloud-js-sdk.d.ts
CHANGED
|
@@ -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):
|
|
1242
|
+
static getPlugin(pluginName: string): typeof VirtualBackground | typeof BasicBeauty | typeof VideoMixer | typeof Whiteboard | null;
|
|
1240
1243
|
/**
|
|
1241
1244
|
* 创建 TRTCCloud 对象单例
|
|
1242
1245
|
* @param {ITRTCCloudConfig} config 构造函数初始化
|
|
@@ -1907,7 +1910,6 @@ declare class TRTC_Cloud extends EventEmitter {
|
|
|
1907
1910
|
private _resolveAIDenoiserMode;
|
|
1908
1911
|
private _handleBeautyStyleParam;
|
|
1909
1912
|
private _resetBeautyStyle;
|
|
1910
|
-
setWaterMark(params: any): Promise<void>;
|
|
1911
1913
|
/**
|
|
1912
1914
|
* 获取麦克风设备列表<br>
|
|
1913
1915
|
* @returns {Promise<TRTCDeviceInfo[]>} 麦克风管理器列表
|