@hysc/meeting 4.0.72 → 4.0.73

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.
@@ -3,14 +3,13 @@ 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 "../BMStream/BMStreamModelVM";
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";
14
13
  interface BMRoomProps {
15
14
  initDevices: boolean;
16
15
  }
@@ -28,7 +27,6 @@ export default class BMRoom {
28
27
  selectVideoDevice: Device | null;
29
28
  selectAudioDevice: Device | null;
30
29
  selectAudioOutputDevice: Device | null;
31
- streamQueue: SingletonQueue;
32
30
  /**
33
31
  * 这个参数是和业务相关的功能,业务上的参会者列表是可以配置的,如果设置了只展示一列,那么所有的用户都要存储
34
32
  * 在commonUserList中
@@ -73,13 +71,10 @@ export default class BMRoom {
73
71
  * bloud断网重连的时候的提示
74
72
  */
75
73
  bloudWSReconnectWatcher: Subject<boolean>;
76
- netConnecting: boolean;
77
- netConnectingWatcher: Subject<boolean>;
78
74
  /**
79
75
  * 会控底层相关处理, 比如是否取消自动拉流
80
76
  */
81
77
  private meetingControlOptions;
82
- forceId: string;
83
78
  get isSingleColumns(): boolean;
84
79
  /**
85
80
  * 传递信息用的,主要是用于message信令往上层业务发送消息
@@ -251,6 +246,7 @@ export default class BMRoom {
251
246
  */
252
247
  setLocalSpeakerEnable(status: boolean): Promise<void>;
253
248
  private _attachEvents;
249
+ private _attachBrtcEvent;
254
250
  /**
255
251
  * 创建本地流
256
252
  * @param options
@@ -305,7 +301,7 @@ export default class BMRoom {
305
301
  * @param options 订阅选项
306
302
  * @returns
307
303
  */
308
- subscribe(remoteStream: SingleRemoteStream, options?: SubscribeOptions): Promise<any>;
304
+ subscribe(remoteStream: SingleRemoteStream, options?: SubscribeOptions): Promise<void>;
309
305
  /**
310
306
  * 取消订阅远端流
311
307
  *
@@ -532,7 +528,7 @@ export default class BMRoom {
532
528
  /**
533
529
  * 获取自定义属性
534
530
  */
535
- getCustomStats(): any;
531
+ getCustomStats(): import("./BMRoomInfo").OperationCustomStats | undefined;
536
532
  /**
537
533
  * 获取会议时间进度,返回秒数
538
534
  */
@@ -591,7 +587,6 @@ export default class BMRoom {
591
587
  /**
592
588
  * 处理流出现connect-error的逻辑,本地流需要重新推流,远端流需要重新拉流
593
589
  * @param event
594
- * @param failed
595
590
  */
596
591
  private handleStreamConnectError;
597
592
  /**
@@ -639,11 +634,6 @@ export default class BMRoom {
639
634
  * 重拉远端流
640
635
  */
641
636
  handleResetOtherStreamStatus(): void;
642
- addUser2Queue(pullItem: PullItem): Promise<void>;
643
- queueProcessor: any;
644
- queryBrtcStreams(uids: string[]): Promise<any>;
645
- handleAddStreams(streams: SingleRemoteStream[]): void;
646
- getForceUser(forceId: string): Promise<void>;
647
637
  getVersion(): string;
648
638
  }
649
639
  export {};