armcloud-rtc 1.2.8 → 1.3.0
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/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.global.js +2 -2
- package/dist/index.global.js.map +1 -1
- package/dist/types/lib/huoshanRtc.d.ts +5 -0
- package/dist/types/lib/pkg.d.ts +3 -0
- package/package.json +1 -1
|
@@ -37,12 +37,16 @@ declare class HuoshanRTC {
|
|
|
37
37
|
logTime: any;
|
|
38
38
|
remoteUserId: string;
|
|
39
39
|
private rotateType;
|
|
40
|
+
private videoDeviceId;
|
|
41
|
+
private audioDeviceId;
|
|
40
42
|
constructor(viewId: string, params: any, callbacks: any, logTime: any);
|
|
41
43
|
isSupported(): Promise<boolean>;
|
|
42
44
|
setLogTime(key: any): void;
|
|
43
45
|
addReportInfo(info: any): void;
|
|
44
46
|
setMicrophone(val: boolean): void;
|
|
45
47
|
setCamera(val: boolean): void;
|
|
48
|
+
setVideoDeviceId(val: string): void;
|
|
49
|
+
setAudioDeviceId(val: string): void;
|
|
46
50
|
sendEventReport(operation: any): void;
|
|
47
51
|
triggerRecoveryTimeCallback(): void;
|
|
48
52
|
createEngine(): Promise<void>;
|
|
@@ -102,6 +106,7 @@ declare class HuoshanRTC {
|
|
|
102
106
|
goAppUpPage(): void;
|
|
103
107
|
goAppHome(): void;
|
|
104
108
|
goAppMenu(): void;
|
|
109
|
+
injectVideoStream(type: "startVideoInjection" | "stopVideoInjection", options?: any): void;
|
|
105
110
|
increaseVolume(): void;
|
|
106
111
|
decreaseVolume(): void;
|
|
107
112
|
saveCloudClipboard(flag: boolean): void;
|
package/dist/types/lib/pkg.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ declare class ArmcloudEngine {
|
|
|
24
24
|
unmuted(): void;
|
|
25
25
|
appUnInstall(pkgNames: Array<string>): void;
|
|
26
26
|
getEquipmentInfo(type: "app" | "attr"): void;
|
|
27
|
+
setVideoDeviceId(val: string): void;
|
|
28
|
+
setAudioDeviceId(val: string): void;
|
|
27
29
|
sendInputClipper(inputStr: string): void;
|
|
28
30
|
sendGroupInputClipper(pads: any, strs: any): void;
|
|
29
31
|
sendGroupInputString(pads: any, strs: any): void;
|
|
@@ -52,6 +54,7 @@ declare class ArmcloudEngine {
|
|
|
52
54
|
increaseVolume(): void;
|
|
53
55
|
decreaseVolume(): void;
|
|
54
56
|
saveCloudClipboard(flag: boolean): void;
|
|
57
|
+
injectVideoStream(type: "startVideoInjection" | "stopVideoInjection", options?: any): void;
|
|
55
58
|
sendShake(time?: number): void;
|
|
56
59
|
}
|
|
57
60
|
export default ArmcloudEngine;
|