armcloud-rtc 1.3.5 → 1.3.7

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.
@@ -19,6 +19,7 @@ declare class HuoshanRTC {
19
19
  private groupEngine;
20
20
  private groupRtc;
21
21
  private inputElement;
22
+ private promiseMap;
22
23
  roomMessage: any;
23
24
  autoRecoveryTimer: any;
24
25
  errorInfo: any;
@@ -63,7 +64,9 @@ declare class HuoshanRTC {
63
64
  sendGroupRoomMessage(message: string): Promise<any>;
64
65
  getMsgTemplate(touchType: string, content: object): string;
65
66
  getEquipmentInfo(type: "app" | "attr"): void;
67
+ getInjectStreamStatus(type: "video" | "camera" | "audio", timeout?: number): Promise<unknown>;
66
68
  appUnInstall(pkgNames: Array<string>): void;
69
+ private notifyInject;
67
70
  private startMediaStream;
68
71
  private stopMediaStream;
69
72
  private cameraInject;
@@ -74,7 +77,8 @@ declare class HuoshanRTC {
74
77
  start(isGroupControl?: boolean, pads?: any[]): void;
75
78
  onUserLeave(): void;
76
79
  setViewSize(width: number, height: number, rotateType?: 0 | 1): void;
77
- updateUiH5(): Promise<void>;
80
+ getCameraState(isRetry?: boolean): Promise<void>;
81
+ updateUiH5(isRetry?: boolean): Promise<void>;
78
82
  triggerClickEvent(options: {
79
83
  x: number;
80
84
  y: number;
@@ -9,6 +9,7 @@ declare class ArmcloudEngine {
9
9
  private axiosSource;
10
10
  logTime: any;
11
11
  constructor(params: any);
12
+ getInjectStreamStatus(type: "video" | "camera" | "audio", timeout?: number): any;
12
13
  generateUUID(): string;
13
14
  isSupported(): any;
14
15
  destroyEngine(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "armcloud-rtc",
3
- "version": "1.3.5",
3
+ "version": "1.3.7",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/types/index.d.ts",