trtc-sdk-v5 5.18.0 → 5.18.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 +2 -2
- package/package.json +1 -1
- package/plugins/audio-player/package.json +1 -1
- package/plugins/cdn-streaming/package.json +1 -1
- package/plugins/chorus/package.json +1 -1
- package/plugins/cross-room/package.json +1 -1
- package/plugins/custom-encryption/package.json +1 -1
- package/plugins/device-detector/package.json +1 -1
- package/plugins/lebplayer/package.json +1 -1
- package/plugins/realtime-transcriber/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-effect/basic-beauty/package.json +1 -1
- package/plugins/video-effect/beauty/package.json +1 -1
- package/plugins/video-effect/face-detection/package.json +1 -1
- package/plugins/video-effect/video-mixer/package.json +1 -1
- package/plugins/video-effect/virtual-background/package.json +1 -1
- package/plugins/video-effect/watermark/package.json +1 -1
- package/plugins/voice-changer/package.json +1 -1
- package/trtc.esm.js +31 -31
- package/trtc.js +1 -1
package/index.d.ts
CHANGED
|
@@ -2460,7 +2460,7 @@ export declare class TRTC {
|
|
|
2460
2460
|
* - By default, virtual camera devices are included in the returned list. Set `filterVirtualDevice: true` to filter out unavailable virtual devices while preserving legitimate ones (e.g. OBS Virtual Camera).
|
|
2461
2461
|
* @param {boolean | object} [option=true] `Since v5.6.3`. When passing a boolean, it indicates whether to request permission. When passing an object, it supports the following properties:
|
|
2462
2462
|
* @param {boolean} [option.requestPermission=true] Whether to request permission to use the camera. If true, 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.
|
|
2463
|
-
* @param {boolean} [option.filterVirtualDevice=false] Whether to filter virtual camera devices. Default is false. When set to true, the SDK will filter out unavailable virtual devices while preserving legitimate capture devices (e.g. OBS Virtual Camera).
|
|
2463
|
+
* @param {boolean} [option.filterVirtualDevice=false] `Since v5.18.0`. Whether to filter virtual camera devices. Default is false. When set to true, the SDK will filter out unavailable virtual devices while preserving legitimate capture devices (e.g. OBS Virtual Camera).
|
|
2464
2464
|
* @example
|
|
2465
2465
|
* const cameraList = await TRTC.getCameraList();
|
|
2466
2466
|
* if (cameraList[0] && cameraList[0].getCapabilities) {
|
|
@@ -2489,7 +2489,7 @@ export declare class TRTC {
|
|
|
2489
2489
|
* - By default, virtual microphone devices are included in the returned list. Set `filterVirtualDevice: true` to filter out devices whose label contains the "virtual" keyword.
|
|
2490
2490
|
* @param {boolean | object} [option=true] `Since v5.6.3`. When passing a boolean, it indicates whether to request permission. When passing an object, it supports the following properties:
|
|
2491
2491
|
* @param {boolean} [option.requestPermission=true] Whether to request permission to use the microphone. If true, 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.
|
|
2492
|
-
* @param {boolean} [option.filterVirtualDevice=false] Whether to filter virtual microphone devices. If all devices are filtered out, the original list will be returned.
|
|
2492
|
+
* @param {boolean} [option.filterVirtualDevice=false] `Since v5.18.0`. Whether to filter virtual microphone devices. If all devices are filtered out, the original list will be returned.
|
|
2493
2493
|
* @example
|
|
2494
2494
|
* const microphoneList = await TRTC.getMicrophoneList();
|
|
2495
2495
|
* if (microphoneList[0] && microphoneList[0].getCapabilities) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rtc-plugin/audio-player",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.1-beta.1",
|
|
4
4
|
"description": "TRTC Web SDK AudioPlayer plugin - unified audio player supporting PCM, URL, and Track sources",
|
|
5
5
|
"main": "./audio-player.esm.js",
|
|
6
6
|
"module": "./audio-player.esm.js",
|