armcloud-rtc 1.3.9 → 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.
- 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 → customRtc.d.ts} +7 -4
- package/dist/types/lib/pkg.d.ts +3 -2
- package/package.json +1 -1
- /package/dist/types/lib/{huoshanGroupRtc.d.ts → customGroupRtc.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MediaType } from "@volcengine/rtc";
|
|
2
2
|
import type { CustomDefinition } from "./type";
|
|
3
|
-
declare class
|
|
3
|
+
declare class customRtc {
|
|
4
4
|
private initDomId;
|
|
5
5
|
private initDomWidth;
|
|
6
6
|
private initDomHeight;
|
|
@@ -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;
|
|
@@ -52,7 +53,9 @@ declare class HuoshanRTC {
|
|
|
52
53
|
setVideoDeviceId(val: string): Promise<any>;
|
|
53
54
|
setAudioDeviceId(val: string): Promise<any>;
|
|
54
55
|
sendEventReport(operation: any): void;
|
|
56
|
+
setMonitorOperation(isMonitor: boolean): void;
|
|
55
57
|
triggerRecoveryTimeCallback(): void;
|
|
58
|
+
setVideoEncoder(width: number, height: number): void;
|
|
56
59
|
createEngine(): Promise<void>;
|
|
57
60
|
createGroupEngine(pads: any[], config: any): Promise<void>;
|
|
58
61
|
destroyEngine(): void;
|
|
@@ -99,8 +102,8 @@ declare class HuoshanRTC {
|
|
|
99
102
|
checkInputState(msg: any): void;
|
|
100
103
|
onRoomMessageReceived(): void;
|
|
101
104
|
onUserMessageReceived(): void;
|
|
102
|
-
sendInputClipper(inputStr: string): Promise<void>;
|
|
103
|
-
sendInputString(inputStr: string): Promise<void>;
|
|
105
|
+
sendInputClipper(inputStr: string, notSendInGroups?: boolean): Promise<void>;
|
|
106
|
+
sendInputString(inputStr: string, notSendInGroups?: boolean): Promise<void>;
|
|
104
107
|
setStreamConfig(config: CustomDefinition): void;
|
|
105
108
|
pauseAllSubscribedStream(mediaType?: number): Promise<void>;
|
|
106
109
|
resumeAllSubscribedStream(mediaType?: number): Promise<void>;
|
|
@@ -134,4 +137,4 @@ declare class HuoshanRTC {
|
|
|
134
137
|
decreaseVolume(): void;
|
|
135
138
|
saveCloudClipboard(flag: boolean): void;
|
|
136
139
|
}
|
|
137
|
-
export default
|
|
140
|
+
export default customRtc;
|
package/dist/types/lib/pkg.d.ts
CHANGED
|
@@ -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;
|
|
@@ -39,10 +40,10 @@ declare class ArmcloudEngine {
|
|
|
39
40
|
getEquipmentInfo(type: "app" | "attr"): void;
|
|
40
41
|
setVideoDeviceId(val: string): void;
|
|
41
42
|
setAudioDeviceId(val: string): void;
|
|
42
|
-
sendInputClipper(inputStr: string): void;
|
|
43
|
+
sendInputClipper(inputStr: string, notSendInGroups?: boolean): void;
|
|
43
44
|
sendGroupInputClipper(pads: any, strs: any): void;
|
|
44
45
|
sendGroupInputString(pads: any, strs: any): void;
|
|
45
|
-
sendInputString(inputStr: string): void;
|
|
46
|
+
sendInputString(inputStr: string, notSendInGroups?: boolean): void;
|
|
46
47
|
setStreamConfig(config: CustomDefinition): void;
|
|
47
48
|
pauseAllSubscribedStream(mediaType?: number): any;
|
|
48
49
|
resumeAllSubscribedStream(mediaType?: number): any;
|
package/package.json
CHANGED
|
File without changes
|