trtc-sdk-v5 5.11.2-wasm.3 → 5.12.0-beta.10

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 (28) hide show
  1. package/assets/debug-dialog.js +1 -1
  2. package/index.d.ts +2 -0
  3. package/package.json +6 -4
  4. package/plugins/cdn-streaming/package.json +1 -1
  5. package/plugins/cross-room/package.json +1 -1
  6. package/plugins/custom-encryption/package.json +1 -1
  7. package/plugins/device-detector/device-detector.esm.js +17 -15
  8. package/plugins/device-detector/device-detector.umd.js +2 -2
  9. package/plugins/device-detector/package.json +1 -1
  10. package/plugins/small-stream-auto-switcher/package.json +1 -1
  11. package/plugins/video-decoder/package.json +1 -1
  12. package/plugins/video-decoder/video-decoder.esm.js +1 -1
  13. package/plugins/video-decoder/video-decoder.umd.js +1 -1
  14. package/plugins/video-effect/basic-beauty/package.json +1 -1
  15. package/plugins/video-effect/beauty/package.json +1 -1
  16. package/plugins/video-effect/video-mixer/package.json +1 -1
  17. package/plugins/video-effect/video-mixer/video-mixer.esm.d.ts +71 -13
  18. package/plugins/video-effect/video-mixer/video-mixer.esm.js +1 -1
  19. package/plugins/video-effect/video-mixer/video-mixer.umd.js +1 -1
  20. package/plugins/video-effect/virtual-background/package.json +1 -1
  21. package/plugins/video-effect/virtual-background/virtual-background.esm.js +1 -1
  22. package/plugins/video-effect/virtual-background/virtual-background.umd.js +1 -1
  23. package/plugins/video-effect/watermark/package.json +1 -1
  24. package/plugins/voice-changer/package.json +1 -1
  25. package/trtc.esm.js +44 -64
  26. package/trtc.js +1 -1
  27. package/assets/av_processing.wasm +0 -0
  28. package/assets/worker.js +0 -17
package/index.d.ts CHANGED
@@ -322,6 +322,7 @@ export declare interface TRTCOptions {
322
322
  enableSEI?: boolean;
323
323
  assetsPath?: string;
324
324
  volumeType?: number;
325
+ enableAutoSwitchWhenRecapturing?: boolean;
325
326
  }
326
327
  export interface VideoProfile { width: number, height: number, frameRate: number, bitrate: number; }
327
328
  export interface AudioProfile { sampleRate: number, channelCount: number, bitrate: number; }
@@ -391,6 +392,7 @@ export declare interface SwitchRoomConfig {
391
392
  export declare interface ScreenShareConfig {
392
393
  view?: string | HTMLElement | HTMLElement[] | null;
393
394
  publish?: boolean;
395
+ muteSystemAudio?: boolean;
394
396
  option?: {
395
397
  profile?: keyof typeof screenProfileMap | VideoProfile;
396
398
  fillMode?: 'contain' | 'cover' | 'fill';
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.11.2-wasm.3",
3
+ "version": "5.12.0-beta.10",
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.11.2-wasm.3",
3
+ "version": "5.12.0-beta.10",
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.11.2-wasm.3",
3
+ "version": "5.12.0-beta.10",
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.11.2-wasm.3",
3
+ "version": "5.12.0-beta.10",
4
4
  "main": "./custom-encryption.esm.js",
5
5
  "module": "./custom-encryption.esm.js",
6
6
  "types": "./custom-encryption.esm.d.ts"