quickvo-sdk-js 1.0.6 → 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.
- package/dist/index.js +17671 -23142
- package/dist/index.umd.cjs +4 -201
- package/dist/room/RoomCalls.d.ts +1 -1
- package/dist/room/RoomPeer.d.ts +4 -1
- package/dist/tools.d.ts +0 -13
- package/package.json +2 -5
package/dist/room/RoomCalls.d.ts
CHANGED
|
@@ -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
|
package/dist/room/RoomPeer.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare class RoomPeer extends RoomUsers {
|
|
|
6
6
|
#private;
|
|
7
7
|
getPeerStatsTimer: number;
|
|
8
8
|
reports: any[];
|
|
9
|
+
candidates: any[];
|
|
9
10
|
peerNetwork: {
|
|
10
11
|
inboundBytes: number;
|
|
11
12
|
outboundBytes: number;
|
|
@@ -14,8 +15,10 @@ export declare class RoomPeer extends RoomUsers {
|
|
|
14
15
|
jitter: string;
|
|
15
16
|
};
|
|
16
17
|
constructor(options: QuickOptions);
|
|
18
|
+
/**
|
|
19
|
+
* initPeer
|
|
20
|
+
*/
|
|
17
21
|
initPeer: () => void;
|
|
18
|
-
getNatType: () => Promise<void>;
|
|
19
22
|
/**
|
|
20
23
|
* initSendChannel
|
|
21
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.
|
|
4
|
+
"version": "1.0.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -19,14 +19,11 @@
|
|
|
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",
|
|
28
25
|
"pr-tools": "^1.5.7",
|
|
29
|
-
"pr-ws": "^0.2.
|
|
26
|
+
"pr-ws": "^0.2.6",
|
|
30
27
|
"sdp-transform": "^2.15.0",
|
|
31
28
|
"webm-duration-fix": "^1.0.4"
|
|
32
29
|
},
|