@hysc/meeting 4.0.41 → 4.0.42

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.
@@ -186,10 +186,6 @@ export default class BMStreamModelVM {
186
186
  */
187
187
  toggleShareScreen(enable: boolean, opts: any, customShare?: Result): Promise<boolean>;
188
188
  setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'): Promise<void>;
189
- /**
190
- * 排序变化之后的处理逻辑
191
- */
192
- updateUserSort: any;
193
189
  updateModelSort: any;
194
190
  handleNoContainer: (info: NoPlayerContainer) => void;
195
191
  /**
@@ -4,6 +4,7 @@ import BCUser from '@hysc/core/esm/BoomAdapter/User/User';
4
4
  import BMRoom from '../BMRoom/BMRoom';
5
5
  import { BehaviorSubject, Subject } from "rxjs";
6
6
  import { UpdateMasterType } from '../type';
7
+ import { UserSortType } from "../util/emitter";
7
8
  /**
8
9
  * 往业务端返回的时候,需要把这些用户过滤掉
9
10
  */
@@ -27,6 +28,7 @@ export default class BMUserVM {
27
28
  masterUserWatcher: BehaviorSubject<BMUser | null>;
28
29
  getForceUserWatcher: Subject<boolean>;
29
30
  localUser: BMUser;
31
+ commTimer: number;
30
32
  constructor(boomCore: BoomCore, localUser: BMUser);
31
33
  initWithRoom(room: BMRoom): void;
32
34
  handleUserRoleChange(info: ChangeIsGuest): Promise<void>;
@@ -113,7 +115,12 @@ export default class BMUserVM {
113
115
  /**
114
116
  * 排序变化之后的处理逻辑
115
117
  */
116
- updateSort: () => void;
118
+ updateAllSort: () => void;
119
+ updateSortByType: (isCommon: UserSortType) => void;
120
+ updateUserSort: any;
121
+ updateCommonUserSort: any;
122
+ updateAudienceUserSort: () => void;
123
+ updateSignalUserSort: () => void;
117
124
  /**
118
125
  * 初始化所有的用户
119
126
  */
@@ -2,9 +2,10 @@ import { ConnectErrorMessage, NoPlayerContainer, SubscribeMessage } from "../BMS
2
2
  import { BIND_BIG_ELEMENT, BIND_ELEMENT, CHANG_IS_GUEST, HANDLE_STREAM_CONNECT_ERROR, MANUAL_SUBSCRIPTION, MODEL_SORT_NUM_CHANGE, NO_CONTAINER, RAISE_HAND, RECEIVE_SUBSCRIBE_MESSAGE, UNSUBSCRIBE_STREAM, USER_SORT_NUM_CHANGE } from "../constants";
3
3
  import { RaiseHandInfo } from "../BMUser/BMUser";
4
4
  import { ChangeIsGuest } from "../BMUser/BMUserVM";
5
+ export declare type UserSortType = boolean;
5
6
  declare type Events = {
6
7
  [RECEIVE_SUBSCRIBE_MESSAGE]: SubscribeMessage;
7
- [USER_SORT_NUM_CHANGE]: null;
8
+ [USER_SORT_NUM_CHANGE]: UserSortType;
8
9
  [HANDLE_STREAM_CONNECT_ERROR]: ConnectErrorMessage;
9
10
  [RAISE_HAND]: RaiseHandInfo;
10
11
  [UNSUBSCRIBE_STREAM]: SubscribeMessage;