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