quickvo-sdk-js 1.3.1 → 1.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/iceState.d.ts +16 -0
- package/dist/enums/notifyName.d.ts +3 -2
- package/dist/index.js +18405 -17709
- package/dist/index.umd.cjs +4 -4
- package/dist/protos/compiled.d.ts +242 -0
- package/dist/room/CallsWebSocket.d.ts +13 -2
- package/dist/room/P2P.d.ts +102 -19
- package/dist/room/PrResolves.d.ts +9 -0
- package/dist/room/RoomBase.d.ts +8 -0
- package/dist/room/RoomCalls.d.ts +7 -3
- package/dist/room/RoomMedias.d.ts +1 -1
- package/dist/room/RoomPeer.d.ts +5 -9
- package/dist/types.d.ts +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const enum_iceState: {
|
|
2
|
+
readonly connecting: "连接中";
|
|
3
|
+
readonly connected: "已连接";
|
|
4
|
+
readonly disconnected: "已断开";
|
|
5
|
+
readonly failed: "连接错误";
|
|
6
|
+
readonly closed: "已关闭";
|
|
7
|
+
};
|
|
8
|
+
export type T_iceState = typeof enum_iceState;
|
|
9
|
+
export type K_iceState = keyof T_iceState;
|
|
10
|
+
export type V_iceState = T_iceState[K_iceState];
|
|
11
|
+
export declare const iceState_options: {
|
|
12
|
+
value: any;
|
|
13
|
+
label: any;
|
|
14
|
+
}[];
|
|
15
|
+
export declare const iceState_keys: (keyof typeof enum_iceState)[];
|
|
16
|
+
export declare const iceState_vals: ("连接中" | "已连接" | "已断开" | "连接错误" | "已关闭")[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const enum_notifyName: {
|
|
2
2
|
readonly onChangeNetwork: "网络情况变更";
|
|
3
|
-
readonly healthCheck: "心跳检测";
|
|
4
3
|
readonly onNetQuality: "网络质量回调";
|
|
5
4
|
readonly onLogin: "登录回调";
|
|
6
5
|
readonly onLocalStream: "本地媒体流发生变化";
|
|
@@ -9,6 +8,7 @@ export declare const enum_notifyName: {
|
|
|
9
8
|
readonly onRoomUsers: "房间所有用户所有变化";
|
|
10
9
|
readonly onRoomUsersStreams: "房间某些用户媒体流变化";
|
|
11
10
|
readonly onRoomState: "房间状态变化";
|
|
11
|
+
readonly onIceState: "webrtc状态变化";
|
|
12
12
|
readonly onJoinRoom: "加入房间回调";
|
|
13
13
|
readonly onQuitRoom: "退出房间回调";
|
|
14
14
|
readonly onPublish: "监听到流发布";
|
|
@@ -16,6 +16,7 @@ export declare const enum_notifyName: {
|
|
|
16
16
|
readonly onCloseTrack: "关闭轨道";
|
|
17
17
|
readonly onUpdateCall: "更新通讯状态";
|
|
18
18
|
readonly onUpdateStreams: "更新媒体流";
|
|
19
|
+
readonly onTrackInactive: "通知轨道失效";
|
|
19
20
|
readonly onAttemptP2PReq: "尝试与对方建立P2P连接";
|
|
20
21
|
readonly onOffer: "收到P2P-offer";
|
|
21
22
|
readonly onAnswer: "收到P2P-answer";
|
|
@@ -36,4 +37,4 @@ export declare const notifyName_options: {
|
|
|
36
37
|
label: any;
|
|
37
38
|
}[];
|
|
38
39
|
export declare const notifyName_keys: (keyof typeof enum_notifyName)[];
|
|
39
|
-
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "
|
|
40
|
+
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "网络质量回调" | "登录回调" | "本地媒体流发生变化" | "媒体设备发生变化" | "房间用户变化" | "房间所有用户所有变化" | "房间某些用户媒体流变化" | "房间状态变化" | "webrtc状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "监听数据通道发布" | "更新通讯状态" | "更新媒体流" | "通知轨道失效" | "尝试与对方建立P2P连接" | "收到P2P-offer" | "收到P2P-answer" | "收到P2P候选信息-candidate" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "行为允许权限变更" | "服务器要求销毁房间" | "cdn播放地址变化" | "SDK销毁")[];
|