trtc-sdk-v5 5.13.1-wasm.4 → 5.13.1-wasm.6

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/index.d.ts CHANGED
@@ -6,7 +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 { VideoMixerOptions, UpdateVideoMixerOptions, 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 { Chorus } from './plugins/chorus';
12
12
 
@@ -14,7 +14,7 @@ export { CDNStreamingOptions, DeviceDetectorOptions, VirtualBackgroundOptions, U
14
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;
15
15
  export declare type ExperimentalAPIFunctionMap = {
16
16
  'enableAudioFrameEvent': EnableAudioFrameEventOptions;
17
- }
17
+ };
18
18
  export declare type PluginStartOptionsMap = {
19
19
  'AudioMixer': AudioMixerOptions;
20
20
  'AIDenoiser': AIDenoiserOptions;
@@ -60,6 +60,8 @@ export declare type PluginStopOptionsMap = {
60
60
  'CrossRoom': StopCrossRoomOption | undefined;
61
61
  'SmallStreamAutoSwitcher': undefined;
62
62
  'AudioProcessor': undefined;
63
+ 'CustomEncryption': undefined;
64
+ 'Chorus': undefined;
63
65
  };
64
66
 
65
67
  export declare class RtcError extends Error implements RTCErrorInterface {
@@ -682,7 +684,7 @@ export declare interface UpdateAudioProcessorOptions {
682
684
  }
683
685
 
684
686
  export declare interface UpdateDebugOptions {
685
- visible: boolean
687
+ visible: boolean;
686
688
  }
687
689
 
688
690
  export declare type AudioSource = HTMLAudioElement | MediaStreamAudioTrack | AudioNode;
@@ -736,11 +738,11 @@ export declare const enum AutoStartPluginName {
736
738
  Debug = 'Debug'
737
739
  }
738
740
  export declare interface EnableAudioFrameEventOptions {
739
- enable: boolean
740
- userId: string
741
- sampleRate?: number
742
- channelCount?: number
743
- port?: MessagePort
741
+ enable: boolean;
742
+ userId: string;
743
+ sampleRate?: number;
744
+ channelCount?: number;
745
+ port?: MessagePort;
744
746
  }
745
747
 
746
748
  /**
@@ -1239,7 +1241,7 @@ export declare const TRTCEvent: {
1239
1241
  * // event.userId: The user ID of the local or a remote user. If it is empty, it indicates that video is the local video and the local user has not entered the room; if it is not empty, it indicates that video is remote video or local user enter room already.
1240
1242
  * })
1241
1243
  */
1242
- readonly VIDEO_SIZE_CHANGED: 'video-size-changed'
1244
+ readonly VIDEO_SIZE_CHANGED: 'video-size-changed';
1243
1245
  };
1244
1246
  export declare interface TRTCEventTypes {
1245
1247
  [TRTCEvent.ERROR]: [RtcError];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "Tencent Cloud RTC SDK for Web",
5
5
  "module": "trtc.esm.js",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/cdn-streaming",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x CDN streaming plugin",
5
5
  "main": "./cdn-streaming.esm.js",
6
6
  "module": "./cdn-streaming.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/chorus",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x Chorus plugin",
5
5
  "main": "./chorus.esm.js",
6
6
  "module": "./chorus.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/cross-room",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x Cross Room plugin",
5
5
  "main": "./cross-room.esm.js",
6
6
  "module": "./cross-room.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/custom-encryption",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "main": "./custom-encryption.esm.js",
5
5
  "module": "./custom-encryption.esm.js",
6
6
  "types": "./custom-encryption.esm.d.ts"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/device-detector",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x device detector plugin",
5
5
  "main": "./device-detector.esm.js",
6
6
  "module": "./device-detector.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/small-stream-auto-switcher",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "",
5
5
  "main": "./small-stream-auto-switcher.esm.js",
6
6
  "keywords": [],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/video-decoder",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "Video decoder plugin for TRTC",
5
5
  "main": "./video-decoder.esm.js",
6
6
  "module": "./video-decoder.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/basic-beauty",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x basic-beauty plugin",
5
5
  "main": "./basic-beauty.esm.js",
6
6
  "module": "./basic-beauty.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/beauty",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x beauty plugin",
5
5
  "main": "./beauty.esm.js",
6
6
  "module": "./beauty.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/video-mixer",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x videoMixer plugin",
5
5
  "main": "./video-mixer.esm.js",
6
6
  "module": "./video-mixer.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/virtual-background",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x virtual background plugin",
5
5
  "main": "./virtual-background.esm.js",
6
6
  "module": "./virtual-background.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/watermark",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "TRTC Web SDK 5.x watermark plugin",
5
5
  "main": "./watermark.esm.js",
6
6
  "module": "./watermark.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/voice-changer",
3
- "version": "5.13.1-wasm.4",
3
+ "version": "5.13.1-wasm.6",
4
4
  "description": "",
5
5
  "main": "./voice-changer.esm.js",
6
6
  "keywords": [],