@hysc/meeting 4.0.44 → 4.0.46

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.
@@ -213,7 +213,7 @@ export default class BMStreamModelVM {
213
213
  * 添加流对象到录制器,用于音频轨道录制
214
214
  * @param stream
215
215
  */
216
- addToRecorder(stream: any): void;
216
+ addToRecorder(stream: SingleStream): void;
217
217
  /**
218
218
  * 从录制器中删除流对象
219
219
  * @param stream
@@ -150,7 +150,7 @@ export default class BMUser {
150
150
  /**
151
151
  * 更新当前用户的排序
152
152
  */
153
- updateSortNum(force?: boolean): void;
154
- setSortNum(sortNum: number, force: boolean): void;
153
+ updateSortNum(force?: boolean, shouldDelay?: boolean): void;
154
+ setSortNum(sortNum: number, force: boolean, shouldDelay: boolean): void;
155
155
  }
156
156
  export {};
@@ -116,9 +116,10 @@ export default class BMUserVM {
116
116
  * 排序变化之后的处理逻辑
117
117
  */
118
118
  updateAllSort: () => void;
119
- updateSortByType: (isCommon: UserSortType) => void;
119
+ updateSortByType: (userType: UserSortType) => void;
120
120
  updateUserSort: import("lodash-es").DebouncedFunc<() => void>;
121
121
  updateCommonUserSort: import("lodash-es").DebouncedFunc<() => void>;
122
+ updateDelayCommonUserSort: import("lodash-es").DebouncedFunc<() => void>;
122
123
  updateAudienceUserSort: () => void;
123
124
  updateSignalUserSort: () => void;
124
125
  /**
@@ -2,7 +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
+ export declare type UserSortType = {
6
+ isCommon: boolean;
7
+ shouldDelay: boolean;
8
+ };
6
9
  declare type Events = {
7
10
  [RECEIVE_SUBSCRIBE_MESSAGE]: SubscribeMessage;
8
11
  [USER_SORT_NUM_CHANGE]: UserSortType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hysc/meeting",
3
- "version": "4.0.44",
3
+ "version": "4.0.46",
4
4
  "description": "boom meeting",
5
5
  "main": "umd/index.js",
6
6
  "module": "esm/index.js",
@@ -14,7 +14,7 @@
14
14
  "author": "yangliye",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@hysc/core": "4.0.44",
17
+ "@hysc/core": "4.0.46",
18
18
  "lodash-es": "^4.17.21",
19
19
  "mitt": "^3.0.0",
20
20
  "@hysc/p-queue": "6.3.0",
@@ -23,7 +23,7 @@
23
23
  "@hysc/utils": "1.2.3"
24
24
  },
25
25
  "peerDependencies": {
26
- "@hysc/core": "4.0.44"
26
+ "@hysc/core": "4.0.46"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash-es": "^4.17.6"
@@ -213,7 +213,7 @@ export default class BMStreamModelVM {
213
213
  * 添加流对象到录制器,用于音频轨道录制
214
214
  * @param stream
215
215
  */
216
- addToRecorder(stream: any): void;
216
+ addToRecorder(stream: SingleStream): void;
217
217
  /**
218
218
  * 从录制器中删除流对象
219
219
  * @param stream
@@ -150,7 +150,7 @@ export default class BMUser {
150
150
  /**
151
151
  * 更新当前用户的排序
152
152
  */
153
- updateSortNum(force?: boolean): void;
154
- setSortNum(sortNum: number, force: boolean): void;
153
+ updateSortNum(force?: boolean, shouldDelay?: boolean): void;
154
+ setSortNum(sortNum: number, force: boolean, shouldDelay: boolean): void;
155
155
  }
156
156
  export {};
@@ -116,9 +116,10 @@ export default class BMUserVM {
116
116
  * 排序变化之后的处理逻辑
117
117
  */
118
118
  updateAllSort: () => void;
119
- updateSortByType: (isCommon: UserSortType) => void;
119
+ updateSortByType: (userType: UserSortType) => void;
120
120
  updateUserSort: any;
121
121
  updateCommonUserSort: any;
122
+ updateDelayCommonUserSort: any;
122
123
  updateAudienceUserSort: () => void;
123
124
  updateSignalUserSort: () => void;
124
125
  /**
@@ -2,7 +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
+ export declare type UserSortType = {
6
+ isCommon: boolean;
7
+ shouldDelay: boolean;
8
+ };
6
9
  declare type Events = {
7
10
  [RECEIVE_SUBSCRIBE_MESSAGE]: SubscribeMessage;
8
11
  [USER_SORT_NUM_CHANGE]: UserSortType;