trtc-sdk-v5 5.15.0-beta.16 → 5.15.0-beta.18
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/debug-dialog.js +2 -2
- package/assets/videodec.wasm +0 -0
- package/assets/videodec_simd.wasm +0 -0
- package/index.d.ts +2 -8
- package/package.json +1 -1
- package/plugins/cdn-streaming/package.json +1 -1
- package/plugins/chorus/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/video-decoder/package.json +1 -1
- package/plugins/video-decoder/video-decoder.esm.js +1 -1
- package/plugins/video-decoder/video-decoder.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 +0 -2
- 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/watermark/package.json +1 -1
- package/plugins/voice-changer/package.json +1 -1
- package/trtc.esm.js +35 -39
- package/trtc.js +1 -1
- package/plugins/fast-webrtc/fast-webrtc.esm.d.ts +0 -27
- package/plugins/fast-webrtc/fast-webrtc.esm.js +0 -1
- package/plugins/fast-webrtc/fast-webrtc.umd.js +0 -1
- package/plugins/fast-webrtc/package.json +0 -29
- package/plugins/lebplayer/lebplayer.esm.d.ts +0 -260
- package/plugins/lebplayer/lebplayer.esm.js +0 -1
- package/plugins/lebplayer/lebplayer.umd.js +0 -1
- package/plugins/lebplayer/package.json +0 -29
package/assets/videodec.wasm
CHANGED
|
File without changes
|
|
File without changes
|
package/index.d.ts
CHANGED
|
@@ -9,10 +9,9 @@ import { CustomEncryption, EncryptionOptions } from './plugins/custom-encryption
|
|
|
9
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 { Chorus, StartChorusOption, UpdateChorusOption } from './plugins/chorus';
|
|
12
|
-
import { LEBPlayer, StartLEBPlayerOption, UpdateLEBPlayerOption } from './plugins/lebplayer';
|
|
13
12
|
|
|
14
13
|
export { CDNStreamingOptions, DeviceDetectorOptions, VirtualBackgroundOptions, UpdateVirtualBackgroundOptions, WatermarkOptions, BeautyOptions, UpdateBeautyOptions, BasicBeautyOptions, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption, SmallStreamAutoSwitcherOptions, VideoMixerOptions, UpdateVideoMixerOptions };
|
|
15
|
-
type TRTCPlugin = typeof CrossRoom | typeof CDNStreaming | typeof DeviceDetector | typeof VirtualBackground | typeof Watermark | typeof Beauty | typeof BasicBeauty | typeof CustomEncryption | typeof SmallStreamAutoSwitcher | typeof VideoMixer | typeof Chorus
|
|
14
|
+
type TRTCPlugin = typeof CrossRoom | typeof CDNStreaming | typeof DeviceDetector | typeof VirtualBackground | typeof Watermark | typeof Beauty | typeof BasicBeauty | typeof CustomEncryption | typeof SmallStreamAutoSwitcher | typeof VideoMixer | typeof Chorus;
|
|
16
15
|
export type ExperimentalAPIFunctionMap = {
|
|
17
16
|
'enableAudioFrameEvent': EnableAudioFrameEventOptions;
|
|
18
17
|
'resumeRemotePlayer': RemotePlayerOptions;
|
|
@@ -37,7 +36,6 @@ export declare type PluginStartOptionsMap = {
|
|
|
37
36
|
'SmallStreamAutoSwitcher': SmallStreamAutoSwitcherOptions;
|
|
38
37
|
'AudioProcessor': InitAudioProcessorOptions;
|
|
39
38
|
'Chorus': StartChorusOption;
|
|
40
|
-
'LEBPlayer': StartLEBPlayerOption;
|
|
41
39
|
};
|
|
42
40
|
|
|
43
41
|
export declare type PluginUpdateOptionsMap = {
|
|
@@ -53,7 +51,6 @@ export declare type PluginUpdateOptionsMap = {
|
|
|
53
51
|
'AudioProcessor': UpdateAudioProcessorOptions;
|
|
54
52
|
'Debug': UpdateDebugOptions;
|
|
55
53
|
'Chorus': UpdateChorusOption;
|
|
56
|
-
'LEBPlayer': UpdateLEBPlayerOption;
|
|
57
54
|
};
|
|
58
55
|
|
|
59
56
|
export declare type PluginStopOptionsMap = {
|
|
@@ -72,7 +69,6 @@ export declare type PluginStopOptionsMap = {
|
|
|
72
69
|
'AudioProcessor': undefined;
|
|
73
70
|
'CustomEncryption': undefined;
|
|
74
71
|
'Chorus': undefined;
|
|
75
|
-
'LEBPlayer': undefined;
|
|
76
72
|
};
|
|
77
73
|
|
|
78
74
|
export declare class RtcError extends Error implements RTCErrorInterface {
|
|
@@ -342,7 +338,6 @@ export declare type PluginWithAssets = {
|
|
|
342
338
|
export declare interface TRTCOptions {
|
|
343
339
|
plugins?: Array<TRTCPlugin>;
|
|
344
340
|
enableSEI?: boolean;
|
|
345
|
-
enableAutoPlayDialog?: boolean;
|
|
346
341
|
assetsPath?: string;
|
|
347
342
|
volumeType?: number;
|
|
348
343
|
enableAutoSwitchWhenRecapturing?: boolean;
|
|
@@ -416,6 +411,7 @@ export declare interface SwitchRoomConfig {
|
|
|
416
411
|
export declare interface ScreenShareConfig {
|
|
417
412
|
view?: string | HTMLElement | HTMLElement[] | null;
|
|
418
413
|
publish?: boolean;
|
|
414
|
+
streamType?: TRTCStreamType;
|
|
419
415
|
muteSystemAudio?: boolean;
|
|
420
416
|
option?: {
|
|
421
417
|
profile?: keyof typeof screenProfileMap | VideoProfile;
|
|
@@ -450,8 +446,6 @@ export declare interface RemoteVideoConfig {
|
|
|
450
446
|
canvasRender?: boolean;
|
|
451
447
|
poster?: string;
|
|
452
448
|
draggable?:boolean;
|
|
453
|
-
pictureInPicture?: boolean;
|
|
454
|
-
fullScreen?: boolean;
|
|
455
449
|
};
|
|
456
450
|
}
|
|
457
451
|
export declare interface StopRemoteVideoConfig {
|
package/package.json
CHANGED