armcloud-rtc 1.4.0 → 1.4.2

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.
@@ -1,6 +1,6 @@
1
1
  import { MediaType } from "@volcengine/rtc";
2
2
  import type { CustomDefinition } from "./type";
3
- declare class HuoshanRTC {
3
+ declare class customRtc {
4
4
  private initDomId;
5
5
  private initDomWidth;
6
6
  private initDomHeight;
@@ -53,6 +53,7 @@ declare class HuoshanRTC {
53
53
  setVideoDeviceId(val: string): Promise<any>;
54
54
  setAudioDeviceId(val: string): Promise<any>;
55
55
  sendEventReport(operation: any): void;
56
+ setMonitorOperation(isMonitor: boolean): void;
56
57
  triggerRecoveryTimeCallback(): void;
57
58
  setVideoEncoder(width: number, height: number): void;
58
59
  createEngine(): Promise<void>;
@@ -136,4 +137,4 @@ declare class HuoshanRTC {
136
137
  decreaseVolume(): void;
137
138
  saveCloudClipboard(flag: boolean): void;
138
139
  }
139
- export default HuoshanRTC;
140
+ export default customRtc;
@@ -9,6 +9,7 @@ declare class ArmcloudEngine {
9
9
  private axiosSource;
10
10
  logTime: any;
11
11
  constructor(params: any);
12
+ setMonitorOperation(isMonitor: boolean): void;
12
13
  getInjectStreamStatus(type: "video" | "camera" | "audio", timeout?: number): any;
13
14
  generateUUID(): string;
14
15
  isSupported(): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "armcloud-rtc",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/types/index.d.ts",