trtc-sdk-v5 5.3.1-beta.1 → 5.3.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/index.d.ts +2 -3
- package/package.json +1 -1
- package/trtc.esm.js +16 -16
- package/trtc.js +1 -1
package/index.d.ts
CHANGED
|
@@ -78,7 +78,6 @@
|
|
|
78
78
|
fillMode?: 'contain' | 'cover' | 'fill';
|
|
79
79
|
mirror?: boolean;
|
|
80
80
|
small?: boolean;
|
|
81
|
-
receiveWhenViewVisible?: boolean;
|
|
82
81
|
};
|
|
83
82
|
}
|
|
84
83
|
declare interface StopRemoteVideoConfig {
|
|
@@ -1642,7 +1641,7 @@
|
|
|
1642
1641
|
* <br>
|
|
1643
1642
|
* **Note**
|
|
1644
1643
|
* - 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}
|
|
1645
|
-
* - Calling this method may temporarily open the camera to ensure that the camera list can be normally obtained, and the SDK will automatically
|
|
1644
|
+
* - 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.
|
|
1646
1645
|
* - 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+.
|
|
1647
1646
|
* @example
|
|
1648
1647
|
* const cameraList = await TRTC.getCameraList();
|
|
@@ -1665,7 +1664,7 @@
|
|
|
1665
1664
|
* <br>
|
|
1666
1665
|
* **Note**
|
|
1667
1666
|
* - 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}
|
|
1668
|
-
* - Calling this method may temporarily open the microphone to ensure that the microphone list can be normally obtained, and the SDK will automatically
|
|
1667
|
+
* - 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.
|
|
1669
1668
|
* - 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+.
|
|
1670
1669
|
* @example
|
|
1671
1670
|
* const microphoneList = await TRTC.getMicrophoneList();
|