trtc-electron-sdk 11.9.604-beta.1 → 11.9.604-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/liteav/trtc.d.ts +1 -1
- package/liteav/trtc.js +1 -1
- package/liteav/trtc_define.d.ts +2 -1
- package/liteav/trtc_define.js +3 -0
- package/package.json +2 -2
package/liteav/trtc.d.ts
CHANGED
|
@@ -2439,7 +2439,7 @@ declare class TRTCCloud extends EventEmitter {
|
|
|
2439
2439
|
* @param options - 插件信息
|
|
2440
2440
|
* @param options.id {String} - 插件ID,必填,多个插件之间不能重复。
|
|
2441
2441
|
* @param options.path {String} - 插件库文件路径,必填。Windows 下为 ".dll" 文件,Mac 下为 ".dylib" 文件。
|
|
2442
|
-
* @param options.type {TRTCPluginType} - 插件类型,1表示自定义美颜插件,2
|
|
2442
|
+
* @param options.type {TRTCPluginType} - 插件类型,1表示自定义美颜插件,2表示音视频自定义加解密插件, 3表示音频自定义处理插件。
|
|
2443
2443
|
* @param [options.deviceId] {String} - 摄像头设备 ID,开启多个摄像头美颜时必填。
|
|
2444
2444
|
* @returns {TRTCPluginInfo}
|
|
2445
2445
|
*
|
package/liteav/trtc.js
CHANGED
|
@@ -4292,7 +4292,7 @@ class TRTCCloud extends events_1.EventEmitter {
|
|
|
4292
4292
|
* @param options - 插件信息
|
|
4293
4293
|
* @param options.id {String} - 插件ID,必填,多个插件之间不能重复。
|
|
4294
4294
|
* @param options.path {String} - 插件库文件路径,必填。Windows 下为 ".dll" 文件,Mac 下为 ".dylib" 文件。
|
|
4295
|
-
* @param options.type {TRTCPluginType} - 插件类型,1表示自定义美颜插件,2
|
|
4295
|
+
* @param options.type {TRTCPluginType} - 插件类型,1表示自定义美颜插件,2表示音视频自定义加解密插件, 3表示音频自定义处理插件。
|
|
4296
4296
|
* @param [options.deviceId] {String} - 摄像头设备 ID,开启多个摄像头美颜时必填。
|
|
4297
4297
|
* @returns {TRTCPluginInfo}
|
|
4298
4298
|
*
|
package/liteav/trtc_define.d.ts
CHANGED
|
@@ -601,7 +601,8 @@ export declare enum TRTCVoiceReverbType {
|
|
|
601
601
|
export declare enum TRTCPluginType {
|
|
602
602
|
TRTCPluginTypeUnknown = 0,
|
|
603
603
|
TRTCPluginTypeVideoProcess = 1,
|
|
604
|
-
TRTCPluginTypeMediaEncryptDecrypt = 2
|
|
604
|
+
TRTCPluginTypeMediaEncryptDecrypt = 2,
|
|
605
|
+
TRTCPluginTypeAudioProcess = 3
|
|
605
606
|
}
|
|
606
607
|
export interface PluginInfo {
|
|
607
608
|
id: string;
|
package/liteav/trtc_define.js
CHANGED
|
@@ -1297,12 +1297,15 @@ const TRTCPluginType_HACK_JSDOC = {
|
|
|
1297
1297
|
TRTCPluginTypeVideoProcess: 1,
|
|
1298
1298
|
/** 音视频加解密,可以实现自定义加解密 */
|
|
1299
1299
|
TRTCPluginTypeMediaEncryptDecrypt: 2,
|
|
1300
|
+
/** 音频处理,可以实现自定义音频处理 */
|
|
1301
|
+
TRTCPluginTypeAudioProcess: 3,
|
|
1300
1302
|
};
|
|
1301
1303
|
var TRTCPluginType;
|
|
1302
1304
|
(function (TRTCPluginType) {
|
|
1303
1305
|
TRTCPluginType[TRTCPluginType["TRTCPluginTypeUnknown"] = 0] = "TRTCPluginTypeUnknown";
|
|
1304
1306
|
TRTCPluginType[TRTCPluginType["TRTCPluginTypeVideoProcess"] = 1] = "TRTCPluginTypeVideoProcess";
|
|
1305
1307
|
TRTCPluginType[TRTCPluginType["TRTCPluginTypeMediaEncryptDecrypt"] = 2] = "TRTCPluginTypeMediaEncryptDecrypt";
|
|
1308
|
+
TRTCPluginType[TRTCPluginType["TRTCPluginTypeAudioProcess"] = 3] = "TRTCPluginTypeAudioProcess";
|
|
1306
1309
|
})(TRTCPluginType = exports.TRTCPluginType || (exports.TRTCPluginType = {}));
|
|
1307
1310
|
/**
|
|
1308
1311
|
* TRTC 插件信息
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trtc-electron-sdk",
|
|
3
|
-
"version": "11.9.604-beta.
|
|
3
|
+
"version": "11.9.604-beta.3",
|
|
4
4
|
"description": "trtc electron sdk",
|
|
5
5
|
"main": "./liteav/trtc.js",
|
|
6
6
|
"types": "./liteav/trtc.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"cos-nodejs-sdk-v5": "^2.
|
|
8
|
+
"cos-nodejs-sdk-v5": "^2.14.2",
|
|
9
9
|
"download": "^8.0.0",
|
|
10
10
|
"events": "^3.2.0",
|
|
11
11
|
"fs-extra": "^9.0.1",
|