larksr_websdk 3.2.342 → 3.2.344

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.
@@ -218,5 +218,11 @@ interface ILarkSRConfig {
218
218
  * 单独上传流程要求渲染服务器版本大于3290)
219
219
  */
220
220
  useSeparateMediaSharePeer?: boolean;
221
+ /**
222
+ * 是否启用 canvas 渲染. 默认关闭
223
+ * 要注意移动端开启 canvas 会消耗额外性能。
224
+ * 已知问题: iOS 在关闭 canvas 模式下,忽略狂高比的拉伸模式无效。
225
+ */
226
+ enableCanvasRender?: boolean;
221
227
  }
222
228
  ```
@@ -444,4 +444,19 @@ ERROR = 'error',
444
444
  ## V3.2.337
445
445
 
446
446
  1. 配合服务端升级协议.
447
- 2. 修复其他问题.
447
+ 2. 修复其他问题.
448
+
449
+ ## V3.3.342
450
+
451
+ 1. 配合服务端升级,添加 `larksr.serverFeatures` 返回服务端支持特性
452
+ 2. 移动端打开摄像头会根据屏幕旋转旋转摄像头画面方向
453
+ 3. `openVideo` 接口可以传参数指定是否是前置摄像头 `openVideo(audio: boolean = false, cameraId: string = '', width: number = 0, height: number = 0, front?: boolean)`
454
+ 4. 获取后台应用参数 `larksr.params.mobileKeyboardType`
455
+
456
+ ## V3.2.343
457
+
458
+ 1. 添加配置项 `new LarkSR({ ... 此处省略其他配置 ... enableCanvasRender: false })` 开启或关闭 canvas 渲染模式。默认关闭。要注意移动端开启 canvas 会消耗额外性能。
459
+ 2. 优化显示效果。
460
+ 3. 优化显示宽高计算方式。
461
+
462
+ > 已知问题: iOS 在关闭 canvas 模式下,忽略狂高比的拉伸模式无效。