larksr_websdk 3.2.319 → 3.2.320

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.
@@ -134,5 +134,12 @@ interface ILarkSRConfig {
134
134
  * 需要注意默认打开的时系统中默认的音频设备。
135
135
  */
136
136
  audioInputAutoStart?: boolean;
137
+
138
+ /**
139
+ * 当启用视频输入功能,是否自动连入视频设备。
140
+ * 默认关闭。
141
+ * 需要注意默认打开的是系统中默认的视频设备。
142
+ */
143
+ videoInputAutoStart?: boolean;
137
144
  }
138
145
  ```
@@ -350,7 +350,7 @@ audioInputAutoStart?: boolean;
350
350
  ```typescript
351
351
  /**
352
352
  * 打开一个视频设备,要注意浏览器限制在 https 或者 localhost 下才能打开视频
353
- * 注意不包含音频,如果需要同时打开默认的视频和音频请 @see openDefaultMedia
353
+ * @param audio boolean 是否同时开启音频
354
354
  * @param cameraId 视频设备id,如果不传将打开默认设备。@see getConnectedVideoinputDevices
355
355
  * @returns Promise
356
356
  */
@@ -111,7 +111,7 @@ larksr 配置项新增自动打开麦克风配置,在`new LarkSR({ ... 此处省
111
111
  audioInputAutoStart?: boolean;
112
112
  ```
113
113
 
114
- ## V3.2.318
114
+ ## V3.2.319
115
115
 
116
116
  新增视频输入接口。客户端打开后云端应用可直接通过读取服务端的摄像头读取视频数据。
117
117
 
@@ -122,7 +122,7 @@ audioInputAutoStart?: boolean;
122
122
  ```typescript
123
123
  /**
124
124
  * 打开一个视频设备,要注意浏览器限制在 https 或者 localhost 下才能打开视频
125
- * 注意不包含音频,如果需要同时打开默认的视频和音频请 @see openDefaultMedia
125
+ * @param audio boolean 是否同时开启音频
126
126
  * @param cameraId 视频设备id,如果不传将打开默认设备。@see getConnectedVideoinputDevices
127
127
  * @returns Promise
128
128
  */