@hysc/meeting 5.0.56 → 5.0.58
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/boom-meeting/src/BMRoom/BMRoom.d.ts +12 -11
- package/esm/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +2 -2
- package/esm/index.js +2 -2
- package/esm/index.js.map +2 -2
- package/esm/src/BMRoom/BMRoom.d.ts +687 -686
- package/esm/src/BMStream/BMStreamModelVM.d.ts +2 -2
- package/esm/utils/ErrorTypes.d.ts +1 -1
- package/package.json +3 -3
- package/umd/boom-meeting/src/BMRoom/BMRoom.d.ts +12 -11
- package/umd/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +2 -2
- package/umd/index.js +2 -2
- package/umd/src/BMRoom/BMRoom.d.ts +14 -13
- package/umd/utils/ErrorTypes.d.ts +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import BoomCore from
|
|
1
|
+
import BoomCore from "@hysc/core";
|
|
2
2
|
import BMRoomVM, { AudioProfileInfo } from "./BMRoomVM";
|
|
3
|
-
import BMUserVM from
|
|
4
|
-
import { SingleLocalStream, SingleRemoteStream, SubscribeOptions } from
|
|
5
|
-
import BMChatVM from
|
|
3
|
+
import BMUserVM from "../BMUser/BMUserVM";
|
|
4
|
+
import { SingleLocalStream, SingleRemoteStream, SubscribeOptions } from "../type";
|
|
5
|
+
import BMChatVM from "../BMChat/BMChatVM";
|
|
6
6
|
import BMStreamModelVM from "../BMStream/BMStreamModelVM";
|
|
7
|
-
import { Device, VideoProfile } from
|
|
8
|
-
import BMRoomInfo from
|
|
9
|
-
import { BehaviorSubject, Subject } from
|
|
10
|
-
import BMStreamModel, { ConnectErrorMessage } from
|
|
11
|
-
import BMUser from
|
|
12
|
-
import BMLiveVM from
|
|
7
|
+
import { Device, VideoProfile } from "@hysc/core/esm/BoomAdapter/type/value";
|
|
8
|
+
import BMRoomInfo from "./BMRoomInfo";
|
|
9
|
+
import { BehaviorSubject, Subject } from "rxjs";
|
|
10
|
+
import BMStreamModel, { ConnectErrorMessage } from "../BMStream/BMStreamModel";
|
|
11
|
+
import BMUser from "../BMUser/BMUser";
|
|
12
|
+
import BMLiveVM from "./BMLiveVM";
|
|
13
13
|
import SingletonQueue, { PullItem } from "../SingletonQueue/SingletonQueue";
|
|
14
14
|
import AudioPlay from "../audioPlay/AudioPlay";
|
|
15
15
|
interface BMRoomProps {
|
|
@@ -548,6 +548,8 @@ export default class BMRoom {
|
|
|
548
548
|
/**
|
|
549
549
|
* 发送聊天室消息
|
|
550
550
|
* @param msg
|
|
551
|
+
* @param userId
|
|
552
|
+
* @param lostNet
|
|
551
553
|
*/
|
|
552
554
|
sendChatMessage(msg: string, userId: string | undefined, lostNet: boolean): Promise<any>;
|
|
553
555
|
/**
|
|
@@ -627,7 +629,6 @@ export default class BMRoom {
|
|
|
627
629
|
/**
|
|
628
630
|
* 处理流出现connect-error的逻辑,本地流需要重新推流,远端流需要重新拉流
|
|
629
631
|
* @param event
|
|
630
|
-
* @param failed
|
|
631
632
|
*/
|
|
632
633
|
private handleStreamConnectError;
|
|
633
634
|
/**
|
|
@@ -163,7 +163,7 @@ export default class BMStreamModelVM {
|
|
|
163
163
|
* @private
|
|
164
164
|
*/
|
|
165
165
|
private createStreamAndPublish;
|
|
166
|
-
publishBloudStream(audio: boolean, video: boolean): void
|
|
166
|
+
publishBloudStream(audio: boolean, video: boolean): Promise<void>;
|
|
167
167
|
muteHandler(type: 'video' | 'audio'): Promise<void>;
|
|
168
168
|
unpublishStream(): Promise<void>;
|
|
169
169
|
/**
|
|
@@ -186,7 +186,7 @@ export default class BMStreamModelVM {
|
|
|
186
186
|
* @param opts.contentHint 视频的contentHint 可选值: '' | 'motion' | 'detail' | 'text'
|
|
187
187
|
*/
|
|
188
188
|
toggleShareScreen(enable: boolean, opts: any, customShare?: Result): Promise<boolean>;
|
|
189
|
-
setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'):
|
|
189
|
+
setShareScreenContentHint(contentHint: '' | 'motion' | 'detail' | 'text'): void;
|
|
190
190
|
updateModelSort: any;
|
|
191
191
|
handleNoContainer: (info: NoPlayerContainer) => void;
|
|
192
192
|
/**
|