trtc-sdk-v5 5.3.0 → 5.3.1-beta.1

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/index.d.ts CHANGED
@@ -78,6 +78,7 @@
78
78
  fillMode?: 'contain' | 'cover' | 'fill';
79
79
  mirror?: boolean;
80
80
  small?: boolean;
81
+ receiveWhenViewVisible?: boolean;
81
82
  };
82
83
  }
83
84
  declare interface StopRemoteVideoConfig {
@@ -746,6 +747,7 @@
746
747
  */
747
748
  readonly STATISTICS: "statistics";
748
749
  /**
750
+ * @since v5.3.0
749
751
  * @description SEI message received<br>
750
752
  * @default 'sei-message'
751
753
  * @memberof module:EVENT
@@ -756,7 +758,7 @@
756
758
  */
757
759
  readonly SEI_MESSAGE: "sei-message";
758
760
  /**
759
- * @private
761
+ * @since v5.3.0
760
762
  * @description a new MediaStreamTrack object received.
761
763
  * @default 'track'
762
764
  * @memberof module:EVENT
@@ -1640,7 +1642,7 @@
1640
1642
  * <br>
1641
1643
  * **Note**
1642
1644
  * - This interface does not support use under the http protocol, please use the https protocol to deploy your website. {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#Privacy_and_security Privacy and security}
1643
- * - Calling this method may temporarily open the camera to ensure that the camera list can be normally obtained, and the SDK will automatically release the camera capture later.
1645
+ * - Calling this method may temporarily open the camera to ensure that the camera list can be normally obtained, and the SDK will automatically stop the camera capture later.
1644
1646
  * - You can call the browser's native interface [getCapabilities](https://developer.mozilla.org/en-US/docs/Web/API/InputDeviceInfo/getCapabilities) to get the maximum resolutions supported by the camera, frame rate, mobile devices to distinguish between front and rear cameras, etc. This interface supports Chrome 67+, Edge 79+, Safari 17+, Opera 54+.
1645
1647
  * @example
1646
1648
  * const cameraList = await TRTC.getCameraList();
@@ -1663,7 +1665,7 @@
1663
1665
  * <br>
1664
1666
  * **Note**
1665
1667
  * - This interface does not support use under the http protocol, please use the https protocol to deploy your website. {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#Privacy_and_security Privacy and security}
1666
- * - Calling this method may temporarily open the microphone to ensure that the microphone list can be normally obtained, and the SDK will automatically release the microphone capture later.
1668
+ * - Calling this method may temporarily open the microphone to ensure that the microphone list can be normally obtained, and the SDK will automatically stop the microphone capture later.
1667
1669
  * - You can call the browser's native interface [getCapabilities](https://developer.mozilla.org/en-US/docs/Web/API/InputDeviceInfo/getCapabilities) to get information about the microphone's capabilities, e.g. the maximum number of channels supported, etc. This interface supports Chrome 67+, Edge 79+, Safari 17+, Opera 54+.
1668
1670
  * @example
1669
1671
  * const microphoneList = await TRTC.getMicrophoneList();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.3.0",
3
+ "version": "5.3.1-beta.1",
4
4
  "description": "Tencent Cloud RTC SDK for Web",
5
5
  "main": "trtc.js",
6
6
  "types": "index.d.ts",