quickvo-sdk-js 0.5.9 → 0.6.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.
@@ -39,6 +39,7 @@ export declare class RoomBase {
39
39
  createAt: number;
40
40
  appid: string;
41
41
  url?: string;
42
+ logUrl?: string;
42
43
  debug?: boolean;
43
44
  callStrategy?: import('../enums/callStrategy').K_callStrategy;
44
45
  sdkToken?: string;
@@ -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' | 'webrtc_c_error' | 'join_room_error' | 'publish_error' | 'subscribe_error' | 'close_track_error' | 'heartbeat_e_timeout' | 'heartbeat_i_timeout' | 'quit_room_error';
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';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickvo-sdk-js",
3
3
  "description": "提供快捷接入单对单、单对多、群体会议、舞台会议等音视频功能。",
4
- "version": "0.5.9",
4
+ "version": "0.6.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"