@hysc/meeting 6.1.21 → 6.1.23
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/BMChat/BMChatVM.d.ts +2 -1
- package/esm/boom-meeting/src/BMRoom/BMRoom.d.ts +718 -0
- package/esm/boom-meeting/src/BMStream/BMStreamModel.d.ts +6 -5
- package/esm/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +2 -1
- package/esm/boom-meeting/src/BMUser/BMUserVM.d.ts +4 -3
- package/esm/boom-meeting/src/handleEvent/handleParticipantEvent.d.ts +2 -1
- package/esm/boom-meeting/src/handleEvent/streamEvent.d.ts +2 -1
- package/esm/index.js +3 -3
- package/esm/src/BMChat/BMChatVM.d.ts +2 -1
- package/esm/src/BMRoom/BMRoom.d.ts +718 -715
- package/esm/src/BMStream/BMStreamModel.d.ts +6 -5
- package/esm/src/BMStream/BMStreamModelVM.d.ts +2 -1
- package/esm/src/BMUser/BMUserVM.d.ts +4 -3
- package/esm/src/handleEvent/handleParticipantEvent.d.ts +2 -1
- package/esm/src/handleEvent/streamEvent.d.ts +2 -1
- package/package.json +6 -6
- package/umd/boom-meeting/src/BMChat/BMChatVM.d.ts +2 -1
- package/umd/boom-meeting/src/BMRoom/BMRoom.d.ts +718 -0
- package/umd/boom-meeting/src/BMStream/BMStreamModel.d.ts +6 -5
- package/umd/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +2 -1
- package/umd/boom-meeting/src/BMUser/BMUserVM.d.ts +4 -3
- package/umd/boom-meeting/src/handleEvent/handleParticipantEvent.d.ts +2 -1
- package/umd/boom-meeting/src/handleEvent/streamEvent.d.ts +2 -1
- package/umd/index.js +3 -3
- package/umd/src/BMRoom/BMRoom.d.ts +5 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
import BoomCore from "@hysc/core";
|
|
2
3
|
import BMRoomVM, { AudioProfileInfo } from "./BMRoomVM";
|
|
3
4
|
import BMUserVM from "../BMUser/BMUserVM";
|
|
@@ -12,6 +13,7 @@ import BMUser from "../BMUser/BMUser";
|
|
|
12
13
|
import BMLiveVM from "./BMLiveVM";
|
|
13
14
|
import SingletonQueue, { PullItem } from "../SingletonQueue/SingletonQueue";
|
|
14
15
|
import AudioPlay from "../audioPlay/AudioPlay";
|
|
16
|
+
import type { StreamConfig } from "@hysc/core";
|
|
15
17
|
interface BMRoomProps {
|
|
16
18
|
initDevices: boolean;
|
|
17
19
|
}
|
|
@@ -90,6 +92,7 @@ export default class BMRoom {
|
|
|
90
92
|
*/
|
|
91
93
|
videoEncodeConfig: VideoEncodeConfig | null;
|
|
92
94
|
voiceMode: string;
|
|
95
|
+
setStreamConfig(config: StreamConfig): void;
|
|
93
96
|
setVoiceMode(mode: VoiceMode): void;
|
|
94
97
|
/**
|
|
95
98
|
* brtc断网重连要给端上事件响应,所有端上把流单独做处理的,需要在收到这个事件之后,重新处理所有的effect
|
|
@@ -658,7 +661,7 @@ export default class BMRoom {
|
|
|
658
661
|
* @param event
|
|
659
662
|
*/
|
|
660
663
|
private handleStreamConnectError;
|
|
661
|
-
republishLocalStream:
|
|
664
|
+
republishLocalStream: import("lodash").DebouncedFunc<(stream: SingleLocalStream) => Promise<void>>;
|
|
662
665
|
/**
|
|
663
666
|
* 设置用户禁止/允许发言
|
|
664
667
|
* @param bmUser
|
|
@@ -706,7 +709,7 @@ export default class BMRoom {
|
|
|
706
709
|
handleResetOtherStreamStatus(): void;
|
|
707
710
|
addUser2Queue(pullItem: PullItem): Promise<void>;
|
|
708
711
|
processUser: (uIds: Map<string, PullItem>) => Promise<void>;
|
|
709
|
-
queueProcessor:
|
|
712
|
+
queueProcessor: import("lodash").DebouncedFunc<(uIds: Map<string, PullItem>) => Promise<void>>;
|
|
710
713
|
queryBrtcStreams(uids: string[]): Promise<any>;
|
|
711
714
|
handleAddStreams(streams: SingleRemoteStream[]): void;
|
|
712
715
|
getForceUser(forceId: string): Promise<void>;
|