trtc-sdk-v5 5.11.2-wasm.3 → 5.12.0-beta.2
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 +1 -1
- package/index.d.ts +2 -0
- package/package.json +6 -4
- package/plugins/cdn-streaming/package.json +1 -1
- package/plugins/cross-room/package.json +1 -1
- package/plugins/custom-encryption/package.json +1 -1
- package/plugins/device-detector/device-detector.esm.js +17 -15
- package/plugins/device-detector/device-detector.umd.js +2 -2
- 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 +70 -13
- 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/virtual-background/virtual-background.esm.js +1 -1
- package/plugins/video-effect/virtual-background/virtual-background.umd.js +1 -1
- package/plugins/video-effect/watermark/package.json +1 -1
- package/plugins/voice-changer/package.json +1 -1
- package/trtc.esm.js +44 -64
- package/trtc.js +1 -1
- package/assets/av_processing.wasm +0 -0
- 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.
|
|
3
|
+
"version": "5.12.0-beta.2",
|
|
4
4
|
"description": "Tencent Cloud RTC SDK for Web",
|
|
5
|
-
"
|
|
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
|
+
}
|