armcloud-rtc 1.3.9 → 1.4.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 +4 -2
- package/dist/types/lib/pkg.d.ts +2 -2
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ declare class HuoshanRTC {
|
|
|
43
43
|
private audioDeviceId;
|
|
44
44
|
private isCameraInject;
|
|
45
45
|
private isMicrophoneInject;
|
|
46
|
+
private cameraResolution;
|
|
46
47
|
constructor(viewId: string, params: any, callbacks: any, logTime: any);
|
|
47
48
|
isSupported(): Promise<boolean>;
|
|
48
49
|
setLogTime(key: any): void;
|
|
@@ -53,6 +54,7 @@ declare class HuoshanRTC {
|
|
|
53
54
|
setAudioDeviceId(val: string): Promise<any>;
|
|
54
55
|
sendEventReport(operation: any): void;
|
|
55
56
|
triggerRecoveryTimeCallback(): void;
|
|
57
|
+
setVideoEncoder(width: number, height: number): void;
|
|
56
58
|
createEngine(): Promise<void>;
|
|
57
59
|
createGroupEngine(pads: any[], config: any): Promise<void>;
|
|
58
60
|
destroyEngine(): void;
|
|
@@ -99,8 +101,8 @@ declare class HuoshanRTC {
|
|
|
99
101
|
checkInputState(msg: any): void;
|
|
100
102
|
onRoomMessageReceived(): void;
|
|
101
103
|
onUserMessageReceived(): void;
|
|
102
|
-
sendInputClipper(inputStr: string): Promise<void>;
|
|
103
|
-
sendInputString(inputStr: string): Promise<void>;
|
|
104
|
+
sendInputClipper(inputStr: string, notSendInGroups?: boolean): Promise<void>;
|
|
105
|
+
sendInputString(inputStr: string, notSendInGroups?: boolean): Promise<void>;
|
|
104
106
|
setStreamConfig(config: CustomDefinition): void;
|
|
105
107
|
pauseAllSubscribedStream(mediaType?: number): Promise<void>;
|
|
106
108
|
resumeAllSubscribedStream(mediaType?: number): Promise<void>;
|
package/dist/types/lib/pkg.d.ts
CHANGED
|
@@ -39,10 +39,10 @@ declare class ArmcloudEngine {
|
|
|
39
39
|
getEquipmentInfo(type: "app" | "attr"): void;
|
|
40
40
|
setVideoDeviceId(val: string): void;
|
|
41
41
|
setAudioDeviceId(val: string): void;
|
|
42
|
-
sendInputClipper(inputStr: string): void;
|
|
42
|
+
sendInputClipper(inputStr: string, notSendInGroups?: boolean): void;
|
|
43
43
|
sendGroupInputClipper(pads: any, strs: any): void;
|
|
44
44
|
sendGroupInputString(pads: any, strs: any): void;
|
|
45
|
-
sendInputString(inputStr: string): void;
|
|
45
|
+
sendInputString(inputStr: string, notSendInGroups?: boolean): void;
|
|
46
46
|
setStreamConfig(config: CustomDefinition): void;
|
|
47
47
|
pauseAllSubscribedStream(mediaType?: number): any;
|
|
48
48
|
resumeAllSubscribedStream(mediaType?: number): any;
|