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/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: string;
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.10.2-wasm.3",
3
+ "version": "5.11.0-beta.1",
4
4
  "description": "Tencent Cloud RTC SDK for Web",
5
- "module": "trtc.esm.js",
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
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/cdn-streaming",
3
- "version": "5.10.2-wasm.3",
3
+ "version": "5.11.0-beta.1",
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/cross-room",
3
- "version": "5.10.2-wasm.3",
3
+ "version": "5.11.0-beta.1",
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.10.2-wasm.3",
3
+ "version": "5.11.0-beta.1",
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.10.2-wasm.3",
3
+ "version": "5.11.0-beta.1",
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.10.2-wasm.3",
3
+ "version": "5.11.0-beta.1",
4
4
  "description": "",
5
5
  "main": "./small-stream-auto-switcher.esm.js",
6
6
  "keywords": [],