@hysc/meeting 6.1.22 → 6.1.24

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.
@@ -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: any;
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: any;
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>;