trtc-cloud-js-sdk 2.11.0 → 2.11.1-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-cloud-js-sdk",
3
- "version": "2.11.0",
3
+ "version": "2.11.1-beta.2",
4
4
  "description": "Tencent Cloud RTC SDK for Web And Electron",
5
5
  "main": "trtc-cloud-js-sdk.js",
6
6
  "module": "trtc-cloud-js-sdk.esm.js",
@@ -19,6 +19,6 @@
19
19
  "author": "Tencent Cloud Client R&D Center",
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
- "trtc-sdk-v5": "5.16.0"
22
+ "trtc-sdk-v5": "5.16.1-beta.6"
23
23
  }
24
24
  }
@@ -721,7 +721,10 @@ declare type TRTCMediaSource = {
721
721
  videoTrack?: MediaStreamTrack;
722
722
  };
723
723
  screen?: {
724
- resolution: TRTCVideoResolution;
724
+ resolution: TRTCVideoResolution | {
725
+ width: number;
726
+ height: number;
727
+ };
725
728
  systemAudio?: boolean;
726
729
  fps: number;
727
730
  };