sample-xmonitor-js 0.0.1 → 0.0.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/lib/Monitor.d.ts +2 -2
- package/package.json +1 -1
package/lib/Monitor.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare interface Setup {
|
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
}
|
|
15
15
|
export declare interface DefaultSetup extends Setup {
|
|
16
|
-
audio
|
|
16
|
+
audio?: false;
|
|
17
17
|
/**
|
|
18
18
|
* [点击文档](https://developer.mozilla.org/zh-CN/docs/Web/API/MediaDevices/getUserMedia)
|
|
19
19
|
* 视频配置信息
|
|
@@ -22,7 +22,7 @@ export declare interface DefaultSetup extends Setup {
|
|
|
22
22
|
* user: 前置摄像头 environment:后置摄像头
|
|
23
23
|
* frameRate: 设置帧率 ideal 推荐帧率 max 最大帧率 受限带宽传输时,低帧率可能更适宜 eg: frameRate: { ideal: 10, max: 15 }
|
|
24
24
|
*/
|
|
25
|
-
video
|
|
25
|
+
video?: true | {
|
|
26
26
|
frameRate: {
|
|
27
27
|
ideal: number;
|
|
28
28
|
max: number;
|