quickvo-sdk-js 0.6.0 → 0.6.2
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/index.js +150 -125
- package/dist/index.umd.cjs +2 -2
- package/dist/room/RoomBase.d.ts +1 -0
- package/dist/room/RoomPeer.d.ts +2 -2
- package/dist/types.d.ts +5 -1
- package/package.json +1 -1
package/dist/room/RoomBase.d.ts
CHANGED
package/dist/room/RoomPeer.d.ts
CHANGED
|
@@ -22,13 +22,13 @@ export declare class RoomPeer extends RoomUsers {
|
|
|
22
22
|
/**
|
|
23
23
|
* 获取发射器轨道信息
|
|
24
24
|
*/
|
|
25
|
-
getSenderTracks: (mediaTypes?: K_mediaType[]) => {
|
|
25
|
+
getSenderTracks: (mediaTypes?: K_mediaType[]) => Promise<{
|
|
26
26
|
type: number;
|
|
27
27
|
enabled: boolean;
|
|
28
28
|
trackName: string;
|
|
29
29
|
location: string;
|
|
30
30
|
mid: string | null;
|
|
31
|
-
}[]
|
|
31
|
+
}[]>;
|
|
32
32
|
/**
|
|
33
33
|
* 添加发射器
|
|
34
34
|
*/
|
package/dist/types.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export interface QuickOptions {
|
|
|
13
13
|
* websocket服务地址
|
|
14
14
|
*/
|
|
15
15
|
url?: string;
|
|
16
|
+
/**
|
|
17
|
+
* 日志上报地址
|
|
18
|
+
*/
|
|
19
|
+
logUrl?: string;
|
|
16
20
|
/**
|
|
17
21
|
* 开启后会在控制台显示相关操作日志 默认为false
|
|
18
22
|
*/
|
|
@@ -237,4 +241,4 @@ export interface RoomOptions {
|
|
|
237
241
|
*/
|
|
238
242
|
newPublishAutoSubscribe?: boolean;
|
|
239
243
|
}
|
|
240
|
-
export type Report_Log_Type = 'ws_c_timeout' | 'webrtc_c_timeout' | '
|
|
244
|
+
export type Report_Log_Type = 'ws_c_timeout' | 'webrtc_c_timeout' | 'join_room_error' | 'publish_error' | 'subscribe_error' | 'close_track_error' | 'heartbeat_e_timeout' | 'heartbeat_i_timeout' | 'quit_room_error';
|