quickvo-sdk-js 1.3.0 → 1.3.1
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 +6 -1
- package/dist/enums/notifyName.d.ts +5 -1
- package/dist/index.js +19125 -17649
- package/dist/index.umd.cjs +4 -4
- package/dist/protos/compiled.d.ts +5946 -5468
- package/dist/room/P2P.d.ts +58 -8
- package/dist/room/RoomCalls.d.ts +22 -0
- package/dist/room/RoomUsers.d.ts +6 -1
- package/dist/types.d.ts +4 -0
- package/package.json +3 -2
|
@@ -2,6 +2,9 @@ export declare const enum_eventName: {
|
|
|
2
2
|
readonly connectCF: "连接CF";
|
|
3
3
|
readonly publish: "发布流";
|
|
4
4
|
readonly subscribe: "订阅流";
|
|
5
|
+
readonly offer: "发送P2P-offer";
|
|
6
|
+
readonly answer: "回应P2P-answer";
|
|
7
|
+
readonly candidate: "发送P2P候选信息-candidate";
|
|
5
8
|
readonly subChannel: "订阅数据通道";
|
|
6
9
|
readonly pubChannel: "发布数据通道";
|
|
7
10
|
readonly renegotiate: "协商流";
|
|
@@ -17,6 +20,8 @@ export declare const enum_eventName: {
|
|
|
17
20
|
readonly heartbeat: "心跳";
|
|
18
21
|
readonly heartbeatEx: "慢心跳";
|
|
19
22
|
readonly ackMsg: "确认收到消息";
|
|
23
|
+
readonly reportNetwork: "上报网络类型";
|
|
24
|
+
readonly reportP2PConnect: "上报P2P连接结果";
|
|
20
25
|
readonly debugger: "调试";
|
|
21
26
|
readonly shutdown: "清除缓存";
|
|
22
27
|
readonly login: "登录";
|
|
@@ -30,4 +35,4 @@ export declare const eventName_options: {
|
|
|
30
35
|
label: any;
|
|
31
36
|
}[];
|
|
32
37
|
export declare const eventName_keys: (keyof typeof enum_eventName)[];
|
|
33
|
-
export declare const eventName_vals: ("连接CF" | "发布流" | "订阅流" | "订阅数据通道" | "发布数据通道" | "协商流" | "关闭轨道" | "加入房间" | "加入房间(提前建连)" | "阻止用户行为" | "更新网络状态" | "更新通话状态" | "同步房间" | "退出房间" | "退出房间不断开连接" | "心跳" | "慢心跳" | "确认收到消息" | "调试" | "清除缓存" | "登录" | "webrtc发布状态正常")[];
|
|
38
|
+
export declare const eventName_vals: ("连接CF" | "发布流" | "订阅流" | "发送P2P-offer" | "回应P2P-answer" | "发送P2P候选信息-candidate" | "订阅数据通道" | "发布数据通道" | "协商流" | "关闭轨道" | "加入房间" | "加入房间(提前建连)" | "阻止用户行为" | "更新网络状态" | "更新通话状态" | "同步房间" | "退出房间" | "退出房间不断开连接" | "心跳" | "慢心跳" | "确认收到消息" | "上报网络类型" | "上报P2P连接结果" | "调试" | "清除缓存" | "登录" | "webrtc发布状态正常")[];
|
|
@@ -16,6 +16,10 @@ export declare const enum_notifyName: {
|
|
|
16
16
|
readonly onCloseTrack: "关闭轨道";
|
|
17
17
|
readonly onUpdateCall: "更新通讯状态";
|
|
18
18
|
readonly onUpdateStreams: "更新媒体流";
|
|
19
|
+
readonly onAttemptP2PReq: "尝试与对方建立P2P连接";
|
|
20
|
+
readonly onOffer: "收到P2P-offer";
|
|
21
|
+
readonly onAnswer: "收到P2P-answer";
|
|
22
|
+
readonly onCandidate: "收到P2P候选信息-candidate";
|
|
19
23
|
readonly onUpdatePermissions: "更新推流权限通知";
|
|
20
24
|
readonly onTokenExpired: "Token已过期";
|
|
21
25
|
readonly onDestroyRoom: "直播模式房间销毁";
|
|
@@ -32,4 +36,4 @@ export declare const notifyName_options: {
|
|
|
32
36
|
label: any;
|
|
33
37
|
}[];
|
|
34
38
|
export declare const notifyName_keys: (keyof typeof enum_notifyName)[];
|
|
35
|
-
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "心跳检测" | "网络质量回调" | "登录回调" | "本地媒体流发生变化" | "媒体设备发生变化" | "房间用户变化" | "房间所有用户所有变化" | "房间某些用户媒体流变化" | "房间状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "监听数据通道发布" | "更新通讯状态" | "更新媒体流" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "行为允许权限变更" | "服务器要求销毁房间" | "cdn播放地址变化" | "SDK销毁")[];
|
|
39
|
+
export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "心跳检测" | "网络质量回调" | "登录回调" | "本地媒体流发生变化" | "媒体设备发生变化" | "房间用户变化" | "房间所有用户所有变化" | "房间某些用户媒体流变化" | "房间状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "监听数据通道发布" | "更新通讯状态" | "更新媒体流" | "尝试与对方建立P2P连接" | "收到P2P-offer" | "收到P2P-answer" | "收到P2P候选信息-candidate" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "行为允许权限变更" | "服务器要求销毁房间" | "cdn播放地址变化" | "SDK销毁")[];
|