trtc-sdk-v5 5.12.0-beta.1 → 5.12.0-beta.11
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/mediapipe/vision.js +5 -6
- package/index.d.ts +10 -3
- 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/device-detector.esm.js +2 -2
- package/plugins/device-detector/device-detector.umd.js +1 -1
- package/plugins/device-detector/package.json +1 -1
- package/plugins/small-stream-auto-switcher/package.json +1 -1
- package/plugins/video-decoder/package.json +1 -1
- package/plugins/video-decoder/video-decoder.esm.js +1 -1
- package/plugins/video-effect/basic-beauty/basic-beauty.esm.js +1 -1
- package/plugins/video-effect/basic-beauty/basic-beauty.umd.js +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/video-mixer/video-mixer.esm.d.ts +24 -9
- package/plugins/video-effect/video-mixer/video-mixer.esm.js +1 -1
- package/plugins/video-effect/video-mixer/video-mixer.umd.js +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 +30 -30
- package/trtc.js +1 -1
package/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ 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 { VideoMixerOptions, VideoMixer} from './plugins/video-effect/video-mixer'
|
|
9
|
+
import { VideoMixerOptions, UpdateVideoMixerOptions, VideoMixer} from './plugins/video-effect/video-mixer'
|
|
10
10
|
import { SmallStreamAutoSwitcher, SmallStreamAutoSwitcherOptions } from './plugins/small-stream-auto-switcher';
|
|
11
11
|
import { InitAudioProcessorOptions, UpdateAudioProcessorOptions } from 'trtc-js-sdk-core';
|
|
12
12
|
|
|
13
|
-
export { CDNStreamingOptions, DeviceDetectorOptions, VirtualBackgroundOptions, UpdateVirtualBackgroundOptions, WatermarkOptions, BeautyOptions, UpdateBeautyOptions, BasicBeautyOptions, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption, SmallStreamAutoSwitcherOptions, VideoMixerOptions };
|
|
13
|
+
export { CDNStreamingOptions, DeviceDetectorOptions, VirtualBackgroundOptions, UpdateVirtualBackgroundOptions, WatermarkOptions, BeautyOptions, UpdateBeautyOptions, BasicBeautyOptions, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption, SmallStreamAutoSwitcherOptions, VideoMixerOptions, UpdateVideoMixerOptions };
|
|
14
14
|
type TRTCPlugin = typeof CrossRoom | typeof CDNStreaming | typeof DeviceDetector | typeof VirtualBackground | typeof Watermark | typeof Beauty | typeof BasicBeauty | typeof CustomEncryption | typeof SmallStreamAutoSwitcher | typeof VideoMixer;
|
|
15
15
|
export declare type ExperimentalAPIFunctionMap = {
|
|
16
16
|
'enableAudioFrameEvent': EnableAudioFrameEventOptions;
|
|
@@ -37,7 +37,7 @@ export declare type PluginUpdateOptionsMap = {
|
|
|
37
37
|
'CDNStreaming': CDNStreamingOptions;
|
|
38
38
|
'VirtualBackground': UpdateVirtualBackgroundOptions;
|
|
39
39
|
'Watermark': WatermarkOptions;
|
|
40
|
-
'VideoMixer':
|
|
40
|
+
'VideoMixer': UpdateVideoMixerOptions;
|
|
41
41
|
'Beauty': UpdateBeautyOptions;
|
|
42
42
|
'BasicBeauty': BasicBeautyOptions;
|
|
43
43
|
'CrossRoom': UpdateCrossRoomOption;
|
|
@@ -110,6 +110,13 @@ export declare class RtcError extends Error implements RTCErrorInterface {
|
|
|
110
110
|
* @memberof RtcError
|
|
111
111
|
*/
|
|
112
112
|
handler?: () => void;
|
|
113
|
+
/**
|
|
114
|
+
* Some errors will include a data property to help you handle exceptions.
|
|
115
|
+
* @since v5.12.0
|
|
116
|
+
* @readonly
|
|
117
|
+
* @memberof RtcError
|
|
118
|
+
*/
|
|
119
|
+
data?: any;
|
|
113
120
|
originError?: Error | DOMException | RtcError;
|
|
114
121
|
constructor({ code, extraCode, message, messageParams, fnName, originError }: RTCErrorParams);
|
|
115
122
|
static convertFrom(originError: Error, fnName?: string, fnParams?: any): RtcError;
|
package/package.json
CHANGED