quickvo-sdk-js 0.3.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/dist/enums/eventName.d.ts +3 -1
- package/dist/enums/notifyName.d.ts +2 -2
- package/dist/enums/roomState.d.ts +3 -2
- package/dist/index.js +4898 -4130
- package/dist/index.umd.cjs +2 -2
- package/dist/protos/compiled.d.ts +685 -115
- package/dist/room/CallsWebSocket.d.ts +5 -4
- package/dist/room/RoomBase.d.ts +8 -5
- package/dist/room/RoomCalls.d.ts +26 -9
- package/dist/room/RoomMedias.d.ts +4 -7
- package/dist/room/RoomPeer.d.ts +25 -9
- package/dist/room/mediaStreams/VideoMediaContext.d.ts +1 -0
- package/dist/tools.d.ts +2 -0
- package/package.json +3 -3
|
@@ -8,7 +8,9 @@ export declare const enum_eventName: {
|
|
|
8
8
|
readonly publish: "发布流";
|
|
9
9
|
readonly connectCF: "连接CF";
|
|
10
10
|
readonly quitRoom: "退出房间";
|
|
11
|
+
readonly quitRoomEx: "退出房间不断开连接";
|
|
11
12
|
readonly joinRoom: "加入房间";
|
|
13
|
+
readonly joinRoomEx: "加入房间(提前建连)";
|
|
12
14
|
readonly login: "登录";
|
|
13
15
|
readonly debugger: "调试";
|
|
14
16
|
readonly pubNotify: "webrtc发布状态正常";
|
|
@@ -22,4 +24,4 @@ export declare const eventName_options: {
|
|
|
22
24
|
label: any;
|
|
23
25
|
}[];
|
|
24
26
|
export declare const eventName_keys: (keyof typeof enum_eventName)[];
|
|
25
|
-
export declare const eventName_vals: ("更新网络状态" | "更新通话状态" | "同步房间" | "关闭轨道" | "协商流" | "订阅流" | "发布流" | "连接CF" | "退出房间" | "加入房间" | "登录" | "调试" | "webrtc发布状态正常" | "心跳")[];
|
|
27
|
+
export declare const eventName_vals: ("更新网络状态" | "更新通话状态" | "同步房间" | "关闭轨道" | "协商流" | "订阅流" | "发布流" | "连接CF" | "退出房间" | "退出房间不断开连接" | "加入房间" | "加入房间(提前建连)" | "登录" | "调试" | "webrtc发布状态正常" | "心跳")[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const enum_notifyName: {
|
|
2
2
|
readonly onChangeNetwork: "网络情况变更";
|
|
3
|
-
readonly onRoomNetwork: "房间网络情况变更";
|
|
4
3
|
readonly healthCheck: "心跳检测";
|
|
5
4
|
readonly onNetQuality: "网络质量回调";
|
|
6
5
|
readonly onLogin: "登录回调";
|
|
@@ -20,6 +19,7 @@ export declare const enum_notifyName: {
|
|
|
20
19
|
readonly onTokenExpired: "Token已过期";
|
|
21
20
|
readonly onDestroyRoom: "直播模式房间销毁";
|
|
22
21
|
readonly destroyRoom: "服务器要求销毁房间";
|
|
22
|
+
readonly onCDNPlayUrlAdd: "cdn播放地址变化";
|
|
23
23
|
readonly onDestroy: "SDK销毁";
|
|
24
24
|
};
|
|
25
25
|
export type T_notifyName = typeof enum_notifyName;
|
|
@@ -30,4 +30,4 @@ export declare const notifyName_options: {
|
|
|
30
30
|
label: any;
|
|
31
31
|
}[];
|
|
32
32
|
export declare const notifyName_keys: (keyof typeof enum_notifyName)[];
|
|
33
|
-
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "
|
|
33
|
+
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "心跳检测" | "网络质量回调" | "登录回调" | "本地媒体流发生变化" | "媒体设备发生变化" | "房间用户变化" | "房间所有用户所有变化" | "房间某些用户媒体流变化" | "房间状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "更新通讯状态" | "更新媒体流" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "服务器要求销毁房间" | "cdn播放地址变化" | "SDK销毁")[];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export declare const enum_roomState: {
|
|
2
2
|
readonly ready: "已就绪";
|
|
3
3
|
readonly checkAuth: "正在鉴权";
|
|
4
|
-
readonly
|
|
4
|
+
readonly connecting: "连接中";
|
|
5
5
|
readonly connected: "已连接";
|
|
6
6
|
readonly reconnect: "正在重新连接";
|
|
7
7
|
readonly disconnected: "已断开";
|
|
8
|
+
readonly closed: "已关闭";
|
|
8
9
|
};
|
|
9
10
|
export type T_roomState = typeof enum_roomState;
|
|
10
11
|
export type K_roomState = keyof T_roomState;
|
|
@@ -14,4 +15,4 @@ export declare const roomState_options: {
|
|
|
14
15
|
label: any;
|
|
15
16
|
}[];
|
|
16
17
|
export declare const roomState_keys: (keyof typeof enum_roomState)[];
|
|
17
|
-
export declare const roomState_vals: ("已就绪" | "正在鉴权" | "连接中" | "已连接" | "正在重新连接" | "已断开")[];
|
|
18
|
+
export declare const roomState_vals: ("已就绪" | "正在鉴权" | "连接中" | "已连接" | "正在重新连接" | "已断开" | "已关闭")[];
|