@hysc/meeting 10.4.5 → 10.4.7
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/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -35,6 +35,8 @@ declare class BMMessageInfo {
|
|
|
35
35
|
isDanger: boolean | undefined;
|
|
36
36
|
seq: number | undefined;
|
|
37
37
|
failed: boolean | undefined;
|
|
38
|
+
/** 是否是表情 */
|
|
39
|
+
isEmoji: boolean;
|
|
38
40
|
constructor(props: IMessageInfo);
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -168,6 +170,9 @@ declare class BMStreamModelVM {
|
|
|
168
170
|
localModel: BMStreamModel | null;
|
|
169
171
|
room: BMRoom | null;
|
|
170
172
|
bloudStream: BloudStream | null;
|
|
173
|
+
/** 白板窗口 */
|
|
174
|
+
whiteboard: BMStreamModel | null;
|
|
175
|
+
whiteboardWatcher: BehaviorSubject<BMStreamModel | null>;
|
|
171
176
|
/**
|
|
172
177
|
* brtc stream对象
|
|
173
178
|
*/
|
|
@@ -246,6 +251,8 @@ declare class BMStreamModelVM {
|
|
|
246
251
|
getStreamModelByUId(userId: string): BMStreamModel | undefined;
|
|
247
252
|
getShareStreamModelByUId(userId: string): BMStreamModel | undefined;
|
|
248
253
|
getLocalStreamModel(): BMStreamModel | null;
|
|
254
|
+
createWhiteBoard(userId: string): BMStreamModel | undefined;
|
|
255
|
+
removeWhiteBoard(): void;
|
|
249
256
|
createStreamModel(user: BMUser, stream?: SingleStream): BMStreamModel;
|
|
250
257
|
addStreamModel(streamModel: BMStreamModel): void;
|
|
251
258
|
addShareStreamModel(streamModel: BMStreamModel): void;
|
|
@@ -509,6 +516,7 @@ declare class BMStreamModel {
|
|
|
509
516
|
* 窗口的排序使用二进制运算进行了优化,为了提高运行速度牺牲了一部分代码可读性
|
|
510
517
|
*/
|
|
511
518
|
sortNum: number;
|
|
519
|
+
isWhiteboard: boolean;
|
|
512
520
|
get isToupingma(): boolean;
|
|
513
521
|
get isMixer(): boolean;
|
|
514
522
|
get isSignal(): boolean;
|
|
@@ -517,7 +525,7 @@ declare class BMStreamModel {
|
|
|
517
525
|
* @param user
|
|
518
526
|
* @param stream
|
|
519
527
|
*/
|
|
520
|
-
constructor(user: BMUser, stream?: SingleStream);
|
|
528
|
+
constructor(user: BMUser, stream?: SingleStream, isWhiteboard?: boolean);
|
|
521
529
|
/**
|
|
522
530
|
* 生成订阅信息
|
|
523
531
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ declare class BMMessageInfo {
|
|
|
35
35
|
isDanger: boolean | undefined;
|
|
36
36
|
seq: number | undefined;
|
|
37
37
|
failed: boolean | undefined;
|
|
38
|
+
/** 是否是表情 */
|
|
39
|
+
isEmoji: boolean;
|
|
38
40
|
constructor(props: IMessageInfo);
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -168,6 +170,9 @@ declare class BMStreamModelVM {
|
|
|
168
170
|
localModel: BMStreamModel | null;
|
|
169
171
|
room: BMRoom | null;
|
|
170
172
|
bloudStream: BloudStream | null;
|
|
173
|
+
/** 白板窗口 */
|
|
174
|
+
whiteboard: BMStreamModel | null;
|
|
175
|
+
whiteboardWatcher: BehaviorSubject<BMStreamModel | null>;
|
|
171
176
|
/**
|
|
172
177
|
* brtc stream对象
|
|
173
178
|
*/
|
|
@@ -246,6 +251,8 @@ declare class BMStreamModelVM {
|
|
|
246
251
|
getStreamModelByUId(userId: string): BMStreamModel | undefined;
|
|
247
252
|
getShareStreamModelByUId(userId: string): BMStreamModel | undefined;
|
|
248
253
|
getLocalStreamModel(): BMStreamModel | null;
|
|
254
|
+
createWhiteBoard(userId: string): BMStreamModel | undefined;
|
|
255
|
+
removeWhiteBoard(): void;
|
|
249
256
|
createStreamModel(user: BMUser, stream?: SingleStream): BMStreamModel;
|
|
250
257
|
addStreamModel(streamModel: BMStreamModel): void;
|
|
251
258
|
addShareStreamModel(streamModel: BMStreamModel): void;
|
|
@@ -509,6 +516,7 @@ declare class BMStreamModel {
|
|
|
509
516
|
* 窗口的排序使用二进制运算进行了优化,为了提高运行速度牺牲了一部分代码可读性
|
|
510
517
|
*/
|
|
511
518
|
sortNum: number;
|
|
519
|
+
isWhiteboard: boolean;
|
|
512
520
|
get isToupingma(): boolean;
|
|
513
521
|
get isMixer(): boolean;
|
|
514
522
|
get isSignal(): boolean;
|
|
@@ -517,7 +525,7 @@ declare class BMStreamModel {
|
|
|
517
525
|
* @param user
|
|
518
526
|
* @param stream
|
|
519
527
|
*/
|
|
520
|
-
constructor(user: BMUser, stream?: SingleStream);
|
|
528
|
+
constructor(user: BMUser, stream?: SingleStream, isWhiteboard?: boolean);
|
|
521
529
|
/**
|
|
522
530
|
* 生成订阅信息
|
|
523
531
|
*/
|