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.
Files changed (33) hide show
  1. package/assets/debug-dialog.js +2 -2
  2. package/assets/videodec.wasm +0 -0
  3. package/assets/videodec_simd.wasm +0 -0
  4. package/index.d.ts +2 -8
  5. package/package.json +1 -1
  6. package/plugins/cdn-streaming/package.json +1 -1
  7. package/plugins/chorus/package.json +1 -1
  8. package/plugins/cross-room/package.json +1 -1
  9. package/plugins/custom-encryption/package.json +1 -1
  10. package/plugins/device-detector/package.json +1 -1
  11. package/plugins/small-stream-auto-switcher/package.json +1 -1
  12. package/plugins/video-decoder/package.json +1 -1
  13. package/plugins/video-decoder/video-decoder.esm.js +1 -1
  14. package/plugins/video-decoder/video-decoder.umd.js +1 -1
  15. package/plugins/video-effect/basic-beauty/package.json +1 -1
  16. package/plugins/video-effect/beauty/package.json +1 -1
  17. package/plugins/video-effect/video-mixer/package.json +1 -1
  18. package/plugins/video-effect/video-mixer/video-mixer.esm.d.ts +0 -2
  19. package/plugins/video-effect/video-mixer/video-mixer.esm.js +1 -1
  20. package/plugins/video-effect/video-mixer/video-mixer.umd.js +1 -1
  21. package/plugins/video-effect/virtual-background/package.json +1 -1
  22. package/plugins/video-effect/watermark/package.json +1 -1
  23. package/plugins/voice-changer/package.json +1 -1
  24. package/trtc.esm.js +35 -39
  25. package/trtc.js +1 -1
  26. package/plugins/fast-webrtc/fast-webrtc.esm.d.ts +0 -27
  27. package/plugins/fast-webrtc/fast-webrtc.esm.js +0 -1
  28. package/plugins/fast-webrtc/fast-webrtc.umd.js +0 -1
  29. package/plugins/fast-webrtc/package.json +0 -29
  30. package/plugins/lebplayer/lebplayer.esm.d.ts +0 -260
  31. package/plugins/lebplayer/lebplayer.esm.js +0 -1
  32. package/plugins/lebplayer/lebplayer.umd.js +0 -1
  33. package/plugins/lebplayer/package.json +0 -29
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 | typeof LEBPlayer;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.15.0-beta.16",
3
+ "version": "5.15.0-beta.18",
4
4
  "description": "Tencent Cloud RTC SDK for Web",
5
5
  "main": "trtc.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/cdn-streaming",
3
- "version": "5.15.0-beta.16",
3
+ "version": "5.14.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/chorus",
3
- "version": "5.15.0-beta.16",
3
+ "version": "5.14.1",
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.15.0-beta.16",
3
+ "version": "5.14.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.15.0-beta.16",
3
+ "version": "5.14.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.15.0-beta.16",
3
+ "version": "5.14.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.15.0-beta.16",
3
+ "version": "5.14.1",
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.15.0-beta.16",
3
+ "version": "5.14.1",
4
4
  "description": "Video decoder plugin for TRTC",
5
5
  "main": "./video-decoder.esm.js",
6
6
  "module": "./video-decoder.esm.js",