trtc-sdk-v5 5.10.2-wasm.3 → 5.11.0-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/assets/audioProcessor-wasm.js +1 -0
- package/assets/debug-dialog.js +2 -2
- package/index.d.ts +5 -1
- package/package.json +6 -4
- package/plugins/cdn-streaming/package.json +1 -1
- package/plugins/cross-room/package.json +1 -1
- package/plugins/custom-encryption/package.json +1 -1
- package/plugins/device-detector/package.json +1 -1
- package/plugins/small-stream-auto-switcher/package.json +1 -1
- package/plugins/small-stream-auto-switcher/small-stream-auto-switcher.esm.js +1 -1
- package/plugins/small-stream-auto-switcher/small-stream-auto-switcher.umd.js +1 -1
- package/plugins/video-decoder/package.json +1 -1
- package/plugins/video-effect/basic-beauty/package.json +1 -1
- package/plugins/video-effect/beauty/package.json +1 -1
- package/plugins/video-effect/video-mixer/package.json +1 -1
- package/plugins/video-effect/virtual-background/package.json +1 -1
- package/plugins/video-effect/watermark/package.json +1 -1
- package/plugins/voice-changer/package.json +1 -1
- package/trtc.esm.js +43 -64
- package/trtc.js +1 -1
- package/assets/av_processing.wasm +0 -0
- package/assets/worker.js +0 -17
package/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { CrossRoom, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOp
|
|
|
8
8
|
import { CustomEncryption, EncryptionOptions } from './plugins/custom-encryption';
|
|
9
9
|
import { VideoMixerOptions, VideoMixer} from './plugins/video-effect/video-mixer'
|
|
10
10
|
import { SmallStreamAutoSwitcher, SmallStreamAutoSwitcherOptions } from './plugins/small-stream-auto-switcher';
|
|
11
|
+
import { InitAudioProcessorOptions, UpdateAudioProcessorOptions } from 'trtc-js-sdk-core';
|
|
11
12
|
|
|
12
13
|
export { CDNStreamingOptions, DeviceDetectorOptions, VirtualBackgroundOptions, UpdateVirtualBackgroundOptions, WatermarkOptions, BeautyOptions, UpdateBeautyOptions, BasicBeautyOptions, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption, SmallStreamAutoSwitcherOptions, VideoMixerOptions };
|
|
13
14
|
type TRTCPlugin = typeof CrossRoom | typeof CDNStreaming | typeof DeviceDetector | typeof VirtualBackground | typeof Watermark | typeof Beauty | typeof BasicBeauty | typeof CustomEncryption | typeof SmallStreamAutoSwitcher | typeof VideoMixer;
|
|
@@ -28,6 +29,7 @@ export declare type PluginStartOptionsMap = {
|
|
|
28
29
|
'CrossRoom': StartCrossRoomOption;
|
|
29
30
|
'CustomEncryption': EncryptionOptions;
|
|
30
31
|
'SmallStreamAutoSwitcher': SmallStreamAutoSwitcherOptions;
|
|
32
|
+
'AudioProcessor': InitAudioProcessorOptions;
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
export declare type PluginUpdateOptionsMap = {
|
|
@@ -39,6 +41,7 @@ export declare type PluginUpdateOptionsMap = {
|
|
|
39
41
|
'Beauty': UpdateBeautyOptions;
|
|
40
42
|
'BasicBeauty': BasicBeautyOptions;
|
|
41
43
|
'CrossRoom': UpdateCrossRoomOption;
|
|
44
|
+
'AudioProcessor': UpdateAudioProcessorOptions;
|
|
42
45
|
};
|
|
43
46
|
|
|
44
47
|
export declare type PluginStopOptionsMap = {
|
|
@@ -54,6 +57,7 @@ export declare type PluginStopOptionsMap = {
|
|
|
54
57
|
'Debug': undefined;
|
|
55
58
|
'CrossRoom': StopCrossRoomOption | undefined;
|
|
56
59
|
'SmallStreamAutoSwitcher': undefined;
|
|
60
|
+
'AudioProcessor': undefined;
|
|
57
61
|
};
|
|
58
62
|
|
|
59
63
|
export declare class RtcError extends Error implements RTCErrorInterface {
|
|
@@ -630,7 +634,7 @@ export declare interface StopAudioMixerOptions {
|
|
|
630
634
|
id: string;
|
|
631
635
|
}
|
|
632
636
|
export declare interface AIDenoiserOptions {
|
|
633
|
-
assetsPath
|
|
637
|
+
assetsPath?: string;
|
|
634
638
|
sdkAppId: number;
|
|
635
639
|
userId: string;
|
|
636
640
|
userSig: string;
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trtc-sdk-v5",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.11.0-beta.1",
|
|
4
4
|
"description": "Tencent Cloud RTC SDK for Web",
|
|
5
|
-
"
|
|
6
|
-
"type": "module",
|
|
5
|
+
"main": "trtc.js",
|
|
7
6
|
"types": "index.d.ts",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"webrtc-adapter": "^8.2.3"
|
|
9
|
+
},
|
|
8
10
|
"keywords": [
|
|
9
11
|
"webrtc",
|
|
10
12
|
"TRTC",
|
|
@@ -27,4 +29,4 @@
|
|
|
27
29
|
},
|
|
28
30
|
"author": "Tencent Cloud Client R&D Center",
|
|
29
31
|
"license": "ISC"
|
|
30
|
-
}
|
|
32
|
+
}
|