trtc-cloud-js-sdk 2.12.0-beta.7 → 2.12.0-beta.8

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.12.0-beta.7",
3
+ "version": "2.12.0-beta.8",
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.17.1-kit.1"
22
+ "trtc-sdk-v5": "5.17.1-kit.2"
23
23
  }
24
24
  }
@@ -716,7 +716,10 @@ declare type TRTCMediaSource = {
716
716
  type: TRTCMediaSourceType;
717
717
  camera?: {
718
718
  cameraId: string;
719
- resolution: TRTCVideoResolution;
719
+ resolution: TRTCVideoResolution | {
720
+ width: number;
721
+ height: number;
722
+ };
720
723
  fps: number;
721
724
  videoTrack?: MediaStreamTrack;
722
725
  };