@hysc/meeting 5.0.55 → 5.0.56

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.
@@ -297,7 +297,7 @@ export default class BMRoom {
297
297
  audio: boolean;
298
298
  videoSource?: MediaStreamTrack | undefined;
299
299
  audioSource?: MediaStreamTrack | undefined;
300
- } | undefined, sid: string): Promise<any>;
300
+ } | undefined, sid: string): Promise<SingleLocalStream>;
301
301
  /**
302
302
  * 这个方法只是为了生成brtc的流,目的是在用户只打开音频的情况下,然后在打开视频的时候,去创建一个只有视频的track的流
303
303
  * @param options
@@ -358,7 +358,7 @@ export default class BMRoom {
358
358
  * @param stream 创建的本地流对象
359
359
  * @return
360
360
  */
361
- publish(stream: SingleLocalStream): Promise<any>;
361
+ publish(stream: SingleLocalStream): Promise<unknown>;
362
362
  /**
363
363
  * 取消发布本地流。
364
364
  * 取消发布本地流后远端会收到 'participant-unpublished' 事件通知。