quickvo-sdk-js 1.6.74 → 1.6.75
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/chunk-D-qeoo7L.js +66 -0
- package/dist/index.js +17910 -17673
- package/dist/index.umd.cjs +3 -3
- package/dist/lib-LPJkXkDo.js +11254 -0
- package/dist/src/QuickVO.d.ts +1 -1
- package/dist/src/action/ActionSFU.d.ts +3 -1
- package/dist/src/base/modules/Peer.d.ts +1 -0
- package/dist/src/base/modules/users/modules/LocalUser.d.ts +1 -0
- package/dist/src/base/modules/users/modules/RemoteUser.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chunk-CurYBBhZ.js +0 -58
- package/dist/lib-grgbKEh8.js +0 -11177
package/dist/src/QuickVO.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare class QuickVO {
|
|
|
51
51
|
setLocalStream: (mediaTypes: import('./enums').K_mediaType[], active: boolean) => Promise<void>;
|
|
52
52
|
setMediaDeviceKind: (mediaDeviceKind: MediaDeviceKind, deviceId: string | undefined) => Promise<void>;
|
|
53
53
|
setMediaTrackConstraints: (mediaType: import('./enums').K_mediaType, constraints: MediaTrackConstraints) => Promise<void>;
|
|
54
|
-
earlyConnect: () => Promise<true | undefined>;
|
|
54
|
+
earlyConnect: (entirely?: boolean) => Promise<true | undefined>;
|
|
55
55
|
joinRoom: (roomOptions: import('./types').RoomOptions) => Promise<string>;
|
|
56
56
|
publish: (mediaTypes: import('./enums').K_mediaType[]) => Promise<true>;
|
|
57
57
|
stopPublish: (mediaTypes: import('./enums').K_mediaType[]) => Promise<true>;
|
|
@@ -4,6 +4,7 @@ import { Base } from '../base/Base';
|
|
|
4
4
|
export declare class ActionSFU {
|
|
5
5
|
base: Base;
|
|
6
6
|
private _onOnline?;
|
|
7
|
+
private _entirely;
|
|
7
8
|
private _reconnectTimerId?;
|
|
8
9
|
/** 网络计算是否进行中,用于避免与 interval 重叠执行 */
|
|
9
10
|
private _networkCalculating;
|
|
@@ -50,7 +51,7 @@ export declare class ActionSFU {
|
|
|
50
51
|
* earlyConnect
|
|
51
52
|
* @param mediaTypes ("mc_audio" | "mc_video" | "ss_video" | "ss_audio")[]
|
|
52
53
|
*/
|
|
53
|
-
earlyConnect: () => Promise<true | undefined>;
|
|
54
|
+
earlyConnect: (entirely?: boolean) => Promise<true | undefined>;
|
|
54
55
|
/**
|
|
55
56
|
* joinRoom
|
|
56
57
|
* @param roomOptions RoomOptions
|
|
@@ -136,6 +137,7 @@ export declare class ActionSFU {
|
|
|
136
137
|
private _reportNetwork;
|
|
137
138
|
private _createTracks;
|
|
138
139
|
private _closeTrack;
|
|
140
|
+
private _restorePublish;
|
|
139
141
|
private _pubNotify;
|
|
140
142
|
private _submitRtcStats;
|
|
141
143
|
private _renegotiate;
|
|
@@ -37,6 +37,7 @@ export declare class Peer {
|
|
|
37
37
|
private static rtcConfigurationFromTurnRsp;
|
|
38
38
|
setBroadcasted: (mediaTypes: K_mediaType[], active: boolean) => void;
|
|
39
39
|
getNoBroadcasted: (mediaTypes: K_mediaType[]) => ("mc_audio" | "mc_video" | "ss_video" | "ss_audio")[];
|
|
40
|
+
getBroadcasted: (mediaTypes: K_mediaType[]) => ("mc_audio" | "mc_video" | "ss_video" | "ss_audio")[];
|
|
40
41
|
checkValid: () => boolean;
|
|
41
42
|
/**
|
|
42
43
|
* setRTCRtpSenderParameters
|
package/package.json
CHANGED
package/dist/chunk-CurYBBhZ.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
function e() {
|
|
2
|
-
var t = /* @__PURE__ */ "qSfJo.toStringTag.72676dXLgQr.prototype.1505994eyCoJT.1403790OuOdtg.BysLt.getOwnPropertyDescriptor.fKOpT.hasOwnProperty.object.function.qgpaS.19233999TjZQqm.5499536RMvJIU.5TBtCIz.4958128oRdoXU.exports.defineProperty.Module.create.765746nKEOQM.length.bind.qEnET.FQEAs.getPrototypeOf.enumerable.1vFEtbD.call".split(".");
|
|
3
|
-
return e = function() {
|
|
4
|
-
return t;
|
|
5
|
-
}, e();
|
|
6
|
-
}
|
|
7
|
-
var t = n;
|
|
8
|
-
function n(t, n) {
|
|
9
|
-
return t -= 391, e()[t];
|
|
10
|
-
}
|
|
11
|
-
(function(e, t) {
|
|
12
|
-
for (var r = n, i = e();;) try {
|
|
13
|
-
if (-parseInt(r(397)) / 1 * (-parseInt(r(420)) / 2) + -parseInt(r(404)) / 3 + -parseInt(r(401)) / 4 + -parseInt(r(414)) / 5 * (parseInt(r(403)) / 6) + -parseInt(r(415)) / 7 + -parseInt(r(413)) / 8 + parseInt(r(412)) / 9 === t) break;
|
|
14
|
-
i.push(i.shift());
|
|
15
|
-
} catch {
|
|
16
|
-
i.push(i.shift());
|
|
17
|
-
}
|
|
18
|
-
})(e, 387140);
|
|
19
|
-
var r = Object[t(419)], i = Object[t(417)], a = Object[t(406)], o = Object.getOwnPropertyNames, s = Object[t(395)], c = Object[t(402)][t(408)], l = (e, n) => () => (n || e((n = { exports: {} })[t(416)], n), n[t(416)]), u = (e, n) => {
|
|
20
|
-
var r = t, a = { fKOpT: function(e, t, n, r) {
|
|
21
|
-
return e(t, n, r);
|
|
22
|
-
} };
|
|
23
|
-
let o = {};
|
|
24
|
-
for (var s in e) i(o, s, {
|
|
25
|
-
get: e[s],
|
|
26
|
-
enumerable: !0
|
|
27
|
-
});
|
|
28
|
-
return !n && a[r(407)](i, o, Symbol[r(400)], { value: r(418) }), o;
|
|
29
|
-
}, d = (e, n, r, s) => {
|
|
30
|
-
var l = t, u = {
|
|
31
|
-
FQEAs: function(e, t) {
|
|
32
|
-
return e === t;
|
|
33
|
-
},
|
|
34
|
-
qgpaS: l(409),
|
|
35
|
-
qEnET: l(410),
|
|
36
|
-
RQhnZ: function(e, t) {
|
|
37
|
-
return e(t);
|
|
38
|
-
},
|
|
39
|
-
qSfJo: function(e, t) {
|
|
40
|
-
return e < t;
|
|
41
|
-
},
|
|
42
|
-
BysLt: function(e, t, n, r) {
|
|
43
|
-
return e(t, n, r);
|
|
44
|
-
},
|
|
45
|
-
GiXOb: function(e, t, n) {
|
|
46
|
-
return e(t, n);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
if (n && u[l(394)](typeof n, u[l(411)]) || u[l(394)](typeof n, u[l(393)])) for (var d = u.RQhnZ(o, n), f = 0, p = d[l(391)], m; u[l(399)](f, p); f++) m = d[f], !c[l(398)](e, m) && m !== r && u[l(405)](i, e, m, {
|
|
50
|
-
get: ((e) => n[e])[l(392)](null, m),
|
|
51
|
-
enumerable: !(s = u.GiXOb(a, n, m)) || s[l(396)]
|
|
52
|
-
});
|
|
53
|
-
return e;
|
|
54
|
-
}, f = (e, t, n) => (n = e == null ? {} : r(s(e)), d(t || !e || !e.__esModule ? i(n, "default", {
|
|
55
|
-
value: e,
|
|
56
|
-
enumerable: !0
|
|
57
|
-
}) : n, e));
|
|
58
|
-
export { u as n, f as r, l as t };
|