trtc-sdk-v5 5.10.2-beta.6 → 5.10.2-beta.7
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 +19 -16
- package/package.json +1 -1
- 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/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/virtual-background/package.json +1 -1
- package/plugins/video-effect/virtual-background/virtual-background.esm.js +1 -1
- package/plugins/video-effect/virtual-background/virtual-background.umd.js +1 -1
- package/plugins/video-effect/watermark/package.json +1 -1
- package/plugins/voice-changer/package.json +1 -1
- package/trtc.esm.js +60 -33
- package/trtc.js +17 -1
package/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Beauty, BeautyOptions, UpdateBeautyOptions } from './plugins/video-effe
|
|
|
6
6
|
import { BasicBeauty, BasicBeautyOptions } from './plugins/video-effect/basic-beauty';
|
|
7
7
|
import { CrossRoom, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption } from './plugins/cross-room';
|
|
8
8
|
import { CustomEncryption, EncryptionOptions } from './plugins/custom-encryption';
|
|
9
|
+
import { InitAudioProcessorOptions, UpdateAudioProcessorOptions } from 'trtc-js-sdk-core';
|
|
9
10
|
|
|
10
11
|
export { CDNStreamingOptions, DeviceDetectorOptions, VirtualBackgroundOptions, UpdateVirtualBackgroundOptions, WatermarkOptions, BeautyOptions, UpdateBeautyOptions, BasicBeautyOptions, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption };
|
|
11
12
|
type TRTCPlugin = typeof CrossRoom | typeof CDNStreaming | typeof DeviceDetector | typeof VirtualBackground | typeof Watermark | typeof Beauty | typeof BasicBeauty | typeof CustomEncryption;
|
|
@@ -22,28 +23,30 @@ export declare type PluginStartOptionsMap = {
|
|
|
22
23
|
'Debug': undefined;
|
|
23
24
|
'CrossRoom': StartCrossRoomOption;
|
|
24
25
|
'CustomEncryption': EncryptionOptions;
|
|
26
|
+
'AudioProcessor': InitAudioProcessorOptions;
|
|
25
27
|
};
|
|
26
28
|
|
|
27
29
|
export declare type PluginUpdateOptionsMap = {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
'AudioMixer': UpdateAudioMixerOptions;
|
|
31
|
+
'CDNStreaming': CDNStreamingOptions;
|
|
32
|
+
'VirtualBackground': UpdateVirtualBackgroundOptions;
|
|
33
|
+
'Beauty': UpdateBeautyOptions;
|
|
34
|
+
'BasicBeauty': BasicBeautyOptions;
|
|
35
|
+
'CrossRoom': UpdateCrossRoomOption;
|
|
36
|
+
'AudioProcessor': UpdateAudioProcessorOptions;
|
|
34
37
|
};
|
|
35
38
|
|
|
36
39
|
export declare type PluginStopOptionsMap = {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
'AudioMixer': StopAudioMixerOptions;
|
|
41
|
+
'AIDenoiser': undefined;
|
|
42
|
+
'CDNStreaming': CDNStreamingOptions;
|
|
43
|
+
'VirtualBackground': undefined;
|
|
44
|
+
'Watermark': undefined;
|
|
45
|
+
'Beauty': undefined;
|
|
46
|
+
'BasicBeauty': undefined;
|
|
47
|
+
'DeviceDetector': undefined;
|
|
48
|
+
'CrossRoom': StopCrossRoomOption | undefined;
|
|
49
|
+
'AudioProcessor': undefined;
|
|
47
50
|
};
|
|
48
51
|
|
|
49
52
|
export declare class RtcError extends Error implements RTCErrorInterface {
|
package/package.json
CHANGED