quickvo-sdk-js 1.0.7 → 1.0.8

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.
@@ -31,7 +31,7 @@ export declare class RoomCalls extends RoomPeer {
31
31
  * @param mediaTypes MediaType[]
32
32
  * @example quickvo.earlyConnect(['microphoneCamera_audio', 'microphoneCamera_video'])
33
33
  */
34
- earlyConnect: (mediaTypes?: K_mediaType[]) => void;
34
+ earlyConnect: (mediaTypes?: K_mediaType[]) => Promise<void>;
35
35
  /**
36
36
  * joinRoom
37
37
  * @param roomOptions RoomOptions
@@ -15,8 +15,10 @@ export declare class RoomPeer extends RoomUsers {
15
15
  jitter: string;
16
16
  };
17
17
  constructor(options: QuickOptions);
18
+ /**
19
+ * initPeer
20
+ */
18
21
  initPeer: () => void;
19
- getNatType: () => "normal";
20
22
  /**
21
23
  * initSendChannel
22
24
  */
package/dist/tools.d.ts CHANGED
@@ -1,15 +1,2 @@
1
1
  export declare const createMutedAudioStream: (audioContext: AudioContext) => MediaStream;
2
2
  export declare const createFakeVideoStream: (width?: number, height?: number, fps?: number) => MediaStream;
3
- export declare const parseCandidate: (line: string) => Promise<{
4
- relatedAddress: string | undefined;
5
- relatedPort: number | undefined;
6
- tcpType: string | undefined;
7
- addressDetail: any;
8
- foundation: string;
9
- component: string;
10
- protocol: string;
11
- priority: number;
12
- ip: string;
13
- port: number;
14
- type: string;
15
- }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickvo-sdk-js",
3
3
  "description": "提供快捷接入单对单、单对多、群体会议、舞台会议等音视频功能。",
4
- "version": "1.0.7",
4
+ "version": "1.0.8",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -19,9 +19,6 @@
19
19
  "build": "tsc && vite build"
20
20
  },
21
21
  "dependencies": {
22
- "@pikaz/location": "^1.0.10",
23
- "nat-type-identifier": "^2.0.12",
24
- "opus-decoder": "^0.7.10",
25
22
  "pako": "^2.1.0",
26
23
  "pr-async-queue": "^0.1.1",
27
24
  "pr-audio-stream": "^0.1.1",