@hysc/meeting 5.0.115 → 5.0.116
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/boom-meeting/src/BMRoom/BMRoom.d.ts +3 -0
- package/esm/boom-meeting/src/BMStream/BMStreamModel.d.ts +1 -1
- package/esm/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +0 -11
- package/esm/index.js +1 -1
- package/esm/index.js.map +2 -2
- package/esm/src/BMRoom/BMRoom.d.ts +3 -0
- package/esm/src/BMStream/BMStreamModel.d.ts +1 -1
- package/esm/src/BMStream/BMStreamModelVM.d.ts +0 -11
- package/package.json +4 -4
- package/umd/boom-meeting/src/BMRoom/BMRoom.d.ts +3 -0
- package/umd/boom-meeting/src/BMStream/BMStreamModel.d.ts +1 -1
- package/umd/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +0 -11
- package/umd/index.js +1 -1
|
@@ -20,6 +20,7 @@ interface MediaPermission {
|
|
|
20
20
|
camera: boolean;
|
|
21
21
|
screen: boolean;
|
|
22
22
|
}
|
|
23
|
+
export declare type VoiceMode = 'speech' | 'speech-recognition' | 'music' | '';
|
|
23
24
|
export declare let _selfSortType: number;
|
|
24
25
|
export declare let autoPlayAudio: boolean;
|
|
25
26
|
export default class BMRoom {
|
|
@@ -78,6 +79,8 @@ export default class BMRoom {
|
|
|
78
79
|
mediaPermission: MediaPermission;
|
|
79
80
|
videoProfile: VideoProfile;
|
|
80
81
|
audioProfile: AudioProfileInfo | null;
|
|
82
|
+
voiceMode: string;
|
|
83
|
+
setVoiceMode(mode: VoiceMode): void;
|
|
81
84
|
/**
|
|
82
85
|
* brtc断网重连要给端上事件响应,所有端上把流单独做处理的,需要在收到这个事件之后,重新处理所有的effect
|
|
83
86
|
*/
|
|
@@ -283,7 +283,7 @@ export default class BMStreamModel {
|
|
|
283
283
|
collectAudioLevel: () => void;
|
|
284
284
|
private handleAudioLevel;
|
|
285
285
|
checkSmallVideo(): void;
|
|
286
|
-
checkBigVideo
|
|
286
|
+
checkBigVideo: any;
|
|
287
287
|
/**
|
|
288
288
|
* 播放黑窗处理,主要是做一个容错处理,又可能这股流拉下来或者存在订阅就出现问题的情况
|
|
289
289
|
* 播放时黑窗的,这个时候需要,检测,然后重新拉流
|
|
@@ -190,17 +190,6 @@ export default class BMStreamModelVM {
|
|
|
190
190
|
* @private
|
|
191
191
|
*/
|
|
192
192
|
private muteOrUnpublishStream;
|
|
193
|
-
/**
|
|
194
|
-
* 是否开启屏幕共享
|
|
195
|
-
* @param enable
|
|
196
|
-
* @param opts 开启屏幕共享参数
|
|
197
|
-
* @param customShare
|
|
198
|
-
* @param opts.audio 是否开启音频
|
|
199
|
-
* @param opts.source_name Electron 下窗口名称
|
|
200
|
-
* @param opts.width 共享屏幕宽度
|
|
201
|
-
* @param opts.height 共享屏幕高度
|
|
202
|
-
* @param opts.contentHint 视频的contentHint 可选值: '' | 'motion' | 'detail' | 'text'
|
|
203
|
-
*/
|
|
204
193
|
toggleShareScreen(enable: boolean, opts: any, customShare?: Result): Promise<boolean>;
|
|
205
194
|
setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'): void;
|
|
206
195
|
updateModelSort: any;
|