armcloud-rtc 1.3.0 → 1.3.1
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,14 +39,16 @@ declare class HuoshanRTC {
|
|
|
39
39
|
private rotateType;
|
|
40
40
|
private videoDeviceId;
|
|
41
41
|
private audioDeviceId;
|
|
42
|
+
private isCameraInject;
|
|
43
|
+
private isMicrophoneInject;
|
|
42
44
|
constructor(viewId: string, params: any, callbacks: any, logTime: any);
|
|
43
45
|
isSupported(): Promise<boolean>;
|
|
44
46
|
setLogTime(key: any): void;
|
|
45
47
|
addReportInfo(info: any): void;
|
|
46
48
|
setMicrophone(val: boolean): void;
|
|
47
49
|
setCamera(val: boolean): void;
|
|
48
|
-
setVideoDeviceId(val: string): void
|
|
49
|
-
setAudioDeviceId(val: string): void
|
|
50
|
+
setVideoDeviceId(val: string): Promise<void>;
|
|
51
|
+
setAudioDeviceId(val: string): Promise<void>;
|
|
50
52
|
sendEventReport(operation: any): void;
|
|
51
53
|
triggerRecoveryTimeCallback(): void;
|
|
52
54
|
createEngine(): Promise<void>;
|
|
@@ -61,6 +63,8 @@ declare class HuoshanRTC {
|
|
|
61
63
|
getMsgTemplate(touchType: string, content: object): string;
|
|
62
64
|
getEquipmentInfo(type: "app" | "attr"): void;
|
|
63
65
|
appUnInstall(pkgNames: Array<string>): void;
|
|
66
|
+
private cameraInject;
|
|
67
|
+
private microphoneInject;
|
|
64
68
|
sendUserMessage(userId: string, message: string, notSendInGroups?: boolean): Promise<unknown>;
|
|
65
69
|
kickItOutRoom(pads: any): void;
|
|
66
70
|
joinGroupRoom(pads: any): void;
|