@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.
@@ -110,7 +110,10 @@ export declare enum StreamErrorMap {
110
110
  micOccupy = 1319,
111
111
  streamDisconnected = 1320,
112
112
  syncFail = 1321,
113
- getStreamFail = 1322
113
+ getStreamFail = 1322,
114
+ streamConnectError = 1323,
115
+ streamReconnectSuccess = 1324,
116
+ streamReconnectFailed = 1325
114
117
  }
115
118
  export declare const BMCreateStreamError: (message: string) => BoomError;
116
119
  export declare const getStreamError: (message: string) => BoomError;
@@ -125,3 +128,6 @@ export declare const BMMicNotAuthError: () => BoomError;
125
128
  export declare const BMMicOccupyError: () => BoomError;
126
129
  export declare const BMStreamDisconnectedError: (type: string) => BoomError;
127
130
  export declare const BmSyncStreamFailError: () => BoomError;
131
+ export declare const BMStreamConnectError: () => BoomError;
132
+ export declare const BMStreamReconnectSuccess: () => BoomError;
133
+ export declare const BMStreamReconnectFailed: () => BoomError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hysc/meeting",
3
- "version": "5.0.55",
3
+ "version": "5.0.56",
4
4
  "description": "boom meeting",
5
5
  "main": "umd/index.js",
6
6
  "module": "esm/index.js",
@@ -14,7 +14,7 @@
14
14
  "author": "yangliye",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@hysc/core": "5.0.53",
17
+ "@hysc/core": "5.0.54",
18
18
  "@hysc/logger": "1.0.0",
19
19
  "lodash-es": "^4.17.21",
20
20
  "mitt": "^3.0.0",
@@ -24,7 +24,7 @@
24
24
  "@hysc/utils": "1.2.4"
25
25
  },
26
26
  "peerDependencies": {
27
- "@hysc/core": "5.0.53"
27
+ "@hysc/core": "5.0.54"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/lodash-es": "^4.17.6"
@@ -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' 事件通知。