@hysc/meeting 0.2.0 → 0.4.0
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 +9 -6
- package/esm/boom-meeting/src/BMRoom/BMRoom.d.ts +622 -0
- package/esm/boom-meeting/src/BMRoom/BMRoomInfo.d.ts +189 -147
- package/esm/boom-meeting/src/BMRoom/BMRoomVM.d.ts +283 -0
- package/esm/boom-meeting/src/BMRoom/attachEvents.d.ts +27 -0
- package/esm/boom-meeting/src/BMStream/BMStreamModel.d.ts +1 -1
- package/esm/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +30 -10
- package/esm/boom-meeting/src/BMUser/BMUser.d.ts +3 -3
- package/esm/boom-meeting/src/BMUser/BMUserVM.d.ts +33 -7
- package/esm/boom-meeting/src/error/RTCError.d.ts +20 -0
- package/esm/boom-meeting/src/error/errorType.d.ts +96 -96
- package/esm/boom-meeting/src/index.d.ts +2 -0
- package/esm/boom-meeting/src/logger/logger.d.ts +86 -86
- package/esm/boom-meeting/src/type/stream.d.ts +5 -5
- package/esm/boom-meeting/src/util/Pqueue.d.ts +61 -0
- package/esm/boom-meeting/src/util/constant.d.ts +67 -0
- package/esm/index.js +17 -63545
- package/esm/index.js.map +2 -2
- package/package.json +4 -5
- package/umd/boom-meeting/src/BMChat/BMChatVM.d.ts +24 -0
- package/umd/boom-meeting/src/BMRoom/BMRoom.d.ts +622 -0
- package/umd/boom-meeting/src/BMRoom/BMRoomVM.d.ts +283 -0
- package/umd/boom-meeting/src/BMRoom/attachEvents.d.ts +27 -0
- package/umd/boom-meeting/src/BMStream/BMStreamModel.d.ts +1 -1
- package/umd/boom-meeting/src/BMStream/BMStreamModelVM.d.ts +233 -0
- package/umd/boom-meeting/src/BMUser/BMUser.d.ts +147 -0
- package/umd/boom-meeting/src/BMUser/BMUserVM.d.ts +137 -0
- package/umd/boom-meeting/src/type/stream.d.ts +5 -5
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file 为了压缩,定义的常量
|
|
3
|
+
* @author zhaogaoxing
|
|
4
|
+
*/
|
|
5
|
+
export declare const TRUE = true;
|
|
6
|
+
export declare const FALSE = false;
|
|
7
|
+
export declare const NULL: null;
|
|
8
|
+
export declare const UNDEFINED: undefined;
|
|
9
|
+
export declare const MINUS_ONE = -1;
|
|
10
|
+
export declare const RAW_TRUE = "true";
|
|
11
|
+
export declare const RAW_FALSE = "false";
|
|
12
|
+
export declare const RAW_NULL = "null";
|
|
13
|
+
export declare const RAW_UNDEFINED = "undefined";
|
|
14
|
+
export declare const RAW_THIS = "this";
|
|
15
|
+
export declare const RAW_VALUE = "value";
|
|
16
|
+
export declare const RAW_LENGTH = "length";
|
|
17
|
+
export declare const RAW_FUNCTION = "function";
|
|
18
|
+
export declare const RAW_WILDCARD = "*";
|
|
19
|
+
export declare const RAW_DOT = ".";
|
|
20
|
+
export declare const RAW_SLASH = "/";
|
|
21
|
+
export declare const RAW_TAG = "tag";
|
|
22
|
+
export declare const KEYPATH_PARENT = "..";
|
|
23
|
+
export declare const KEYPATH_CURRENT = "this";
|
|
24
|
+
/**
|
|
25
|
+
* Single instance for window in browser
|
|
26
|
+
*/
|
|
27
|
+
export declare const WINDOW: (Window & typeof globalThis) | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Single instance for document in browser
|
|
30
|
+
*/
|
|
31
|
+
export declare const DOCUMENT: Document | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Single instance for global in nodejs or browser
|
|
34
|
+
*/
|
|
35
|
+
export declare const GLOBAL: typeof globalThis | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Single instance for noop function
|
|
38
|
+
*/
|
|
39
|
+
export declare const EMPTY_FUNCTION: () => void;
|
|
40
|
+
/**
|
|
41
|
+
* 空对象,很多地方会用到,比如 `a || EMPTY_OBJECT` 确保是个对象
|
|
42
|
+
*/
|
|
43
|
+
export declare const EMPTY_OBJECT: Readonly<{}>;
|
|
44
|
+
/**
|
|
45
|
+
* 空数组
|
|
46
|
+
*/
|
|
47
|
+
export declare const EMPTY_ARRAY: readonly never[];
|
|
48
|
+
/**
|
|
49
|
+
* 空字符串
|
|
50
|
+
*/
|
|
51
|
+
export declare const EMPTY_STRING = "";
|
|
52
|
+
export declare const WEBRTC_TYPE_VLOUD = 0;
|
|
53
|
+
export declare const WEBRTC_TYPE_TENCENT = 1;
|
|
54
|
+
export declare const PRODUCTION = "production";
|
|
55
|
+
export declare const BETA = "beta";
|
|
56
|
+
export declare const DEVELOPMENT = "development";
|
|
57
|
+
export declare const LOGGER_TAG_CLIENT = "c";
|
|
58
|
+
export declare const LOGGER_TAG_STREAM = "s";
|
|
59
|
+
export declare const LOGGER_TAG_SIGNAL = "g";
|
|
60
|
+
export declare const LOGGER_TAG_PLAYER = "p";
|
|
61
|
+
export declare const MEDIA_TYPE_CAMERA = "videoinput";
|
|
62
|
+
export declare const MEDIA_TYPE_MIC = "audioinput";
|
|
63
|
+
export declare const MEDIA_TYPE_SPEAKER = "audiooutput";
|
|
64
|
+
export declare const ROOM_CHANNEL_TYPE_WS = 0;
|
|
65
|
+
export declare const ROOM_CHANNEL_TYPE_DC = 1;
|
|
66
|
+
export declare const SING_MODE = 1;
|
|
67
|
+
export declare const MIX_MODE = 2;
|