quickvo-sdk-js 1.6.44 → 1.6.46
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 +21114 -20872
- package/dist/index.umd.cjs +3 -3
- package/dist/src/QuickVO.d.ts +1 -1
- package/dist/src/action/ActionP2P.d.ts +1 -1
- package/dist/src/action/ActionSFU.d.ts +1 -0
- package/dist/src/base/modules/users/Users.d.ts +6 -6
- package/dist/src/base/modules/users/modules/RemoteUser.d.ts +6 -6
- package/package.json +1 -1
package/dist/src/QuickVO.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare class QuickVO {
|
|
|
76
76
|
destroy: () => void;
|
|
77
77
|
getLocalUserTrackReports: (mediaType: import('./enums').K_mediaType) => import('./types').TrackReport;
|
|
78
78
|
getRemoteUserTrackReports: (userId: string, origin: "sfu" | "p2p", direction: "sends" | "recvs", mediaType: import('./enums').K_mediaType) => import('./types').TrackReport | undefined;
|
|
79
|
-
_openP2P: (remoteUserId: string, mediaTypes: import('./enums').K_mediaType[], isRemotePush: boolean) => Promise<
|
|
79
|
+
_openP2P: (remoteUserId: string, mediaTypes: import('./enums').K_mediaType[], isRemotePush: boolean) => Promise<void>;
|
|
80
80
|
_restoreRoom: () => Promise<void>;
|
|
81
81
|
_debugger: () => Promise<void>;
|
|
82
82
|
_ai: () => Promise<void>;
|
|
@@ -6,7 +6,7 @@ export declare class ActionP2P {
|
|
|
6
6
|
constructor({ base }: {
|
|
7
7
|
base: Base;
|
|
8
8
|
});
|
|
9
|
-
_openP2P: (remoteUserId: string, mediaTypes: K_mediaType[], isRemotePush: boolean) => Promise<
|
|
9
|
+
_openP2P: (remoteUserId: string, mediaTypes: K_mediaType[], isRemotePush: boolean) => Promise<void>;
|
|
10
10
|
private _onOffer;
|
|
11
11
|
private _onCandidate;
|
|
12
12
|
private _getRemoteUserP2PContent;
|
|
@@ -137,15 +137,15 @@ export declare class Users {
|
|
|
137
137
|
id: string;
|
|
138
138
|
tracks: {
|
|
139
139
|
lastRetry: boolean;
|
|
140
|
-
location
|
|
141
|
-
mid
|
|
140
|
+
location: string;
|
|
141
|
+
mid: string | null;
|
|
142
142
|
msid?: string | undefined;
|
|
143
|
-
trackName
|
|
143
|
+
trackName: string;
|
|
144
144
|
userId?: string;
|
|
145
|
-
type
|
|
146
|
-
mediaType
|
|
145
|
+
type: number;
|
|
146
|
+
mediaType: K_mediaType;
|
|
147
147
|
enabled?: boolean;
|
|
148
|
-
origin
|
|
148
|
+
origin: "unknown" | "phoney" | "local" | "sfu" | "p2p";
|
|
149
149
|
simulcast?: "f" | "h" | "q";
|
|
150
150
|
}[];
|
|
151
151
|
}[];
|
|
@@ -50,15 +50,15 @@ export declare class RemoteUser extends UserBase {
|
|
|
50
50
|
id: string;
|
|
51
51
|
tracks: {
|
|
52
52
|
lastRetry: boolean;
|
|
53
|
-
location
|
|
54
|
-
mid
|
|
53
|
+
location: string;
|
|
54
|
+
mid: string | null;
|
|
55
55
|
msid?: string | undefined;
|
|
56
|
-
trackName
|
|
56
|
+
trackName: string;
|
|
57
57
|
userId?: string;
|
|
58
|
-
type
|
|
59
|
-
mediaType
|
|
58
|
+
type: number;
|
|
59
|
+
mediaType: K_mediaType;
|
|
60
60
|
enabled?: boolean;
|
|
61
|
-
origin
|
|
61
|
+
origin: "unknown" | "phoney" | "local" | "sfu" | "p2p";
|
|
62
62
|
simulcast?: "f" | "h" | "q";
|
|
63
63
|
}[];
|
|
64
64
|
};
|