armcloud-rtc 1.3.1 → 1.3.3

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.
@@ -13,6 +13,7 @@ declare class HuoshanRTC {
13
13
  private remoteResolution;
14
14
  private touchConfig;
15
15
  private touchInfo;
16
+ private simulateTouchInfo;
16
17
  private options;
17
18
  private engine;
18
19
  private groupEngine;
@@ -72,6 +73,18 @@ declare class HuoshanRTC {
72
73
  onUserLeave(): void;
73
74
  setViewSize(width: number, height: number, rotateType?: 0 | 1): void;
74
75
  updateUiH5(): Promise<void>;
76
+ triggerClickEvent(options: {
77
+ x: number;
78
+ y: number;
79
+ width: number;
80
+ height: number;
81
+ }): void;
82
+ triggerPointerEvent(action: 0 | 1 | 2, options: {
83
+ x: number;
84
+ y: number;
85
+ width: number;
86
+ height: number;
87
+ }): void;
75
88
  onUserJoined(): void;
76
89
  onRemoteVideoFirstFrame(): void;
77
90
  stop(): Promise<never>;
@@ -12,6 +12,18 @@ declare class ArmcloudEngine {
12
12
  generateUUID(): string;
13
13
  isSupported(): any;
14
14
  destroyEngine(): void;
15
+ triggerClickEvent(options: {
16
+ x: number;
17
+ y: number;
18
+ width: number;
19
+ height: number;
20
+ }): void;
21
+ triggerPointerEvent(action: 0 | 1 | 2, options: {
22
+ x: number;
23
+ y: number;
24
+ width: number;
25
+ height: number;
26
+ }): void;
15
27
  setMicrophone(val: boolean): void;
16
28
  setCamera(val: boolean): void;
17
29
  startPlay(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "armcloud-rtc",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/types/index.d.ts",