@hysc/meeting 5.0.53 → 5.0.55
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/BMStream/BMStreamModelVM.d.ts +10 -8
- package/esm/index.js +3 -3
- package/esm/index.js.map +3 -3
- package/esm/src/BMStream/BMStreamModelVM.d.ts +10 -8
- package/esm/utils/ErrorTypes.d.ts +28 -0
- package/package.json +4 -4
- package/umd/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +10 -8
- package/umd/index.js +3 -3
- package/umd/utils/ErrorTypes.d.ts +28 -0
|
@@ -15,15 +15,16 @@
|
|
|
15
15
|
*/
|
|
16
16
|
/// <reference types="node" />
|
|
17
17
|
import BMStreamModel, { NoPlayerContainer } from "./BMStreamModel";
|
|
18
|
-
import BMUser from
|
|
19
|
-
import { SingleLocalStream, SingleRemoteStream, SingleStream } from
|
|
20
|
-
import BMRoom from
|
|
21
|
-
import { BehaviorSubject, Subject } from
|
|
22
|
-
import
|
|
23
|
-
import
|
|
18
|
+
import BMUser from "../BMUser/BMUser";
|
|
19
|
+
import { SingleLocalStream, SingleRemoteStream, SingleStream } from "../type";
|
|
20
|
+
import BMRoom from "../BMRoom/BMRoom";
|
|
21
|
+
import { BehaviorSubject, Subject } from "rxjs";
|
|
22
|
+
import BoomError from "../error/RTCError";
|
|
23
|
+
import { Device } from "@hysc/core/esm/BoomAdapter/type/value";
|
|
24
|
+
import BMSpeaker from "./BMSpeaker";
|
|
24
25
|
import { ShareMediaOptions } from "@hysc/core/esm/BoomCore/BCClient/BCClient";
|
|
25
|
-
import { getHTMLMediaStreamOptions,
|
|
26
|
-
import { BloudStream } from
|
|
26
|
+
import { getHTMLMediaStreamOptions, getMediaStreamInfo, Result } from "./getHTMLMediaStreamOptions";
|
|
27
|
+
import { BloudStream } from "@hysc/core";
|
|
27
28
|
export declare function transShareScreen2User(userId: string): string;
|
|
28
29
|
export default class BMStreamModelVM {
|
|
29
30
|
streamModels: Map<string, BMStreamModel>;
|
|
@@ -73,6 +74,7 @@ export default class BMStreamModelVM {
|
|
|
73
74
|
* 窗口没有大窗口播放容器的错误处理
|
|
74
75
|
*/
|
|
75
76
|
noBigContainerWatcher: Subject<BMStreamModel>;
|
|
77
|
+
localStreamConnectErrorWatcher: Subject<BoomError>;
|
|
76
78
|
constructor();
|
|
77
79
|
private static filterStreamModels;
|
|
78
80
|
initWithRoom(room: BMRoom): this;
|
|
@@ -97,3 +97,31 @@ export declare const BmUpdateCustomStatsError: (msg: string) => BoomError;
|
|
|
97
97
|
export declare const BmChangeVideoProfileError: (msg: string) => BoomError;
|
|
98
98
|
export declare const BmChangeAudioProfileError: (msg: string) => BoomError;
|
|
99
99
|
export declare const BmCheckDeviceError: (msg: string) => BoomError;
|
|
100
|
+
export declare enum StreamErrorMap {
|
|
101
|
+
createStream = 1302,
|
|
102
|
+
noCameraDevice = 1303,
|
|
103
|
+
noMicroDevice = 1304,
|
|
104
|
+
noSpeakerDevice = 1305,
|
|
105
|
+
openCamera = 1301,
|
|
106
|
+
cameraNotAuth = 1314,
|
|
107
|
+
cameraOccupy = 1315,
|
|
108
|
+
openMicro = 1302,
|
|
109
|
+
micNotAuth = 1317,
|
|
110
|
+
micOccupy = 1319,
|
|
111
|
+
streamDisconnected = 1320,
|
|
112
|
+
syncFail = 1321,
|
|
113
|
+
getStreamFail = 1322
|
|
114
|
+
}
|
|
115
|
+
export declare const BMCreateStreamError: (message: string) => BoomError;
|
|
116
|
+
export declare const getStreamError: (message: string) => BoomError;
|
|
117
|
+
export declare const BMNoCameraError: () => BoomError;
|
|
118
|
+
export declare const BMNoMicroError: () => BoomError;
|
|
119
|
+
export declare const BMNoSpeakerError: () => BoomError;
|
|
120
|
+
export declare const BMOpenCameraError: () => BoomError;
|
|
121
|
+
export declare const BMCameraNotAuthError: () => BoomError;
|
|
122
|
+
export declare const BMCameraOccupyError: () => BoomError;
|
|
123
|
+
export declare const BMOpenMicroError: () => BoomError;
|
|
124
|
+
export declare const BMMicNotAuthError: () => BoomError;
|
|
125
|
+
export declare const BMMicOccupyError: () => BoomError;
|
|
126
|
+
export declare const BMStreamDisconnectedError: (type: string) => BoomError;
|
|
127
|
+
export declare const BmSyncStreamFailError: () => BoomError;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hysc/meeting",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.55",
|
|
4
4
|
"description": "boom meeting",
|
|
5
5
|
"main": "umd/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
"author": "yangliye",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@hysc/core": "5.0.
|
|
17
|
+
"@hysc/core": "5.0.53",
|
|
18
18
|
"@hysc/logger": "1.0.0",
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"mitt": "^3.0.0",
|
|
21
21
|
"@hysc/p-queue": "6.3.0",
|
|
22
22
|
"rxjs": "^7.5.5",
|
|
23
23
|
"typescript": "^4.6.3",
|
|
24
|
-
"@hysc/utils": "1.2.
|
|
24
|
+
"@hysc/utils": "1.2.4"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@hysc/core": "5.0.
|
|
27
|
+
"@hysc/core": "5.0.53"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/lodash-es": "^4.17.6"
|
|
@@ -15,15 +15,16 @@
|
|
|
15
15
|
*/
|
|
16
16
|
/// <reference types="node" />
|
|
17
17
|
import BMStreamModel, { NoPlayerContainer } from "./BMStreamModel";
|
|
18
|
-
import BMUser from
|
|
19
|
-
import { SingleLocalStream, SingleRemoteStream, SingleStream } from
|
|
20
|
-
import BMRoom from
|
|
21
|
-
import { BehaviorSubject, Subject } from
|
|
22
|
-
import
|
|
23
|
-
import
|
|
18
|
+
import BMUser from "../BMUser/BMUser";
|
|
19
|
+
import { SingleLocalStream, SingleRemoteStream, SingleStream } from "../type";
|
|
20
|
+
import BMRoom from "../BMRoom/BMRoom";
|
|
21
|
+
import { BehaviorSubject, Subject } from "rxjs";
|
|
22
|
+
import BoomError from "../error/RTCError";
|
|
23
|
+
import { Device } from "@hysc/core/esm/BoomAdapter/type/value";
|
|
24
|
+
import BMSpeaker from "./BMSpeaker";
|
|
24
25
|
import { ShareMediaOptions } from "@hysc/core/esm/BoomCore/BCClient/BCClient";
|
|
25
|
-
import { getHTMLMediaStreamOptions,
|
|
26
|
-
import { BloudStream } from
|
|
26
|
+
import { getHTMLMediaStreamOptions, getMediaStreamInfo, Result } from "./getHTMLMediaStreamOptions";
|
|
27
|
+
import { BloudStream } from "@hysc/core";
|
|
27
28
|
export declare function transShareScreen2User(userId: string): string;
|
|
28
29
|
export default class BMStreamModelVM {
|
|
29
30
|
streamModels: Map<string, BMStreamModel>;
|
|
@@ -73,6 +74,7 @@ export default class BMStreamModelVM {
|
|
|
73
74
|
* 窗口没有大窗口播放容器的错误处理
|
|
74
75
|
*/
|
|
75
76
|
noBigContainerWatcher: Subject<BMStreamModel>;
|
|
77
|
+
localStreamConnectErrorWatcher: Subject<BoomError>;
|
|
76
78
|
constructor();
|
|
77
79
|
private static filterStreamModels;
|
|
78
80
|
initWithRoom(room: BMRoom): this;
|