@hysc/meeting 1.8.33 → 1.8.35
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/BMChat/BMMessageInfo.d.ts +4 -0
- package/esm/BMRoom/BMRoom.d.ts +12 -0
- package/esm/BMStream/BMStreamModel.d.ts +8 -0
- package/esm/BMStream/BMStreamModelVM.d.ts +3 -1
- package/esm/BMUser/BMUser.d.ts +2 -1
- package/esm/BMUser/BMUserVM.d.ts +0 -1
- package/esm/bjy-common/function/getErrorMessage.d.ts +1 -0
- package/esm/constants.d.ts +26 -2
- package/esm/index.js +6 -6
- package/esm/index.js.map +3 -3
- package/esm/util/sortUtils.d.ts +10 -0
- package/package.json +3 -3
- package/umd/BMChat/BMMessageInfo.d.ts +4 -0
- package/umd/BMRoom/BMRoom.d.ts +12 -0
- package/umd/BMStream/BMStreamModel.d.ts +8 -0
- package/umd/BMStream/BMStreamModelVM.d.ts +3 -1
- package/umd/BMUser/BMUser.d.ts +2 -1
- package/umd/BMUser/BMUserVM.d.ts +0 -1
- package/umd/bjy-common/function/getErrorMessage.d.ts +1 -0
- package/umd/constants.d.ts +26 -2
- package/umd/index.js +6 -6
- package/umd/util/sortUtils.d.ts +10 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @name: sortUtils
|
|
3
|
+
* @author: yangliye
|
|
4
|
+
* @date: 2023-02-22 18:17
|
|
5
|
+
* @description:sortUtils
|
|
6
|
+
* @update: 2023-02-22 18:17
|
|
7
|
+
*/
|
|
8
|
+
import BMUser from "../BMUser/BMUser";
|
|
9
|
+
import { MODEL_SORT_ENUM_STAND, MODEL_SORT_ENUM_ZY } from "../constants";
|
|
10
|
+
export declare function getSortNum(user: BMUser): MODEL_SORT_ENUM_ZY | MODEL_SORT_ENUM_STAND;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hysc/meeting",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.35",
|
|
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": "1.8.
|
|
17
|
+
"@hysc/core": "1.8.23",
|
|
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.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@hysc/core": "1.8.
|
|
26
|
+
"@hysc/core": "1.8.23"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/lodash-es": "^4.17.6"
|
|
@@ -9,6 +9,8 @@ interface IMessageInfo {
|
|
|
9
9
|
isMeetingNotice?: boolean;
|
|
10
10
|
to?: string | undefined;
|
|
11
11
|
isDanger?: boolean;
|
|
12
|
+
seq?: number;
|
|
13
|
+
failed?: boolean;
|
|
12
14
|
}
|
|
13
15
|
export default class BMMessageInfo {
|
|
14
16
|
userId?: any;
|
|
@@ -22,6 +24,8 @@ export default class BMMessageInfo {
|
|
|
22
24
|
isMeetingNotice: boolean;
|
|
23
25
|
to: string | undefined;
|
|
24
26
|
isDanger: boolean | undefined;
|
|
27
|
+
seq: number | undefined;
|
|
28
|
+
failed: boolean | undefined;
|
|
25
29
|
constructor(props: IMessageInfo);
|
|
26
30
|
}
|
|
27
31
|
export {};
|
package/umd/BMRoom/BMRoom.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import BMLiveVM from './BMLiveVM';
|
|
|
14
14
|
interface BMRoomProps {
|
|
15
15
|
initDevices: boolean;
|
|
16
16
|
}
|
|
17
|
+
export declare let _selfSortType: number;
|
|
17
18
|
export default class BMRoom {
|
|
18
19
|
roomVM: BMRoomVM | null;
|
|
19
20
|
userVM: BMUserVM;
|
|
@@ -27,6 +28,15 @@ export default class BMRoom {
|
|
|
27
28
|
selectVideoDevice: Device | null;
|
|
28
29
|
selectAudioDevice: Device | null;
|
|
29
30
|
selectAudioOutputDevice: Device | null;
|
|
31
|
+
/**
|
|
32
|
+
* 这个参数是和业务相关的功能,业务上的参会者列表是可以配置的,如果设置了只展示一列,那么所有的用户都要存储
|
|
33
|
+
* 在commonUserList中
|
|
34
|
+
*/
|
|
35
|
+
userListColumns: number;
|
|
36
|
+
/**
|
|
37
|
+
* 排序规则 1 是标品排序, 2 是中移排序
|
|
38
|
+
*/
|
|
39
|
+
sortType: number;
|
|
30
40
|
/**
|
|
31
41
|
* brtc断网重连的时候,所有的订阅和播放相关的处理,都不需要
|
|
32
42
|
*/
|
|
@@ -93,6 +103,8 @@ export default class BMRoom {
|
|
|
93
103
|
* @param profile 设置视频分辨率
|
|
94
104
|
*/
|
|
95
105
|
setVideoProfile(profile: VideoProfile): void;
|
|
106
|
+
setUserListColumns(column: number): void;
|
|
107
|
+
setSortType(type: number): void;
|
|
96
108
|
/**
|
|
97
109
|
* 设置声音增益的属性,回音消除 音频降噪 声音增益等
|
|
98
110
|
* @param audioProfile
|
|
@@ -185,6 +185,14 @@ export default class BMStreamModel {
|
|
|
185
185
|
sendMessage2Room: any;
|
|
186
186
|
emitBindElement: any;
|
|
187
187
|
emitBindBigElement: any;
|
|
188
|
+
/**
|
|
189
|
+
* 判断当前是不是正在小窗口播放
|
|
190
|
+
*/
|
|
191
|
+
currentIsPlaying: () => boolean;
|
|
192
|
+
/**
|
|
193
|
+
* 判断当前是不是正在小窗口播放
|
|
194
|
+
*/
|
|
195
|
+
currentBigIsPlaying: () => boolean | null | undefined;
|
|
188
196
|
/**
|
|
189
197
|
* 播放当前流
|
|
190
198
|
*/
|
|
@@ -23,6 +23,7 @@ import { Device } from '@hysc/core/esm/BoomAdapter/type/value';
|
|
|
23
23
|
import BMSpeaker from './BMSpeaker';
|
|
24
24
|
import { ShareMediaOptions } from "@hysc/core/esm/BoomCore/BCClient/BCClient";
|
|
25
25
|
import { getHTMLMediaStreamOptions, Result, getMediaStreamInfo } from "./getHTMLMediaStreamOptions";
|
|
26
|
+
export declare const pubFailedStreamMap: Map<string, import("@hysc/core/esm/BoomAdapter/singleMode/stream/RemoteStream").default>;
|
|
26
27
|
/**
|
|
27
28
|
* 全量的brtc流记录,把所有brtc用户推的流都做记录
|
|
28
29
|
* stream-added 的时候添加
|
|
@@ -35,6 +36,7 @@ export declare const BRTCStreamMap: Map<string, import("@hysc/core/esm/BoomAdapt
|
|
|
35
36
|
export declare const BRTCShareStreamMap: Map<string, import("@hysc/core/esm/BoomAdapter/singleMode/stream/RemoteStream").default>;
|
|
36
37
|
export default class BMStreamModelVM {
|
|
37
38
|
streamModels: Map<string, BMStreamModel>;
|
|
39
|
+
sendStreamModels: BMStreamModel[];
|
|
38
40
|
/**
|
|
39
41
|
* 因为投屏码用户进来以后,他是不在小窗口展示的,所以要把投屏的用户过滤掉给业务的展示
|
|
40
42
|
*/
|
|
@@ -106,7 +108,7 @@ export default class BMStreamModelVM {
|
|
|
106
108
|
* @returns
|
|
107
109
|
*/
|
|
108
110
|
remoteStreamUnpublished(stream: SingleRemoteStream): BMStreamModel | undefined;
|
|
109
|
-
sortStreamModels():
|
|
111
|
+
sortStreamModels(): void;
|
|
110
112
|
updateStreamModel(streamModel: BMStreamModel, stream: SingleStream): void;
|
|
111
113
|
updateShareStreamModel(streamModel: BMStreamModel, stream: SingleStream): void;
|
|
112
114
|
/**
|
package/umd/BMUser/BMUser.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import BMStreamModel from '../BMStream/BMStreamModel';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import BCUser from '@hysc/core/esm/BoomAdapter/User/User';
|
|
4
|
-
import BMRoom from
|
|
4
|
+
import BMRoom from "../BMRoom/BMRoom";
|
|
5
5
|
declare type Operation = 'none' | 'getMaster' | 'getManager' | 'removeMaster' | 'getGuest' | 'removeGuest' | 'removeManager' | 'changeNickName' | 'speakerEnable' | 'changeShare' | 'updateUser' | 'raiseHandsVideo' | 'raiseHandsAudio' | 'audienceEnableSpeaking' | 'inBackground';
|
|
6
6
|
interface IUserActionWatcher {
|
|
7
7
|
operation: Operation;
|
|
@@ -147,5 +147,6 @@ export default class BMUser {
|
|
|
147
147
|
* 更新当前用户的排序
|
|
148
148
|
*/
|
|
149
149
|
updateSortNum(): void;
|
|
150
|
+
setSortNum(sortNum: number): void;
|
|
150
151
|
}
|
|
151
152
|
export {};
|
package/umd/BMUser/BMUserVM.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getErrorMessage(error: any): string;
|
package/umd/constants.d.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* @update: 2022-04-27 10:39
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* 标品排序规则
|
|
10
10
|
*/
|
|
11
|
-
export declare enum
|
|
11
|
+
export declare enum MODEL_SORT_ENUM_STAND {
|
|
12
12
|
SCREEN = 0,
|
|
13
13
|
MASTER = 1,
|
|
14
14
|
LOCAL = 2,
|
|
@@ -24,6 +24,30 @@ export declare enum MODEL_SORT_ENUM {
|
|
|
24
24
|
VIDEO = 12,
|
|
25
25
|
OTHER = 13
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* 中移排序规则
|
|
29
|
+
*/
|
|
30
|
+
export declare enum MODEL_SORT_ENUM_ZY {
|
|
31
|
+
SCREEN = 0,
|
|
32
|
+
RAISE_AUDIO = 1,
|
|
33
|
+
RAISE_VIDEO = 2,
|
|
34
|
+
LOCAL = 3,
|
|
35
|
+
MASTER_AUDIO_VIDEO = 4,
|
|
36
|
+
MANAGER_AUDIO_VIDEO = 5,
|
|
37
|
+
AUDIO_VIDEO = 6,
|
|
38
|
+
MASTER_AUDIO = 7,
|
|
39
|
+
MANAGER_AUDIO = 8,
|
|
40
|
+
AUDIO = 9,
|
|
41
|
+
MASTER_VIDEO = 10,
|
|
42
|
+
MANAGER_VIDEO = 11,
|
|
43
|
+
VIDEO = 12,
|
|
44
|
+
MASTER = 13,
|
|
45
|
+
MANAGER = 14,
|
|
46
|
+
GUEST = 15,
|
|
47
|
+
COMMON_USER = 16,
|
|
48
|
+
SIGNAL = 17,
|
|
49
|
+
OTHER = 18
|
|
50
|
+
}
|
|
27
51
|
export declare enum STREAM_TYPE {
|
|
28
52
|
/**
|
|
29
53
|
* 大流
|