@hysc/meeting 6.1.16 → 6.1.17
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/esm/index.js +2 -2
- package/esm/index.js.map +3 -3
- package/esm/src/BMRoom/BMRoom.d.ts +19 -0
- package/package.json +6 -6
- package/umd/index.js +2 -2
- package/umd/src/BMRoom/BMRoom.d.ts +19 -0
|
@@ -20,6 +20,12 @@ interface MediaPermission {
|
|
|
20
20
|
camera: boolean;
|
|
21
21
|
screen: boolean;
|
|
22
22
|
}
|
|
23
|
+
interface VideoEncodeConfig {
|
|
24
|
+
width?: number;
|
|
25
|
+
height?: number;
|
|
26
|
+
bitrate?: number;
|
|
27
|
+
frameRate?: number;
|
|
28
|
+
}
|
|
23
29
|
export declare type VoiceMode = 'speech' | 'speech-recognition' | 'music' | '';
|
|
24
30
|
export declare let _selfSortType: number;
|
|
25
31
|
export declare let autoPlayAudio: boolean;
|
|
@@ -79,6 +85,10 @@ export default class BMRoom {
|
|
|
79
85
|
mediaPermission: MediaPermission;
|
|
80
86
|
videoProfile: VideoProfile;
|
|
81
87
|
audioProfile: AudioProfileInfo | null;
|
|
88
|
+
/**
|
|
89
|
+
* 视频编码自定义设置,优先级比videoProfile更高
|
|
90
|
+
*/
|
|
91
|
+
videoEncodeConfig: VideoEncodeConfig | null;
|
|
82
92
|
voiceMode: string;
|
|
83
93
|
setVoiceMode(mode: VoiceMode): void;
|
|
84
94
|
/**
|
|
@@ -153,6 +163,15 @@ export default class BMRoom {
|
|
|
153
163
|
* @param profile 设置视频分辨率
|
|
154
164
|
*/
|
|
155
165
|
setVideoProfile(profile: VideoProfile): void;
|
|
166
|
+
/**
|
|
167
|
+
* 设置视频分辨率, 需要在入会之前调用
|
|
168
|
+
* @param encodeConfig
|
|
169
|
+
* @param encodeConfig.width 宽
|
|
170
|
+
* @param encodeConfig.height 高
|
|
171
|
+
* @param encodeConfig.biterate 码率
|
|
172
|
+
* @param encodeConfig.frameRate 帧率
|
|
173
|
+
*/
|
|
174
|
+
setCustomVideoEncodeConfig(encodeConfig: VideoEncodeConfig): void;
|
|
156
175
|
setUserListColumns(column: number): void;
|
|
157
176
|
setSortType(type: number): void;
|
|
158
177
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hysc/meeting",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.17",
|
|
4
4
|
"description": "boom meeting",
|
|
5
5
|
"main": "umd/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"@hysc/p-queue": "6.3.0",
|
|
20
20
|
"rxjs": "^7.5.5",
|
|
21
21
|
"typescript": "^4.6.3",
|
|
22
|
-
"@hysc/
|
|
23
|
-
"@hysc/
|
|
24
|
-
"@hysc/
|
|
25
|
-
"@hysc/
|
|
22
|
+
"@hysc/bloud": "6.1.17",
|
|
23
|
+
"@hysc/core": "6.1.17",
|
|
24
|
+
"@hysc/utils": "6.1.0",
|
|
25
|
+
"@hysc/logger": "1.0.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@hysc/core": "6.1.
|
|
28
|
+
"@hysc/core": "6.1.17"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/lodash-es": "^4.17.6"
|