larksr_websdk 3.2.329 → 3.2.330
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/doc/config.md +53 -10
- package/dist/doc/events.md +59 -14
- package/dist/doc/index.md +1 -1
- package/dist/larksr-web-sdk.min.js +1 -1
- package/dist/types/api.d.ts +1 -0
- package/dist/types/appli_params.d.ts +5 -0
- package/dist/types/lark/websocket_channel.d.ts +1 -0
- package/dist/types/larksr.d.ts +4 -0
- package/package.json +1 -1
- package/types/api.d.ts +1 -0
- package/types/appli_params.d.ts +5 -0
- package/types/lark/websocket_channel.d.ts +1 -0
- package/types/larksr.d.ts +4 -0
package/dist/types/api.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export interface IAppliParams {
|
|
|
10
10
|
* appserver 的端口号
|
|
11
11
|
*/
|
|
12
12
|
appPort: string;
|
|
13
|
+
/**
|
|
14
|
+
* 渲染服务器 ssl 端口号
|
|
15
|
+
*/
|
|
16
|
+
renderSSLServerPort: string;
|
|
13
17
|
/**
|
|
14
18
|
* appli type
|
|
15
19
|
*/
|
|
@@ -211,6 +215,7 @@ export declare enum AppliType {
|
|
|
211
215
|
export declare class AppliParams implements IAppliParams {
|
|
212
216
|
appServer: string;
|
|
213
217
|
appPort: string;
|
|
218
|
+
renderSSLServerPort: string;
|
|
214
219
|
appliType: AppliType;
|
|
215
220
|
wsProxy: boolean;
|
|
216
221
|
preferPubOutIp: string;
|
package/dist/types/larksr.d.ts
CHANGED
|
@@ -328,6 +328,10 @@ interface ILarkSRConfig {
|
|
|
328
328
|
preferDecoder?: 'auto' | 'vp8' | 'vp9' | 'h264' | 'h265' | 'hevc' | 'av1x';
|
|
329
329
|
/**
|
|
330
330
|
* 可选项,视频在容器中的缩放模式
|
|
331
|
+
* ScaleMode: 'contain' | 'fill_clip' | 'fill_stretch'
|
|
332
|
+
* contain: 以应用原始尺寸的缩放
|
|
333
|
+
* fill_clip: 裁剪模式,完全填充屏幕但保留宽高比
|
|
334
|
+
* fill_stretch: 拉伸模式,完全填充屏幕但不保留宽高比
|
|
331
335
|
* 对应后台应用管理->应用编辑->通用高级设置->窗口初始显示方式,该配置优先级高于后台配置
|
|
332
336
|
*/
|
|
333
337
|
scaleMode?: ScaleMode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "larksr_websdk",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.330",
|
|
4
4
|
"description": "Larksr websdk. Easy to build a cloud render client for larksr system or ue4 pixelstreaming.docs: https://pingxingyun.github.io/webclient_sdk/",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pingxingyun",
|
package/types/api.d.ts
CHANGED
package/types/appli_params.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export interface IAppliParams {
|
|
|
10
10
|
* appserver 的端口号
|
|
11
11
|
*/
|
|
12
12
|
appPort: string;
|
|
13
|
+
/**
|
|
14
|
+
* 渲染服务器 ssl 端口号
|
|
15
|
+
*/
|
|
16
|
+
renderSSLServerPort: string;
|
|
13
17
|
/**
|
|
14
18
|
* appli type
|
|
15
19
|
*/
|
|
@@ -211,6 +215,7 @@ export declare enum AppliType {
|
|
|
211
215
|
export declare class AppliParams implements IAppliParams {
|
|
212
216
|
appServer: string;
|
|
213
217
|
appPort: string;
|
|
218
|
+
renderSSLServerPort: string;
|
|
214
219
|
appliType: AppliType;
|
|
215
220
|
wsProxy: boolean;
|
|
216
221
|
preferPubOutIp: string;
|
package/types/larksr.d.ts
CHANGED
|
@@ -328,6 +328,10 @@ interface ILarkSRConfig {
|
|
|
328
328
|
preferDecoder?: 'auto' | 'vp8' | 'vp9' | 'h264' | 'h265' | 'hevc' | 'av1x';
|
|
329
329
|
/**
|
|
330
330
|
* 可选项,视频在容器中的缩放模式
|
|
331
|
+
* ScaleMode: 'contain' | 'fill_clip' | 'fill_stretch'
|
|
332
|
+
* contain: 以应用原始尺寸的缩放
|
|
333
|
+
* fill_clip: 裁剪模式,完全填充屏幕但保留宽高比
|
|
334
|
+
* fill_stretch: 拉伸模式,完全填充屏幕但不保留宽高比
|
|
331
335
|
* 对应后台应用管理->应用编辑->通用高级设置->窗口初始显示方式,该配置优先级高于后台配置
|
|
332
336
|
*/
|
|
333
337
|
scaleMode?: ScaleMode;
|