quickvo-sdk-js 1.3.2 → 1.4.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.
@@ -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发布状态正常")[];
@@ -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,6 @@
1
1
  export declare const enum_notifyName: {
2
2
  readonly onChangeNetwork: "网络情况变更";
3
- readonly healthCheck: "心跳检测";
3
+ readonly onRoomNetwork: "房间实时网络数据";
4
4
  readonly onNetQuality: "网络质量回调";
5
5
  readonly onLogin: "登录回调";
6
6
  readonly onLocalStream: "本地媒体流发生变化";
@@ -9,6 +9,7 @@ export declare const enum_notifyName: {
9
9
  readonly onRoomUsers: "房间所有用户所有变化";
10
10
  readonly onRoomUsersStreams: "房间某些用户媒体流变化";
11
11
  readonly onRoomState: "房间状态变化";
12
+ readonly onIceState: "webrtc状态变化";
12
13
  readonly onJoinRoom: "加入房间回调";
13
14
  readonly onQuitRoom: "退出房间回调";
14
15
  readonly onPublish: "监听到流发布";
@@ -16,6 +17,12 @@ export declare const enum_notifyName: {
16
17
  readonly onCloseTrack: "关闭轨道";
17
18
  readonly onUpdateCall: "更新通讯状态";
18
19
  readonly onUpdateStreams: "更新媒体流";
20
+ readonly onTrackInactive: "通知轨道失效";
21
+ readonly onAttemptP2PReq: "尝试与对方建立P2P连接";
22
+ readonly onOffer: "收到P2P-offer";
23
+ readonly onAnswer: "收到P2P-answer";
24
+ readonly onCandidate: "收到P2P候选信息-candidate";
25
+ readonly onDisconnectP2P: "监听关闭P2P";
19
26
  readonly onUpdatePermissions: "更新推流权限通知";
20
27
  readonly onTokenExpired: "Token已过期";
21
28
  readonly onDestroyRoom: "直播模式房间销毁";
@@ -32,4 +39,4 @@ export declare const notifyName_options: {
32
39
  label: any;
33
40
  }[];
34
41
  export declare const notifyName_keys: (keyof typeof enum_notifyName)[];
35
- export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "心跳检测" | "网络质量回调" | "登录回调" | "本地媒体流发生变化" | "媒体设备发生变化" | "房间用户变化" | "房间所有用户所有变化" | "房间某些用户媒体流变化" | "房间状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "监听数据通道发布" | "更新通讯状态" | "更新媒体流" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "行为允许权限变更" | "服务器要求销毁房间" | "cdn播放地址变化" | "SDK销毁")[];
42
+ export declare const notifyName_vals: ("关闭轨道" | "网络情况变更" | "房间实时网络数据" | "网络质量回调" | "登录回调" | "本地媒体流发生变化" | "媒体设备发生变化" | "房间用户变化" | "房间所有用户所有变化" | "房间某些用户媒体流变化" | "房间状态变化" | "webrtc状态变化" | "加入房间回调" | "退出房间回调" | "监听到流发布" | "监听数据通道发布" | "更新通讯状态" | "更新媒体流" | "通知轨道失效" | "尝试与对方建立P2P连接" | "收到P2P-offer" | "收到P2P-answer" | "收到P2P候选信息-candidate" | "监听关闭P2P" | "更新推流权限通知" | "Token已过期" | "直播模式房间销毁" | "行为允许权限变更" | "服务器要求销毁房间" | "cdn播放地址变化" | "SDK销毁")[];