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.
@@ -39,6 +39,7 @@ export interface GetTaskResult {
39
39
  videoInput: number;
40
40
  videoInputAutoStart: number;
41
41
  liveStreaming: number;
42
+ mobileKeyboardType?: number;
42
43
  }
43
44
  export interface StartAppInfo {
44
45
  appliId: string;
@@ -77,6 +78,13 @@ export interface StartAppInfo {
77
78
  appKey?: string;
78
79
  groupId?: string;
79
80
  }
81
+ declare type HostAppliGetUrlReturnParams = {
82
+ appliId: string;
83
+ appKey: string;
84
+ timestamp: string;
85
+ signature: string;
86
+ groupId?: string;
87
+ };
80
88
  export default class API {
81
89
  static CheckUTLockInfoPath: string;
82
90
  static GetTaskPATH: string;
@@ -97,12 +105,7 @@ export default class API {
97
105
  }): Promise<{
98
106
  host: string;
99
107
  origin: string;
100
- params: {
101
- appliId: string;
102
- appKey: string;
103
- timestamp: string;
104
- signature: string;
105
- };
108
+ params: HostAppliGetUrlReturnParams;
106
109
  }>;
107
110
  static GetStartInfo(serverAddress: string, params: {
108
111
  sdkId: string;
@@ -130,3 +133,4 @@ export default class API {
130
133
  static RegionList(server: string, params: any): Promise<unknown>;
131
134
  static joinParam(params: any): string;
132
135
  }
136
+ export {};
@@ -201,6 +201,7 @@ export interface IAppliParams {
201
201
  videoInputAutoStart: boolean;
202
202
  liveStreaming: boolean;
203
203
  useSeparateMediaSharePeer: boolean;
204
+ mobileKeyboardType: number;
204
205
  }
205
206
  export declare enum AppliType {
206
207
  DESKTOP = 1,
@@ -268,6 +269,7 @@ export declare class AppliParams implements IAppliParams {
268
269
  videoInputAutoStart: boolean;
269
270
  liveStreaming: boolean;
270
271
  useSeparateMediaSharePeer: boolean;
272
+ mobileKeyboardType: number;
271
273
  static copyAndCreate(params?: IAppliParams): AppliParams;
272
274
  static setUpWithSDKConfig(params: IAppliParams, config: ILarkSRConfig): AppliParams;
273
275
  }
@@ -471,6 +471,15 @@ interface ILarkSRConfig {
471
471
  * 单独上传流程要求渲染服务器版本大于3290)
472
472
  */
473
473
  useSeparateMediaSharePeer?: boolean;
474
+ /**
475
+ * 是否启用 canvas 渲染. 默认关闭
476
+ */
477
+ enableCanvasRender?: boolean;
478
+ /**
479
+ * 可选项
480
+ * loading页载入Logo版本
481
+ */
482
+ loadingLogoVersion?: string;
474
483
  }
475
484
  declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
476
485
  /**
@@ -3,7 +3,7 @@ export declare class Level {
3
3
  static WARN: string;
4
4
  static ERR: string;
5
5
  static TRACE: string;
6
- static getLevelIndex(level: string): 0 | 2 | 1 | 3 | 4;
6
+ static getLevelIndex(level: string): 0 | 1 | 2 | 3 | 4;
7
7
  }
8
8
  export interface LogObserver {
9
9
  onLog(msg: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larksr_websdk",
3
- "version": "3.2.342",
3
+ "version": "3.2.344",
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
@@ -39,6 +39,7 @@ export interface GetTaskResult {
39
39
  videoInput: number;
40
40
  videoInputAutoStart: number;
41
41
  liveStreaming: number;
42
+ mobileKeyboardType?: number;
42
43
  }
43
44
  export interface StartAppInfo {
44
45
  appliId: string;
@@ -77,6 +78,13 @@ export interface StartAppInfo {
77
78
  appKey?: string;
78
79
  groupId?: string;
79
80
  }
81
+ declare type HostAppliGetUrlReturnParams = {
82
+ appliId: string;
83
+ appKey: string;
84
+ timestamp: string;
85
+ signature: string;
86
+ groupId?: string;
87
+ };
80
88
  export default class API {
81
89
  static CheckUTLockInfoPath: string;
82
90
  static GetTaskPATH: string;
@@ -97,12 +105,7 @@ export default class API {
97
105
  }): Promise<{
98
106
  host: string;
99
107
  origin: string;
100
- params: {
101
- appliId: string;
102
- appKey: string;
103
- timestamp: string;
104
- signature: string;
105
- };
108
+ params: HostAppliGetUrlReturnParams;
106
109
  }>;
107
110
  static GetStartInfo(serverAddress: string, params: {
108
111
  sdkId: string;
@@ -130,3 +133,4 @@ export default class API {
130
133
  static RegionList(server: string, params: any): Promise<unknown>;
131
134
  static joinParam(params: any): string;
132
135
  }
136
+ export {};
@@ -201,6 +201,7 @@ export interface IAppliParams {
201
201
  videoInputAutoStart: boolean;
202
202
  liveStreaming: boolean;
203
203
  useSeparateMediaSharePeer: boolean;
204
+ mobileKeyboardType: number;
204
205
  }
205
206
  export declare enum AppliType {
206
207
  DESKTOP = 1,
@@ -268,6 +269,7 @@ export declare class AppliParams implements IAppliParams {
268
269
  videoInputAutoStart: boolean;
269
270
  liveStreaming: boolean;
270
271
  useSeparateMediaSharePeer: boolean;
272
+ mobileKeyboardType: number;
271
273
  static copyAndCreate(params?: IAppliParams): AppliParams;
272
274
  static setUpWithSDKConfig(params: IAppliParams, config: ILarkSRConfig): AppliParams;
273
275
  }
package/types/larksr.d.ts CHANGED
@@ -471,6 +471,15 @@ interface ILarkSRConfig {
471
471
  * 单独上传流程要求渲染服务器版本大于3290)
472
472
  */
473
473
  useSeparateMediaSharePeer?: boolean;
474
+ /**
475
+ * 是否启用 canvas 渲染. 默认关闭
476
+ */
477
+ enableCanvasRender?: boolean;
478
+ /**
479
+ * 可选项
480
+ * loading页载入Logo版本
481
+ */
482
+ loadingLogoVersion?: string;
474
483
  }
475
484
  declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
476
485
  /**
@@ -3,7 +3,7 @@ export declare class Level {
3
3
  static WARN: string;
4
4
  static ERR: string;
5
5
  static TRACE: string;
6
- static getLevelIndex(level: string): 0 | 2 | 1 | 3 | 4;
6
+ static getLevelIndex(level: string): 0 | 1 | 2 | 3 | 4;
7
7
  }
8
8
  export interface LogObserver {
9
9
  onLog(msg: string): void;
@@ -1,7 +0,0 @@
1
- // declare module "worker-loader!*" {
2
- // class WebpackWorker extends Worker {
3
- // constructor();
4
- // }
5
-
6
- // export = WebpackWorker;
7
- // }