@hysc/meeting 4.0.48 → 4.0.52
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/BMRoomVM.d.ts +10 -0
- package/esm/boom-meeting/src/SingletonQueue/SingletonQueue.d.ts +25 -0
- package/esm/boom-meeting/src/constants.d.ts +6 -5
- package/esm/boom-meeting/src/handleEvent/handleRoomEvent.d.ts +1 -1
- package/esm/boom-meeting/src/type/customStats.d.ts +2 -0
- package/esm/index.js +1 -1
- package/esm/index.js.map +3 -3
- package/esm/src/BMRoom/BMRoomVM.d.ts +10 -0
- package/esm/src/SingletonQueue/SingletonQueue.d.ts +25 -0
- package/esm/src/constants.d.ts +6 -5
- package/esm/src/handleEvent/handleRoomEvent.d.ts +1 -1
- package/esm/src/type/customStats.d.ts +2 -0
- package/package.json +3 -3
- package/umd/boom-meeting/src/BMRoom/BMRoomVM.d.ts +10 -0
- package/umd/boom-meeting/src/SingletonQueue/SingletonQueue.d.ts +25 -0
- package/umd/boom-meeting/src/constants.d.ts +6 -5
- package/umd/boom-meeting/src/handleEvent/handleRoomEvent.d.ts +1 -1
- package/umd/boom-meeting/src/type/customStats.d.ts +2 -0
- package/umd/index.js +1 -1
- package/umd/src/BMRoom/BMRoom.d.ts +21 -2
|
@@ -3,13 +3,14 @@ import BMRoomVM, { AudioProfileInfo } from "./BMRoomVM";
|
|
|
3
3
|
import BMUserVM from '../BMUser/BMUserVM';
|
|
4
4
|
import { SingleLocalStream, SingleRemoteStream, SubscribeOptions } from '../type';
|
|
5
5
|
import BMChatVM from '../BMChat/BMChatVM';
|
|
6
|
-
import BMStreamModelVM from
|
|
6
|
+
import BMStreamModelVM from "../BMStream/BMStreamModelVM";
|
|
7
7
|
import { Device, VideoProfile } from '@hysc/core/esm/BoomAdapter/type/value';
|
|
8
8
|
import BMRoomInfo from './BMRoomInfo';
|
|
9
9
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
10
10
|
import BMStreamModel from '../BMStream/BMStreamModel';
|
|
11
11
|
import BMUser from '../BMUser/BMUser';
|
|
12
12
|
import BMLiveVM from './BMLiveVM';
|
|
13
|
+
import SingletonQueue, { PullItem } from "../SingletonQueue/SingletonQueue";
|
|
13
14
|
interface BMRoomProps {
|
|
14
15
|
initDevices: boolean;
|
|
15
16
|
}
|
|
@@ -27,6 +28,7 @@ export default class BMRoom {
|
|
|
27
28
|
selectVideoDevice: Device | null;
|
|
28
29
|
selectAudioDevice: Device | null;
|
|
29
30
|
selectAudioOutputDevice: Device | null;
|
|
31
|
+
streamQueue: SingletonQueue;
|
|
30
32
|
/**
|
|
31
33
|
* 这个参数是和业务相关的功能,业务上的参会者列表是可以配置的,如果设置了只展示一列,那么所有的用户都要存储
|
|
32
34
|
* 在commonUserList中
|
|
@@ -75,6 +77,8 @@ export default class BMRoom {
|
|
|
75
77
|
* 会控底层相关处理, 比如是否取消自动拉流
|
|
76
78
|
*/
|
|
77
79
|
private meetingControlOptions;
|
|
80
|
+
forceId: string;
|
|
81
|
+
get isSingleColumns(): boolean;
|
|
78
82
|
/**
|
|
79
83
|
* 传递信息用的,主要是用于message信令往上层业务发送消息
|
|
80
84
|
*/
|
|
@@ -245,7 +249,6 @@ export default class BMRoom {
|
|
|
245
249
|
*/
|
|
246
250
|
setLocalSpeakerEnable(status: boolean): Promise<void>;
|
|
247
251
|
private _attachEvents;
|
|
248
|
-
private _attachBrtcEvent;
|
|
249
252
|
/**
|
|
250
253
|
* 创建本地流
|
|
251
254
|
* @param options
|
|
@@ -477,6 +480,11 @@ export default class BMRoom {
|
|
|
477
480
|
* @return {Promise}
|
|
478
481
|
*/
|
|
479
482
|
setAudioOff(audiooff: boolean, selfopenaudio: boolean): Promise<any>;
|
|
483
|
+
/**
|
|
484
|
+
* 更新房间状态
|
|
485
|
+
* @param opts
|
|
486
|
+
*/
|
|
487
|
+
updateRoom(opts: any): Promise<void>;
|
|
480
488
|
/**
|
|
481
489
|
* 设置全员禁用摄像头
|
|
482
490
|
* @param {Boolean} videooff - 是否禁用摄像头
|
|
@@ -602,6 +610,13 @@ export default class BMRoom {
|
|
|
602
610
|
* @param userId
|
|
603
611
|
*/
|
|
604
612
|
managerChangeToGuest(userId: string): void;
|
|
613
|
+
/**
|
|
614
|
+
* 将用户移动到等候室
|
|
615
|
+
* @param target 用户id
|
|
616
|
+
* @param toWait 是否移动到等候室
|
|
617
|
+
* @param autoJoin 是否自动准入
|
|
618
|
+
*/
|
|
619
|
+
moveUserRoom(target: string, toWait?: boolean, autoJoin?: boolean): Promise<any>;
|
|
605
620
|
/**
|
|
606
621
|
* 获取业务端是否开启参会者进入/离开直播通知
|
|
607
622
|
* @param status
|
|
@@ -621,6 +636,10 @@ export default class BMRoom {
|
|
|
621
636
|
* 重拉远端流
|
|
622
637
|
*/
|
|
623
638
|
handleResetOtherStreamStatus(): void;
|
|
639
|
+
addUser2Queue(pullItem: PullItem): Promise<void>;
|
|
640
|
+
queueProcessor: any;
|
|
641
|
+
handleAddStreams(streams: SingleRemoteStream[]): void;
|
|
642
|
+
queryBrtcStreams(uids: string[]): Promise<any>;
|
|
624
643
|
getVersion(): string;
|
|
625
644
|
}
|
|
626
645
|
export {};
|