dingrtc 3.8.5 → 3.8.7
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/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +7 -1
package/dist/index.d.ts
CHANGED
|
@@ -3413,9 +3413,9 @@ declare class LocalTrack extends Track {
|
|
|
3413
3413
|
private updateNewTrack;
|
|
3414
3414
|
/**
|
|
3415
3415
|
* 更新设置轨道使用的媒体设备, 移动端时可通过设置为user、environment来切换前置、后置摄像头
|
|
3416
|
-
* @param
|
|
3416
|
+
* @param deviceIdOrFacingMode 设备 id
|
|
3417
3417
|
*/
|
|
3418
|
-
setDevice(
|
|
3418
|
+
setDevice(deviceIdOrFacingMode: string): Promise<void>;
|
|
3419
3419
|
/**
|
|
3420
3420
|
* 获取本地轨道的来源描述
|
|
3421
3421
|
* @returns 音频或视频轨道描述
|