@cloudflare/realtimekit 1.4.0-staging.5 → 1.4.0
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/browser.js +2 -2
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +21 -20
- package/dist/index.es5.js +658 -653
- package/dist/index.rn.js +10 -10
- package/package.json +3 -2
package/dist/index.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v4 as Bs, validate as mv } from "uuid";
|
|
2
2
|
import yv from "bowser";
|
|
3
|
-
import { MessageType as
|
|
3
|
+
import { MessageType as _, PbLong as Lo, typeofJsonValue as rm } from "@protobuf-ts/runtime";
|
|
4
4
|
import * as kc from "worker-timers";
|
|
5
5
|
import * as Rn from "sdp-transform";
|
|
6
6
|
var Vg = ["chat", "connectedMeetings", "plugins", "polls", "media"], Ug = ["id"], jg = ["meetingId"], ee, jn, He, mi, Ac, xs, Fn, Ic, ic, Ka, za, mo, an, Ya, Hn, yi, eo, Bn, ro, to, sn, Qa, Ir, Qe, Mr, Xa, Za, St, xa, on, ei, Hr, ri, xr, ki, ti, ni, ai, Br, Ee, ii, si, Dr, qn, vn, Gn, sc, Et, no, cn, Wn, Ct, oc, ao, uc, cc, me, io, Jn, oi, Kn, Tr, qr, et, ui, ci, sr, li, $e, Rt, Ne, di, Ce, bi, Ti, so, up, zn, rt, X, or, un, ke, be, Gr, Be, oo, uo, he, Ve, Yn;
|
|
@@ -244,7 +244,7 @@ function h() {
|
|
|
244
244
|
for (ie.method = br, ie.arg = z; ; ) {
|
|
245
245
|
var nn = ie.delegate;
|
|
246
246
|
if (nn) {
|
|
247
|
-
var Fe =
|
|
247
|
+
var Fe = I(nn, ie);
|
|
248
248
|
if (Fe) {
|
|
249
249
|
if (Fe === p)
|
|
250
250
|
continue;
|
|
@@ -327,25 +327,25 @@ function h() {
|
|
|
327
327
|
return Y = Y ? Y.then(Z, Z) : Z();
|
|
328
328
|
}, !0);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function I(N, D) {
|
|
331
331
|
var F = D.method, Y = N.i[F];
|
|
332
332
|
if (Y === o)
|
|
333
|
-
return D.delegate = null, F === "throw" && N.i.return && (D.method = "return", D.arg = o,
|
|
333
|
+
return D.delegate = null, F === "throw" && N.i.return && (D.method = "return", D.arg = o, I(N, D), D.method === "throw") || F !== "return" && (D.method = "throw", D.arg = new TypeError("The iterator does not provide a '" + F + "' method")), p;
|
|
334
334
|
var B = d(Y, N.i, D.arg);
|
|
335
335
|
if (B.type === "throw")
|
|
336
336
|
return D.method = "throw", D.arg = B.arg, D.delegate = null, p;
|
|
337
337
|
var H = B.arg;
|
|
338
338
|
return H ? H.done ? (D[N.r] = H.value, D.next = N.n, D.method !== "return" && (D.method = "next", D.arg = o), D.delegate = null, p) : H : (D.method = "throw", D.arg = new TypeError("iterator result is not an object"), D.delegate = null, p);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function O(N) {
|
|
341
341
|
this.tryEntries.push(N);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function M(N) {
|
|
344
344
|
var D = N[4] || {};
|
|
345
345
|
D.type = "normal", D.arg = o, N[4] = D;
|
|
346
346
|
}
|
|
347
347
|
function L(N) {
|
|
348
|
-
this.tryEntries = [[-1]], N.forEach(
|
|
348
|
+
this.tryEntries = [[-1]], N.forEach(O, this), this.reset(!0);
|
|
349
349
|
}
|
|
350
350
|
function U(N) {
|
|
351
351
|
if (N != null) {
|
|
@@ -396,7 +396,7 @@ function h() {
|
|
|
396
396
|
return B.done = !0, B;
|
|
397
397
|
};
|
|
398
398
|
}, t.values = U, L.prototype = { constructor: L, reset: function(D) {
|
|
399
|
-
if (this.prev = this.next = 0, this.sent = this._sent = o, this.done = !1, this.delegate = null, this.method = "next", this.arg = o, this.tryEntries.forEach(
|
|
399
|
+
if (this.prev = this.next = 0, this.sent = this._sent = o, this.done = !1, this.delegate = null, this.method = "next", this.arg = o, this.tryEntries.forEach(M), !D)
|
|
400
400
|
for (var F in this)
|
|
401
401
|
F.charAt(0) === "t" && r.call(this, F) && !isNaN(+F.slice(1)) && (this[F] = o);
|
|
402
402
|
}, stop: function() {
|
|
@@ -444,7 +444,7 @@ function h() {
|
|
|
444
444
|
for (var F = this.tryEntries.length - 1; F >= 0; --F) {
|
|
445
445
|
var Y = this.tryEntries[F];
|
|
446
446
|
if (Y[2] === D)
|
|
447
|
-
return this.complete(Y[4], Y[3]),
|
|
447
|
+
return this.complete(Y[4], Y[3]), M(Y), p;
|
|
448
448
|
}
|
|
449
449
|
}, catch: function(D) {
|
|
450
450
|
for (var F = this.tryEntries.length - 1; F >= 0; --F) {
|
|
@@ -453,7 +453,7 @@ function h() {
|
|
|
453
453
|
var B = Y[4];
|
|
454
454
|
if (B.type === "throw") {
|
|
455
455
|
var H = B.arg;
|
|
456
|
-
|
|
456
|
+
M(Y);
|
|
457
457
|
}
|
|
458
458
|
return H;
|
|
459
459
|
}
|
|
@@ -1975,8 +1975,8 @@ var Kv = /* @__PURE__ */ P(function o() {
|
|
|
1975
1975
|
break;
|
|
1976
1976
|
}
|
|
1977
1977
|
case "candidate-pair": {
|
|
1978
|
-
var C = S.nominated,
|
|
1979
|
-
g.push(
|
|
1978
|
+
var C = S.nominated, I = S.selected, O = S, M = { nominated: C != null ? C : I, currentRoundTripTime: O.currentRoundTripTime, totalRoundTripTime: O.totalRoundTripTime, bytesReceived: O.bytesReceived, bytesSent: O.bytesSent, availableOutgoingBitrate: O.availableOutgoingBitrate, availableIncomingBitrate: O.availableIncomingBitrate, lastPacketReceivedTimestamp: O.lastPacketReceivedTimestamp, lastPacketSentTimestamp: O.lastPacketSentTimestamp, localCandidateId: O.localCandidateId, remoteCandidateId: O.remoteCandidateId, bytesDiscardedOnSend: O.bytesDiscardedOnSend, packetsSent: O.packetsSent, packetsReceived: O.packetsReceived, packetsDiscardedOnSend: O.packetsDiscardedOnSend };
|
|
1979
|
+
g.push(M), (S.nominated === !0 || S.selected === !0) && (d.candidatePair = M);
|
|
1980
1980
|
break;
|
|
1981
1981
|
}
|
|
1982
1982
|
case "transport": {
|
|
@@ -2647,8 +2647,8 @@ var Kv = /* @__PURE__ */ P(function o() {
|
|
|
2647
2647
|
break;
|
|
2648
2648
|
}
|
|
2649
2649
|
case "candidate-pair": {
|
|
2650
|
-
var C = S.nominated,
|
|
2651
|
-
g.push(
|
|
2650
|
+
var C = S.nominated, I = S.selected, O = S, M = { nominated: C != null ? C : I, currentRoundTripTime: O.currentRoundTripTime, totalRoundTripTime: O.totalRoundTripTime, bytesReceived: O.bytesReceived, bytesSent: O.bytesSent, availableOutgoingBitrate: O.availableOutgoingBitrate, availableIncomingBitrate: O.availableIncomingBitrate, lastPacketReceivedTimestamp: O.lastPacketReceivedTimestamp, lastPacketSentTimestamp: O.lastPacketSentTimestamp, localCandidateId: O.localCandidateId, remoteCandidateId: O.remoteCandidateId, bytesDiscardedOnSend: O.bytesDiscardedOnSend, packetsSent: O.packetsSent, packetsReceived: O.packetsReceived, packetsDiscardedOnSend: O.packetsDiscardedOnSend };
|
|
2651
|
+
g.push(M), (S.nominated === !0 || S.selected === !0) && (d.candidatePair = M);
|
|
2652
2652
|
break;
|
|
2653
2653
|
}
|
|
2654
2654
|
case "transport": {
|
|
@@ -3130,69 +3130,69 @@ var pe = function(t, e) {
|
|
|
3130
3130
|
clearInterval(this.pingStatsTimeout);
|
|
3131
3131
|
} }, { key: "sendPingStatsEvent", value: function() {
|
|
3132
3132
|
var e = m(/* @__PURE__ */ h().mark(function n() {
|
|
3133
|
-
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C,
|
|
3134
|
-
return h().wrap(function(
|
|
3133
|
+
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C, I = arguments;
|
|
3134
|
+
return h().wrap(function(M) {
|
|
3135
3135
|
for (; ; )
|
|
3136
|
-
switch (
|
|
3136
|
+
switch (M.prev = M.next) {
|
|
3137
3137
|
case 0:
|
|
3138
|
-
if (p =
|
|
3139
|
-
|
|
3138
|
+
if (p = I.length > 0 && I[0] !== void 0 ? I[0] : !0, v = I.length > 1 ? I[1] : void 0, !this.producingTransport) {
|
|
3139
|
+
M.next = 19;
|
|
3140
3140
|
break;
|
|
3141
3141
|
}
|
|
3142
|
-
return
|
|
3142
|
+
return M.next = 5, this.measurements.getProcessedStats(this.producingTransport, !1, !0);
|
|
3143
3143
|
case 5:
|
|
3144
|
-
if (f =
|
|
3145
|
-
|
|
3144
|
+
if (f = M.sent, !(!f || !((k = f) !== null && k !== void 0 && (k = k.producerReport) !== null && k !== void 0 && k.length))) {
|
|
3145
|
+
M.next = 19;
|
|
3146
3146
|
break;
|
|
3147
3147
|
}
|
|
3148
|
-
return this.logger.debug("callStats::sendPingStatsEvent::staleProducingTransport", { disclaimer: "Stale producer? Regenerating Stream Maps!" }),
|
|
3148
|
+
return this.logger.debug("callStats::sendPingStatsEvent::staleProducingTransport", { disclaimer: "Stale producer? Regenerating Stream Maps!" }), M.next = 10, this.measurements.getProducersReport(Re(this.producers.values()));
|
|
3149
3149
|
case 10:
|
|
3150
|
-
if (y =
|
|
3151
|
-
|
|
3150
|
+
if (y = M.sent, !(f && y)) {
|
|
3151
|
+
M.next = 15;
|
|
3152
3152
|
break;
|
|
3153
3153
|
}
|
|
3154
|
-
f.producerReport = y,
|
|
3154
|
+
f.producerReport = y, M.next = 19;
|
|
3155
3155
|
break;
|
|
3156
3156
|
case 15:
|
|
3157
|
-
return
|
|
3157
|
+
return M.next = 17, this.measurements.getProcessedStats(this.producingTransport, !1, !0);
|
|
3158
3158
|
case 17:
|
|
3159
|
-
f =
|
|
3159
|
+
f = M.sent, (!f || !((b = f) !== null && b !== void 0 && b.producerReport)) && this.logger.debug("callStats::sendPingStatsEvent::noProducingTransportReport", { disclaimer: "Stream maps invalid despite regenerating!" });
|
|
3160
3160
|
case 19:
|
|
3161
3161
|
if (!this.consumingTransport) {
|
|
3162
|
-
|
|
3162
|
+
M.next = 36;
|
|
3163
3163
|
break;
|
|
3164
3164
|
}
|
|
3165
|
-
return
|
|
3165
|
+
return M.next = 22, this.measurements.getProcessedStats(this.consumingTransport, !0, !1);
|
|
3166
3166
|
case 22:
|
|
3167
|
-
if (g =
|
|
3168
|
-
|
|
3167
|
+
if (g = M.sent, !(!g || !((T = g.consumerReport) !== null && T !== void 0 && T.length))) {
|
|
3168
|
+
M.next = 36;
|
|
3169
3169
|
break;
|
|
3170
3170
|
}
|
|
3171
|
-
return this.logger.debug("callStats::sendPingStatsEvent::staleConsumingTransport", { disclaimer: "Stale consumer? Regenerating Stream Maps!" }),
|
|
3171
|
+
return this.logger.debug("callStats::sendPingStatsEvent::staleConsumingTransport", { disclaimer: "Stale consumer? Regenerating Stream Maps!" }), M.next = 27, this.measurements.getConsumersReport(Re(this.consumers.values()));
|
|
3172
3172
|
case 27:
|
|
3173
|
-
if (S =
|
|
3174
|
-
|
|
3173
|
+
if (S = M.sent, !(g && S)) {
|
|
3174
|
+
M.next = 32;
|
|
3175
3175
|
break;
|
|
3176
3176
|
}
|
|
3177
|
-
g.consumerReport = S,
|
|
3177
|
+
g.consumerReport = S, M.next = 36;
|
|
3178
3178
|
break;
|
|
3179
3179
|
case 32:
|
|
3180
|
-
return
|
|
3180
|
+
return M.next = 34, this.measurements.getProcessedStats(this.consumingTransport, !0, !1);
|
|
3181
3181
|
case 34:
|
|
3182
|
-
g =
|
|
3182
|
+
g = M.sent, (!g || !g.consumerReport) && this.logger.debug("callStats::sendPingStatsEvent::noConsumingTransportReport", { disclaimer: "Stream maps invalid despite regenerating!" });
|
|
3183
3183
|
case 36:
|
|
3184
3184
|
if (C = { producingTransportStats: f ? (a = f) === null || a === void 0 ? void 0 : a.transportReport : void 0, consumingTransportStats: g ? (i = g) === null || i === void 0 ? void 0 : i.transportReport : void 0, producerStats: [].concat(((s = f) === null || s === void 0 ? void 0 : s.producerReport) || []).concat(((u = g) === null || u === void 0 ? void 0 : u.producerReport) || []), consumerStats: [].concat(((l = g) === null || l === void 0 ? void 0 : l.consumerReport) || []).concat(((d = f) === null || d === void 0 ? void 0 : d.consumerReport) || []) }, !(p && C.producerStats.length === 0 && C.consumerStats.length === 0)) {
|
|
3185
|
-
|
|
3185
|
+
M.next = 41;
|
|
3186
3186
|
break;
|
|
3187
3187
|
}
|
|
3188
|
-
return
|
|
3188
|
+
return M.next = 40, this.eventHandler.flush();
|
|
3189
3189
|
case 40:
|
|
3190
|
-
return
|
|
3190
|
+
return M.abrupt("return");
|
|
3191
3191
|
case 41:
|
|
3192
3192
|
this.eventHandler.callEvent({ event: K.PING_STAT, metaData: C, timestamp: v });
|
|
3193
3193
|
case 42:
|
|
3194
3194
|
case "end":
|
|
3195
|
-
return
|
|
3195
|
+
return M.stop();
|
|
3196
3196
|
}
|
|
3197
3197
|
}, n, this);
|
|
3198
3198
|
}));
|
|
@@ -3397,26 +3397,26 @@ var Um = ue, Qv = /* @__PURE__ */ function(o) {
|
|
|
3397
3397
|
}
|
|
3398
3398
|
return A(t, o), P(t, [{ key: "initialize", value: function() {
|
|
3399
3399
|
var e = m(/* @__PURE__ */ h().mark(function n(a) {
|
|
3400
|
-
var i, s, u, l, d, p, v, f, g, k, y, b, T, S, C,
|
|
3401
|
-
return h().wrap(function(
|
|
3400
|
+
var i, s, u, l, d, p, v, f, g, k, y, b, T, S, C, I;
|
|
3401
|
+
return h().wrap(function(M) {
|
|
3402
3402
|
for (; ; )
|
|
3403
|
-
switch (
|
|
3403
|
+
switch (M.prev = M.next) {
|
|
3404
3404
|
case 0:
|
|
3405
|
-
if (i = a.peerId, s = a.engineName, u = a.env, l = u === void 0 ? bu.PROD : u, d = a.iceServers, p = a.apiBase, v = p === void 0 ? "https://api.cluster.dyte.in" : p, f = a.flags, g = a.logger, k = g === void 0 ? console : g, y = a.apiHostnames, b = a.skipConnectivityChecks, T = b === void 0 ? !1 : b, S = a.authToken,
|
|
3406
|
-
|
|
3405
|
+
if (i = a.peerId, s = a.engineName, u = a.env, l = u === void 0 ? bu.PROD : u, d = a.iceServers, p = a.apiBase, v = p === void 0 ? "https://api.cluster.dyte.in" : p, f = a.flags, g = a.logger, k = g === void 0 ? console : g, y = a.apiHostnames, b = a.skipConnectivityChecks, T = b === void 0 ? !1 : b, S = a.authToken, M.prev = 1, this.peerId = i, this.logger = k, S) {
|
|
3406
|
+
M.next = 8;
|
|
3407
3407
|
break;
|
|
3408
3408
|
}
|
|
3409
|
-
return this.logger.error("callStats::initialize", { event: "auth_token_missing", peerId: this.peerId }), this.stallCallStats(),
|
|
3409
|
+
return this.logger.error("callStats::initialize", { event: "auth_token_missing", peerId: this.peerId }), this.stallCallStats(), M.abrupt("return");
|
|
3410
3410
|
case 8:
|
|
3411
|
-
return
|
|
3411
|
+
return M.next = 10, Jv.getIPDetails({ peerId: i, apiHostnames: y, logger: k });
|
|
3412
3412
|
case 10:
|
|
3413
|
-
this.ipInformation =
|
|
3413
|
+
this.ipInformation = M.sent, this.backend = new Um(v, s, l, f, k, i, y, S), this.iceServers = d, (C = this.backend) === null || C === void 0 || C.registerIceServers(this.iceServers), this.initialized = !0, (I = this.backend) === null || I === void 0 || (I = I.eventHandler) === null || I === void 0 || I.emit("initialized", this.ipInformation), this.emit("initialized", this.ipInformation), this.startPreCallTest(T), M.next = 24;
|
|
3414
3414
|
break;
|
|
3415
3415
|
case 20:
|
|
3416
|
-
|
|
3416
|
+
M.prev = 20, M.t0 = M.catch(1), this.logger.error("callStats::CallStatsIntegration", { peerId: this.peerId, error: M.t0 instanceof Error ? M.t0.message : String(M.t0), stack: M.t0 instanceof Error ? M.t0.stack : void 0 }), this.stallCallStats();
|
|
3417
3417
|
case 24:
|
|
3418
3418
|
case "end":
|
|
3419
|
-
return
|
|
3419
|
+
return M.stop();
|
|
3420
3420
|
}
|
|
3421
3421
|
}, n, this, [[1, 20]]);
|
|
3422
3422
|
}));
|
|
@@ -4415,21 +4415,21 @@ var Pf = /* @__PURE__ */ function() {
|
|
|
4415
4415
|
return P(o, [{ key: "identifyAndFetchFlagsWithRetry", value: function() {
|
|
4416
4416
|
var t = m(/* @__PURE__ */ h().mark(function r(n) {
|
|
4417
4417
|
var a = this, i, s, u, l, d, p, v, f, g, k, y, b, T, S;
|
|
4418
|
-
return h().wrap(function(
|
|
4418
|
+
return h().wrap(function(I) {
|
|
4419
4419
|
for (; ; )
|
|
4420
|
-
switch (
|
|
4420
|
+
switch (I.prev = I.next) {
|
|
4421
4421
|
case 0:
|
|
4422
|
-
i = n.primaryEndpoint, s = n.secondaryEndpoint, u = n.forceEvaluate, l = n.timeout, d = n.uniqueIdentifier, p = n.traitsObj, v = n.logger, f = JSON.parse(JSON.stringify(p)), g = Object.entries(f).map(function(
|
|
4423
|
-
return { trait_key:
|
|
4424
|
-
}), k = [i, s, s], y = /* @__PURE__ */ h().mark(function
|
|
4425
|
-
var
|
|
4422
|
+
i = n.primaryEndpoint, s = n.secondaryEndpoint, u = n.forceEvaluate, l = n.timeout, d = n.uniqueIdentifier, p = n.traitsObj, v = n.logger, f = JSON.parse(JSON.stringify(p)), g = Object.entries(f).map(function(O) {
|
|
4423
|
+
return { trait_key: O[0], trait_value: O[1] };
|
|
4424
|
+
}), k = [i, s, s], y = /* @__PURE__ */ h().mark(function O() {
|
|
4425
|
+
var M, L, U, N, D, F;
|
|
4426
4426
|
return h().wrap(function(B) {
|
|
4427
4427
|
for (; ; )
|
|
4428
4428
|
switch (B.prev = B.next) {
|
|
4429
4429
|
case 0:
|
|
4430
|
-
return
|
|
4430
|
+
return M = S[T], B.prev = 1, L = new AbortController(), U = setTimeout(function() {
|
|
4431
4431
|
return L.abort();
|
|
4432
|
-
}, l), N = "_".concat((Math.random() + 1).toString(36).substring(2)), B.next = 7, fetch("https://".concat(
|
|
4432
|
+
}, l), N = "_".concat((Math.random() + 1).toString(36).substring(2)), B.next = 7, fetch("https://".concat(M, "/api/v1/identities/"), {
|
|
4433
4433
|
method: "POST",
|
|
4434
4434
|
headers: { "Content-Type": "application/json", "X-Environment-Key": a.environmentKey },
|
|
4435
4435
|
body: JSON.stringify({ identifier: d + (u ? N : ""), traits: g }),
|
|
@@ -4447,33 +4447,33 @@ var Pf = /* @__PURE__ */ function() {
|
|
|
4447
4447
|
case 13:
|
|
4448
4448
|
return F = B.sent, B.abrupt("return", { v: Jb(F.flags || []) });
|
|
4449
4449
|
case 17:
|
|
4450
|
-
B.prev = 17, B.t0 = B.catch(1), v.error("Flagsmith identify failed!!", { error: B.t0, url:
|
|
4450
|
+
B.prev = 17, B.t0 = B.catch(1), v.error("Flagsmith identify failed!!", { error: B.t0, url: M });
|
|
4451
4451
|
case 20:
|
|
4452
4452
|
case "end":
|
|
4453
4453
|
return B.stop();
|
|
4454
4454
|
}
|
|
4455
|
-
},
|
|
4455
|
+
}, O, null, [[1, 17]]);
|
|
4456
4456
|
}), T = 0, S = k;
|
|
4457
4457
|
case 6:
|
|
4458
4458
|
if (!(T < S.length)) {
|
|
4459
|
-
|
|
4459
|
+
I.next = 14;
|
|
4460
4460
|
break;
|
|
4461
4461
|
}
|
|
4462
|
-
return
|
|
4462
|
+
return I.delegateYield(y(), "t0", 8);
|
|
4463
4463
|
case 8:
|
|
4464
|
-
if (b =
|
|
4465
|
-
|
|
4464
|
+
if (b = I.t0, !b) {
|
|
4465
|
+
I.next = 11;
|
|
4466
4466
|
break;
|
|
4467
4467
|
}
|
|
4468
|
-
return
|
|
4468
|
+
return I.abrupt("return", b.v);
|
|
4469
4469
|
case 11:
|
|
4470
|
-
T++,
|
|
4470
|
+
T++, I.next = 6;
|
|
4471
4471
|
break;
|
|
4472
4472
|
case 14:
|
|
4473
|
-
return
|
|
4473
|
+
return I.abrupt("return", {});
|
|
4474
4474
|
case 15:
|
|
4475
4475
|
case "end":
|
|
4476
|
-
return
|
|
4476
|
+
return I.stop();
|
|
4477
4477
|
}
|
|
4478
4478
|
}, r);
|
|
4479
4479
|
}));
|
|
@@ -4563,18 +4563,18 @@ var Xb = function(t, e, r) {
|
|
|
4563
4563
|
});
|
|
4564
4564
|
if (y === -1)
|
|
4565
4565
|
throw new Error("Invalid reducer provided, it must contain atleast one zero");
|
|
4566
|
-
var b = 5 - y, T = y + 1, S = (100 - k) / b, C = k / T,
|
|
4566
|
+
var b = 5 - y, T = y + 1, S = (100 - k) / b, C = k / T, I = On(e), O;
|
|
4567
4567
|
try {
|
|
4568
|
-
for (
|
|
4569
|
-
var
|
|
4570
|
-
|
|
4568
|
+
for (I.s(); !(O = I.n()).done; ) {
|
|
4569
|
+
var M = O.value, L = void 0;
|
|
4570
|
+
M < 0 ? L = k + M * C * r : M > 0 ? L = k + M * S * r : L = k;
|
|
4571
4571
|
var U = Xb(v, f, L / 100), N = We(U, 3), D = N[0], F = N[1], Y = N[2];
|
|
4572
4572
|
n.push(xb(D, F, Y));
|
|
4573
4573
|
}
|
|
4574
4574
|
} catch (B) {
|
|
4575
|
-
|
|
4575
|
+
I.e(B);
|
|
4576
4576
|
} finally {
|
|
4577
|
-
|
|
4577
|
+
I.f();
|
|
4578
4578
|
}
|
|
4579
4579
|
return n;
|
|
4580
4580
|
}, kh = { dark: { background: { 1e3: "#252525", 900: "#2F2F2F", 800: "#323232", 700: "#3E3E3E", 600: "#4A4A4A" }, text: "#F5F5F5", "video-bg": "#1C1C1C" }, light: { background: { 1e3: "#FFFFFF", 900: "#F5F5F5", 800: "#EBEBEB", 700: "#E0E0E0", 600: "#D6D6D6" }, text: "#111111", "text-on-brand": "#ffffff", "video-bg": "#DADADA" } }, eT = function(t) {
|
|
@@ -5054,8 +5054,8 @@ function vw(o, t, e, r, n, a) {
|
|
|
5054
5054
|
y || (y = v == "constructor");
|
|
5055
5055
|
}
|
|
5056
5056
|
if (k && !y) {
|
|
5057
|
-
var C = o.constructor,
|
|
5058
|
-
C !=
|
|
5057
|
+
var C = o.constructor, I = t.constructor;
|
|
5058
|
+
C != I && "constructor" in o && "constructor" in t && !(typeof C == "function" && C instanceof C && typeof I == "function" && I instanceof I) && (k = !1);
|
|
5059
5059
|
}
|
|
5060
5060
|
return a.delete(o), a.delete(t), k;
|
|
5061
5061
|
}
|
|
@@ -5177,29 +5177,29 @@ function Ap(o, t, e) {
|
|
|
5177
5177
|
if (typeof o != "function")
|
|
5178
5178
|
throw new TypeError(Nw);
|
|
5179
5179
|
t = Th(t) || 0, fn(e) && (d = !!e.leading, p = "maxWait" in e, a = p ? Vw(Th(e.maxWait) || 0, t) : a, v = "trailing" in e ? !!e.trailing : v);
|
|
5180
|
-
function f(
|
|
5181
|
-
var
|
|
5182
|
-
return r = n = void 0, l =
|
|
5180
|
+
function f(O) {
|
|
5181
|
+
var M = r, L = n;
|
|
5182
|
+
return r = n = void 0, l = O, i = o.apply(L, M), i;
|
|
5183
5183
|
}
|
|
5184
|
-
function g(
|
|
5185
|
-
return l =
|
|
5184
|
+
function g(O) {
|
|
5185
|
+
return l = O, s = setTimeout(b, t), d ? f(O) : i;
|
|
5186
5186
|
}
|
|
5187
|
-
function k(
|
|
5188
|
-
var
|
|
5187
|
+
function k(O) {
|
|
5188
|
+
var M = O - u, L = O - l, U = t - M;
|
|
5189
5189
|
return p ? Uw(U, a - L) : U;
|
|
5190
5190
|
}
|
|
5191
|
-
function y(
|
|
5192
|
-
var
|
|
5193
|
-
return u === void 0 ||
|
|
5191
|
+
function y(O) {
|
|
5192
|
+
var M = O - u, L = O - l;
|
|
5193
|
+
return u === void 0 || M >= t || M < 0 || p && L >= a;
|
|
5194
5194
|
}
|
|
5195
5195
|
function b() {
|
|
5196
|
-
var
|
|
5197
|
-
if (y(
|
|
5198
|
-
return T(
|
|
5199
|
-
s = setTimeout(b, k(
|
|
5196
|
+
var O = wl();
|
|
5197
|
+
if (y(O))
|
|
5198
|
+
return T(O);
|
|
5199
|
+
s = setTimeout(b, k(O));
|
|
5200
5200
|
}
|
|
5201
|
-
function T(
|
|
5202
|
-
return s = void 0, v && r ? f(
|
|
5201
|
+
function T(O) {
|
|
5202
|
+
return s = void 0, v && r ? f(O) : (r = n = void 0, i);
|
|
5203
5203
|
}
|
|
5204
5204
|
function S() {
|
|
5205
5205
|
s !== void 0 && clearTimeout(s), l = 0, r = u = n = s = void 0;
|
|
@@ -5207,9 +5207,9 @@ function Ap(o, t, e) {
|
|
|
5207
5207
|
function C() {
|
|
5208
5208
|
return s === void 0 ? i : T(wl());
|
|
5209
5209
|
}
|
|
5210
|
-
function
|
|
5211
|
-
var
|
|
5212
|
-
if (r = arguments, n = this, u =
|
|
5210
|
+
function I() {
|
|
5211
|
+
var O = wl(), M = y(O);
|
|
5212
|
+
if (r = arguments, n = this, u = O, M) {
|
|
5213
5213
|
if (s === void 0)
|
|
5214
5214
|
return g(u);
|
|
5215
5215
|
if (p)
|
|
@@ -5217,7 +5217,7 @@ function Ap(o, t, e) {
|
|
|
5217
5217
|
}
|
|
5218
5218
|
return s === void 0 && (s = setTimeout(b, t)), i;
|
|
5219
5219
|
}
|
|
5220
|
-
return
|
|
5220
|
+
return I.cancel = S, I.flush = C, I;
|
|
5221
5221
|
}
|
|
5222
5222
|
function od(o, t, e) {
|
|
5223
5223
|
(e !== void 0 && !Ju(o[t], e) || e === void 0 && !(t in o)) && fp(o, t, e);
|
|
@@ -6005,8 +6005,8 @@ var Ih = 1080, Mh = 1920, mP = function(t, e, r, n, a, i) {
|
|
|
6005
6005
|
if (c(this, Jr)[Jr] !== void 0) {
|
|
6006
6006
|
var s = c(this, Jr)[Jr].getContext("2d"), u = c(this, Jr)[Jr].width, l = 0, d = 0, p = n - l * 2, v = a - l * 2, f = Math.floor(u / p), g = Math.floor(r / f), k = r % f, y = k * (p + l) + l, b = g * (v + l) + l, T = i != null ? i : {}, S = T.displayText, C = T.image;
|
|
6007
6007
|
s.fillStyle = S || C ? c(this, at)[at].videoBackground : c(this, at)[at].background, s.strokeStyle = c(this, at)[at].brand, s.beginPath(), s.moveTo(y + d, b), s.arcTo(y + p, b, y + p, b + d, d), s.arcTo(y + p, b + v, y + p - d, b + v, d), s.arcTo(y, b + v, y, b + v - d, d), s.arcTo(y, b, y + d, b, d), s.closePath(), s.fill(), s.stroke();
|
|
6008
|
-
var
|
|
6009
|
-
s.save(), (S || C) && (s.beginPath(), s.arc(M, I,
|
|
6008
|
+
var I = p / 6, O = p / 2 + y, M = v / 2 + b;
|
|
6009
|
+
s.save(), (S || C) && (s.beginPath(), s.arc(O, M, I, 0, Math.PI * 2), s.fillStyle = c(this, at)[at].brand, s.fill(), C ? (s.clip(), s.drawImage(C, O - I, M - I, I * 2, I * 2), s.restore()) : S && (s.fillStyle = c(this, at)[at].textOnBrand, s.font = "".concat(I / 2, "px sans-serif"), s.textAlign = "center", s.textBaseline = "middle", s.fillText(S, O, M)), this.drawIcons(i, y, b, Math.max(p, v)));
|
|
6010
6010
|
}
|
|
6011
6011
|
} }, { key: "drawIcons", value: function(r, n, a, i) {
|
|
6012
6012
|
var s = this, u = Math.min(Math.max(i * 0.15, 100), 200), l = u * 0.2, d = u * 0.2, p = n + l, v = a + l, f = function(k) {
|
|
@@ -6020,8 +6020,8 @@ var Ih = 1080, Mh = 1920, mP = function(t, e, r, n, a, i) {
|
|
|
6020
6020
|
for (var d = 0; d < c(this, we)[we].width - 5 && l < a; ) {
|
|
6021
6021
|
var p;
|
|
6022
6022
|
if ((p = s[l]) !== null && p !== void 0 && p.enabled) {
|
|
6023
|
-
var v, f = s[l].element, g = mP(d, u, r, n, f.videoWidth, f.videoHeight), k = We(g, 8), y = k[0], b = k[1], T = k[2], S = k[3], C = k[4],
|
|
6024
|
-
L ? (i.save(), i.scale(-1, 1), i.drawImage(f, y, b, T, S, -1 * C,
|
|
6023
|
+
var v, f = s[l].element, g = mP(d, u, r, n, f.videoWidth, f.videoHeight), k = We(g, 8), y = k[0], b = k[1], T = k[2], S = k[3], C = k[4], I = k[5], O = k[6], M = k[7], L = f == null || (v = f.classList) === null || v === void 0 ? void 0 : v.contains("mirror");
|
|
6024
|
+
L ? (i.save(), i.scale(-1, 1), i.drawImage(f, y, b, T, S, -1 * C, I, -1 * O, M), i.restore()) : i.drawImage(f, y, b, T, S, C, I, O, M), this.drawIcons(s[l], C, I, Math.max(O, M));
|
|
6025
6025
|
} else
|
|
6026
6026
|
this.drawEmptyTile(l, r, n, s[l]);
|
|
6027
6027
|
l += 1, d += r;
|
|
@@ -6281,7 +6281,7 @@ var kP = /* @__PURE__ */ function(o) {
|
|
|
6281
6281
|
}]]);
|
|
6282
6282
|
}
|
|
6283
6283
|
return A(t, o), P(t);
|
|
6284
|
-
}(
|
|
6284
|
+
}(_), Lf = new kP(), bP = /* @__PURE__ */ function(o) {
|
|
6285
6285
|
function t() {
|
|
6286
6286
|
return w(this, t), R(this, t, ["media.HeaderExtension", [{
|
|
6287
6287
|
no: 1,
|
|
@@ -6299,7 +6299,7 @@ var kP = /* @__PURE__ */ function(o) {
|
|
|
6299
6299
|
}]]);
|
|
6300
6300
|
}
|
|
6301
6301
|
return A(t, o), P(t);
|
|
6302
|
-
}(
|
|
6302
|
+
}(_), TP = new bP(), wP = /* @__PURE__ */ function(o) {
|
|
6303
6303
|
function t() {
|
|
6304
6304
|
return w(this, t), R(this, t, ["media.Fingerprint", [{
|
|
6305
6305
|
no: 1,
|
|
@@ -6316,7 +6316,7 @@ var kP = /* @__PURE__ */ function(o) {
|
|
|
6316
6316
|
}]]);
|
|
6317
6317
|
}
|
|
6318
6318
|
return A(t, o), P(t);
|
|
6319
|
-
}(
|
|
6319
|
+
}(_);
|
|
6320
6320
|
new wP();
|
|
6321
6321
|
var PP = /* @__PURE__ */ function(o) {
|
|
6322
6322
|
function t() {
|
|
@@ -6337,7 +6337,7 @@ var PP = /* @__PURE__ */ function(o) {
|
|
|
6337
6337
|
}]]);
|
|
6338
6338
|
}
|
|
6339
6339
|
return A(t, o), P(t);
|
|
6340
|
-
}(
|
|
6340
|
+
}(_), Ln = new PP(), SP = /* @__PURE__ */ function(o) {
|
|
6341
6341
|
function t() {
|
|
6342
6342
|
return w(this, t), R(this, t, ["media.ProducerPayload", [{
|
|
6343
6343
|
no: 1,
|
|
@@ -6380,7 +6380,7 @@ var PP = /* @__PURE__ */ function(o) {
|
|
|
6380
6380
|
}]]);
|
|
6381
6381
|
}
|
|
6382
6382
|
return A(t, o), P(t);
|
|
6383
|
-
}(
|
|
6383
|
+
}(_), EP = new SP(), CP = /* @__PURE__ */ function(o) {
|
|
6384
6384
|
function t() {
|
|
6385
6385
|
return w(this, t), R(this, t, ["media.CreateTransportRequest", [{
|
|
6386
6386
|
no: 1,
|
|
@@ -6409,7 +6409,7 @@ var PP = /* @__PURE__ */ function(o) {
|
|
|
6409
6409
|
} }]]);
|
|
6410
6410
|
}
|
|
6411
6411
|
return A(t, o), P(t);
|
|
6412
|
-
}(
|
|
6412
|
+
}(_), RP = new CP(), AP = /* @__PURE__ */ function(o) {
|
|
6413
6413
|
function t() {
|
|
6414
6414
|
return w(this, t), R(this, t, ["media.AudioActivityRequest", [{
|
|
6415
6415
|
no: 1,
|
|
@@ -6432,7 +6432,7 @@ var PP = /* @__PURE__ */ function(o) {
|
|
|
6432
6432
|
}]]);
|
|
6433
6433
|
}
|
|
6434
6434
|
return A(t, o), P(t);
|
|
6435
|
-
}(
|
|
6435
|
+
}(_), IP = new AP(), MP = /* @__PURE__ */ function(o) {
|
|
6436
6436
|
function t() {
|
|
6437
6437
|
return w(this, t), R(this, t, ["media.CreateTransportResponse", [{
|
|
6438
6438
|
no: 1,
|
|
@@ -6459,7 +6459,7 @@ var PP = /* @__PURE__ */ function(o) {
|
|
|
6459
6459
|
}]]);
|
|
6460
6460
|
}
|
|
6461
6461
|
return A(t, o), P(t);
|
|
6462
|
-
}(
|
|
6462
|
+
}(_), Nf = new MP(), _P = /* @__PURE__ */ function(o) {
|
|
6463
6463
|
function t() {
|
|
6464
6464
|
return w(this, t), R(this, t, ["media.RenegotiateRequest", [{
|
|
6465
6465
|
no: 1,
|
|
@@ -6472,7 +6472,7 @@ var PP = /* @__PURE__ */ function(o) {
|
|
|
6472
6472
|
} }]]);
|
|
6473
6473
|
}
|
|
6474
6474
|
return A(t, o), P(t);
|
|
6475
|
-
}(
|
|
6475
|
+
}(_), OP = new _P(), DP = /* @__PURE__ */ function(o) {
|
|
6476
6476
|
function t() {
|
|
6477
6477
|
return w(this, t), R(this, t, ["media.RenegotiateResponse", [{
|
|
6478
6478
|
no: 1,
|
|
@@ -6485,7 +6485,7 @@ var PP = /* @__PURE__ */ function(o) {
|
|
|
6485
6485
|
} }]]);
|
|
6486
6486
|
}
|
|
6487
6487
|
return A(t, o), P(t);
|
|
6488
|
-
}(
|
|
6488
|
+
}(_);
|
|
6489
6489
|
new DP();
|
|
6490
6490
|
var $P = /* @__PURE__ */ function(o) {
|
|
6491
6491
|
function t() {
|
|
@@ -6517,7 +6517,7 @@ var $P = /* @__PURE__ */ function(o) {
|
|
|
6517
6517
|
}]]);
|
|
6518
6518
|
}
|
|
6519
6519
|
return A(t, o), P(t);
|
|
6520
|
-
}(
|
|
6520
|
+
}(_), LP = new $P(), NP = /* @__PURE__ */ function(o) {
|
|
6521
6521
|
function t() {
|
|
6522
6522
|
return w(this, t), R(this, t, ["media.ProducerTrack", [{
|
|
6523
6523
|
no: 1,
|
|
@@ -6540,7 +6540,7 @@ var $P = /* @__PURE__ */ function(o) {
|
|
|
6540
6540
|
}]]);
|
|
6541
6541
|
}
|
|
6542
6542
|
return A(t, o), P(t);
|
|
6543
|
-
}(
|
|
6543
|
+
}(_), VP = new NP(), UP = /* @__PURE__ */ function(o) {
|
|
6544
6544
|
function t() {
|
|
6545
6545
|
return w(this, t), R(this, t, ["media.ProducerEntry", [{
|
|
6546
6546
|
no: 1,
|
|
@@ -6557,7 +6557,7 @@ var $P = /* @__PURE__ */ function(o) {
|
|
|
6557
6557
|
}]]);
|
|
6558
6558
|
}
|
|
6559
6559
|
return A(t, o), P(t);
|
|
6560
|
-
}(
|
|
6560
|
+
}(_);
|
|
6561
6561
|
new UP();
|
|
6562
6562
|
var jP = /* @__PURE__ */ function(o) {
|
|
6563
6563
|
function t() {
|
|
@@ -6576,7 +6576,7 @@ var jP = /* @__PURE__ */ function(o) {
|
|
|
6576
6576
|
}]]);
|
|
6577
6577
|
}
|
|
6578
6578
|
return A(t, o), P(t);
|
|
6579
|
-
}(
|
|
6579
|
+
}(_);
|
|
6580
6580
|
new jP();
|
|
6581
6581
|
var FP = /* @__PURE__ */ function(o) {
|
|
6582
6582
|
function t() {
|
|
@@ -6626,7 +6626,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6626
6626
|
} }]]);
|
|
6627
6627
|
}
|
|
6628
6628
|
return A(t, o), P(t);
|
|
6629
|
-
}(
|
|
6629
|
+
}(_), Qu = new FP(), HP = /* @__PURE__ */ function(o) {
|
|
6630
6630
|
function t() {
|
|
6631
6631
|
return w(this, t), R(this, t, ["media.ConsumerState", [{
|
|
6632
6632
|
no: 1,
|
|
@@ -6648,14 +6648,14 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6648
6648
|
}]]);
|
|
6649
6649
|
}
|
|
6650
6650
|
return A(t, o), P(t);
|
|
6651
|
-
}(
|
|
6651
|
+
}(_), BP = new HP(), qP = /* @__PURE__ */ function(o) {
|
|
6652
6652
|
function t() {
|
|
6653
6653
|
return w(this, t), R(this, t, ["media.ProducerIdToConsumerMap", [{ no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: function() {
|
|
6654
6654
|
return BP;
|
|
6655
6655
|
} } }]]);
|
|
6656
6656
|
}
|
|
6657
6657
|
return A(t, o), P(t);
|
|
6658
|
-
}(
|
|
6658
|
+
}(_), Vf = new qP(), GP = /* @__PURE__ */ function(o) {
|
|
6659
6659
|
function t() {
|
|
6660
6660
|
return w(this, t), R(this, t, ["media.PeerRtpCapabilitites", [{ no: 1, name: "sender", kind: "message", T: function() {
|
|
6661
6661
|
return Oh;
|
|
@@ -6664,7 +6664,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6664
6664
|
} }]]);
|
|
6665
6665
|
}
|
|
6666
6666
|
return A(t, o), P(t);
|
|
6667
|
-
}(
|
|
6667
|
+
}(_), Uf = new GP(), WP = /* @__PURE__ */ function(o) {
|
|
6668
6668
|
function t() {
|
|
6669
6669
|
return w(this, t), R(this, t, ["media.RtpCapability", [{ no: 1, name: "codecs", kind: "message", repeat: 1, T: function() {
|
|
6670
6670
|
return Lf;
|
|
@@ -6673,7 +6673,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6673
6673
|
} }]]);
|
|
6674
6674
|
}
|
|
6675
6675
|
return A(t, o), P(t);
|
|
6676
|
-
}(
|
|
6676
|
+
}(_), _h = new WP(), JP = /* @__PURE__ */ function(o) {
|
|
6677
6677
|
function t() {
|
|
6678
6678
|
return w(this, t), R(this, t, ["media.RtpCapabilitites", [{ no: 1, name: "audio", kind: "message", T: function() {
|
|
6679
6679
|
return _h;
|
|
@@ -6682,7 +6682,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6682
6682
|
} }]]);
|
|
6683
6683
|
}
|
|
6684
6684
|
return A(t, o), P(t);
|
|
6685
|
-
}(
|
|
6685
|
+
}(_), Oh = new JP(), KP = /* @__PURE__ */ function(o) {
|
|
6686
6686
|
function t() {
|
|
6687
6687
|
return w(this, t), R(this, t, ["media.PreferredCodec", [{
|
|
6688
6688
|
no: 1,
|
|
@@ -6701,7 +6701,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6701
6701
|
}]]);
|
|
6702
6702
|
}
|
|
6703
6703
|
return A(t, o), P(t);
|
|
6704
|
-
}(
|
|
6704
|
+
}(_), zP = new KP(), YP = /* @__PURE__ */ function(o) {
|
|
6705
6705
|
function t() {
|
|
6706
6706
|
return w(this, t), R(this, t, ["media.Simulcast", [{
|
|
6707
6707
|
no: 1,
|
|
@@ -6727,7 +6727,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6727
6727
|
}]]);
|
|
6728
6728
|
}
|
|
6729
6729
|
return A(t, o), P(t);
|
|
6730
|
-
}(
|
|
6730
|
+
}(_), jf = new YP(), QP = /* @__PURE__ */ function(o) {
|
|
6731
6731
|
function t() {
|
|
6732
6732
|
return w(this, t), R(this, t, ["media.edge.GeoLocation", [{
|
|
6733
6733
|
no: 1,
|
|
@@ -6751,7 +6751,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6751
6751
|
}]]);
|
|
6752
6752
|
}
|
|
6753
6753
|
return A(t, o), P(t);
|
|
6754
|
-
}(
|
|
6754
|
+
}(_), XP = new QP(), ZP = /* @__PURE__ */ function(o) {
|
|
6755
6755
|
function t() {
|
|
6756
6756
|
return w(this, t), R(this, t, ["media.edge.PeerJoinRequest", [{
|
|
6757
6757
|
no: 1,
|
|
@@ -6807,12 +6807,12 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6807
6807
|
} }]]);
|
|
6808
6808
|
}
|
|
6809
6809
|
return A(t, o), P(t);
|
|
6810
|
-
}(
|
|
6810
|
+
}(_), xP = new ZP(), eS = /* @__PURE__ */ function(o) {
|
|
6811
6811
|
function t() {
|
|
6812
6812
|
return w(this, t), R(this, t, ["media.edge.PeerJoinCompleteRequest", []]);
|
|
6813
6813
|
}
|
|
6814
6814
|
return A(t, o), P(t);
|
|
6815
|
-
}(
|
|
6815
|
+
}(_), rS = new eS(), tS = /* @__PURE__ */ function(o) {
|
|
6816
6816
|
function t() {
|
|
6817
6817
|
return w(this, t), R(this, t, ["media.edge.PeerLeaveRequest", [{
|
|
6818
6818
|
no: 1,
|
|
@@ -6823,7 +6823,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6823
6823
|
}]]);
|
|
6824
6824
|
}
|
|
6825
6825
|
return A(t, o), P(t);
|
|
6826
|
-
}(
|
|
6826
|
+
}(_), nS = new tS(), aS = /* @__PURE__ */ function(o) {
|
|
6827
6827
|
function t() {
|
|
6828
6828
|
return w(this, t), R(this, t, ["media.edge.ConsumeMultipleProducerRequest", [{
|
|
6829
6829
|
no: 1,
|
|
@@ -6842,7 +6842,7 @@ var FP = /* @__PURE__ */ function(o) {
|
|
|
6842
6842
|
}]]);
|
|
6843
6843
|
}
|
|
6844
6844
|
return A(t, o), P(t);
|
|
6845
|
-
}(
|
|
6845
|
+
}(_);
|
|
6846
6846
|
new aS();
|
|
6847
6847
|
var iS = /* @__PURE__ */ function(o) {
|
|
6848
6848
|
function t() {
|
|
@@ -6880,7 +6880,7 @@ var iS = /* @__PURE__ */ function(o) {
|
|
|
6880
6880
|
} }]]);
|
|
6881
6881
|
}
|
|
6882
6882
|
return A(t, o), P(t);
|
|
6883
|
-
}(
|
|
6883
|
+
}(_), sS = new iS(), oS = /* @__PURE__ */ function(o) {
|
|
6884
6884
|
function t() {
|
|
6885
6885
|
return w(this, t), R(this, t, ["media.edge.ConsumePeersRequest", [{ no: 1, name: "requests", kind: "message", repeat: 1, T: function() {
|
|
6886
6886
|
return sS;
|
|
@@ -6894,7 +6894,7 @@ var iS = /* @__PURE__ */ function(o) {
|
|
|
6894
6894
|
}]]);
|
|
6895
6895
|
}
|
|
6896
6896
|
return A(t, o), P(t);
|
|
6897
|
-
}(
|
|
6897
|
+
}(_), uS = new oS(), cS = /* @__PURE__ */ function(o) {
|
|
6898
6898
|
function t() {
|
|
6899
6899
|
return w(this, t), R(this, t, ["media.edge.UpdateConsumerSimulcastConfigRequest", [{
|
|
6900
6900
|
no: 1,
|
|
@@ -6919,7 +6919,7 @@ var iS = /* @__PURE__ */ function(o) {
|
|
|
6919
6919
|
}]]);
|
|
6920
6920
|
}
|
|
6921
6921
|
return A(t, o), P(t);
|
|
6922
|
-
}(
|
|
6922
|
+
}(_), lS = new cS(), dS = /* @__PURE__ */ function(o) {
|
|
6923
6923
|
function t() {
|
|
6924
6924
|
return w(this, t), R(this, t, ["media.edge.UpdateConsumersSimulcastConfigRequest", [{ no: 1, name: "requests", kind: "message", repeat: 1, T: function() {
|
|
6925
6925
|
return lS;
|
|
@@ -6933,7 +6933,7 @@ var iS = /* @__PURE__ */ function(o) {
|
|
|
6933
6933
|
}]]);
|
|
6934
6934
|
}
|
|
6935
6935
|
return A(t, o), P(t);
|
|
6936
|
-
}(
|
|
6936
|
+
}(_), pS = new dS(), hS = /* @__PURE__ */ function(o) {
|
|
6937
6937
|
function t() {
|
|
6938
6938
|
return w(this, t), R(this, t, ["media.edge.ProducerCreateRequest", [{
|
|
6939
6939
|
no: 1,
|
|
@@ -6985,12 +6985,12 @@ var iS = /* @__PURE__ */ function(o) {
|
|
|
6985
6985
|
}]]);
|
|
6986
6986
|
}
|
|
6987
6987
|
return A(t, o), P(t);
|
|
6988
|
-
}(
|
|
6988
|
+
}(_), vS = new hS(), fS = /* @__PURE__ */ function(o) {
|
|
6989
6989
|
function t() {
|
|
6990
6990
|
return w(this, t), R(this, t, ["media.edge.SelectedPeersRequest", []]);
|
|
6991
6991
|
}
|
|
6992
6992
|
return A(t, o), P(t);
|
|
6993
|
-
}(
|
|
6993
|
+
}(_);
|
|
6994
6994
|
new fS();
|
|
6995
6995
|
var gS = /* @__PURE__ */ function(o) {
|
|
6996
6996
|
function t() {
|
|
@@ -7003,7 +7003,7 @@ var gS = /* @__PURE__ */ function(o) {
|
|
|
7003
7003
|
}]]);
|
|
7004
7004
|
}
|
|
7005
7005
|
return A(t, o), P(t);
|
|
7006
|
-
}(
|
|
7006
|
+
}(_), mS = new gS(), yS = /* @__PURE__ */ function(o) {
|
|
7007
7007
|
function t() {
|
|
7008
7008
|
return w(this, t), R(this, t, ["media.edge.ProducerToggleRequest", [{
|
|
7009
7009
|
no: 1,
|
|
@@ -7020,7 +7020,7 @@ var gS = /* @__PURE__ */ function(o) {
|
|
|
7020
7020
|
}]]);
|
|
7021
7021
|
}
|
|
7022
7022
|
return A(t, o), P(t);
|
|
7023
|
-
}(
|
|
7023
|
+
}(_), hc = new yS(), kS = /* @__PURE__ */ function(o) {
|
|
7024
7024
|
function t() {
|
|
7025
7025
|
return w(this, t), R(this, t, ["media.edge.ConsumerToggleRequest", [{
|
|
7026
7026
|
no: 1,
|
|
@@ -7037,7 +7037,7 @@ var gS = /* @__PURE__ */ function(o) {
|
|
|
7037
7037
|
}]]);
|
|
7038
7038
|
}
|
|
7039
7039
|
return A(t, o), P(t);
|
|
7040
|
-
}(
|
|
7040
|
+
}(_);
|
|
7041
7041
|
new kS();
|
|
7042
7042
|
var bS = /* @__PURE__ */ function(o) {
|
|
7043
7043
|
function t() {
|
|
@@ -7059,7 +7059,7 @@ var bS = /* @__PURE__ */ function(o) {
|
|
|
7059
7059
|
}]]);
|
|
7060
7060
|
}
|
|
7061
7061
|
return A(t, o), P(t);
|
|
7062
|
-
}(
|
|
7062
|
+
}(_), TS = new bS(), wS = /* @__PURE__ */ function(o) {
|
|
7063
7063
|
function t() {
|
|
7064
7064
|
return w(this, t), R(this, t, ["media.edge.ConsumerCloseRequest", [{
|
|
7065
7065
|
no: 1,
|
|
@@ -7080,7 +7080,7 @@ var bS = /* @__PURE__ */ function(o) {
|
|
|
7080
7080
|
}]]);
|
|
7081
7081
|
}
|
|
7082
7082
|
return A(t, o), P(t);
|
|
7083
|
-
}(
|
|
7083
|
+
}(_), PS = new wS(), SS = /* @__PURE__ */ function(o) {
|
|
7084
7084
|
function t() {
|
|
7085
7085
|
return w(this, t), R(this, t, ["media.edge.KickPeerRequest", [{
|
|
7086
7086
|
no: 1,
|
|
@@ -7091,7 +7091,7 @@ var bS = /* @__PURE__ */ function(o) {
|
|
|
7091
7091
|
}]]);
|
|
7092
7092
|
}
|
|
7093
7093
|
return A(t, o), P(t);
|
|
7094
|
-
}(
|
|
7094
|
+
}(_);
|
|
7095
7095
|
new SS();
|
|
7096
7096
|
var ES = /* @__PURE__ */ function(o) {
|
|
7097
7097
|
function t() {
|
|
@@ -7104,7 +7104,7 @@ var ES = /* @__PURE__ */ function(o) {
|
|
|
7104
7104
|
}]]);
|
|
7105
7105
|
}
|
|
7106
7106
|
return A(t, o), P(t);
|
|
7107
|
-
}(
|
|
7107
|
+
}(_), Ff = new ES(), CS = /* @__PURE__ */ function(o) {
|
|
7108
7108
|
function t() {
|
|
7109
7109
|
return w(this, t), R(this, t, ["media.edge.PeerDisplayNameEditRequest", [{
|
|
7110
7110
|
no: 1,
|
|
@@ -7121,7 +7121,7 @@ var ES = /* @__PURE__ */ function(o) {
|
|
|
7121
7121
|
}]]);
|
|
7122
7122
|
}
|
|
7123
7123
|
return A(t, o), P(t);
|
|
7124
|
-
}(
|
|
7124
|
+
}(_), RS = new CS(), AS = /* @__PURE__ */ function(o) {
|
|
7125
7125
|
function t() {
|
|
7126
7126
|
return w(this, t), R(this, t, ["media.edge.HostMediaControlForPeerRequest", [{
|
|
7127
7127
|
no: 1,
|
|
@@ -7150,7 +7150,7 @@ var ES = /* @__PURE__ */ function(o) {
|
|
|
7150
7150
|
}]]);
|
|
7151
7151
|
}
|
|
7152
7152
|
return A(t, o), P(t);
|
|
7153
|
-
}(
|
|
7153
|
+
}(_), IS = new AS(), MS = /* @__PURE__ */ function(o) {
|
|
7154
7154
|
function t() {
|
|
7155
7155
|
return w(this, t), R(this, t, ["media.edge.HostMediaControlForAllPeerRequest", [{
|
|
7156
7156
|
no: 1,
|
|
@@ -7173,7 +7173,7 @@ var ES = /* @__PURE__ */ function(o) {
|
|
|
7173
7173
|
}]]);
|
|
7174
7174
|
}
|
|
7175
7175
|
return A(t, o), P(t);
|
|
7176
|
-
}(
|
|
7176
|
+
}(_), _S = new MS(), OS = /* @__PURE__ */ function(o) {
|
|
7177
7177
|
function t() {
|
|
7178
7178
|
return w(this, t), R(this, t, ["media.edge.GetRoomStateResponse", [{
|
|
7179
7179
|
no: 1,
|
|
@@ -7229,7 +7229,7 @@ var ES = /* @__PURE__ */ function(o) {
|
|
|
7229
7229
|
}]]);
|
|
7230
7230
|
}
|
|
7231
7231
|
return A(t, o), P(t);
|
|
7232
|
-
}(
|
|
7232
|
+
}(_), DS = new OS(), $S = /* @__PURE__ */ function(o) {
|
|
7233
7233
|
function t() {
|
|
7234
7234
|
return w(this, t), R(this, t, ["media.edge.ErrorResponse", [{
|
|
7235
7235
|
no: 1,
|
|
@@ -7246,12 +7246,12 @@ var ES = /* @__PURE__ */ function(o) {
|
|
|
7246
7246
|
}]]);
|
|
7247
7247
|
}
|
|
7248
7248
|
return A(t, o), P(t);
|
|
7249
|
-
}(
|
|
7249
|
+
}(_), LS = new $S(), NS = /* @__PURE__ */ function(o) {
|
|
7250
7250
|
function t() {
|
|
7251
7251
|
return w(this, t), R(this, t, ["media.edge.EmptyResponse", []]);
|
|
7252
7252
|
}
|
|
7253
7253
|
return A(t, o), P(t);
|
|
7254
|
-
}(
|
|
7254
|
+
}(_);
|
|
7255
7255
|
new NS();
|
|
7256
7256
|
var VS = /* @__PURE__ */ function(o) {
|
|
7257
7257
|
function t() {
|
|
@@ -7281,7 +7281,7 @@ var VS = /* @__PURE__ */ function(o) {
|
|
|
7281
7281
|
} }]]);
|
|
7282
7282
|
}
|
|
7283
7283
|
return A(t, o), P(t);
|
|
7284
|
-
}(
|
|
7284
|
+
}(_), Hf = new VS(), US = /* @__PURE__ */ function(o) {
|
|
7285
7285
|
function t() {
|
|
7286
7286
|
return w(this, t), R(this, t, ["media.edge.SelectedPeersResponse", [{
|
|
7287
7287
|
no: 1,
|
|
@@ -7300,7 +7300,7 @@ var VS = /* @__PURE__ */ function(o) {
|
|
|
7300
7300
|
}]]);
|
|
7301
7301
|
}
|
|
7302
7302
|
return A(t, o), P(t);
|
|
7303
|
-
}(
|
|
7303
|
+
}(_), ld = new US(), jS = /* @__PURE__ */ function(o) {
|
|
7304
7304
|
function t() {
|
|
7305
7305
|
return w(this, t), R(this, t, ["media.edge.SelectedPeersDiffEntry", [{
|
|
7306
7306
|
no: 1,
|
|
@@ -7317,19 +7317,19 @@ var VS = /* @__PURE__ */ function(o) {
|
|
|
7317
7317
|
}]]);
|
|
7318
7318
|
}
|
|
7319
7319
|
return A(t, o), P(t);
|
|
7320
|
-
}(
|
|
7320
|
+
}(_), FS = new jS(), HS = /* @__PURE__ */ function(o) {
|
|
7321
7321
|
function t() {
|
|
7322
7322
|
return w(this, t), R(this, t, ["media.edge.SelectedPeersDiffResponse", [{ no: 1, name: "entries", kind: "message", repeat: 1, T: function() {
|
|
7323
7323
|
return FS;
|
|
7324
7324
|
} }]]);
|
|
7325
7325
|
}
|
|
7326
7326
|
return A(t, o), P(t);
|
|
7327
|
-
}(
|
|
7327
|
+
}(_), Dh = new HS(), BS = /* @__PURE__ */ function(o) {
|
|
7328
7328
|
function t() {
|
|
7329
7329
|
return w(this, t), R(this, t, ["media.edge.PeerJoinResponse", []]);
|
|
7330
7330
|
}
|
|
7331
7331
|
return A(t, o), P(t);
|
|
7332
|
-
}(
|
|
7332
|
+
}(_);
|
|
7333
7333
|
new BS();
|
|
7334
7334
|
var qS = /* @__PURE__ */ function(o) {
|
|
7335
7335
|
function t() {
|
|
@@ -7348,7 +7348,7 @@ var qS = /* @__PURE__ */ function(o) {
|
|
|
7348
7348
|
}]]);
|
|
7349
7349
|
}
|
|
7350
7350
|
return A(t, o), P(t);
|
|
7351
|
-
}(
|
|
7351
|
+
}(_), dd = new qS(), GS = /* @__PURE__ */ function(o) {
|
|
7352
7352
|
function t() {
|
|
7353
7353
|
return w(this, t), R(this, t, ["media.edge.PeerLeaveResponse", [{
|
|
7354
7354
|
no: 1,
|
|
@@ -7359,7 +7359,7 @@ var qS = /* @__PURE__ */ function(o) {
|
|
|
7359
7359
|
}]]);
|
|
7360
7360
|
}
|
|
7361
7361
|
return A(t, o), P(t);
|
|
7362
|
-
}(
|
|
7362
|
+
}(_), WS = new GS(), JS = /* @__PURE__ */ function(o) {
|
|
7363
7363
|
function t() {
|
|
7364
7364
|
return w(this, t), R(this, t, ["media.edge.ConsumeMultipleProducerResponse", [{
|
|
7365
7365
|
no: 1,
|
|
@@ -7372,7 +7372,7 @@ var qS = /* @__PURE__ */ function(o) {
|
|
|
7372
7372
|
} }]]);
|
|
7373
7373
|
}
|
|
7374
7374
|
return A(t, o), P(t);
|
|
7375
|
-
}(
|
|
7375
|
+
}(_);
|
|
7376
7376
|
new JS();
|
|
7377
7377
|
var KS = /* @__PURE__ */ function(o) {
|
|
7378
7378
|
function t() {
|
|
@@ -7389,7 +7389,7 @@ var KS = /* @__PURE__ */ function(o) {
|
|
|
7389
7389
|
} }]]);
|
|
7390
7390
|
}
|
|
7391
7391
|
return A(t, o), P(t);
|
|
7392
|
-
}(
|
|
7392
|
+
}(_), zS = new KS(), YS = /* @__PURE__ */ function(o) {
|
|
7393
7393
|
function t() {
|
|
7394
7394
|
return w(this, t), R(this, t, ["media.edge.ProducerCreateResponse", [{
|
|
7395
7395
|
no: 1,
|
|
@@ -7408,7 +7408,7 @@ var KS = /* @__PURE__ */ function(o) {
|
|
|
7408
7408
|
} }]]);
|
|
7409
7409
|
}
|
|
7410
7410
|
return A(t, o), P(t);
|
|
7411
|
-
}(
|
|
7411
|
+
}(_), QS = new YS(), XS = /* @__PURE__ */ function(o) {
|
|
7412
7412
|
function t() {
|
|
7413
7413
|
return w(this, t), R(this, t, ["media.edge.ProducerScoreResponse", [{
|
|
7414
7414
|
no: 1,
|
|
@@ -7421,7 +7421,7 @@ var KS = /* @__PURE__ */ function(o) {
|
|
|
7421
7421
|
} }]]);
|
|
7422
7422
|
}
|
|
7423
7423
|
return A(t, o), P(t);
|
|
7424
|
-
}(
|
|
7424
|
+
}(_);
|
|
7425
7425
|
new XS();
|
|
7426
7426
|
var ZS = /* @__PURE__ */ function(o) {
|
|
7427
7427
|
function t() {
|
|
@@ -7440,28 +7440,28 @@ var ZS = /* @__PURE__ */ function(o) {
|
|
|
7440
7440
|
}]]);
|
|
7441
7441
|
}
|
|
7442
7442
|
return A(t, o), P(t);
|
|
7443
|
-
}(
|
|
7443
|
+
}(_);
|
|
7444
7444
|
new ZS();
|
|
7445
7445
|
var xS = /* @__PURE__ */ function(o) {
|
|
7446
7446
|
function t() {
|
|
7447
7447
|
return w(this, t), R(this, t, ["media.edge.NoActiveSpeakerResponse", []]);
|
|
7448
7448
|
}
|
|
7449
7449
|
return A(t, o), P(t);
|
|
7450
|
-
}(
|
|
7450
|
+
}(_);
|
|
7451
7451
|
new xS();
|
|
7452
7452
|
var eE = /* @__PURE__ */ function(o) {
|
|
7453
7453
|
function t() {
|
|
7454
7454
|
return w(this, t), R(this, t, ["media.edge.ProducerToggleResponse", []]);
|
|
7455
7455
|
}
|
|
7456
7456
|
return A(t, o), P(t);
|
|
7457
|
-
}(
|
|
7457
|
+
}(_);
|
|
7458
7458
|
new eE();
|
|
7459
7459
|
var rE = /* @__PURE__ */ function(o) {
|
|
7460
7460
|
function t() {
|
|
7461
7461
|
return w(this, t), R(this, t, ["media.edge.ConsumerToggleResponse", []]);
|
|
7462
7462
|
}
|
|
7463
7463
|
return A(t, o), P(t);
|
|
7464
|
-
}(
|
|
7464
|
+
}(_);
|
|
7465
7465
|
new rE();
|
|
7466
7466
|
var tE = /* @__PURE__ */ function(o) {
|
|
7467
7467
|
function t() {
|
|
@@ -7470,19 +7470,19 @@ var tE = /* @__PURE__ */ function(o) {
|
|
|
7470
7470
|
} }]]);
|
|
7471
7471
|
}
|
|
7472
7472
|
return A(t, o), P(t);
|
|
7473
|
-
}(
|
|
7473
|
+
}(_), nE = new tE(), aE = /* @__PURE__ */ function(o) {
|
|
7474
7474
|
function t() {
|
|
7475
7475
|
return w(this, t), R(this, t, ["media.edge.ConsumerClosingResponse", [{ no: 1, name: "description", kind: "message", T: function() {
|
|
7476
7476
|
return Ln;
|
|
7477
7477
|
} }]]);
|
|
7478
7478
|
}
|
|
7479
7479
|
return A(t, o), P(t);
|
|
7480
|
-
}(
|
|
7480
|
+
}(_), iE = new aE(), sE = /* @__PURE__ */ function(o) {
|
|
7481
7481
|
function t() {
|
|
7482
7482
|
return w(this, t), R(this, t, ["media.edge.GlobalPeerPinningResponse", []]);
|
|
7483
7483
|
}
|
|
7484
7484
|
return A(t, o), P(t);
|
|
7485
|
-
}(
|
|
7485
|
+
}(_);
|
|
7486
7486
|
new sE();
|
|
7487
7487
|
var oE = /* @__PURE__ */ function(o) {
|
|
7488
7488
|
function t() {
|
|
@@ -7495,7 +7495,7 @@ var oE = /* @__PURE__ */ function(o) {
|
|
|
7495
7495
|
}]]);
|
|
7496
7496
|
}
|
|
7497
7497
|
return A(t, o), P(t);
|
|
7498
|
-
}(
|
|
7498
|
+
}(_);
|
|
7499
7499
|
new oE();
|
|
7500
7500
|
var uE = /* @__PURE__ */ function(o) {
|
|
7501
7501
|
function t() {
|
|
@@ -7508,7 +7508,7 @@ var uE = /* @__PURE__ */ function(o) {
|
|
|
7508
7508
|
}]]);
|
|
7509
7509
|
}
|
|
7510
7510
|
return A(t, o), P(t);
|
|
7511
|
-
}(
|
|
7511
|
+
}(_);
|
|
7512
7512
|
new uE();
|
|
7513
7513
|
var cE = /* @__PURE__ */ function(o) {
|
|
7514
7514
|
function t() {
|
|
@@ -7521,7 +7521,7 @@ var cE = /* @__PURE__ */ function(o) {
|
|
|
7521
7521
|
}]]);
|
|
7522
7522
|
}
|
|
7523
7523
|
return A(t, o), P(t);
|
|
7524
|
-
}(
|
|
7524
|
+
}(_), lE = new cE(), dE = /* @__PURE__ */ function(o) {
|
|
7525
7525
|
function t() {
|
|
7526
7526
|
return w(this, t), R(this, t, ["media.edge.HostMediaControlForAllPeerResponse", [{
|
|
7527
7527
|
no: 1,
|
|
@@ -7532,7 +7532,7 @@ var cE = /* @__PURE__ */ function(o) {
|
|
|
7532
7532
|
}]]);
|
|
7533
7533
|
}
|
|
7534
7534
|
return A(t, o), P(t);
|
|
7535
|
-
}(
|
|
7535
|
+
}(_), pE = new dE(), hE = /* @__PURE__ */ function(o) {
|
|
7536
7536
|
function t() {
|
|
7537
7537
|
return w(this, t), R(this, t, ["media.edge.PeerDisplayNameEditResponse", [{
|
|
7538
7538
|
no: 1,
|
|
@@ -7543,14 +7543,14 @@ var cE = /* @__PURE__ */ function(o) {
|
|
|
7543
7543
|
}]]);
|
|
7544
7544
|
}
|
|
7545
7545
|
return A(t, o), P(t);
|
|
7546
|
-
}(
|
|
7546
|
+
}(_), vE = new hE(), fE = /* @__PURE__ */ function(o) {
|
|
7547
7547
|
function t() {
|
|
7548
7548
|
return w(this, t), R(this, t, ["media.edge.PeerJoinBroadcastResponse", [{ no: 1, name: "participant", kind: "message", T: function() {
|
|
7549
7549
|
return Hf;
|
|
7550
7550
|
} }]]);
|
|
7551
7551
|
}
|
|
7552
7552
|
return A(t, o), P(t);
|
|
7553
|
-
}(
|
|
7553
|
+
}(_), $h = new fE(), gE = /* @__PURE__ */ function(o) {
|
|
7554
7554
|
function t() {
|
|
7555
7555
|
return w(this, t), R(this, t, ["media.edge.TrackSubscriptionKind", [{
|
|
7556
7556
|
no: 1,
|
|
@@ -7567,7 +7567,7 @@ var cE = /* @__PURE__ */ function(o) {
|
|
|
7567
7567
|
}]]);
|
|
7568
7568
|
}
|
|
7569
7569
|
return A(t, o), P(t);
|
|
7570
|
-
}(
|
|
7570
|
+
}(_), Lh = new gE(), mE = /* @__PURE__ */ function(o) {
|
|
7571
7571
|
function t() {
|
|
7572
7572
|
return w(this, t), R(this, t, ["media.edge.TrackSubscription", [{
|
|
7573
7573
|
no: 1,
|
|
@@ -7582,7 +7582,7 @@ var cE = /* @__PURE__ */ function(o) {
|
|
|
7582
7582
|
} }]]);
|
|
7583
7583
|
}
|
|
7584
7584
|
return A(t, o), P(t);
|
|
7585
|
-
}(
|
|
7585
|
+
}(_), yE = new mE(), kE = /* @__PURE__ */ function(o) {
|
|
7586
7586
|
function t() {
|
|
7587
7587
|
return w(this, t), R(this, t, ["media.edge.PeerProducingTransportCreateBroadcastResponse", [{
|
|
7588
7588
|
no: 1,
|
|
@@ -7597,7 +7597,7 @@ var cE = /* @__PURE__ */ function(o) {
|
|
|
7597
7597
|
} }]]);
|
|
7598
7598
|
}
|
|
7599
7599
|
return A(t, o), P(t);
|
|
7600
|
-
}(
|
|
7600
|
+
}(_);
|
|
7601
7601
|
new kE();
|
|
7602
7602
|
var bE = /* @__PURE__ */ function(o) {
|
|
7603
7603
|
function t() {
|
|
@@ -7612,7 +7612,7 @@ var bE = /* @__PURE__ */ function(o) {
|
|
|
7612
7612
|
} }]]);
|
|
7613
7613
|
}
|
|
7614
7614
|
return A(t, o), P(t);
|
|
7615
|
-
}(
|
|
7615
|
+
}(_), TE = new bE(), wE = /* @__PURE__ */ function(o) {
|
|
7616
7616
|
function t() {
|
|
7617
7617
|
return w(this, t), R(this, t, ["media.edge.PeerProducerToggleBroadcastResponse", [{
|
|
7618
7618
|
no: 1,
|
|
@@ -7632,7 +7632,7 @@ var bE = /* @__PURE__ */ function(o) {
|
|
|
7632
7632
|
}]]);
|
|
7633
7633
|
}
|
|
7634
7634
|
return A(t, o), P(t);
|
|
7635
|
-
}(
|
|
7635
|
+
}(_), Nh = new wE(), PE = /* @__PURE__ */ function(o) {
|
|
7636
7636
|
function t() {
|
|
7637
7637
|
return w(this, t), R(this, t, ["media.edge.PeerProducerCloseBroadcastResponse", [{
|
|
7638
7638
|
no: 1,
|
|
@@ -7645,7 +7645,7 @@ var bE = /* @__PURE__ */ function(o) {
|
|
|
7645
7645
|
} }]]);
|
|
7646
7646
|
}
|
|
7647
7647
|
return A(t, o), P(t);
|
|
7648
|
-
}(
|
|
7648
|
+
}(_), SE = new PE(), EE = /* @__PURE__ */ function(o) {
|
|
7649
7649
|
function t() {
|
|
7650
7650
|
return w(this, t), R(this, t, ["media.edge.PeerLeaveBroadcastResponse", [{
|
|
7651
7651
|
no: 1,
|
|
@@ -7656,7 +7656,7 @@ var bE = /* @__PURE__ */ function(o) {
|
|
|
7656
7656
|
}]]);
|
|
7657
7657
|
}
|
|
7658
7658
|
return A(t, o), P(t);
|
|
7659
|
-
}(
|
|
7659
|
+
}(_), pd = new EE(), CE = /* @__PURE__ */ function(o) {
|
|
7660
7660
|
function t() {
|
|
7661
7661
|
return w(this, t), R(this, t, ["media.edge.GlobalPeerPinningBroadcastResponse", [{
|
|
7662
7662
|
no: 1,
|
|
@@ -7667,7 +7667,7 @@ var bE = /* @__PURE__ */ function(o) {
|
|
|
7667
7667
|
}]]);
|
|
7668
7668
|
}
|
|
7669
7669
|
return A(t, o), P(t);
|
|
7670
|
-
}(
|
|
7670
|
+
}(_), Vh = new CE(), RE = /* @__PURE__ */ function(o) {
|
|
7671
7671
|
function t() {
|
|
7672
7672
|
return w(this, t), R(this, t, ["media.edge.GlobalPeerUnPinningBroadcastResponse", [{
|
|
7673
7673
|
no: 1,
|
|
@@ -7678,7 +7678,7 @@ var bE = /* @__PURE__ */ function(o) {
|
|
|
7678
7678
|
}]]);
|
|
7679
7679
|
}
|
|
7680
7680
|
return A(t, o), P(t);
|
|
7681
|
-
}(
|
|
7681
|
+
}(_);
|
|
7682
7682
|
new RE();
|
|
7683
7683
|
var AE = /* @__PURE__ */ function(o) {
|
|
7684
7684
|
function t() {
|
|
@@ -7691,7 +7691,7 @@ var AE = /* @__PURE__ */ function(o) {
|
|
|
7691
7691
|
}]]);
|
|
7692
7692
|
}
|
|
7693
7693
|
return A(t, o), P(t);
|
|
7694
|
-
}(
|
|
7694
|
+
}(_);
|
|
7695
7695
|
new AE();
|
|
7696
7696
|
var IE = /* @__PURE__ */ function(o) {
|
|
7697
7697
|
function t() {
|
|
@@ -7704,7 +7704,7 @@ var IE = /* @__PURE__ */ function(o) {
|
|
|
7704
7704
|
}]]);
|
|
7705
7705
|
}
|
|
7706
7706
|
return A(t, o), P(t);
|
|
7707
|
-
}(
|
|
7707
|
+
}(_);
|
|
7708
7708
|
new IE();
|
|
7709
7709
|
var ME = /* @__PURE__ */ function(o) {
|
|
7710
7710
|
function t() {
|
|
@@ -7723,7 +7723,7 @@ var ME = /* @__PURE__ */ function(o) {
|
|
|
7723
7723
|
}]]);
|
|
7724
7724
|
}
|
|
7725
7725
|
return A(t, o), P(t);
|
|
7726
|
-
}(
|
|
7726
|
+
}(_);
|
|
7727
7727
|
new ME();
|
|
7728
7728
|
var _E = /* @__PURE__ */ function(o) {
|
|
7729
7729
|
function t() {
|
|
@@ -7736,7 +7736,7 @@ var _E = /* @__PURE__ */ function(o) {
|
|
|
7736
7736
|
}]]);
|
|
7737
7737
|
}
|
|
7738
7738
|
return A(t, o), P(t);
|
|
7739
|
-
}(
|
|
7739
|
+
}(_);
|
|
7740
7740
|
new _E();
|
|
7741
7741
|
var OE = /* @__PURE__ */ function(o) {
|
|
7742
7742
|
function t() {
|
|
@@ -7749,7 +7749,7 @@ var OE = /* @__PURE__ */ function(o) {
|
|
|
7749
7749
|
}]]);
|
|
7750
7750
|
}
|
|
7751
7751
|
return A(t, o), P(t);
|
|
7752
|
-
}(
|
|
7752
|
+
}(_);
|
|
7753
7753
|
new OE();
|
|
7754
7754
|
var DE = /* @__PURE__ */ function(o) {
|
|
7755
7755
|
function t() {
|
|
@@ -7774,7 +7774,7 @@ var DE = /* @__PURE__ */ function(o) {
|
|
|
7774
7774
|
}]]);
|
|
7775
7775
|
}
|
|
7776
7776
|
return A(t, o), P(t);
|
|
7777
|
-
}(
|
|
7777
|
+
}(_), Pl = new DE(), $E = /* @__PURE__ */ function(o) {
|
|
7778
7778
|
function t() {
|
|
7779
7779
|
return w(this, t), R(this, t, ["socket.api.BaseSocketHubMessage", [{
|
|
7780
7780
|
no: 1,
|
|
@@ -7829,7 +7829,7 @@ var DE = /* @__PURE__ */ function(o) {
|
|
|
7829
7829
|
}]]);
|
|
7830
7830
|
}
|
|
7831
7831
|
return A(t, o), P(t);
|
|
7832
|
-
}(
|
|
7832
|
+
}(_);
|
|
7833
7833
|
new $E();
|
|
7834
7834
|
var LE = /* @__PURE__ */ function(o) {
|
|
7835
7835
|
function t() {
|
|
@@ -7849,7 +7849,7 @@ var LE = /* @__PURE__ */ function(o) {
|
|
|
7849
7849
|
}]]);
|
|
7850
7850
|
}
|
|
7851
7851
|
return A(t, o), P(t);
|
|
7852
|
-
}(
|
|
7852
|
+
}(_), NE = new LE(), Vs;
|
|
7853
7853
|
(function(o) {
|
|
7854
7854
|
o[o.BROWSER = 0] = "BROWSER", o[o.TRACK = 1] = "TRACK", o[o.COMPOSITE = 2] = "COMPOSITE";
|
|
7855
7855
|
})(Vs || (Vs = {}));
|
|
@@ -7892,7 +7892,7 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
7892
7892
|
}]]);
|
|
7893
7893
|
}
|
|
7894
7894
|
return A(t, o), P(t);
|
|
7895
|
-
}(
|
|
7895
|
+
}(_), UE = new VE(), jE = /* @__PURE__ */ function(o) {
|
|
7896
7896
|
function t() {
|
|
7897
7897
|
return w(this, t), R(this, t, ["socket.room.Peer", [{
|
|
7898
7898
|
no: 1,
|
|
@@ -7946,14 +7946,14 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
7946
7946
|
} }]]);
|
|
7947
7947
|
}
|
|
7948
7948
|
return A(t, o), P(t);
|
|
7949
|
-
}(
|
|
7949
|
+
}(_), al = new jE(), FE = /* @__PURE__ */ function(o) {
|
|
7950
7950
|
function t() {
|
|
7951
7951
|
return w(this, t), R(this, t, ["socket.room.PeerInfoResponse", [{ no: 1, name: "peer", kind: "message", T: function() {
|
|
7952
7952
|
return al;
|
|
7953
7953
|
} }]]);
|
|
7954
7954
|
}
|
|
7955
7955
|
return A(t, o), P(t);
|
|
7956
|
-
}(
|
|
7956
|
+
}(_), po = new FE(), HE = /* @__PURE__ */ function(o) {
|
|
7957
7957
|
function t() {
|
|
7958
7958
|
return w(this, t), R(this, t, ["socket.room.PeerStatusUpdate", [{
|
|
7959
7959
|
no: 1,
|
|
@@ -7972,7 +7972,7 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
7972
7972
|
} }]]);
|
|
7973
7973
|
}
|
|
7974
7974
|
return A(t, o), P(t);
|
|
7975
|
-
}(
|
|
7975
|
+
}(_), Uh = new HE(), BE = /* @__PURE__ */ function(o) {
|
|
7976
7976
|
function t() {
|
|
7977
7977
|
return w(this, t), R(this, t, ["socket.room.RoomPeersInfoRequest", [{
|
|
7978
7978
|
no: 1,
|
|
@@ -7995,14 +7995,14 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
7995
7995
|
}]]);
|
|
7996
7996
|
}
|
|
7997
7997
|
return A(t, o), P(t);
|
|
7998
|
-
}(
|
|
7998
|
+
}(_), qE = new BE(), GE = /* @__PURE__ */ function(o) {
|
|
7999
7999
|
function t() {
|
|
8000
8000
|
return w(this, t), R(this, t, ["socket.room.RoomPeersInfoResponse", [{ no: 1, name: "peers", kind: "message", repeat: 1, T: function() {
|
|
8001
8001
|
return al;
|
|
8002
8002
|
} }]]);
|
|
8003
8003
|
}
|
|
8004
8004
|
return A(t, o), P(t);
|
|
8005
|
-
}(
|
|
8005
|
+
}(_), Sl = new GE(), WE = /* @__PURE__ */ function(o) {
|
|
8006
8006
|
function t() {
|
|
8007
8007
|
return w(this, t), R(this, t, ["socket.room.RoomPeerCountResponse", [{
|
|
8008
8008
|
no: 1,
|
|
@@ -8014,7 +8014,7 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
8014
8014
|
}]]);
|
|
8015
8015
|
}
|
|
8016
8016
|
return A(t, o), P(t);
|
|
8017
|
-
}(
|
|
8017
|
+
}(_), jh = new WE(), JE = /* @__PURE__ */ function(o) {
|
|
8018
8018
|
function t() {
|
|
8019
8019
|
return w(this, t), R(this, t, ["socket.room.Room", [{
|
|
8020
8020
|
no: 1,
|
|
@@ -8047,7 +8047,7 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
8047
8047
|
}]]);
|
|
8048
8048
|
}
|
|
8049
8049
|
return A(t, o), P(t);
|
|
8050
|
-
}(
|
|
8050
|
+
}(_), Bf = new JE(), KE = /* @__PURE__ */ function(o) {
|
|
8051
8051
|
function t() {
|
|
8052
8052
|
return w(this, t), R(this, t, ["socket.room.ActiveRecording", [{
|
|
8053
8053
|
no: 1,
|
|
@@ -8066,14 +8066,14 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
8066
8066
|
}]]);
|
|
8067
8067
|
}
|
|
8068
8068
|
return A(t, o), P(t);
|
|
8069
|
-
}(
|
|
8069
|
+
}(_), zE = new KE(), YE = /* @__PURE__ */ function(o) {
|
|
8070
8070
|
function t() {
|
|
8071
8071
|
return w(this, t), R(this, t, ["socket.room.RoomInfoResponse", [{ no: 1, name: "room", kind: "message", T: function() {
|
|
8072
8072
|
return Bf;
|
|
8073
8073
|
} }]]);
|
|
8074
8074
|
}
|
|
8075
8075
|
return A(t, o), P(t);
|
|
8076
|
-
}(
|
|
8076
|
+
}(_), Fh = new YE(), QE = /* @__PURE__ */ function(o) {
|
|
8077
8077
|
function t() {
|
|
8078
8078
|
return w(this, t), R(this, t, ["socket.room.GetPeerInfoRequest", [{
|
|
8079
8079
|
no: 1,
|
|
@@ -8084,7 +8084,7 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
8084
8084
|
}]]);
|
|
8085
8085
|
}
|
|
8086
8086
|
return A(t, o), P(t);
|
|
8087
|
-
}(
|
|
8087
|
+
}(_), qf = new QE(), XE = /* @__PURE__ */ function(o) {
|
|
8088
8088
|
function t() {
|
|
8089
8089
|
return w(this, t), R(this, t, ["socket.room.UpdatePeerInfoRequest", [{
|
|
8090
8090
|
no: 1,
|
|
@@ -8102,7 +8102,7 @@ var VE = /* @__PURE__ */ function(o) {
|
|
|
8102
8102
|
}]]);
|
|
8103
8103
|
}
|
|
8104
8104
|
return A(t, o), P(t);
|
|
8105
|
-
}(
|
|
8105
|
+
}(_);
|
|
8106
8106
|
new XE();
|
|
8107
8107
|
var ZE = /* @__PURE__ */ function(o) {
|
|
8108
8108
|
function t() {
|
|
@@ -8148,7 +8148,7 @@ var ZE = /* @__PURE__ */ function(o) {
|
|
|
8148
8148
|
}]]);
|
|
8149
8149
|
}
|
|
8150
8150
|
return A(t, o), P(t);
|
|
8151
|
-
}(
|
|
8151
|
+
}(_), xE = new ZE(), eC = /* @__PURE__ */ function(o) {
|
|
8152
8152
|
function t() {
|
|
8153
8153
|
return w(this, t), R(this, t, ["socket.room.LeaveRoomRequest", [{ no: 1, name: "peer", kind: "message", T: function() {
|
|
8154
8154
|
return al;
|
|
@@ -8163,21 +8163,21 @@ var ZE = /* @__PURE__ */ function(o) {
|
|
|
8163
8163
|
}]]);
|
|
8164
8164
|
}
|
|
8165
8165
|
return A(t, o), P(t);
|
|
8166
|
-
}(
|
|
8166
|
+
}(_), rC = new eC(), tC = /* @__PURE__ */ function(o) {
|
|
8167
8167
|
function t() {
|
|
8168
8168
|
return w(this, t), R(this, t, ["socket.room.UpdateRoomInfoRequest", [{ no: 1, name: "room", kind: "message", T: function() {
|
|
8169
8169
|
return Bf;
|
|
8170
8170
|
} }]]);
|
|
8171
8171
|
}
|
|
8172
8172
|
return A(t, o), P(t);
|
|
8173
|
-
}(
|
|
8173
|
+
}(_);
|
|
8174
8174
|
new tC();
|
|
8175
8175
|
var nC = /* @__PURE__ */ function(o) {
|
|
8176
8176
|
function t() {
|
|
8177
8177
|
return w(this, t), R(this, t, ["socket.room.GetConnectedRoomsDumpRequest", []]);
|
|
8178
8178
|
}
|
|
8179
8179
|
return A(t, o), P(t);
|
|
8180
|
-
}(
|
|
8180
|
+
}(_);
|
|
8181
8181
|
new nC();
|
|
8182
8182
|
var aC = /* @__PURE__ */ function(o) {
|
|
8183
8183
|
function t() {
|
|
@@ -8198,7 +8198,7 @@ var aC = /* @__PURE__ */ function(o) {
|
|
|
8198
8198
|
}]]);
|
|
8199
8199
|
}
|
|
8200
8200
|
return A(t, o), P(t);
|
|
8201
|
-
}(
|
|
8201
|
+
}(_), Ip = new aC(), iC = /* @__PURE__ */ function(o) {
|
|
8202
8202
|
function t() {
|
|
8203
8203
|
return w(this, t), R(this, t, ["socket.room.ConnectedMeetingPeer", [{
|
|
8204
8204
|
no: 1,
|
|
@@ -8238,7 +8238,7 @@ var aC = /* @__PURE__ */ function(o) {
|
|
|
8238
8238
|
}]]);
|
|
8239
8239
|
}
|
|
8240
8240
|
return A(t, o), P(t);
|
|
8241
|
-
}(
|
|
8241
|
+
}(_), sC = new iC(), oC = /* @__PURE__ */ function(o) {
|
|
8242
8242
|
function t() {
|
|
8243
8243
|
return w(this, t), R(this, t, ["socket.room.ConnectedMeetingDump", [{
|
|
8244
8244
|
no: 1,
|
|
@@ -8259,7 +8259,7 @@ var aC = /* @__PURE__ */ function(o) {
|
|
|
8259
8259
|
} }]]);
|
|
8260
8260
|
}
|
|
8261
8261
|
return A(t, o), P(t);
|
|
8262
|
-
}(
|
|
8262
|
+
}(_), Hh = new oC(), uC = /* @__PURE__ */ function(o) {
|
|
8263
8263
|
function t() {
|
|
8264
8264
|
return w(this, t), R(this, t, ["socket.room.GetConnectedRoomsDumpResponse", [{ no: 1, name: "parent_meeting", kind: "message", T: function() {
|
|
8265
8265
|
return Hh;
|
|
@@ -8268,7 +8268,7 @@ var aC = /* @__PURE__ */ function(o) {
|
|
|
8268
8268
|
} }]]);
|
|
8269
8269
|
}
|
|
8270
8270
|
return A(t, o), P(t);
|
|
8271
|
-
}(
|
|
8271
|
+
}(_), cC = new uC(), lC = /* @__PURE__ */ function(o) {
|
|
8272
8272
|
function t() {
|
|
8273
8273
|
return w(this, t), R(this, t, ["socket.room.CreateRoomRequestPayload", [{
|
|
8274
8274
|
no: 1,
|
|
@@ -8280,14 +8280,14 @@ var aC = /* @__PURE__ */ function(o) {
|
|
|
8280
8280
|
}]]);
|
|
8281
8281
|
}
|
|
8282
8282
|
return A(t, o), P(t);
|
|
8283
|
-
}(
|
|
8283
|
+
}(_), dC = new lC(), pC = /* @__PURE__ */ function(o) {
|
|
8284
8284
|
function t() {
|
|
8285
8285
|
return w(this, t), R(this, t, ["socket.room.CreateConnectedRoomsRequest", [{ no: 1, name: "payloads", kind: "message", repeat: 1, T: function() {
|
|
8286
8286
|
return dC;
|
|
8287
8287
|
} }]]);
|
|
8288
8288
|
}
|
|
8289
8289
|
return A(t, o), P(t);
|
|
8290
|
-
}(
|
|
8290
|
+
}(_), hC = new pC(), vC = /* @__PURE__ */ function(o) {
|
|
8291
8291
|
function t() {
|
|
8292
8292
|
return w(this, t), R(this, t, ["socket.room.CreateRoomResponsePayload", [{
|
|
8293
8293
|
no: 1,
|
|
@@ -8308,14 +8308,14 @@ var aC = /* @__PURE__ */ function(o) {
|
|
|
8308
8308
|
} }]]);
|
|
8309
8309
|
}
|
|
8310
8310
|
return A(t, o), P(t);
|
|
8311
|
-
}(
|
|
8311
|
+
}(_), fC = new vC(), gC = /* @__PURE__ */ function(o) {
|
|
8312
8312
|
function t() {
|
|
8313
8313
|
return w(this, t), R(this, t, ["socket.room.CreateConnectedRoomsResponse", [{ no: 1, name: "payloads", kind: "message", repeat: 1, T: function() {
|
|
8314
8314
|
return fC;
|
|
8315
8315
|
} }]]);
|
|
8316
8316
|
}
|
|
8317
8317
|
return A(t, o), P(t);
|
|
8318
|
-
}(
|
|
8318
|
+
}(_), Bh = new gC(), mC = /* @__PURE__ */ function(o) {
|
|
8319
8319
|
function t() {
|
|
8320
8320
|
return w(this, t), R(this, t, ["socket.room.UpdateRoomRequestPayload", [{
|
|
8321
8321
|
no: 1,
|
|
@@ -8334,14 +8334,14 @@ var aC = /* @__PURE__ */ function(o) {
|
|
|
8334
8334
|
}]]);
|
|
8335
8335
|
}
|
|
8336
8336
|
return A(t, o), P(t);
|
|
8337
|
-
}(
|
|
8337
|
+
}(_), yC = new mC(), kC = /* @__PURE__ */ function(o) {
|
|
8338
8338
|
function t() {
|
|
8339
8339
|
return w(this, t), R(this, t, ["socket.room.UpdateConnectedRoomsRequest", [{ no: 1, name: "payloads", kind: "message", repeat: 1, T: function() {
|
|
8340
8340
|
return yC;
|
|
8341
8341
|
} }]]);
|
|
8342
8342
|
}
|
|
8343
8343
|
return A(t, o), P(t);
|
|
8344
|
-
}(
|
|
8344
|
+
}(_);
|
|
8345
8345
|
new kC();
|
|
8346
8346
|
var bC = /* @__PURE__ */ function(o) {
|
|
8347
8347
|
function t() {
|
|
@@ -8355,21 +8355,21 @@ var bC = /* @__PURE__ */ function(o) {
|
|
|
8355
8355
|
}]]);
|
|
8356
8356
|
}
|
|
8357
8357
|
return A(t, o), P(t);
|
|
8358
|
-
}(
|
|
8358
|
+
}(_), TC = new bC(), wC = /* @__PURE__ */ function(o) {
|
|
8359
8359
|
function t() {
|
|
8360
8360
|
return w(this, t), R(this, t, ["socket.room.DisableConnectedRoomsRequest", [{ no: 1, name: "payloads", kind: "message", repeat: 1, T: function() {
|
|
8361
8361
|
return TC;
|
|
8362
8362
|
} }]]);
|
|
8363
8363
|
}
|
|
8364
8364
|
return A(t, o), P(t);
|
|
8365
|
-
}(
|
|
8365
|
+
}(_), PC = new wC(), SC = /* @__PURE__ */ function(o) {
|
|
8366
8366
|
function t() {
|
|
8367
8367
|
return w(this, t), R(this, t, ["socket.room.DisableConnectedRoomsResponse", [{ no: 1, name: "payloads", kind: "message", repeat: 1, T: function() {
|
|
8368
8368
|
return RC;
|
|
8369
8369
|
} }]]);
|
|
8370
8370
|
}
|
|
8371
8371
|
return A(t, o), P(t);
|
|
8372
|
-
}(
|
|
8372
|
+
}(_), EC = new SC(), CC = /* @__PURE__ */ function(o) {
|
|
8373
8373
|
function t() {
|
|
8374
8374
|
return w(this, t), R(this, t, ["socket.room.DisableConnectedRoomPayload", [{
|
|
8375
8375
|
no: 1,
|
|
@@ -8397,7 +8397,7 @@ var bC = /* @__PURE__ */ function(o) {
|
|
|
8397
8397
|
} }]]);
|
|
8398
8398
|
}
|
|
8399
8399
|
return A(t, o), P(t);
|
|
8400
|
-
}(
|
|
8400
|
+
}(_), RC = new CC(), AC = /* @__PURE__ */ function(o) {
|
|
8401
8401
|
function t() {
|
|
8402
8402
|
return w(this, t), R(this, t, ["socket.room.MovePeerPayload", [{
|
|
8403
8403
|
no: 1,
|
|
@@ -8416,7 +8416,7 @@ var bC = /* @__PURE__ */ function(o) {
|
|
|
8416
8416
|
}]]);
|
|
8417
8417
|
}
|
|
8418
8418
|
return A(t, o), P(t);
|
|
8419
|
-
}(
|
|
8419
|
+
}(_), IC = new AC(), MC = /* @__PURE__ */ function(o) {
|
|
8420
8420
|
function t() {
|
|
8421
8421
|
return w(this, t), R(this, t, ["socket.room.MovePeersBetweenRoomsRequest", [{
|
|
8422
8422
|
no: 1,
|
|
@@ -8437,7 +8437,7 @@ var bC = /* @__PURE__ */ function(o) {
|
|
|
8437
8437
|
} }]]);
|
|
8438
8438
|
}
|
|
8439
8439
|
return A(t, o), P(t);
|
|
8440
|
-
}(
|
|
8440
|
+
}(_), _C = new MC(), OC = /* @__PURE__ */ function(o) {
|
|
8441
8441
|
function t() {
|
|
8442
8442
|
return w(this, t), R(this, t, ["socket.room.MovedPeer", [{
|
|
8443
8443
|
no: 1,
|
|
@@ -8458,14 +8458,14 @@ var bC = /* @__PURE__ */ function(o) {
|
|
|
8458
8458
|
} }]]);
|
|
8459
8459
|
}
|
|
8460
8460
|
return A(t, o), P(t);
|
|
8461
|
-
}(
|
|
8461
|
+
}(_), Gf = new OC(), DC = /* @__PURE__ */ function(o) {
|
|
8462
8462
|
function t() {
|
|
8463
8463
|
return w(this, t), R(this, t, ["socket.room.MovePeersBetweenRoomsResponse", [{ no: 1, name: "payloads", kind: "message", repeat: 1, T: function() {
|
|
8464
8464
|
return Gf;
|
|
8465
8465
|
} }]]);
|
|
8466
8466
|
}
|
|
8467
8467
|
return A(t, o), P(t);
|
|
8468
|
-
}(
|
|
8468
|
+
}(_);
|
|
8469
8469
|
new DC();
|
|
8470
8470
|
var $C = /* @__PURE__ */ function(o) {
|
|
8471
8471
|
function t() {
|
|
@@ -8486,14 +8486,14 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8486
8486
|
}]]);
|
|
8487
8487
|
}
|
|
8488
8488
|
return A(t, o), P(t);
|
|
8489
|
-
}(
|
|
8489
|
+
}(_), LC = new $C(), NC = /* @__PURE__ */ function(o) {
|
|
8490
8490
|
function t() {
|
|
8491
8491
|
return w(this, t), R(this, t, ["socket.room.GetAllAddedParticipantsResponse", [{ no: 1, name: "participants", kind: "message", repeat: 1, T: function() {
|
|
8492
8492
|
return jC;
|
|
8493
8493
|
} }]]);
|
|
8494
8494
|
}
|
|
8495
8495
|
return A(t, o), P(t);
|
|
8496
|
-
}(
|
|
8496
|
+
}(_), VC = new NC(), UC = /* @__PURE__ */ function(o) {
|
|
8497
8497
|
function t() {
|
|
8498
8498
|
return w(this, t), R(this, t, ["socket.room.AddedParticipant", [{
|
|
8499
8499
|
no: 1,
|
|
@@ -8524,7 +8524,7 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8524
8524
|
}]]);
|
|
8525
8525
|
}
|
|
8526
8526
|
return A(t, o), P(t);
|
|
8527
|
-
}(
|
|
8527
|
+
}(_), jC = new UC(), FC = /* @__PURE__ */ function(o) {
|
|
8528
8528
|
function t() {
|
|
8529
8529
|
return w(this, t), R(this, t, ["socket.room.RemoveParticipantsRequest", [{
|
|
8530
8530
|
no: 1,
|
|
@@ -8536,7 +8536,7 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8536
8536
|
}]]);
|
|
8537
8537
|
}
|
|
8538
8538
|
return A(t, o), P(t);
|
|
8539
|
-
}(
|
|
8539
|
+
}(_), Wf = new FC(), HC = /* @__PURE__ */ function(o) {
|
|
8540
8540
|
function t() {
|
|
8541
8541
|
return w(this, t), R(this, t, ["socket.room.BroadcastMessage", [{
|
|
8542
8542
|
no: 1,
|
|
@@ -8569,7 +8569,7 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8569
8569
|
} }]]);
|
|
8570
8570
|
}
|
|
8571
8571
|
return A(t, o), P(t);
|
|
8572
|
-
}(
|
|
8572
|
+
}(_), jo = new HC(), BC = /* @__PURE__ */ function(o) {
|
|
8573
8573
|
function t() {
|
|
8574
8574
|
return w(this, t), R(this, t, ["socket.room.AcceptWaitingRoomRequests", [{
|
|
8575
8575
|
no: 1,
|
|
@@ -8581,7 +8581,7 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8581
8581
|
}]]);
|
|
8582
8582
|
}
|
|
8583
8583
|
return A(t, o), P(t);
|
|
8584
|
-
}(
|
|
8584
|
+
}(_), qC = new BC(), GC = /* @__PURE__ */ function(o) {
|
|
8585
8585
|
function t() {
|
|
8586
8586
|
return w(this, t), R(this, t, ["socket.room.DenyWaitingRoomRequests", [{
|
|
8587
8587
|
no: 1,
|
|
@@ -8593,7 +8593,7 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8593
8593
|
}]]);
|
|
8594
8594
|
}
|
|
8595
8595
|
return A(t, o), P(t);
|
|
8596
|
-
}(
|
|
8596
|
+
}(_), WC = new GC(), JC = /* @__PURE__ */ function(o) {
|
|
8597
8597
|
function t() {
|
|
8598
8598
|
return w(this, t), R(this, t, ["socket.room.WaitingRoomRequest", [{
|
|
8599
8599
|
no: 1,
|
|
@@ -8637,14 +8637,14 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8637
8637
|
}]]);
|
|
8638
8638
|
}
|
|
8639
8639
|
return A(t, o), P(t);
|
|
8640
|
-
}(
|
|
8640
|
+
}(_), KC = new JC(), zC = /* @__PURE__ */ function(o) {
|
|
8641
8641
|
function t() {
|
|
8642
8642
|
return w(this, t), R(this, t, ["socket.room.GetWaitingRoomRequests", [{ no: 1, name: "requests", kind: "message", repeat: 1, T: function() {
|
|
8643
8643
|
return KC;
|
|
8644
8644
|
} }]]);
|
|
8645
8645
|
}
|
|
8646
8646
|
return A(t, o), P(t);
|
|
8647
|
-
}(
|
|
8647
|
+
}(_), qh = new zC(), YC = /* @__PURE__ */ function(o) {
|
|
8648
8648
|
function t() {
|
|
8649
8649
|
return w(this, t), R(this, t, ["socket.room.GetRoomStageStateResponse", [{
|
|
8650
8650
|
no: 1,
|
|
@@ -8670,7 +8670,7 @@ var $C = /* @__PURE__ */ function(o) {
|
|
|
8670
8670
|
}]]);
|
|
8671
8671
|
}
|
|
8672
8672
|
return A(t, o), P(t);
|
|
8673
|
-
}(
|
|
8673
|
+
}(_), Gh = new YC(), fd;
|
|
8674
8674
|
(function(o) {
|
|
8675
8675
|
o[o.NONE = 0] = "NONE", o[o.SKIP = 1] = "SKIP", o[o.ON_PRIVILEGED_USER_ENTRY = 2] = "ON_PRIVILEGED_USER_ENTRY", o[o.SKIP_ON_ACCEPT = 3] = "SKIP_ON_ACCEPT";
|
|
8676
8676
|
})(fd || (fd = {}));
|
|
@@ -8704,7 +8704,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8704
8704
|
}]]);
|
|
8705
8705
|
}
|
|
8706
8706
|
return A(t, o), P(t);
|
|
8707
|
-
}(
|
|
8707
|
+
}(_), XC = new QC(), ZC = /* @__PURE__ */ function(o) {
|
|
8708
8708
|
function t() {
|
|
8709
8709
|
return w(this, t), R(this, t, ["socket.preset.PluginsPermissionsUpdate", [{
|
|
8710
8710
|
no: 1,
|
|
@@ -8723,7 +8723,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8723
8723
|
}]]);
|
|
8724
8724
|
}
|
|
8725
8725
|
return A(t, o), P(t);
|
|
8726
|
-
}(
|
|
8726
|
+
}(_), xC = new ZC(), eR = /* @__PURE__ */ function(o) {
|
|
8727
8727
|
function t() {
|
|
8728
8728
|
return w(this, t), R(this, t, ["socket.preset.PublicChatPermission", [{
|
|
8729
8729
|
no: 1,
|
|
@@ -8749,7 +8749,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8749
8749
|
}]]);
|
|
8750
8750
|
}
|
|
8751
8751
|
return A(t, o), P(t);
|
|
8752
|
-
}(
|
|
8752
|
+
}(_), rR = new eR(), tR = /* @__PURE__ */ function(o) {
|
|
8753
8753
|
function t() {
|
|
8754
8754
|
return w(this, t), R(this, t, ["socket.preset.PrivateChatPermission", [{
|
|
8755
8755
|
no: 1,
|
|
@@ -8782,7 +8782,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8782
8782
|
}]]);
|
|
8783
8783
|
}
|
|
8784
8784
|
return A(t, o), P(t);
|
|
8785
|
-
}(
|
|
8785
|
+
}(_), nR = new tR(), aR = /* @__PURE__ */ function(o) {
|
|
8786
8786
|
function t() {
|
|
8787
8787
|
return w(this, t), R(this, t, ["socket.preset.ChatPermissionUpdate", [{ no: 1, name: "public", kind: "message", T: function() {
|
|
8788
8788
|
return rR;
|
|
@@ -8791,7 +8791,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8791
8791
|
} }]]);
|
|
8792
8792
|
}
|
|
8793
8793
|
return A(t, o), P(t);
|
|
8794
|
-
}(
|
|
8794
|
+
}(_), iR = new aR(), sR = /* @__PURE__ */ function(o) {
|
|
8795
8795
|
function t() {
|
|
8796
8796
|
return w(this, t), R(this, t, ["socket.preset.ConnectedMeetingPermissionUpdate", [{
|
|
8797
8797
|
no: 1,
|
|
@@ -8817,7 +8817,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8817
8817
|
}]]);
|
|
8818
8818
|
}
|
|
8819
8819
|
return A(t, o), P(t);
|
|
8820
|
-
}(
|
|
8820
|
+
}(_), oR = new sR(), uR = /* @__PURE__ */ function(o) {
|
|
8821
8821
|
function t() {
|
|
8822
8822
|
return w(this, t), R(this, t, ["socket.preset.StreamPermission", [{ no: 1, name: "can_produce", kind: "enum", opt: !0, T: function() {
|
|
8823
8823
|
return ["socket.preset.StreamPermissionType", Pi, "STREAM_PERMISSION_TYPE_"];
|
|
@@ -8826,7 +8826,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8826
8826
|
} }]]);
|
|
8827
8827
|
}
|
|
8828
8828
|
return A(t, o), P(t);
|
|
8829
|
-
}(
|
|
8829
|
+
}(_), El = new uR(), cR = /* @__PURE__ */ function(o) {
|
|
8830
8830
|
function t() {
|
|
8831
8831
|
return w(this, t), R(this, t, ["socket.preset.MediaPermissionUpdate", [{ no: 1, name: "video", kind: "message", T: function() {
|
|
8832
8832
|
return El;
|
|
@@ -8837,7 +8837,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8837
8837
|
} }]]);
|
|
8838
8838
|
}
|
|
8839
8839
|
return A(t, o), P(t);
|
|
8840
|
-
}(
|
|
8840
|
+
}(_), lR = new cR(), dR = /* @__PURE__ */ function(o) {
|
|
8841
8841
|
function t() {
|
|
8842
8842
|
return w(this, t), R(this, t, ["socket.preset.PresetUpdates", [{ no: 1, name: "polls", kind: "message", T: function() {
|
|
8843
8843
|
return XC;
|
|
@@ -8968,7 +8968,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8968
8968
|
} }]]);
|
|
8969
8969
|
}
|
|
8970
8970
|
return A(t, o), P(t);
|
|
8971
|
-
}(
|
|
8971
|
+
}(_), Mp = new dR(), pR = /* @__PURE__ */ function(o) {
|
|
8972
8972
|
function t() {
|
|
8973
8973
|
return w(this, t), R(this, t, ["socket.preset.ReadPeersPresetRequest", [{
|
|
8974
8974
|
no: 1,
|
|
@@ -8980,7 +8980,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
8980
8980
|
}]]);
|
|
8981
8981
|
}
|
|
8982
8982
|
return A(t, o), P(t);
|
|
8983
|
-
}(
|
|
8983
|
+
}(_), hR = new pR(), vR = /* @__PURE__ */ function(o) {
|
|
8984
8984
|
function t() {
|
|
8985
8985
|
return w(this, t), R(this, t, ["socket.preset.PeerPreset", [{
|
|
8986
8986
|
no: 1,
|
|
@@ -9003,14 +9003,14 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
9003
9003
|
}]]);
|
|
9004
9004
|
}
|
|
9005
9005
|
return A(t, o), P(t);
|
|
9006
|
-
}(
|
|
9006
|
+
}(_), fR = new vR(), gR = /* @__PURE__ */ function(o) {
|
|
9007
9007
|
function t() {
|
|
9008
9008
|
return w(this, t), R(this, t, ["socket.preset.ReadPeersPresetResponse", [{ no: 1, name: "peer_presets", kind: "message", repeat: 1, T: function() {
|
|
9009
9009
|
return fR;
|
|
9010
9010
|
} }]]);
|
|
9011
9011
|
}
|
|
9012
9012
|
return A(t, o), P(t);
|
|
9013
|
-
}(
|
|
9013
|
+
}(_), mR = new gR(), yR = /* @__PURE__ */ function(o) {
|
|
9014
9014
|
function t() {
|
|
9015
9015
|
return w(this, t), R(this, t, ["socket.preset.UpdatePeerPreset", [{
|
|
9016
9016
|
no: 1,
|
|
@@ -9023,21 +9023,21 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
9023
9023
|
} }]]);
|
|
9024
9024
|
}
|
|
9025
9025
|
return A(t, o), P(t);
|
|
9026
|
-
}(
|
|
9026
|
+
}(_), Jf = new yR(), kR = /* @__PURE__ */ function(o) {
|
|
9027
9027
|
function t() {
|
|
9028
9028
|
return w(this, t), R(this, t, ["socket.preset.UpdatePeersPresetRequest", [{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: function() {
|
|
9029
9029
|
return Jf;
|
|
9030
9030
|
} }]]);
|
|
9031
9031
|
}
|
|
9032
9032
|
return A(t, o), P(t);
|
|
9033
|
-
}(
|
|
9033
|
+
}(_), bR = new kR(), TR = /* @__PURE__ */ function(o) {
|
|
9034
9034
|
function t() {
|
|
9035
9035
|
return w(this, t), R(this, t, ["socket.preset.UpdatePeersPresetResponse", [{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: function() {
|
|
9036
9036
|
return Jf;
|
|
9037
9037
|
} }]]);
|
|
9038
9038
|
}
|
|
9039
9039
|
return A(t, o), P(t);
|
|
9040
|
-
}(
|
|
9040
|
+
}(_), Wh = new TR(), wR = /* @__PURE__ */ function(o) {
|
|
9041
9041
|
function t() {
|
|
9042
9042
|
return w(this, t), R(this, t, ["socket.preset.PeerUserIDMap", [{
|
|
9043
9043
|
no: 1,
|
|
@@ -9054,7 +9054,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
9054
9054
|
}]]);
|
|
9055
9055
|
}
|
|
9056
9056
|
return A(t, o), P(t);
|
|
9057
|
-
}(
|
|
9057
|
+
}(_), PR = new wR(), SR = /* @__PURE__ */ function(o) {
|
|
9058
9058
|
function t() {
|
|
9059
9059
|
return w(this, t), R(this, t, ["socket.preset.BulkUpdatePeerPresetRequest", [{ no: 1, name: "peers", kind: "message", repeat: 1, T: function() {
|
|
9060
9060
|
return PR;
|
|
@@ -9063,7 +9063,7 @@ var QC = /* @__PURE__ */ function(o) {
|
|
|
9063
9063
|
} }]]);
|
|
9064
9064
|
}
|
|
9065
9065
|
return A(t, o), P(t);
|
|
9066
|
-
}(
|
|
9066
|
+
}(_);
|
|
9067
9067
|
new SR();
|
|
9068
9068
|
var ER = /* @__PURE__ */ function(o) {
|
|
9069
9069
|
function t() {
|
|
@@ -9072,7 +9072,7 @@ var ER = /* @__PURE__ */ function(o) {
|
|
|
9072
9072
|
} }]]);
|
|
9073
9073
|
}
|
|
9074
9074
|
return A(t, o), P(t);
|
|
9075
|
-
}(
|
|
9075
|
+
}(_);
|
|
9076
9076
|
new ER();
|
|
9077
9077
|
var CR = /* @__PURE__ */ function(o) {
|
|
9078
9078
|
function t() {
|
|
@@ -9163,7 +9163,7 @@ var CR = /* @__PURE__ */ function(o) {
|
|
|
9163
9163
|
}]]);
|
|
9164
9164
|
}
|
|
9165
9165
|
return A(t, o), P(t);
|
|
9166
|
-
}(
|
|
9166
|
+
}(_), Ai = new CR(), RR = /* @__PURE__ */ function(o) {
|
|
9167
9167
|
function t() {
|
|
9168
9168
|
return w(this, t), R(this, t, ["socket.chat.GetPaginatedChatMessageFilters", [{
|
|
9169
9169
|
no: 1,
|
|
@@ -9182,7 +9182,7 @@ var CR = /* @__PURE__ */ function(o) {
|
|
|
9182
9182
|
}]]);
|
|
9183
9183
|
}
|
|
9184
9184
|
return A(t, o), P(t);
|
|
9185
|
-
}(
|
|
9185
|
+
}(_), AR = new RR(), IR = /* @__PURE__ */ function(o) {
|
|
9186
9186
|
function t() {
|
|
9187
9187
|
return w(this, t), R(this, t, ["socket.chat.GetPaginatedChatMessageRoomRequest", [{
|
|
9188
9188
|
no: 1,
|
|
@@ -9221,7 +9221,7 @@ var CR = /* @__PURE__ */ function(o) {
|
|
|
9221
9221
|
} }]]);
|
|
9222
9222
|
}
|
|
9223
9223
|
return A(t, o), P(t);
|
|
9224
|
-
}(
|
|
9224
|
+
}(_), MR = new IR(), _R = /* @__PURE__ */ function(o) {
|
|
9225
9225
|
function t() {
|
|
9226
9226
|
return w(this, t), R(this, t, ["socket.chat.GetPaginatedChatMessageRoomResponse", [{ no: 1, name: "messages", kind: "message", repeat: 1, T: function() {
|
|
9227
9227
|
return Ai;
|
|
@@ -9234,14 +9234,14 @@ var CR = /* @__PURE__ */ function(o) {
|
|
|
9234
9234
|
}]]);
|
|
9235
9235
|
}
|
|
9236
9236
|
return A(t, o), P(t);
|
|
9237
|
-
}(
|
|
9237
|
+
}(_), OR = new _R(), DR = /* @__PURE__ */ function(o) {
|
|
9238
9238
|
function t() {
|
|
9239
9239
|
return w(this, t), R(this, t, ["socket.chat.GetChatMessagesResponse", [{ no: 1, name: "messages", kind: "message", repeat: 1, T: function() {
|
|
9240
9240
|
return Ai;
|
|
9241
9241
|
} }]]);
|
|
9242
9242
|
}
|
|
9243
9243
|
return A(t, o), P(t);
|
|
9244
|
-
}(
|
|
9244
|
+
}(_), Kf = new DR(), $R = /* @__PURE__ */ function(o) {
|
|
9245
9245
|
function t() {
|
|
9246
9246
|
return w(this, t), R(this, t, ["socket.chat.SendChatMessageToRoomRequest", [{
|
|
9247
9247
|
no: 1,
|
|
@@ -9258,14 +9258,14 @@ var CR = /* @__PURE__ */ function(o) {
|
|
|
9258
9258
|
}]]);
|
|
9259
9259
|
}
|
|
9260
9260
|
return A(t, o), P(t);
|
|
9261
|
-
}(
|
|
9261
|
+
}(_), LR = new $R(), NR = /* @__PURE__ */ function(o) {
|
|
9262
9262
|
function t() {
|
|
9263
9263
|
return w(this, t), R(this, t, ["socket.chat.SendChatMessageToRoomResponse", [{ no: 1, name: "message", kind: "message", T: function() {
|
|
9264
9264
|
return Ai;
|
|
9265
9265
|
} }]]);
|
|
9266
9266
|
}
|
|
9267
9267
|
return A(t, o), P(t);
|
|
9268
|
-
}(
|
|
9268
|
+
}(_), Cl = new NR(), VR = /* @__PURE__ */ function(o) {
|
|
9269
9269
|
function t() {
|
|
9270
9270
|
return w(this, t), R(this, t, ["socket.chat.SendChatMessageToPeersRequest", [{
|
|
9271
9271
|
no: 1,
|
|
@@ -9289,14 +9289,14 @@ var CR = /* @__PURE__ */ function(o) {
|
|
|
9289
9289
|
}]]);
|
|
9290
9290
|
}
|
|
9291
9291
|
return A(t, o), P(t);
|
|
9292
|
-
}(
|
|
9292
|
+
}(_), UR = new VR(), jR = /* @__PURE__ */ function(o) {
|
|
9293
9293
|
function t() {
|
|
9294
9294
|
return w(this, t), R(this, t, ["socket.chat.SendChatMessageToPeersResponse", [{ no: 1, name: "message", kind: "message", T: function() {
|
|
9295
9295
|
return Ai;
|
|
9296
9296
|
} }]]);
|
|
9297
9297
|
}
|
|
9298
9298
|
return A(t, o), P(t);
|
|
9299
|
-
}(
|
|
9299
|
+
}(_), Rl = new jR(), FR = /* @__PURE__ */ function(o) {
|
|
9300
9300
|
function t() {
|
|
9301
9301
|
return w(this, t), R(this, t, ["socket.chat.SendChatMessageToChannelRequest", [{
|
|
9302
9302
|
no: 1,
|
|
@@ -9319,7 +9319,7 @@ var CR = /* @__PURE__ */ function(o) {
|
|
|
9319
9319
|
}]]);
|
|
9320
9320
|
}
|
|
9321
9321
|
return A(t, o), P(t);
|
|
9322
|
-
}(
|
|
9322
|
+
}(_);
|
|
9323
9323
|
new FR();
|
|
9324
9324
|
var HR = /* @__PURE__ */ function(o) {
|
|
9325
9325
|
function t() {
|
|
@@ -9328,7 +9328,7 @@ var HR = /* @__PURE__ */ function(o) {
|
|
|
9328
9328
|
} }]]);
|
|
9329
9329
|
}
|
|
9330
9330
|
return A(t, o), P(t);
|
|
9331
|
-
}(
|
|
9331
|
+
}(_);
|
|
9332
9332
|
new HR();
|
|
9333
9333
|
var BR = /* @__PURE__ */ function(o) {
|
|
9334
9334
|
function t() {
|
|
@@ -9369,7 +9369,7 @@ var BR = /* @__PURE__ */ function(o) {
|
|
|
9369
9369
|
}]]);
|
|
9370
9370
|
}
|
|
9371
9371
|
return A(t, o), P(t);
|
|
9372
|
-
}(
|
|
9372
|
+
}(_), qR = new BR(), GR = /* @__PURE__ */ function(o) {
|
|
9373
9373
|
function t() {
|
|
9374
9374
|
return w(this, t), R(this, t, ["socket.chat.PinChatMessageRequest", [{
|
|
9375
9375
|
no: 1,
|
|
@@ -9393,7 +9393,7 @@ var BR = /* @__PURE__ */ function(o) {
|
|
|
9393
9393
|
}]]);
|
|
9394
9394
|
}
|
|
9395
9395
|
return A(t, o), P(t);
|
|
9396
|
-
}(
|
|
9396
|
+
}(_), WR = new GR(), JR = /* @__PURE__ */ function(o) {
|
|
9397
9397
|
function t() {
|
|
9398
9398
|
return w(this, t), R(this, t, ["socket.chat.PinChatMessageResponse", [{
|
|
9399
9399
|
no: 1,
|
|
@@ -9419,14 +9419,14 @@ var BR = /* @__PURE__ */ function(o) {
|
|
|
9419
9419
|
} }]]);
|
|
9420
9420
|
}
|
|
9421
9421
|
return A(t, o), P(t);
|
|
9422
|
-
}(
|
|
9422
|
+
}(_), vc = new JR(), KR = /* @__PURE__ */ function(o) {
|
|
9423
9423
|
function t() {
|
|
9424
9424
|
return w(this, t), R(this, t, ["socket.chat.EditChatMessageResponse", [{ no: 1, name: "message", kind: "message", T: function() {
|
|
9425
9425
|
return Ai;
|
|
9426
9426
|
} }]]);
|
|
9427
9427
|
}
|
|
9428
9428
|
return A(t, o), P(t);
|
|
9429
|
-
}(
|
|
9429
|
+
}(_), fc = new KR(), zR = /* @__PURE__ */ function(o) {
|
|
9430
9430
|
function t() {
|
|
9431
9431
|
return w(this, t), R(this, t, ["socket.chat.DeleteChatMessageRequest", [{
|
|
9432
9432
|
no: 1,
|
|
@@ -9444,7 +9444,7 @@ var BR = /* @__PURE__ */ function(o) {
|
|
|
9444
9444
|
}]]);
|
|
9445
9445
|
}
|
|
9446
9446
|
return A(t, o), P(t);
|
|
9447
|
-
}(
|
|
9447
|
+
}(_), YR = new zR(), QR = /* @__PURE__ */ function(o) {
|
|
9448
9448
|
function t() {
|
|
9449
9449
|
return w(this, t), R(this, t, ["socket.chat.DeleteChatMessageResponse", [{
|
|
9450
9450
|
no: 1,
|
|
@@ -9462,7 +9462,7 @@ var BR = /* @__PURE__ */ function(o) {
|
|
|
9462
9462
|
}]]);
|
|
9463
9463
|
}
|
|
9464
9464
|
return A(t, o), P(t);
|
|
9465
|
-
}(
|
|
9465
|
+
}(_), gc = new QR(), XR = /* @__PURE__ */ function(o) {
|
|
9466
9466
|
function t() {
|
|
9467
9467
|
return w(this, t), R(this, t, ["socket.chat.SearchChatMessagesRequest", [{
|
|
9468
9468
|
no: 1,
|
|
@@ -9505,7 +9505,7 @@ var BR = /* @__PURE__ */ function(o) {
|
|
|
9505
9505
|
}]]);
|
|
9506
9506
|
}
|
|
9507
9507
|
return A(t, o), P(t);
|
|
9508
|
-
}(
|
|
9508
|
+
}(_), ZR = new XR(), xR = /* @__PURE__ */ function(o) {
|
|
9509
9509
|
function t() {
|
|
9510
9510
|
return w(this, t), R(this, t, ["socket.chat.MarkChannelIndexAsReadRequest", [{
|
|
9511
9511
|
no: 1,
|
|
@@ -9528,7 +9528,7 @@ var BR = /* @__PURE__ */ function(o) {
|
|
|
9528
9528
|
}]]);
|
|
9529
9529
|
}
|
|
9530
9530
|
return A(t, o), P(t);
|
|
9531
|
-
}(
|
|
9531
|
+
}(_);
|
|
9532
9532
|
new xR();
|
|
9533
9533
|
var e1 = /* @__PURE__ */ function(o) {
|
|
9534
9534
|
function t() {
|
|
@@ -9541,7 +9541,7 @@ var e1 = /* @__PURE__ */ function(o) {
|
|
|
9541
9541
|
}]]);
|
|
9542
9542
|
}
|
|
9543
9543
|
return A(t, o), P(t);
|
|
9544
|
-
}(
|
|
9544
|
+
}(_);
|
|
9545
9545
|
new e1();
|
|
9546
9546
|
var r1 = /* @__PURE__ */ function(o) {
|
|
9547
9547
|
function t() {
|
|
@@ -9580,7 +9580,7 @@ var r1 = /* @__PURE__ */ function(o) {
|
|
|
9580
9580
|
}]]);
|
|
9581
9581
|
}
|
|
9582
9582
|
return A(t, o), P(t);
|
|
9583
|
-
}(
|
|
9583
|
+
}(_);
|
|
9584
9584
|
new r1();
|
|
9585
9585
|
var t1 = /* @__PURE__ */ function(o) {
|
|
9586
9586
|
function t() {
|
|
@@ -9628,7 +9628,7 @@ var t1 = /* @__PURE__ */ function(o) {
|
|
|
9628
9628
|
}]]);
|
|
9629
9629
|
}
|
|
9630
9630
|
return A(t, o), P(t);
|
|
9631
|
-
}(
|
|
9631
|
+
}(_);
|
|
9632
9632
|
new t1();
|
|
9633
9633
|
var n1 = /* @__PURE__ */ function(o) {
|
|
9634
9634
|
function t() {
|
|
@@ -9641,7 +9641,7 @@ var n1 = /* @__PURE__ */ function(o) {
|
|
|
9641
9641
|
}]]);
|
|
9642
9642
|
}
|
|
9643
9643
|
return A(t, o), P(t);
|
|
9644
|
-
}(
|
|
9644
|
+
}(_);
|
|
9645
9645
|
new n1();
|
|
9646
9646
|
var a1 = /* @__PURE__ */ function(o) {
|
|
9647
9647
|
function t() {
|
|
@@ -9654,7 +9654,7 @@ var a1 = /* @__PURE__ */ function(o) {
|
|
|
9654
9654
|
}]]);
|
|
9655
9655
|
}
|
|
9656
9656
|
return A(t, o), P(t);
|
|
9657
|
-
}(
|
|
9657
|
+
}(_);
|
|
9658
9658
|
new a1();
|
|
9659
9659
|
var i1 = /* @__PURE__ */ function(o) {
|
|
9660
9660
|
function t() {
|
|
@@ -9670,7 +9670,7 @@ var i1 = /* @__PURE__ */ function(o) {
|
|
|
9670
9670
|
}]]);
|
|
9671
9671
|
}
|
|
9672
9672
|
return A(t, o), P(t);
|
|
9673
|
-
}(
|
|
9673
|
+
}(_), s1 = new i1(), o1 = /* @__PURE__ */ function(o) {
|
|
9674
9674
|
function t() {
|
|
9675
9675
|
return w(this, t), R(this, t, ["socket.chat.ChatChannel", [{
|
|
9676
9676
|
no: 1,
|
|
@@ -9715,14 +9715,14 @@ var i1 = /* @__PURE__ */ function(o) {
|
|
|
9715
9715
|
}]]);
|
|
9716
9716
|
}
|
|
9717
9717
|
return A(t, o), P(t);
|
|
9718
|
-
}(
|
|
9718
|
+
}(_), u1 = new o1(), c1 = /* @__PURE__ */ function(o) {
|
|
9719
9719
|
function t() {
|
|
9720
9720
|
return w(this, t), R(this, t, ["socket.chat.GetChatChannelResponse", [{ no: 1, name: "chat_channels", kind: "message", repeat: 1, T: function() {
|
|
9721
9721
|
return u1;
|
|
9722
9722
|
} }]]);
|
|
9723
9723
|
}
|
|
9724
9724
|
return A(t, o), P(t);
|
|
9725
|
-
}(
|
|
9725
|
+
}(_);
|
|
9726
9726
|
new c1();
|
|
9727
9727
|
var l1 = /* @__PURE__ */ function(o) {
|
|
9728
9728
|
function t() {
|
|
@@ -9755,14 +9755,14 @@ var l1 = /* @__PURE__ */ function(o) {
|
|
|
9755
9755
|
}]]);
|
|
9756
9756
|
}
|
|
9757
9757
|
return A(t, o), P(t);
|
|
9758
|
-
}(
|
|
9758
|
+
}(_), d1 = new l1(), p1 = /* @__PURE__ */ function(o) {
|
|
9759
9759
|
function t() {
|
|
9760
9760
|
return w(this, t), R(this, t, ["socket.chat.GetChatChannelMembersResponse", [{ no: 1, name: "channel_members", kind: "message", repeat: 1, T: function() {
|
|
9761
9761
|
return d1;
|
|
9762
9762
|
} }]]);
|
|
9763
9763
|
}
|
|
9764
9764
|
return A(t, o), P(t);
|
|
9765
|
-
}(
|
|
9765
|
+
}(_);
|
|
9766
9766
|
new p1();
|
|
9767
9767
|
var h1 = /* @__PURE__ */ function(o) {
|
|
9768
9768
|
function t() {
|
|
@@ -9781,7 +9781,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9781
9781
|
}]]);
|
|
9782
9782
|
}
|
|
9783
9783
|
return A(t, o), P(t);
|
|
9784
|
-
}(
|
|
9784
|
+
}(_), v1 = new h1(), f1 = /* @__PURE__ */ function(o) {
|
|
9785
9785
|
function t() {
|
|
9786
9786
|
return w(this, t), R(this, t, ["socket.plugin.RemovePluginRequest", [{
|
|
9787
9787
|
no: 1,
|
|
@@ -9798,7 +9798,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9798
9798
|
}]]);
|
|
9799
9799
|
}
|
|
9800
9800
|
return A(t, o), P(t);
|
|
9801
|
-
}(
|
|
9801
|
+
}(_), g1 = new f1(), m1 = /* @__PURE__ */ function(o) {
|
|
9802
9802
|
function t() {
|
|
9803
9803
|
return w(this, t), R(this, t, ["socket.plugin.EnablePluginForRoomRequest", [{
|
|
9804
9804
|
no: 1,
|
|
@@ -9809,7 +9809,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9809
9809
|
}]]);
|
|
9810
9810
|
}
|
|
9811
9811
|
return A(t, o), P(t);
|
|
9812
|
-
}(
|
|
9812
|
+
}(_), y1 = new m1(), k1 = /* @__PURE__ */ function(o) {
|
|
9813
9813
|
function t() {
|
|
9814
9814
|
return w(this, t), R(this, t, ["socket.plugin.DisablePluginForRoomRequest", [{
|
|
9815
9815
|
no: 1,
|
|
@@ -9820,7 +9820,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9820
9820
|
}]]);
|
|
9821
9821
|
}
|
|
9822
9822
|
return A(t, o), P(t);
|
|
9823
|
-
}(
|
|
9823
|
+
}(_), b1 = new k1(), T1 = /* @__PURE__ */ function(o) {
|
|
9824
9824
|
function t() {
|
|
9825
9825
|
return w(this, t), R(this, t, ["socket.plugin.EnablePluginForPeersRequest", [{
|
|
9826
9826
|
no: 1,
|
|
@@ -9838,7 +9838,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9838
9838
|
}]]);
|
|
9839
9839
|
}
|
|
9840
9840
|
return A(t, o), P(t);
|
|
9841
|
-
}(
|
|
9841
|
+
}(_), w1 = new T1(), P1 = /* @__PURE__ */ function(o) {
|
|
9842
9842
|
function t() {
|
|
9843
9843
|
return w(this, t), R(this, t, ["socket.plugin.DisablePluginForPeersRequest", [{
|
|
9844
9844
|
no: 1,
|
|
@@ -9856,7 +9856,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9856
9856
|
}]]);
|
|
9857
9857
|
}
|
|
9858
9858
|
return A(t, o), P(t);
|
|
9859
|
-
}(
|
|
9859
|
+
}(_), S1 = new P1(), E1 = /* @__PURE__ */ function(o) {
|
|
9860
9860
|
function t() {
|
|
9861
9861
|
return w(this, t), R(this, t, ["socket.plugin.PluginEventToRoomRequest", [{
|
|
9862
9862
|
no: 1,
|
|
@@ -9873,7 +9873,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9873
9873
|
}]]);
|
|
9874
9874
|
}
|
|
9875
9875
|
return A(t, o), P(t);
|
|
9876
|
-
}(
|
|
9876
|
+
}(_), C1 = new E1(), R1 = /* @__PURE__ */ function(o) {
|
|
9877
9877
|
function t() {
|
|
9878
9878
|
return w(this, t), R(this, t, ["socket.plugin.PluginEventToPeersRequest", [{
|
|
9879
9879
|
no: 1,
|
|
@@ -9897,7 +9897,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9897
9897
|
}]]);
|
|
9898
9898
|
}
|
|
9899
9899
|
return A(t, o), P(t);
|
|
9900
|
-
}(
|
|
9900
|
+
}(_), A1 = new R1(), I1 = /* @__PURE__ */ function(o) {
|
|
9901
9901
|
function t() {
|
|
9902
9902
|
return w(this, t), R(this, t, ["socket.plugin.StoreKeys", [{
|
|
9903
9903
|
no: 1,
|
|
@@ -9915,7 +9915,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9915
9915
|
}]]);
|
|
9916
9916
|
}
|
|
9917
9917
|
return A(t, o), P(t);
|
|
9918
|
-
}(
|
|
9918
|
+
}(_), _p = new I1(), M1 = /* @__PURE__ */ function(o) {
|
|
9919
9919
|
function t() {
|
|
9920
9920
|
return w(this, t), R(this, t, ["socket.plugin.PluginStoreInsertKeysRequest", [{
|
|
9921
9921
|
no: 1,
|
|
@@ -9934,7 +9934,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9934
9934
|
} }]]);
|
|
9935
9935
|
}
|
|
9936
9936
|
return A(t, o), P(t);
|
|
9937
|
-
}(
|
|
9937
|
+
}(_), Jh = new M1(), _1 = /* @__PURE__ */ function(o) {
|
|
9938
9938
|
function t() {
|
|
9939
9939
|
return w(this, t), R(this, t, ["socket.plugin.PluginStoreGetKeysRequest", [{
|
|
9940
9940
|
no: 1,
|
|
@@ -9953,7 +9953,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9953
9953
|
} }]]);
|
|
9954
9954
|
}
|
|
9955
9955
|
return A(t, o), P(t);
|
|
9956
|
-
}(
|
|
9956
|
+
}(_), O1 = new _1(), D1 = /* @__PURE__ */ function(o) {
|
|
9957
9957
|
function t() {
|
|
9958
9958
|
return w(this, t), R(this, t, ["socket.plugin.PluginStoreDeleteKeysRequest", [{
|
|
9959
9959
|
no: 1,
|
|
@@ -9972,7 +9972,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9972
9972
|
} }]]);
|
|
9973
9973
|
}
|
|
9974
9974
|
return A(t, o), P(t);
|
|
9975
|
-
}(
|
|
9975
|
+
}(_), $1 = new D1(), L1 = /* @__PURE__ */ function(o) {
|
|
9976
9976
|
function t() {
|
|
9977
9977
|
return w(this, t), R(this, t, ["socket.plugin.PluginStoreDeleteRequest", [{
|
|
9978
9978
|
no: 1,
|
|
@@ -9989,7 +9989,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
9989
9989
|
}]]);
|
|
9990
9990
|
}
|
|
9991
9991
|
return A(t, o), P(t);
|
|
9992
|
-
}(
|
|
9992
|
+
}(_), N1 = new L1(), V1 = /* @__PURE__ */ function(o) {
|
|
9993
9993
|
function t() {
|
|
9994
9994
|
return w(this, t), R(this, t, ["socket.plugin.EnablePluginResponse", [{
|
|
9995
9995
|
no: 1,
|
|
@@ -10006,14 +10006,14 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10006
10006
|
}]]);
|
|
10007
10007
|
}
|
|
10008
10008
|
return A(t, o), P(t);
|
|
10009
|
-
}(
|
|
10009
|
+
}(_), gd = new V1(), U1 = /* @__PURE__ */ function(o) {
|
|
10010
10010
|
function t() {
|
|
10011
10011
|
return w(this, t), R(this, t, ["socket.plugin.EnablePluginsResponse", [{ no: 1, name: "plugins", kind: "message", repeat: 1, T: function() {
|
|
10012
10012
|
return gd;
|
|
10013
10013
|
} }]]);
|
|
10014
10014
|
}
|
|
10015
10015
|
return A(t, o), P(t);
|
|
10016
|
-
}(
|
|
10016
|
+
}(_), j1 = new U1(), F1 = /* @__PURE__ */ function(o) {
|
|
10017
10017
|
function t() {
|
|
10018
10018
|
return w(this, t), R(this, t, ["socket.plugin.DisablePluginResponse", [{
|
|
10019
10019
|
no: 1,
|
|
@@ -10030,7 +10030,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10030
10030
|
}]]);
|
|
10031
10031
|
}
|
|
10032
10032
|
return A(t, o), P(t);
|
|
10033
|
-
}(
|
|
10033
|
+
}(_), Kh = new F1(), H1 = /* @__PURE__ */ function(o) {
|
|
10034
10034
|
function t() {
|
|
10035
10035
|
return w(this, t), R(this, t, ["socket.plugin.PluginStoreItem", [{
|
|
10036
10036
|
no: 1,
|
|
@@ -10059,7 +10059,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10059
10059
|
}]]);
|
|
10060
10060
|
}
|
|
10061
10061
|
return A(t, o), P(t);
|
|
10062
|
-
}(
|
|
10062
|
+
}(_), B1 = new H1(), q1 = /* @__PURE__ */ function(o) {
|
|
10063
10063
|
function t() {
|
|
10064
10064
|
return w(this, t), R(this, t, ["socket.plugin.PluginStoreResponse", [{
|
|
10065
10065
|
no: 1,
|
|
@@ -10078,7 +10078,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10078
10078
|
} }]]);
|
|
10079
10079
|
}
|
|
10080
10080
|
return A(t, o), P(t);
|
|
10081
|
-
}(
|
|
10081
|
+
}(_), zh = new q1(), G1 = /* @__PURE__ */ function(o) {
|
|
10082
10082
|
function t() {
|
|
10083
10083
|
return w(this, t), R(this, t, ["socket.plugin.PluginEventResponse", [{
|
|
10084
10084
|
no: 1,
|
|
@@ -10095,7 +10095,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10095
10095
|
}]]);
|
|
10096
10096
|
}
|
|
10097
10097
|
return A(t, o), P(t);
|
|
10098
|
-
}(
|
|
10098
|
+
}(_), Yh = new G1(), W1 = /* @__PURE__ */ function(o) {
|
|
10099
10099
|
function t() {
|
|
10100
10100
|
return w(this, t), R(this, t, ["socket.livestreaming.LiveStreamingEvent", [{
|
|
10101
10101
|
no: 1,
|
|
@@ -10161,7 +10161,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10161
10161
|
}]]);
|
|
10162
10162
|
}
|
|
10163
10163
|
return A(t, o), P(t);
|
|
10164
|
-
}(
|
|
10164
|
+
}(_), Qh = new W1(), J1 = /* @__PURE__ */ function(o) {
|
|
10165
10165
|
function t() {
|
|
10166
10166
|
return w(this, t), R(this, t, ["socket.livestreaming.GetStagePeersResponse", [{
|
|
10167
10167
|
no: 1,
|
|
@@ -10173,7 +10173,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10173
10173
|
}]]);
|
|
10174
10174
|
}
|
|
10175
10175
|
return A(t, o), P(t);
|
|
10176
|
-
}(
|
|
10176
|
+
}(_), Xh = new J1(), K1 = /* @__PURE__ */ function(o) {
|
|
10177
10177
|
function t() {
|
|
10178
10178
|
return w(this, t), R(this, t, ["socket.livestreaming.StageRequest", [{
|
|
10179
10179
|
no: 1,
|
|
@@ -10196,14 +10196,14 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10196
10196
|
}]]);
|
|
10197
10197
|
}
|
|
10198
10198
|
return A(t, o), P(t);
|
|
10199
|
-
}(
|
|
10199
|
+
}(_), z1 = new K1(), Y1 = /* @__PURE__ */ function(o) {
|
|
10200
10200
|
function t() {
|
|
10201
10201
|
return w(this, t), R(this, t, ["socket.livestreaming.GetStageRequestsResponse", [{ no: 1, name: "stage_requests", kind: "message", repeat: 1, T: function() {
|
|
10202
10202
|
return z1;
|
|
10203
10203
|
} }]]);
|
|
10204
10204
|
}
|
|
10205
10205
|
return A(t, o), P(t);
|
|
10206
|
-
}(
|
|
10206
|
+
}(_), Al = new Y1(), Q1 = /* @__PURE__ */ function(o) {
|
|
10207
10207
|
function t() {
|
|
10208
10208
|
return w(this, t), R(this, t, ["socket.livestreaming.GrantStageAccessRequest", [{
|
|
10209
10209
|
no: 1,
|
|
@@ -10215,7 +10215,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10215
10215
|
}]]);
|
|
10216
10216
|
}
|
|
10217
10217
|
return A(t, o), P(t);
|
|
10218
|
-
}(
|
|
10218
|
+
}(_), X1 = new Q1(), Z1 = /* @__PURE__ */ function(o) {
|
|
10219
10219
|
function t() {
|
|
10220
10220
|
return w(this, t), R(this, t, ["socket.livestreaming.DenyStageAccessRequest", [{
|
|
10221
10221
|
no: 1,
|
|
@@ -10227,7 +10227,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10227
10227
|
}]]);
|
|
10228
10228
|
}
|
|
10229
10229
|
return A(t, o), P(t);
|
|
10230
|
-
}(
|
|
10230
|
+
}(_), x1 = new Z1(), eA = /* @__PURE__ */ function(o) {
|
|
10231
10231
|
function t() {
|
|
10232
10232
|
return w(this, t), R(this, t, ["socket.livestreaming.LeaveStageRequest", [{
|
|
10233
10233
|
no: 1,
|
|
@@ -10239,7 +10239,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10239
10239
|
}]]);
|
|
10240
10240
|
}
|
|
10241
10241
|
return A(t, o), P(t);
|
|
10242
|
-
}(
|
|
10242
|
+
}(_), Zh = new eA(), rA = /* @__PURE__ */ function(o) {
|
|
10243
10243
|
function t() {
|
|
10244
10244
|
return w(this, t), R(this, t, ["socket.polls.Poll", [{
|
|
10245
10245
|
no: 1,
|
|
@@ -10289,7 +10289,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10289
10289
|
}]]);
|
|
10290
10290
|
}
|
|
10291
10291
|
return A(t, o), P(t);
|
|
10292
|
-
}(
|
|
10292
|
+
}(_), zf = new rA(), tA = /* @__PURE__ */ function(o) {
|
|
10293
10293
|
function t() {
|
|
10294
10294
|
return w(this, t), R(this, t, ["socket.polls.PollOption", [{
|
|
10295
10295
|
no: 1,
|
|
@@ -10310,7 +10310,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10310
10310
|
} }]]);
|
|
10311
10311
|
}
|
|
10312
10312
|
return A(t, o), P(t);
|
|
10313
|
-
}(
|
|
10313
|
+
}(_), nA = new tA(), aA = /* @__PURE__ */ function(o) {
|
|
10314
10314
|
function t() {
|
|
10315
10315
|
return w(this, t), R(this, t, ["socket.polls.PollVote", [{
|
|
10316
10316
|
no: 1,
|
|
@@ -10327,7 +10327,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10327
10327
|
}]]);
|
|
10328
10328
|
}
|
|
10329
10329
|
return A(t, o), P(t);
|
|
10330
|
-
}(
|
|
10330
|
+
}(_), iA = new aA(), sA = /* @__PURE__ */ function(o) {
|
|
10331
10331
|
function t() {
|
|
10332
10332
|
return w(this, t), R(this, t, ["socket.polls.NewPollRequest", [{
|
|
10333
10333
|
no: 1,
|
|
@@ -10371,7 +10371,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10371
10371
|
}]]);
|
|
10372
10372
|
}
|
|
10373
10373
|
return A(t, o), P(t);
|
|
10374
|
-
}(
|
|
10374
|
+
}(_), oA = new sA(), uA = /* @__PURE__ */ function(o) {
|
|
10375
10375
|
function t() {
|
|
10376
10376
|
return w(this, t), R(this, t, ["socket.polls.VotePollRequest", [{
|
|
10377
10377
|
no: 1,
|
|
@@ -10389,21 +10389,21 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10389
10389
|
}]]);
|
|
10390
10390
|
}
|
|
10391
10391
|
return A(t, o), P(t);
|
|
10392
|
-
}(
|
|
10392
|
+
}(_), cA = new uA(), lA = /* @__PURE__ */ function(o) {
|
|
10393
10393
|
function t() {
|
|
10394
10394
|
return w(this, t), R(this, t, ["socket.polls.UpdatePollResponse", [{ no: 1, name: "poll", kind: "message", T: function() {
|
|
10395
10395
|
return zf;
|
|
10396
10396
|
} }]]);
|
|
10397
10397
|
}
|
|
10398
10398
|
return A(t, o), P(t);
|
|
10399
|
-
}(
|
|
10399
|
+
}(_), Il = new lA(), dA = /* @__PURE__ */ function(o) {
|
|
10400
10400
|
function t() {
|
|
10401
10401
|
return w(this, t), R(this, t, ["socket.polls.GetPollsResponse", [{ no: 1, name: "polls", kind: "message", repeat: 1, T: function() {
|
|
10402
10402
|
return zf;
|
|
10403
10403
|
} }]]);
|
|
10404
10404
|
}
|
|
10405
10405
|
return A(t, o), P(t);
|
|
10406
|
-
}(
|
|
10406
|
+
}(_), pA = new dA(), hA = /* @__PURE__ */ function(o) {
|
|
10407
10407
|
function t() {
|
|
10408
10408
|
return w(this, t), R(this, t, ["socket.recording.RecordingEvent", [{
|
|
10409
10409
|
no: 1,
|
|
@@ -10422,7 +10422,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10422
10422
|
} }]]);
|
|
10423
10423
|
}
|
|
10424
10424
|
return A(t, o), P(t);
|
|
10425
|
-
}(
|
|
10425
|
+
}(_), xh = new hA(), vA = /* @__PURE__ */ function(o) {
|
|
10426
10426
|
function t() {
|
|
10427
10427
|
return w(this, t), R(this, t, ["google.protobuf.Timestamp", [{
|
|
10428
10428
|
no: 1,
|
|
@@ -10498,7 +10498,7 @@ var h1 = /* @__PURE__ */ function(o) {
|
|
|
10498
10498
|
throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");
|
|
10499
10499
|
return a || (a = this.create()), a.seconds = Lo.from(s / 1e3).toBigInt(), a.nanos = 0, i[7] && (a.nanos = parseInt("1" + i[7] + "0".repeat(9 - i[7].length)) - 1e9), a;
|
|
10500
10500
|
} }]);
|
|
10501
|
-
}(
|
|
10501
|
+
}(_);
|
|
10502
10502
|
new vA();
|
|
10503
10503
|
var fA = /* @__PURE__ */ function(o) {
|
|
10504
10504
|
function t() {
|
|
@@ -10576,14 +10576,14 @@ var fA = /* @__PURE__ */ function(o) {
|
|
|
10576
10576
|
}]]);
|
|
10577
10577
|
}
|
|
10578
10578
|
return A(t, o), P(t);
|
|
10579
|
-
}(
|
|
10579
|
+
}(_), md = new fA(), gA = /* @__PURE__ */ function(o) {
|
|
10580
10580
|
function t() {
|
|
10581
10581
|
return w(this, t), R(this, t, ["common.BulkedHubMessage", [{ no: 1, name: "messages", kind: "message", repeat: 1, T: function() {
|
|
10582
10582
|
return md;
|
|
10583
10583
|
} }]]);
|
|
10584
10584
|
}
|
|
10585
10585
|
return A(t, o), P(t);
|
|
10586
|
-
}(
|
|
10586
|
+
}(_);
|
|
10587
10587
|
new gA();
|
|
10588
10588
|
var mA = /* @__PURE__ */ function(o) {
|
|
10589
10589
|
function t() {
|
|
@@ -10594,7 +10594,7 @@ var mA = /* @__PURE__ */ function(o) {
|
|
|
10594
10594
|
} }]]);
|
|
10595
10595
|
}
|
|
10596
10596
|
return A(t, o), P(t);
|
|
10597
|
-
}(
|
|
10597
|
+
}(_);
|
|
10598
10598
|
new mA();
|
|
10599
10599
|
var yA = 0, kA = 1, bA = 2, TA = 3, wA = 5, PA = {
|
|
10600
10600
|
getPeerInfo: 0,
|
|
@@ -10968,52 +10968,52 @@ var ev = /* @__PURE__ */ function() {
|
|
|
10968
10968
|
return a;
|
|
10969
10969
|
} }, { key: "request", value: function() {
|
|
10970
10970
|
var t = m(/* @__PURE__ */ h().mark(function r(n) {
|
|
10971
|
-
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C,
|
|
10972
|
-
return h().wrap(function(
|
|
10971
|
+
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C, I;
|
|
10972
|
+
return h().wrap(function(M) {
|
|
10973
10973
|
for (; ; )
|
|
10974
|
-
switch (
|
|
10974
|
+
switch (M.prev = M.next) {
|
|
10975
10975
|
case 0:
|
|
10976
|
-
return i = ((a = n.method) === null || a === void 0 ? void 0 : a.toUpperCase()) || "GET", s = this.buildURL(n.url || "", n.params), u = V(V({}, this.defaults.headers.common), n.headers), i !== "GET" && i !== "HEAD" && n.data && !u["Content-Type"] && (u["Content-Type"] = "application/json"), l = u["Content-Type"], d = l === "application/json" ? JSON.stringify(n.data) : n.data, p = { method: i, headers: u, body: i !== "GET" && i !== "HEAD" && n.data ? d : void 0 }, v = n.timeout || this.defaults.timeout, f = n.retry !== void 0 ? n.retry : this.defaults.retry, g = n.retryDelay || this.defaults.retryDelay,
|
|
10976
|
+
return i = ((a = n.method) === null || a === void 0 ? void 0 : a.toUpperCase()) || "GET", s = this.buildURL(n.url || "", n.params), u = V(V({}, this.defaults.headers.common), n.headers), i !== "GET" && i !== "HEAD" && n.data && !u["Content-Type"] && (u["Content-Type"] = "application/json"), l = u["Content-Type"], d = l === "application/json" ? JSON.stringify(n.data) : n.data, p = { method: i, headers: u, body: i !== "GET" && i !== "HEAD" && n.data ? d : void 0 }, v = n.timeout || this.defaults.timeout, f = n.retry !== void 0 ? n.retry : this.defaults.retry, g = n.retryDelay || this.defaults.retryDelay, M.prev = 10, k = new AbortController(), y = setTimeout(function() {
|
|
10977
10977
|
return k.abort();
|
|
10978
|
-
}, v), p.signal = k.signal,
|
|
10978
|
+
}, v), p.signal = k.signal, M.next = 16, fetch(s, p);
|
|
10979
10979
|
case 16:
|
|
10980
|
-
if (b =
|
|
10981
|
-
|
|
10980
|
+
if (b = M.sent, clearTimeout(y), T = null, S = b.headers.get("content-type"), !(S && S.includes("application/json"))) {
|
|
10981
|
+
M.next = 26;
|
|
10982
10982
|
break;
|
|
10983
10983
|
}
|
|
10984
|
-
return
|
|
10984
|
+
return M.next = 23, b.json();
|
|
10985
10985
|
case 23:
|
|
10986
|
-
T =
|
|
10986
|
+
T = M.sent, M.next = 29;
|
|
10987
10987
|
break;
|
|
10988
10988
|
case 26:
|
|
10989
|
-
return
|
|
10989
|
+
return M.next = 28, b.text();
|
|
10990
10990
|
case 28:
|
|
10991
|
-
T =
|
|
10991
|
+
T = M.sent;
|
|
10992
10992
|
case 29:
|
|
10993
10993
|
if (C = {}, b.headers.forEach(function(L, U) {
|
|
10994
10994
|
C[U] = L;
|
|
10995
|
-
}),
|
|
10996
|
-
|
|
10995
|
+
}), I = { data: T, status: b.status, statusText: b.statusText, headers: C, config: n }, b.ok) {
|
|
10996
|
+
M.next = 34;
|
|
10997
10997
|
break;
|
|
10998
10998
|
}
|
|
10999
|
-
throw
|
|
10999
|
+
throw I;
|
|
11000
11000
|
case 34:
|
|
11001
|
-
return
|
|
11001
|
+
return M.abrupt("return", I);
|
|
11002
11002
|
case 37:
|
|
11003
|
-
if (
|
|
11004
|
-
|
|
11003
|
+
if (M.prev = 37, M.t0 = M.catch(10), !(M.t0 instanceof Error && f > 0)) {
|
|
11004
|
+
M.next = 44;
|
|
11005
11005
|
break;
|
|
11006
11006
|
}
|
|
11007
|
-
return
|
|
11007
|
+
return M.next = 42, new Promise(function(L) {
|
|
11008
11008
|
return setTimeout(L, g);
|
|
11009
11009
|
});
|
|
11010
11010
|
case 42:
|
|
11011
|
-
return this.defaults.baseURL === Os.apiBase.prod ? this.defaults.baseURL = Os.apiBase.prodAlternate : this.defaults.baseURL === Os.apiBase.prodAlternate && (this.defaults.baseURL = Os.apiBase.prod),
|
|
11011
|
+
return this.defaults.baseURL === Os.apiBase.prod ? this.defaults.baseURL = Os.apiBase.prodAlternate : this.defaults.baseURL === Os.apiBase.prodAlternate && (this.defaults.baseURL = Os.apiBase.prod), M.abrupt("return", this.request(V(V({}, n), {}, { retry: f - 1 })));
|
|
11012
11012
|
case 44:
|
|
11013
|
-
throw
|
|
11013
|
+
throw M.t0;
|
|
11014
11014
|
case 45:
|
|
11015
11015
|
case "end":
|
|
11016
|
-
return
|
|
11016
|
+
return M.stop();
|
|
11017
11017
|
}
|
|
11018
11018
|
}, r, this, [[10, 37]]);
|
|
11019
11019
|
}));
|
|
@@ -11092,7 +11092,7 @@ var ev = /* @__PURE__ */ function() {
|
|
|
11092
11092
|
var k = this.requests.request.bind(this.requests);
|
|
11093
11093
|
this.requests.request = /* @__PURE__ */ function() {
|
|
11094
11094
|
var y = m(/* @__PURE__ */ h().mark(function b(T) {
|
|
11095
|
-
var S, C,
|
|
11095
|
+
var S, C, I, O, M, L, U;
|
|
11096
11096
|
return h().wrap(function(D) {
|
|
11097
11097
|
for (; ; )
|
|
11098
11098
|
switch (D.prev = D.next) {
|
|
@@ -11107,7 +11107,7 @@ var ev = /* @__PURE__ */ function() {
|
|
|
11107
11107
|
}
|
|
11108
11108
|
throw new q("Unknown network error occurred", "0011");
|
|
11109
11109
|
case 14:
|
|
11110
|
-
throw ((
|
|
11110
|
+
throw ((I = D.t0.config) === null || I === void 0 ? void 0 : I.url) !== S.logsEndpoint && r.logger.error("xhr::fetch", { error: D.t0, networkCall: { status: D.t0.status, statusText: D.t0.statusText, baseURL: ((O = D.t0.config) === null || O === void 0 ? void 0 : O.baseURL) || r.requests.defaults.baseURL, url: (M = D.t0.config) === null || M === void 0 ? void 0 : M.url, retries: (L = D.t0.config) === null || L === void 0 ? void 0 : L.retry, method: (U = D.t0.config) === null || U === void 0 ? void 0 : U.method, isOnline: navigator.onLine ? "online" : "offline" } }), new q(D.t0.message || "Network request failed", "0011");
|
|
11111
11111
|
case 16:
|
|
11112
11112
|
case "end":
|
|
11113
11113
|
return D.stop();
|
|
@@ -11789,29 +11789,29 @@ var jA = Object.defineProperty, FA = Object.getOwnPropertyDescriptor, Vn = funct
|
|
|
11789
11789
|
*/
|
|
11790
11790
|
}, { key: "sendCustomMessage", value: function() {
|
|
11791
11791
|
var e = m(/* @__PURE__ */ h().mark(function n(a, i) {
|
|
11792
|
-
var s, u, l, d = this, p, v, f, g, k, y, b, T, S, C,
|
|
11793
|
-
return h().wrap(function(
|
|
11792
|
+
var s, u, l, d = this, p, v, f, g, k, y, b, T, S, C, I;
|
|
11793
|
+
return h().wrap(function(M) {
|
|
11794
11794
|
for (; ; )
|
|
11795
|
-
switch (
|
|
11795
|
+
switch (M.prev = M.next) {
|
|
11796
11796
|
case 0:
|
|
11797
11797
|
if (!(i && i.length > 0)) {
|
|
11798
|
-
|
|
11798
|
+
M.next = 6;
|
|
11799
11799
|
break;
|
|
11800
11800
|
}
|
|
11801
11801
|
if (!(!((b = c(this, ee)[ee].permissions) !== null && b !== void 0 && b.chatPrivate.canSend) || !((T = c(this, ee)[ee].permissions) !== null && T !== void 0 && T.chatPrivate.files) || !((S = c(this, ee)[ee].permissions) !== null && S !== void 0 && S.chatPrivate.text))) {
|
|
11802
|
-
|
|
11802
|
+
M.next = 4;
|
|
11803
11803
|
break;
|
|
11804
11804
|
}
|
|
11805
|
-
return this.logger.error("sendCustomMessage::private_chat_permission_denied"),
|
|
11805
|
+
return this.logger.error("sendCustomMessage::private_chat_permission_denied"), M.abrupt("return");
|
|
11806
11806
|
case 4:
|
|
11807
|
-
|
|
11807
|
+
M.next = 9;
|
|
11808
11808
|
break;
|
|
11809
11809
|
case 6:
|
|
11810
11810
|
if (!(!((s = c(this, ee)[ee].permissions) !== null && s !== void 0 && (s = s.chatPublic) !== null && s !== void 0 && s.canSend) || !((u = c(this, ee)[ee].permissions) !== null && u !== void 0 && (u = u.chatPublic) !== null && u !== void 0 && u.files) || !((l = c(this, ee)[ee].permissions) !== null && l !== void 0 && (l = l.chatPublic) !== null && l !== void 0 && l.text))) {
|
|
11811
|
-
|
|
11811
|
+
M.next = 9;
|
|
11812
11812
|
break;
|
|
11813
11813
|
}
|
|
11814
|
-
return this.logger.error("sendCustomMessage::permission_denied"),
|
|
11814
|
+
return this.logger.error("sendCustomMessage::permission_denied"), M.abrupt("return");
|
|
11815
11815
|
case 9:
|
|
11816
11816
|
return C = /* @__PURE__ */ function() {
|
|
11817
11817
|
var L = m(/* @__PURE__ */ h().mark(function U(N) {
|
|
@@ -11842,7 +11842,7 @@ var jA = Object.defineProperty, FA = Object.getOwnPropertyDescriptor, Vn = funct
|
|
|
11842
11842
|
return function(N) {
|
|
11843
11843
|
return L.apply(this, arguments);
|
|
11844
11844
|
};
|
|
11845
|
-
}(),
|
|
11845
|
+
}(), M.t0 = V, M.t1 = V({}, a), M.t2 = {}, M.next = 15, Promise.all((p = (v = a.files) !== null && v !== void 0 ? v : []) === null || p === void 0 ? void 0 : p.map(/* @__PURE__ */ function() {
|
|
11846
11846
|
var L = m(/* @__PURE__ */ h().mark(function U(N) {
|
|
11847
11847
|
return h().wrap(function(F) {
|
|
11848
11848
|
for (; ; )
|
|
@@ -11860,7 +11860,7 @@ var jA = Object.defineProperty, FA = Object.getOwnPropertyDescriptor, Vn = funct
|
|
|
11860
11860
|
};
|
|
11861
11861
|
}()));
|
|
11862
11862
|
case 15:
|
|
11863
|
-
return
|
|
11863
|
+
return M.t3 = M.sent, M.next = 18, Promise.all((f = (g = a.images) !== null && g !== void 0 ? g : []) === null || f === void 0 ? void 0 : f.map(/* @__PURE__ */ function() {
|
|
11864
11864
|
var L = m(/* @__PURE__ */ h().mark(function U(N) {
|
|
11865
11865
|
return h().wrap(function(F) {
|
|
11866
11866
|
for (; ; )
|
|
@@ -11878,7 +11878,7 @@ var jA = Object.defineProperty, FA = Object.getOwnPropertyDescriptor, Vn = funct
|
|
|
11878
11878
|
};
|
|
11879
11879
|
}()));
|
|
11880
11880
|
case 18:
|
|
11881
|
-
return
|
|
11881
|
+
return M.t4 = M.sent, M.next = 21, Promise.all((k = (y = a.videos) !== null && y !== void 0 ? y : []) === null || k === void 0 ? void 0 : k.map(/* @__PURE__ */ function() {
|
|
11882
11882
|
var L = m(/* @__PURE__ */ h().mark(function U(N) {
|
|
11883
11883
|
return h().wrap(function(F) {
|
|
11884
11884
|
for (; ; )
|
|
@@ -11896,10 +11896,10 @@ var jA = Object.defineProperty, FA = Object.getOwnPropertyDescriptor, Vn = funct
|
|
|
11896
11896
|
};
|
|
11897
11897
|
}()));
|
|
11898
11898
|
case 21:
|
|
11899
|
-
|
|
11899
|
+
M.t5 = M.sent, M.t6 = { files: M.t3, images: M.t4, videos: M.t5 }, I = (0, M.t0)(M.t1, M.t2, M.t6), c(this, He)[He].sendMessage(JSON.stringify(I), dn.CUSTOM, i);
|
|
11900
11900
|
case 25:
|
|
11901
11901
|
case "end":
|
|
11902
|
-
return
|
|
11902
|
+
return M.stop();
|
|
11903
11903
|
}
|
|
11904
11904
|
}, n, this);
|
|
11905
11905
|
}));
|
|
@@ -13612,10 +13612,10 @@ var kI = Object.defineProperty, bI = Object.getOwnPropertyDescriptor, il = funct
|
|
|
13612
13612
|
return n && a && kI(e, r, a), a;
|
|
13613
13613
|
}, _r = { getPeer: 14, getPeers: 15, chatMessage: 16, getRoomName: 17, getDisplayTitle: 18, getPluginInitiator: 19, customPluginEventToParent: 20, peerJoined: 22, peerLeft: 23, sendData: 24, stageStatusUpdate: 25, peerStageStatusUpdate: 26 }, Co = (Qe = /* @__PURE__ */ E("pluginSocketHandler"), Mr = /* @__PURE__ */ E("self"), Xa = /* @__PURE__ */ E("participants"), Za = /* @__PURE__ */ E("chat"), St = /* @__PURE__ */ E("startedAt"), xa = /* @__PURE__ */ E("authToken"), on = /* @__PURE__ */ E("context"), ei = /* @__PURE__ */ E("meetingTitle"), /* @__PURE__ */ function(o) {
|
|
13614
13614
|
function t(e, r, n, a, i, s, u) {
|
|
13615
|
-
var l, d = r.baseURL, p = r.createdAt, v = r.description, f = r.id, g = r.name, k = r.organizationId, y = r.picture, b = r.private, T = r.published, S = r.staggered, C = r.tags,
|
|
13615
|
+
var l, d = r.baseURL, p = r.createdAt, v = r.description, f = r.id, g = r.name, k = r.organizationId, y = r.picture, b = r.private, T = r.published, S = r.staggered, C = r.tags, I = r.type, O = r.updatedAt;
|
|
13616
13616
|
w(this, t);
|
|
13617
|
-
var
|
|
13618
|
-
return l = R(this, t, [
|
|
13617
|
+
var M = e.getValue("logger");
|
|
13618
|
+
return l = R(this, t, [M]), Object.defineProperty(l, Qe, { writable: !0, value: void 0 }), l.baseURL = void 0, l.createdAt = void 0, l.description = void 0, l.id = void 0, l.name = void 0, Object.defineProperty(l, Mr, { writable: !0, value: void 0 }), Object.defineProperty(l, Xa, { writable: !0, value: void 0 }), Object.defineProperty(l, Za, { writable: !0, value: void 0 }), l.organizationId = void 0, l.picture = void 0, l.private = void 0, l.published = void 0, l.staggered = void 0, l.tags = void 0, l.type = void 0, l.updatedAt = void 0, Object.defineProperty(l, St, { writable: !0, value: void 0 }), l.config = void 0, Object.defineProperty(l, xa, { writable: !0, value: void 0 }), l.active = void 0, l.iframes = void 0, l.enabledBy = void 0, Object.defineProperty(l, on, { writable: !0, value: void 0 }), Object.defineProperty(l, ei, { writable: !0, value: void 0 }), c(l, on)[on] = e, l.baseURL = d, l.createdAt = new Date(p), l.description = v, l.id = f, l.name = g, c(l, Mr)[Mr] = a, l.organizationId = k, l.picture = y, l.private = b, l.published = T, l.staggered = S, l.tags = C, l.type = I, l.updatedAt = new Date(O), l.active = !1, l.iframes = /* @__PURE__ */ new Map(), c(l, Qe)[Qe] = n, c(l, Xa)[Xa] = i, c(l, Za)[Za] = s, l.enabledBy = "", c(l, ei)[ei] = u, l;
|
|
13619
13619
|
}
|
|
13620
13620
|
return A(t, o), P(t, [{ key: "telemetry", get: (
|
|
13621
13621
|
/**
|
|
@@ -15410,8 +15410,8 @@ var sa = /* @__PURE__ */ E("middlewareWebWorkerInterval"), Jo = /* @__PURE__ */
|
|
|
15410
15410
|
return d = u.captureStream(), p = d.getVideoTracks()[0], Object.defineProperty(p, "originalSettings", { value: a.getSettings() }), S.abrupt("return", p);
|
|
15411
15411
|
case 11:
|
|
15412
15412
|
v = document.createElement("video"), f = new MediaStream(), f.addTrack(a), g = u.getContext("2d"), v.srcObject = f, v.autoplay = !0, this.terminateMiddlewareWebWorker(), k = /* @__PURE__ */ function() {
|
|
15413
|
-
var C = m(/* @__PURE__ */ h().mark(function
|
|
15414
|
-
var
|
|
15413
|
+
var C = m(/* @__PURE__ */ h().mark(function I() {
|
|
15414
|
+
var O;
|
|
15415
15415
|
return h().wrap(function(L) {
|
|
15416
15416
|
for (; ; )
|
|
15417
15417
|
switch (L.prev = L.next) {
|
|
@@ -15422,19 +15422,19 @@ var sa = /* @__PURE__ */ E("middlewareWebWorkerInterval"), Jo = /* @__PURE__ */
|
|
|
15422
15422
|
}
|
|
15423
15423
|
return s.terminateMiddlewareWebWorker(), v.remove(), u.remove(), L.abrupt("return");
|
|
15424
15424
|
case 5:
|
|
15425
|
-
L.prev = 5, g.drawImage(v, 0, 0),
|
|
15425
|
+
L.prev = 5, g.drawImage(v, 0, 0), O = 0;
|
|
15426
15426
|
case 8:
|
|
15427
|
-
if (!(
|
|
15427
|
+
if (!(O < l.length)) {
|
|
15428
15428
|
L.next = 15;
|
|
15429
15429
|
break;
|
|
15430
15430
|
}
|
|
15431
|
-
if (typeof l[
|
|
15431
|
+
if (typeof l[O] != "function") {
|
|
15432
15432
|
L.next = 12;
|
|
15433
15433
|
break;
|
|
15434
15434
|
}
|
|
15435
|
-
return L.next = 12, l[
|
|
15435
|
+
return L.next = 12, l[O](u, g);
|
|
15436
15436
|
case 12:
|
|
15437
|
-
|
|
15437
|
+
O += 1, L.next = 8;
|
|
15438
15438
|
break;
|
|
15439
15439
|
case 15:
|
|
15440
15440
|
L.next = 20;
|
|
@@ -15445,7 +15445,7 @@ var sa = /* @__PURE__ */ E("middlewareWebWorkerInterval"), Jo = /* @__PURE__ */
|
|
|
15445
15445
|
case "end":
|
|
15446
15446
|
return L.stop();
|
|
15447
15447
|
}
|
|
15448
|
-
},
|
|
15448
|
+
}, I, null, [[5, 17]]);
|
|
15449
15449
|
}));
|
|
15450
15450
|
return function() {
|
|
15451
15451
|
return C.apply(this, arguments);
|
|
@@ -15502,12 +15502,12 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15502
15502
|
var C;
|
|
15503
15503
|
b = parseInt((C = c(r, yn)[yn].getValue("flagsmith").getValue(Oe.VAL_MIN_FRAMERATE)) === null || C === void 0 ? void 0 : C.toString(), 10);
|
|
15504
15504
|
}
|
|
15505
|
-
var
|
|
15505
|
+
var I = { width: { max: g }, height: { max: k }, frameRate: { ideal: b, max: y } };
|
|
15506
15506
|
if (c(r, yn)[yn].getValue("flagsmith").hasFeature(Oe.SCREENSHARE_CONSTRAINTS)) {
|
|
15507
|
-
var
|
|
15508
|
-
|
|
15507
|
+
var O, M = (O = c(r, yn)[yn].getValue("flagsmith").getValue(Oe.SCREENSHARE_CONSTRAINTS)) === null || O === void 0 ? void 0 : O.toString();
|
|
15508
|
+
I = JSON.parse(M);
|
|
15509
15509
|
}
|
|
15510
|
-
return T !== void 0 && ["monitor", "browser", "window"].includes(T) && (
|
|
15510
|
+
return T !== void 0 && ["monitor", "browser", "window"].includes(T) && (I = V(V({}, I), {}, { displaySurface: T })), S !== void 0 && (I = V(V({}, I), {}, { selfBrowserSurface: S })), { audio: !0, video: I };
|
|
15511
15511
|
}, this.getAudioConstraints = function(n) {
|
|
15512
15512
|
var a, i, s, u, l = {}, d = (a = c(r, oa)[oa]) === null || a === void 0 ? void 0 : a.audio, p = d != null && d.enableStereo ? 2 : 1;
|
|
15513
15513
|
if (Sr.isFirefox() || Sr.isWebKitBased()) {
|
|
@@ -15680,7 +15680,7 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15680
15680
|
return this.permissions[r] = a, c(this, Ee)[Ee].getValue("peerSessionStore").emit(j.MEDIA_PERMISSION_ERROR, { message: a, constraints: n.constraints, kind: r }), a;
|
|
15681
15681
|
} }, { key: "getAudioAndVideoTrack", value: function() {
|
|
15682
15682
|
var e = m(/* @__PURE__ */ h().mark(function n(a, i) {
|
|
15683
|
-
var s, u, l, d, p, v, f, g, k, y, b, T, S, C,
|
|
15683
|
+
var s, u, l, d, p, v, f, g, k, y, b, T, S, C, I, O, M;
|
|
15684
15684
|
return h().wrap(function(U) {
|
|
15685
15685
|
for (; ; )
|
|
15686
15686
|
switch (U.prev = U.next) {
|
|
@@ -15695,15 +15695,15 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15695
15695
|
return N.deviceId === i;
|
|
15696
15696
|
})), i && g ? k = i : d && (u = d[0]) !== null && u !== void 0 && u.deviceId && (k = (y = d[0]) === null || y === void 0 ? void 0 : y.deviceId), b = { audio: c(this, Br)[Br].getAudioConstraints(v).audio, video: c(this, Br)[Br].getVideoConstraints(k).video }, this.logger.info("getUserMediaWithoutTimeout::requesting_user_media", { constraints: JSON.stringify(b) }), U.next = 15, navigator.mediaDevices.getUserMedia(b);
|
|
15697
15697
|
case 15:
|
|
15698
|
-
if (T = U.sent, this.logger.info("getUserMediaWithoutTimeout::received_user_media", { constraints: JSON.stringify(b) }), S = T.getAudioTracks()[0], C = T.getVideoTracks()[0], this.permissions.audio = "ACCEPTED", this.permissions.video = "ACCEPTED",
|
|
15698
|
+
if (T = U.sent, this.logger.info("getUserMediaWithoutTimeout::received_user_media", { constraints: JSON.stringify(b) }), S = T.getAudioTracks()[0], C = T.getVideoTracks()[0], this.permissions.audio = "ACCEPTED", this.permissions.video = "ACCEPTED", I = c(this, Ee)[Ee].getValue("flagsmith").hasFeature(Oe.OBS_QUALITY), !(I && C.label.includes("OBS Virtual"))) {
|
|
15699
15699
|
U.next = 30;
|
|
15700
15700
|
break;
|
|
15701
15701
|
}
|
|
15702
15702
|
return U.next = 25, this.getVideoInputDevices();
|
|
15703
15703
|
case 25:
|
|
15704
|
-
return
|
|
15704
|
+
return O = U.sent, M = O.find(function(N) {
|
|
15705
15705
|
return N.label.includes("OBS Virtual");
|
|
15706
|
-
}), U.next = 29, this.getVideoTrack(
|
|
15706
|
+
}), U.next = 29, this.getVideoTrack(M.deviceId);
|
|
15707
15707
|
case 29:
|
|
15708
15708
|
C = U.sent;
|
|
15709
15709
|
case 30:
|
|
@@ -15738,19 +15738,19 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15738
15738
|
return v = !!((u = p) !== null && u !== void 0 && u.find(function(S) {
|
|
15739
15739
|
return S.deviceId === i;
|
|
15740
15740
|
})), i && v ? f = i : (l = p[0]) !== null && l !== void 0 && l.deviceId && (f = (g = p[0]) === null || g === void 0 ? void 0 : g.deviceId), k = /* @__PURE__ */ function() {
|
|
15741
|
-
var S = m(/* @__PURE__ */ h().mark(function C(
|
|
15742
|
-
var
|
|
15741
|
+
var S = m(/* @__PURE__ */ h().mark(function C(I) {
|
|
15742
|
+
var O, M, L, U, N, D, F, Y;
|
|
15743
15743
|
return h().wrap(function(H) {
|
|
15744
15744
|
for (; ; )
|
|
15745
15745
|
switch (H.prev = H.next) {
|
|
15746
15746
|
case 0:
|
|
15747
15747
|
return H.prev = 0, p = p.filter(function(Z) {
|
|
15748
|
-
return Z.deviceId !==
|
|
15749
|
-
}),
|
|
15748
|
+
return Z.deviceId !== I;
|
|
15749
|
+
}), O = c(d, Br)[Br].getAudioConstraints(I), d.logger.info("getUserMediaWithoutTimeout::requesting_user_media", { constraints: JSON.stringify(O) }), H.next = 6, navigator.mediaDevices.getUserMedia(O);
|
|
15750
15750
|
case 6:
|
|
15751
|
-
return
|
|
15751
|
+
return M = H.sent.getAudioTracks(), L = We(M, 1), U = L[0], d.logger.info("getUserMediaWithoutTimeout::received_user_media", { constraints: JSON.stringify(O) }), H.abrupt("return", U);
|
|
15752
15752
|
case 13:
|
|
15753
|
-
if (H.prev = 13, H.t0 = H.catch(0), N = mc("audio", H.t0.name, H.t0.message), D = new _l(H.t0.name, H.t0.message,
|
|
15753
|
+
if (H.prev = 13, H.t0 = H.catch(0), N = mc("audio", H.t0.name, H.t0.message), D = new _l(H.t0.name, H.t0.message, O), N !== "COULD_NOT_START") {
|
|
15754
15754
|
H.next = 25;
|
|
15755
15755
|
break;
|
|
15756
15756
|
}
|
|
@@ -15760,7 +15760,7 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15760
15760
|
}
|
|
15761
15761
|
throw D;
|
|
15762
15762
|
case 21:
|
|
15763
|
-
return d.logger.info("getAudioTrack::gum_failed", { constraints: JSON.stringify(
|
|
15763
|
+
return d.logger.info("getAudioTrack::gum_failed", { constraints: JSON.stringify(O), error: H.t0 }), Y = c(d, Br)[Br].getAudioConstraints(F.deviceId), d.logger.info("getAudioTrack::retrying_gum_for_next_device", { constraints: JSON.stringify(Y) }), H.abrupt("return", k(F.deviceId));
|
|
15764
15764
|
case 25:
|
|
15765
15765
|
throw D;
|
|
15766
15766
|
case 26:
|
|
@@ -15769,7 +15769,7 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15769
15769
|
}
|
|
15770
15770
|
}, C, null, [[0, 13]]);
|
|
15771
15771
|
}));
|
|
15772
|
-
return function(
|
|
15772
|
+
return function(I) {
|
|
15773
15773
|
return S.apply(this, arguments);
|
|
15774
15774
|
};
|
|
15775
15775
|
}(), T.prev = 10, T.next = 13, k(f);
|
|
@@ -15819,20 +15819,20 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15819
15819
|
}
|
|
15820
15820
|
throw this.permissions.video = "NO_DEVICES_AVAILABLE", c(this, Ee)[Ee].getValue("peerSessionStore").emit(j.MEDIA_PERMISSION_UPDATE, { message: this.permissions.video, kind: "video" }), new q("No video devices available", "1607");
|
|
15821
15821
|
case 21:
|
|
15822
|
-
return f = !!(v != null && v.find(function(
|
|
15823
|
-
return
|
|
15822
|
+
return f = !!(v != null && v.find(function(I) {
|
|
15823
|
+
return I.deviceId === a;
|
|
15824
15824
|
})), a && f ? g = a : (s = v[0]) !== null && s !== void 0 && s.deviceId && (g = (k = v[0]) === null || k === void 0 ? void 0 : k.deviceId), y = /* @__PURE__ */ function() {
|
|
15825
|
-
var
|
|
15825
|
+
var I = m(/* @__PURE__ */ h().mark(function O(M) {
|
|
15826
15826
|
var L, U, N, D, F, Y, B, H, Z, Te, ie, De, br, z;
|
|
15827
15827
|
return h().wrap(function(Fe) {
|
|
15828
15828
|
for (; ; )
|
|
15829
15829
|
switch (Fe.prev = Fe.next) {
|
|
15830
15830
|
case 0:
|
|
15831
|
-
return Fe.prev = 0, L =
|
|
15831
|
+
return Fe.prev = 0, L = M, U = L, N = U.video, p && typeof N != "boolean" && (L = { video: { deviceId: N.deviceId } }), u.logger.info("getUserMediaWithoutTimeout::requesting_user_media", { constraints: JSON.stringify(L) }), Fe.next = 7, navigator.mediaDevices.getUserMedia(L);
|
|
15832
15832
|
case 7:
|
|
15833
15833
|
return D = Fe.sent.getVideoTracks(), F = We(D, 1), Y = F[0], p && typeof N != "boolean" && ye(N.width) === "object" && (B = Y.getSettings(), H = B.width, Z = B.height, Te = N.width.ideal, Y.applyConstraints({ width: { ideal: Te }, height: { ideal: Math.floor(Z * Te / H) }, frameRate: N.frameRate })), u.logger.info("getUserMediaWithoutTimeout::received_user_media", { constraints: JSON.stringify(L) }), Fe.abrupt("return", Y);
|
|
15834
15834
|
case 15:
|
|
15835
|
-
if (Fe.prev = 15, Fe.t0 = Fe.catch(0), ie = mc("video", Fe.t0.name, Fe.t0.message), De = new _l(Fe.t0.name, Fe.t0.message,
|
|
15835
|
+
if (Fe.prev = 15, Fe.t0 = Fe.catch(0), ie = mc("video", Fe.t0.name, Fe.t0.message), De = new _l(Fe.t0.name, Fe.t0.message, M), ie !== "COULD_NOT_START") {
|
|
15836
15836
|
Fe.next = 27;
|
|
15837
15837
|
break;
|
|
15838
15838
|
}
|
|
@@ -15842,17 +15842,17 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
15842
15842
|
}
|
|
15843
15843
|
throw De;
|
|
15844
15844
|
case 23:
|
|
15845
|
-
return u.logger.info("getVideoTrack::gum_failed", { constraints: JSON.stringify(
|
|
15845
|
+
return u.logger.info("getVideoTrack::gum_failed", { constraints: JSON.stringify(M), error: Fe.t0 }), z = c(u, Br)[Br].getVideoConstraints(br.deviceId), u.logger.info("getVideoTrack::retrying_gum_for_next_device", { constraints: JSON.stringify(z) }), Fe.abrupt("return", y({ video: z.video }));
|
|
15846
15846
|
case 27:
|
|
15847
15847
|
throw De;
|
|
15848
15848
|
case 28:
|
|
15849
15849
|
case "end":
|
|
15850
15850
|
return Fe.stop();
|
|
15851
15851
|
}
|
|
15852
|
-
},
|
|
15852
|
+
}, O, null, [[0, 15]]);
|
|
15853
15853
|
}));
|
|
15854
|
-
return function(
|
|
15855
|
-
return
|
|
15854
|
+
return function(M) {
|
|
15855
|
+
return I.apply(this, arguments);
|
|
15856
15856
|
};
|
|
15857
15857
|
}(), C.prev = 24, b = c(this, Br)[Br].getVideoConstraints(g), C.next = 28, y(b);
|
|
15858
15858
|
case 28:
|
|
@@ -16080,38 +16080,38 @@ var oa = /* @__PURE__ */ E("mediaConstraints"), yn = /* @__PURE__ */ E("context"
|
|
|
16080
16080
|
s = l.sent, navigator.mediaDevices.addEventListener("devicechange", /* @__PURE__ */ function() {
|
|
16081
16081
|
var d = m(/* @__PURE__ */ h().mark(function p(v) {
|
|
16082
16082
|
var f, g, k, y, b, T, S, C;
|
|
16083
|
-
return h().wrap(function(
|
|
16083
|
+
return h().wrap(function(O) {
|
|
16084
16084
|
for (; ; )
|
|
16085
|
-
switch (
|
|
16085
|
+
switch (O.prev = O.next) {
|
|
16086
16086
|
case 0:
|
|
16087
16087
|
return k = function(L) {
|
|
16088
16088
|
return "".concat(L.kind, "-").concat(L.label, "-").concat(L.deviceId, "-").concat(L.groupId);
|
|
16089
|
-
}, y = new Set(s.map(function(
|
|
16090
|
-
return k(
|
|
16091
|
-
})),
|
|
16089
|
+
}, y = new Set(s.map(function(M) {
|
|
16090
|
+
return k(M);
|
|
16091
|
+
})), O.next = 4, i.getAvailableDevices();
|
|
16092
16092
|
case 4:
|
|
16093
|
-
b =
|
|
16094
|
-
return k(
|
|
16095
|
-
})), S = { added: b.filter(function(
|
|
16096
|
-
return !y.has(k(
|
|
16097
|
-
}), removed: s.filter(function(
|
|
16098
|
-
return !T.has(k(
|
|
16099
|
-
}), devices: b }, s = b, ((f = S.added) !== null && f !== void 0 && f.length || (g = S.removed) !== null && g !== void 0 && g.length) && (i.logger.info("repopulated_full_device_list", { devices: JSON.stringify(b) }), C = [].concat(Re(S.added), Re(S.removed)), C.some(function(
|
|
16100
|
-
return
|
|
16101
|
-
}) && c(i, Ee)[Ee].getValue("callstats").devices("AUDIO", b == null ? void 0 : b.filter(function(
|
|
16102
|
-
return
|
|
16103
|
-
})), C.some(function(
|
|
16104
|
-
return
|
|
16105
|
-
}) && c(i, Ee)[Ee].getValue("callstats").devices("VIDEO", b == null ? void 0 : b.filter(function(
|
|
16106
|
-
return
|
|
16107
|
-
})), C.some(function(
|
|
16108
|
-
return
|
|
16109
|
-
}) && c(i, Ee)[Ee].getValue("callstats").devices("SPEAKER", b == null ? void 0 : b.filter(function(
|
|
16110
|
-
return
|
|
16093
|
+
b = O.sent, T = new Set(b.map(function(M) {
|
|
16094
|
+
return k(M);
|
|
16095
|
+
})), S = { added: b.filter(function(M) {
|
|
16096
|
+
return !y.has(k(M));
|
|
16097
|
+
}), removed: s.filter(function(M) {
|
|
16098
|
+
return !T.has(k(M));
|
|
16099
|
+
}), devices: b }, s = b, ((f = S.added) !== null && f !== void 0 && f.length || (g = S.removed) !== null && g !== void 0 && g.length) && (i.logger.info("repopulated_full_device_list", { devices: JSON.stringify(b) }), C = [].concat(Re(S.added), Re(S.removed)), C.some(function(M) {
|
|
16100
|
+
return M.kind === "audioinput";
|
|
16101
|
+
}) && c(i, Ee)[Ee].getValue("callstats").devices("AUDIO", b == null ? void 0 : b.filter(function(M) {
|
|
16102
|
+
return M.kind === "audioinput";
|
|
16103
|
+
})), C.some(function(M) {
|
|
16104
|
+
return M.kind === "videoinput";
|
|
16105
|
+
}) && c(i, Ee)[Ee].getValue("callstats").devices("VIDEO", b == null ? void 0 : b.filter(function(M) {
|
|
16106
|
+
return M.kind === "videoinput";
|
|
16107
|
+
})), C.some(function(M) {
|
|
16108
|
+
return M.kind === "audiooutput";
|
|
16109
|
+
}) && c(i, Ee)[Ee].getValue("callstats").devices("SPEAKER", b == null ? void 0 : b.filter(function(M) {
|
|
16110
|
+
return M.kind === "audiooutput";
|
|
16111
16111
|
})), a(v, S, !1));
|
|
16112
16112
|
case 9:
|
|
16113
16113
|
case "end":
|
|
16114
|
-
return
|
|
16114
|
+
return O.stop();
|
|
16115
16115
|
}
|
|
16116
16116
|
}, p);
|
|
16117
16117
|
}));
|
|
@@ -16739,7 +16739,7 @@ var cg = jc, iM = Object.defineProperty, sM = Object.getOwnPropertyDescriptor, D
|
|
|
16739
16739
|
return T.deviceId !== g;
|
|
16740
16740
|
}).some(/* @__PURE__ */ function() {
|
|
16741
16741
|
var T = m(/* @__PURE__ */ h().mark(function S(C) {
|
|
16742
|
-
var
|
|
16742
|
+
var I, O;
|
|
16743
16743
|
return h().wrap(function(L) {
|
|
16744
16744
|
for (; ; )
|
|
16745
16745
|
switch (L.prev = L.next) {
|
|
@@ -16752,7 +16752,7 @@ var cg = jc, iM = Object.defineProperty, sM = Object.getOwnPropertyDescriptor, D
|
|
|
16752
16752
|
L.next = 10;
|
|
16753
16753
|
break;
|
|
16754
16754
|
}
|
|
16755
|
-
return
|
|
16755
|
+
return O = (I = p == null ? void 0 : p.devices.concat({ label: u.label })) !== null && I !== void 0 ? I : [{ label: u.label }], Us.setItem(Ol, JSON.stringify({ devices: O }), i.logger), i.logger.info("AudioMediaHandler.conditionallyChangeTrack.SuccesfullyChangedTrack"), L.abrupt("return", !0);
|
|
16756
16756
|
case 10:
|
|
16757
16757
|
return i.logger.info("AudioMediaHandler.conditionallyChangeTrack.AnotherSilentTrackFound"), L.abrupt("return", !1);
|
|
16758
16758
|
case 12:
|
|
@@ -16854,23 +16854,23 @@ var oM = ol, ua = /* @__PURE__ */ E("mediaInterface"), uM = /* @__PURE__ */ func
|
|
|
16854
16854
|
case 20:
|
|
16855
16855
|
g.forEach(/* @__PURE__ */ function() {
|
|
16856
16856
|
var b = m(/* @__PURE__ */ h().mark(function T(S) {
|
|
16857
|
-
return h().wrap(function(
|
|
16857
|
+
return h().wrap(function(I) {
|
|
16858
16858
|
for (; ; )
|
|
16859
|
-
switch (
|
|
16859
|
+
switch (I.prev = I.next) {
|
|
16860
16860
|
case 0:
|
|
16861
16861
|
if (!(typeof S.sinkId != "undefined" && u.currentDevice.deviceId && S.sinkId !== u.currentDevice.deviceId)) {
|
|
16862
|
-
|
|
16862
|
+
I.next = 8;
|
|
16863
16863
|
break;
|
|
16864
16864
|
}
|
|
16865
|
-
return
|
|
16865
|
+
return I.prev = 1, I.next = 4, S.setSinkId(u.currentDevice.deviceId);
|
|
16866
16866
|
case 4:
|
|
16867
|
-
|
|
16867
|
+
I.next = 8;
|
|
16868
16868
|
break;
|
|
16869
16869
|
case 6:
|
|
16870
|
-
|
|
16870
|
+
I.prev = 6, I.t0 = I.catch(1);
|
|
16871
16871
|
case 8:
|
|
16872
16872
|
case "end":
|
|
16873
|
-
return
|
|
16873
|
+
return I.stop();
|
|
16874
16874
|
}
|
|
16875
16875
|
}, T, null, [[1, 6]]);
|
|
16876
16876
|
}));
|
|
@@ -17971,8 +17971,8 @@ var RM = Object.defineProperty, AM = Object.getOwnPropertyDescriptor, Oo = funct
|
|
|
17971
17971
|
}
|
|
17972
17972
|
}
|
|
17973
17973
|
}, 2e3) }), c(i, Dr)[Dr] = e;
|
|
17974
|
-
var u = r.id, l = r.userId, d = r.displayName, p = r.device, v = r.picture, f = r.isHost, g = r.flags, k = r.clientSpecificId, y = r.stageStatus, b = r.customParticipantId, T = r.audioMuted, S = r.audioTrack, C = r.videoEnabled,
|
|
17975
|
-
return i.id = u, i.userId = l, i.name = d, i.device = p, i.picture = v, i.isHost = f, i.flags = g, i.manualProducerConfig = tP, c(i, si)[si] = y != null ? y : "ON_STAGE", i.customParticipantId = b != null ? b : k, i.audioEnabled = !T, i.audioTrack = S, i.videoEnabled =
|
|
17974
|
+
var u = r.id, l = r.userId, d = r.displayName, p = r.device, v = r.picture, f = r.isHost, g = r.flags, k = r.clientSpecificId, y = r.stageStatus, b = r.customParticipantId, T = r.audioMuted, S = r.audioTrack, C = r.videoEnabled, I = C === void 0 ? !1 : C, O = r.videoTrack, M = r.producers, L = r.metadata;
|
|
17975
|
+
return i.id = u, i.userId = l, i.name = d, i.device = p, i.picture = v, i.isHost = f, i.flags = g, i.manualProducerConfig = tP, c(i, si)[si] = y != null ? y : "ON_STAGE", i.customParticipantId = b != null ? b : k, i.audioEnabled = !T, i.audioTrack = S, i.videoEnabled = I, i.videoTrack = O, i.screenShareTracks = { audio: void 0, video: void 0 }, i.producers = M != null ? M : [], i.presetName = L == null ? void 0 : L.preset_name, c(i, ii)[ii] = !1, c(i, Et)[Et] = n, c(i, no)[no] = a, i.setupEvents(), i.updateVideo = i.updateVideo.bind(i), c(i, ao)[ao](), i;
|
|
17976
17976
|
}
|
|
17977
17977
|
return A(t, o), P(t, [{ key: "clientSpecificId", get: (
|
|
17978
17978
|
/**
|
|
@@ -19319,20 +19319,20 @@ var zM = Object.defineProperty, YM = Object.getOwnPropertyDescriptor, Qs = funct
|
|
|
19319
19319
|
return c(this, ui)[ui] = !0, this.logger.info("syncConsumers: Sync in progress, marking resyncRequired=true and exiting."), y.abrupt("return");
|
|
19320
19320
|
case 7:
|
|
19321
19321
|
if (this.logger.info("syncConsumers: Starting sync operation."), c(this, et)[et] = !0, c(this, ui)[ui] = !1, l = [], this.participants.videoSubscribed.forEach(function(b) {
|
|
19322
|
-
var T, S, C = a.participants.joined.get(b.id),
|
|
19323
|
-
return
|
|
19322
|
+
var T, S, C = a.participants.joined.get(b.id), I = (T = (S = b.producers) === null || S === void 0 ? void 0 : S.filter(function(O) {
|
|
19323
|
+
return O.kind === "video";
|
|
19324
19324
|
})) !== null && T !== void 0 ? T : [];
|
|
19325
|
-
C &&
|
|
19326
|
-
var
|
|
19327
|
-
(D || F) && (
|
|
19325
|
+
C && I !== null && I !== void 0 && I.length && I.forEach(function(O) {
|
|
19326
|
+
var M, L, U, N, D = ((M = (L = C.manualProducerConfig) === null || L === void 0 ? void 0 : L.video) !== null && M !== void 0 ? M : !0) && O.kind === "video" && !O.screenShare, F = ((U = (N = C.manualProducerConfig) === null || N === void 0 ? void 0 : N.screenshareVideo) !== null && U !== void 0 ? U : !0) && O.kind === "video" && O.screenShare;
|
|
19327
|
+
(D || F) && (O.pause || l.push(O));
|
|
19328
19328
|
});
|
|
19329
19329
|
}), this.participants.audioSubscribed.forEach(function(b) {
|
|
19330
|
-
var T, S, C = a.participants.joined.get(b.id),
|
|
19331
|
-
return
|
|
19330
|
+
var T, S, C = a.participants.joined.get(b.id), I = (T = (S = b.producers) === null || S === void 0 ? void 0 : S.filter(function(O) {
|
|
19331
|
+
return O.kind === "audio";
|
|
19332
19332
|
})) !== null && T !== void 0 ? T : [];
|
|
19333
|
-
C &&
|
|
19334
|
-
var
|
|
19335
|
-
(D || F) && l.push(
|
|
19333
|
+
C && I !== null && I !== void 0 && I.length && I.forEach(function(O) {
|
|
19334
|
+
var M, L, U, N, D = ((M = (L = C.manualProducerConfig) === null || L === void 0 ? void 0 : L.audio) !== null && M !== void 0 ? M : !0) && O.kind === "audio" && !O.screenShare, F = ((U = (N = C.manualProducerConfig) === null || N === void 0 ? void 0 : N.screenshareAudio) !== null && U !== void 0 ? U : !0) && O.kind === "audio" && O.screenShare;
|
|
19335
|
+
(D || F) && l.push(O);
|
|
19336
19336
|
});
|
|
19337
19337
|
}), l = rP(l, function(b) {
|
|
19338
19338
|
return b.producerId;
|
|
@@ -19349,8 +19349,8 @@ var zM = Object.defineProperty, YM = Object.getOwnPropertyDescriptor, Qs = funct
|
|
|
19349
19349
|
return;
|
|
19350
19350
|
}
|
|
19351
19351
|
(T = S.producers) !== null && T !== void 0 && T.length && S.producers.forEach(function(C) {
|
|
19352
|
-
var
|
|
19353
|
-
!d.has(C.producerId) && (p.has(C.producerId) ||
|
|
19352
|
+
var I = C.consumer && p.has(C.consumer.id);
|
|
19353
|
+
!d.has(C.producerId) && (p.has(C.producerId) || I) && f.push(C);
|
|
19354
19354
|
});
|
|
19355
19355
|
}), this.logger.info("syncConsumers: Computed changes - AddProducers: ".concat(v.length, " [").concat(v.map(function(b) {
|
|
19356
19356
|
return b.producerId;
|
|
@@ -19782,8 +19782,8 @@ var vr = Xn(Ep().permissions), G = /* @__PURE__ */ E("permissions"), vs = /* @__
|
|
|
19782
19782
|
if (a = R(this, t, [s]), Object.defineProperty(a, fr, { get: XM, set: void 0 }), Object.defineProperty(a, G, { writable: !0, value: void 0 }), Object.defineProperty(a, vs, { writable: !0, value: void 0 }), Object.defineProperty(a, Cs, { writable: !0, value: void 0 }), Object.defineProperty(a, Ll, { writable: !0, value: function(l) {
|
|
19783
19783
|
var d = l.chat, p = l.connectedMeetings, v = l.plugins, f = l.polls, g = l.media, k = cp(l, Vg);
|
|
19784
19784
|
if (d && (d.private && hi(c(a, G)[G].chat.private, d.private), d.public && hi(c(a, G)[G].chat.public, d.public), a.emit("chatUpdate")), p && hi(c(a, G)[G].connectedMeetings, p), g) {
|
|
19785
|
-
var y, b, T, S = function(
|
|
19786
|
-
switch (
|
|
19785
|
+
var y, b, T, S = function(O) {
|
|
19786
|
+
switch (O) {
|
|
19787
19787
|
case Pi.NONE:
|
|
19788
19788
|
return te.Allowed;
|
|
19789
19789
|
case Pi.ALLOWED:
|
|
@@ -20314,36 +20314,36 @@ var Vr = /* @__PURE__ */ E("context"), vg = /* @__PURE__ */ function(o) {
|
|
|
20314
20314
|
}, { key: "init", value: function() {
|
|
20315
20315
|
var e = m(/* @__PURE__ */ h().mark(function n() {
|
|
20316
20316
|
var a = this, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C = arguments;
|
|
20317
|
-
return h().wrap(function(
|
|
20317
|
+
return h().wrap(function(O) {
|
|
20318
20318
|
for (; ; )
|
|
20319
|
-
switch (
|
|
20319
|
+
switch (O.prev = O.next) {
|
|
20320
20320
|
case 0:
|
|
20321
20321
|
if (i = C.length > 0 && C[0] !== void 0 ? C[0] : {}, s = C.length > 1 && C[1] !== void 0 ? C[1] : !1, u = C.length > 2 && C[2] !== void 0 ? C[2] : null, Sr.init(), u && (c(this, Vr)[Vr] = u), !this.localMediaHandler) {
|
|
20322
|
-
|
|
20322
|
+
O.next = 7;
|
|
20323
20323
|
break;
|
|
20324
20324
|
}
|
|
20325
|
-
return
|
|
20325
|
+
return O.abrupt("return");
|
|
20326
20326
|
case 7:
|
|
20327
|
-
if (
|
|
20328
|
-
|
|
20327
|
+
if (O.prev = 7, d = !0, !(u != null && (l = u.getValue("defaults")) !== null && l !== void 0 && l.mediaHandler)) {
|
|
20328
|
+
O.next = 14;
|
|
20329
20329
|
break;
|
|
20330
20330
|
}
|
|
20331
|
-
d = !1, this.localMediaHandler = u.getValue("defaults").mediaHandler.localMediaHandler,
|
|
20331
|
+
d = !1, this.localMediaHandler = u.getValue("defaults").mediaHandler.localMediaHandler, O.next = 22;
|
|
20332
20332
|
break;
|
|
20333
20333
|
case 14:
|
|
20334
20334
|
if (!navigator.RNLocalMediaHandlerImpl) {
|
|
20335
|
-
|
|
20335
|
+
O.next = 21;
|
|
20336
20336
|
break;
|
|
20337
20337
|
}
|
|
20338
|
-
return p = navigator, v = p.RNLocalMediaHandlerImpl,
|
|
20338
|
+
return p = navigator, v = p.RNLocalMediaHandlerImpl, O.next = 18, v.init(i);
|
|
20339
20339
|
case 18:
|
|
20340
|
-
this.localMediaHandler =
|
|
20340
|
+
this.localMediaHandler = O.sent, O.next = 22;
|
|
20341
20341
|
break;
|
|
20342
20342
|
case 21:
|
|
20343
20343
|
this.localMediaHandler = new It(u, i.constraints, u == null || (f = u.getValue("defaults")) === null || f === void 0 ? void 0 : f.isNonPreferredDevice, u == null || (g = u.getValue("defaults")) === null || g === void 0 ? void 0 : g.autoSwitchAudioDevice);
|
|
20344
20344
|
case 22:
|
|
20345
20345
|
if (u == null || u.getValue("peerSessionStore").on(j.MEDIA_PERMISSION_UPDATE, /* @__PURE__ */ function() {
|
|
20346
|
-
var
|
|
20346
|
+
var M = m(/* @__PURE__ */ h().mark(function L(U) {
|
|
20347
20347
|
return h().wrap(function(D) {
|
|
20348
20348
|
for (; ; )
|
|
20349
20349
|
switch (D.prev = D.next) {
|
|
@@ -20369,10 +20369,10 @@ var Vr = /* @__PURE__ */ E("context"), vg = /* @__PURE__ */ function(o) {
|
|
|
20369
20369
|
}, L);
|
|
20370
20370
|
}));
|
|
20371
20371
|
return function(L) {
|
|
20372
|
-
return
|
|
20372
|
+
return M.apply(this, arguments);
|
|
20373
20373
|
};
|
|
20374
20374
|
}()), u == null || u.getValue("peerSessionStore").on(j.MEDIA_PERMISSION_ERROR, /* @__PURE__ */ function() {
|
|
20375
|
-
var
|
|
20375
|
+
var M = m(/* @__PURE__ */ h().mark(function L(U) {
|
|
20376
20376
|
var N, D, F;
|
|
20377
20377
|
return h().wrap(function(B) {
|
|
20378
20378
|
for (; ; )
|
|
@@ -20386,25 +20386,25 @@ var Vr = /* @__PURE__ */ E("context"), vg = /* @__PURE__ */ function(o) {
|
|
|
20386
20386
|
}, L);
|
|
20387
20387
|
}));
|
|
20388
20388
|
return function(L) {
|
|
20389
|
-
return
|
|
20389
|
+
return M.apply(this, arguments);
|
|
20390
20390
|
};
|
|
20391
20391
|
}()), !d) {
|
|
20392
|
-
|
|
20392
|
+
O.next = 30;
|
|
20393
20393
|
break;
|
|
20394
20394
|
}
|
|
20395
20395
|
if (this.logger.info("Setting up SelfMedia streams using media handler. audio:".concat((k = i == null ? void 0 : i.audio) !== null && k !== void 0 ? k : !0, " video:").concat((y = i == null ? void 0 : i.video) !== null && y !== void 0 ? y : !0)), S = this.localMediaHandler.setupStreams({ video: (b = i == null ? void 0 : i.video) !== null && b !== void 0 ? b : !0, audio: (T = i == null ? void 0 : i.audio) !== null && T !== void 0 ? T : !0 }), s) {
|
|
20396
|
-
|
|
20396
|
+
O.next = 30;
|
|
20397
20397
|
break;
|
|
20398
20398
|
}
|
|
20399
|
-
return
|
|
20399
|
+
return O.next = 30, S;
|
|
20400
20400
|
case 30:
|
|
20401
|
-
|
|
20401
|
+
O.next = 35;
|
|
20402
20402
|
break;
|
|
20403
20403
|
case 32:
|
|
20404
|
-
|
|
20404
|
+
O.prev = 32, O.t0 = O.catch(7), this.logger.error("Self::init::Failed To Setup Streams", { error: { name: O.t0.name, message: O.t0.message } });
|
|
20405
20405
|
case 35:
|
|
20406
20406
|
case "end":
|
|
20407
|
-
return
|
|
20407
|
+
return O.stop();
|
|
20408
20408
|
}
|
|
20409
20409
|
}, n, this, [[7, 32]]);
|
|
20410
20410
|
}));
|
|
@@ -21686,12 +21686,12 @@ var Vr = /* @__PURE__ */ E("context"), vg = /* @__PURE__ */ function(o) {
|
|
|
21686
21686
|
r.style.display = this.videoEnabled ? "block" : "none";
|
|
21687
21687
|
} }], [{ key: "__init__", value: function() {
|
|
21688
21688
|
var e = m(/* @__PURE__ */ h().mark(function n(a, i, s, u, l) {
|
|
21689
|
-
var d, p, v, f, g, k, y, b, T, S, C,
|
|
21689
|
+
var d, p, v, f, g, k, y, b, T, S, C, I, O = arguments;
|
|
21690
21690
|
return h().wrap(function(L) {
|
|
21691
21691
|
for (; ; )
|
|
21692
21692
|
switch (L.prev = L.next) {
|
|
21693
21693
|
case 0:
|
|
21694
|
-
return y =
|
|
21694
|
+
return y = O.length > 5 && O[5] !== void 0 ? O[5] : !1, b = (d = (p = a.getValue("defaults")) === null || p === void 0 ? void 0 : p.audio) !== null && d !== void 0 ? d : !0, T = (v = (f = a.getValue("defaults")) === null || f === void 0 ? void 0 : f.video) !== null && v !== void 0 ? v : !0, s.canProduceAudio !== "ALLOWED" && (b = !1), s.canProduceVideo !== "ALLOWED" && (T = !1), S = new nt(a, i, s, u, l), C = WI(u.mediaConstraints), hi(C, (g = a.getValue("defaults")) === null || g === void 0 ? void 0 : g.mediaConfiguration), I = (k = a.getValue("defaults")) === null || k === void 0 ? void 0 : k.mediaHandler, I && (I.context = a), L.next = 12, S.init({ audio: b, video: T, constraints: C }, y, a);
|
|
21695
21695
|
case 12:
|
|
21696
21696
|
return S.setupEvents(), L.abrupt("return", S);
|
|
21697
21697
|
case 14:
|
|
@@ -21903,8 +21903,8 @@ function Ad() {
|
|
|
21903
21903
|
for (; ; )
|
|
21904
21904
|
switch (S.prev = S.next) {
|
|
21905
21905
|
case 0:
|
|
21906
|
-
l = V({ strategy: "linear", maxRetryCount: 3, delayTime: 10 }, e), d = l.strategy, p = l.maxRetryCount, v = l.delayTime, f = 0, k = !1, y = function(
|
|
21907
|
-
k = !0, u(
|
|
21906
|
+
l = V({ strategy: "linear", maxRetryCount: 3, delayTime: 10 }, e), d = l.strategy, p = l.maxRetryCount, v = l.delayTime, f = 0, k = !1, y = function(I) {
|
|
21907
|
+
k = !0, u(I);
|
|
21908
21908
|
};
|
|
21909
21909
|
case 4:
|
|
21910
21910
|
if (!(f < p)) {
|
|
@@ -22727,44 +22727,44 @@ var qe = /* @__PURE__ */ E("socket"), d_ = /* @__PURE__ */ function() {
|
|
|
22727
22727
|
for (; ; )
|
|
22728
22728
|
switch (C.prev = C.next) {
|
|
22729
22729
|
case 0:
|
|
22730
|
-
return s = a.track, u = a.encodings, l = a.codecOptions, d = a.screenShare, this._assertSendDirection(), p = this.pc.addTransceiver(s, { direction: "sendonly", streams: [d ? this._sendScreenShareStream : this._sendWebStream], sendEncodings: u }), navigator.isReactNative || (this.logger.debug("creating new transceiver"), v = RTCRtpSender.getCapabilities(typeof s == "string" ? s : s.kind), this.logger.info("senders available params: ".concat(JSON.stringify(v))), f = [], l && l.length && l.forEach(function(
|
|
22731
|
-
var
|
|
22732
|
-
return N.mimeType.includes(
|
|
22730
|
+
return s = a.track, u = a.encodings, l = a.codecOptions, d = a.screenShare, this._assertSendDirection(), p = this.pc.addTransceiver(s, { direction: "sendonly", streams: [d ? this._sendScreenShareStream : this._sendWebStream], sendEncodings: u }), navigator.isReactNative || (this.logger.debug("creating new transceiver"), v = RTCRtpSender.getCapabilities(typeof s == "string" ? s : s.kind), this.logger.info("senders available params: ".concat(JSON.stringify(v))), f = [], l && l.length && l.forEach(function(I) {
|
|
22731
|
+
var O = v.codecs.find(function(N) {
|
|
22732
|
+
return N.mimeType.includes(I.name);
|
|
22733
22733
|
});
|
|
22734
|
-
if (
|
|
22735
|
-
var
|
|
22736
|
-
i.logger.debug("codecOption.parameters:".concat(JSON.stringify(
|
|
22737
|
-
var L = ((
|
|
22738
|
-
L.push.apply(L, Re(
|
|
22734
|
+
if (I.parameters) {
|
|
22735
|
+
var M;
|
|
22736
|
+
i.logger.debug("codecOption.parameters:".concat(JSON.stringify(I.parameters)));
|
|
22737
|
+
var L = ((M = O.sdpFmtpLine) === null || M === void 0 ? void 0 : M.split(";")) || [];
|
|
22738
|
+
L.push.apply(L, Re(I.parameters));
|
|
22739
22739
|
var U = Array.from(new Set(L).values());
|
|
22740
|
-
|
|
22740
|
+
O.sdpFmtpLine = U.join(";");
|
|
22741
22741
|
}
|
|
22742
|
-
f.push(
|
|
22742
|
+
f.push(O);
|
|
22743
22743
|
}), this.logger.info("selected codecs: ".concat(JSON.stringify(f))), p.setCodecPreferences(f)), C.next = 6, this.pc.createOffer();
|
|
22744
22744
|
case 6:
|
|
22745
22745
|
return g = C.sent, C.next = 9, this.pc.setLocalDescription(g);
|
|
22746
22746
|
case 9:
|
|
22747
|
-
return l && l.findIndex(function(
|
|
22748
|
-
var
|
|
22749
|
-
return
|
|
22747
|
+
return l && l.findIndex(function(I) {
|
|
22748
|
+
var O = I.name;
|
|
22749
|
+
return O === "opus";
|
|
22750
22750
|
}) >= 0 && (k = this.enableDtx, y = this.enableStereo, b = this.enableHighBitrate ? y ? 128e3 : 64e3 : y ? 64e3 : 32e3, g.sdp = g.sdp.replace("minptime=10;useinbandfec=1", "minptime=10;useinbandfec=1;".concat(k ? "usedtx=1;" : "").concat(y ? "stereo=1;sprop-stereo=1;" : "", "maxaveragebitrate=").concat(b)), g.sdp += `a=rtcp-fb:111 nack\r
|
|
22751
22751
|
`), this.midTransceiverMap.set(p.mid, p), T = /* @__PURE__ */ function() {
|
|
22752
|
-
var
|
|
22752
|
+
var I = m(/* @__PURE__ */ h().mark(function O(M) {
|
|
22753
22753
|
return h().wrap(function(U) {
|
|
22754
22754
|
for (; ; )
|
|
22755
22755
|
switch (U.prev = U.next) {
|
|
22756
22756
|
case 0:
|
|
22757
|
-
return i.logger.debug("send() | calling pc.setRemoteDescription() [answer:".concat(JSON.stringify(
|
|
22757
|
+
return i.logger.debug("send() | calling pc.setRemoteDescription() [answer:".concat(JSON.stringify(M), "]")), U.next = 3, i.pc.setRemoteDescription(M);
|
|
22758
22758
|
case 3:
|
|
22759
22759
|
return U.abrupt("return", p.mid);
|
|
22760
22760
|
case 4:
|
|
22761
22761
|
case "end":
|
|
22762
22762
|
return U.stop();
|
|
22763
22763
|
}
|
|
22764
|
-
},
|
|
22764
|
+
}, O);
|
|
22765
22765
|
}));
|
|
22766
|
-
return function(
|
|
22767
|
-
return
|
|
22766
|
+
return function(M) {
|
|
22767
|
+
return I.apply(this, arguments);
|
|
22768
22768
|
};
|
|
22769
22769
|
}(), this.logger.debug("send() | calling pc.setLocalDescription() [offer: ".concat(JSON.stringify(g, void 0, 2), "]")), C.abrupt("return", { offerSdp: g, callback: T, sender: p.sender, mid: p.mid });
|
|
22770
22770
|
case 14:
|
|
@@ -22805,18 +22805,18 @@ var qe = /* @__PURE__ */ E("socket"), d_ = /* @__PURE__ */ function() {
|
|
|
22805
22805
|
} }, { key: "send", value: function() {
|
|
22806
22806
|
var e = m(/* @__PURE__ */ h().mark(function n(a) {
|
|
22807
22807
|
var i = this, s, u, l, d, p, v, f, g, k, y, b, T, S;
|
|
22808
|
-
return h().wrap(function(
|
|
22808
|
+
return h().wrap(function(I) {
|
|
22809
22809
|
for (; ; )
|
|
22810
|
-
switch (
|
|
22810
|
+
switch (I.prev = I.next) {
|
|
22811
22811
|
case 0:
|
|
22812
22812
|
if (s = a.track, u = a.encodings, l = a.codecOptions, d = a.screenShare, this._assertSendDirection(), p = this.supportsSendEncodings && u !== void 0 ? { sendEncodings: u } : {}, v = this.pc.addTransceiver(s, V({ direction: "sendonly", streams: [d ? this._sendScreenShareStream : this._sendWebStream] }, p)), !(!this.supportsSendEncodings && u)) {
|
|
22813
|
-
|
|
22813
|
+
I.next = 10;
|
|
22814
22814
|
break;
|
|
22815
22815
|
}
|
|
22816
|
-
return u.reverse(), f = v.sender.getParameters(), f.encodings = u,
|
|
22816
|
+
return u.reverse(), f = v.sender.getParameters(), f.encodings = u, I.next = 10, v.sender.setParameters(f);
|
|
22817
22817
|
case 10:
|
|
22818
|
-
return g = function(
|
|
22819
|
-
var U, N = Rn.parse(
|
|
22818
|
+
return g = function(M, L) {
|
|
22819
|
+
var U, N = Rn.parse(M), D = N.media[N.media.length - 1], F = D.rtp.filter(function(Z) {
|
|
22820
22820
|
return L.some(function(Te) {
|
|
22821
22821
|
return Te.name === Z.codec;
|
|
22822
22822
|
});
|
|
@@ -22832,12 +22832,12 @@ var qe = /* @__PURE__ */ E("socket"), d_ = /* @__PURE__ */ function() {
|
|
|
22832
22832
|
return Z.payload;
|
|
22833
22833
|
});
|
|
22834
22834
|
return N.media[N.media.length - 1].rtp = F, N.media[N.media.length - 1].fmtp = Y, N.media[N.media.length - 1].rtcpFb = B, N.media[N.media.length - 1].payloads = H.join(" "), Rn.write(N);
|
|
22835
|
-
},
|
|
22835
|
+
}, I.next = 13, this.pc.createOffer();
|
|
22836
22836
|
case 13:
|
|
22837
|
-
return k =
|
|
22837
|
+
return k = I.sent, k.sdp = g(k.sdp, l), this.logger.debug("send() | calling pc.setLocalDescription() [offer:".concat(JSON.stringify(k), "]")), I.next = 18, this.pc.setLocalDescription(k);
|
|
22838
22838
|
case 18:
|
|
22839
22839
|
return (s === "audio" || s.kind === "audio") && (y = this.enableDtx, b = this.enableStereo, T = this.enableHighBitrate ? b ? 128e3 : 64e3 : b ? 64e3 : 32e3, k.sdp = k.sdp.replace("minptime=10;useinbandfec=1", "minptime=10;useinbandfec=1;".concat(y ? "usedtx=1;" : "").concat(b ? "stereo=1;sprop-stereo=1;" : "", "maxaveragebitrate=").concat(T))), this.midTransceiverMap.set(v.mid, v), S = /* @__PURE__ */ function() {
|
|
22840
|
-
var
|
|
22840
|
+
var O = m(/* @__PURE__ */ h().mark(function M(L) {
|
|
22841
22841
|
return h().wrap(function(N) {
|
|
22842
22842
|
for (; ; )
|
|
22843
22843
|
switch (N.prev = N.next) {
|
|
@@ -22849,15 +22849,15 @@ var qe = /* @__PURE__ */ E("socket"), d_ = /* @__PURE__ */ function() {
|
|
|
22849
22849
|
case "end":
|
|
22850
22850
|
return N.stop();
|
|
22851
22851
|
}
|
|
22852
|
-
},
|
|
22852
|
+
}, M);
|
|
22853
22853
|
}));
|
|
22854
22854
|
return function(L) {
|
|
22855
|
-
return
|
|
22855
|
+
return O.apply(this, arguments);
|
|
22856
22856
|
};
|
|
22857
|
-
}(),
|
|
22857
|
+
}(), I.abrupt("return", { offerSdp: k, callback: S, sender: v.sender, mid: v.mid });
|
|
22858
22858
|
case 22:
|
|
22859
22859
|
case "end":
|
|
22860
|
-
return
|
|
22860
|
+
return I.stop();
|
|
22861
22861
|
}
|
|
22862
22862
|
}, n, this);
|
|
22863
22863
|
}));
|
|
@@ -22942,40 +22942,40 @@ var qe = /* @__PURE__ */ E("socket"), d_ = /* @__PURE__ */ function() {
|
|
|
22942
22942
|
for (; ; )
|
|
22943
22943
|
switch (C.prev = C.next) {
|
|
22944
22944
|
case 0:
|
|
22945
|
-
return s = a.track, u = a.encodings, l = a.codecOptions, d = a.screenShare, this._assertSendDirection(), this.logger.debug("Safari12::creating new transceiver"), p = this.pc.addTransceiver(s, { direction: "sendonly", streams: [d ? this._sendScreenShareStream : this._sendWebStream], sendEncodings: u }), v = RTCRtpSender.getCapabilities(typeof s == "string" ? s : s.kind), this.logger.info("Safari12::senders available params: ".concat(JSON.stringify(v))), f = [], l && l.length > 0 && l.forEach(function(
|
|
22946
|
-
var
|
|
22947
|
-
return N.mimeType.includes(
|
|
22945
|
+
return s = a.track, u = a.encodings, l = a.codecOptions, d = a.screenShare, this._assertSendDirection(), this.logger.debug("Safari12::creating new transceiver"), p = this.pc.addTransceiver(s, { direction: "sendonly", streams: [d ? this._sendScreenShareStream : this._sendWebStream], sendEncodings: u }), v = RTCRtpSender.getCapabilities(typeof s == "string" ? s : s.kind), this.logger.info("Safari12::senders available params: ".concat(JSON.stringify(v))), f = [], l && l.length > 0 && l.forEach(function(I) {
|
|
22946
|
+
var O = v.codecs.find(function(N) {
|
|
22947
|
+
return N.mimeType.includes(I.name);
|
|
22948
22948
|
});
|
|
22949
|
-
if (
|
|
22950
|
-
var
|
|
22951
|
-
i.logger.info("Safari12::codecOption.parameters:, ".concat(JSON.stringify(
|
|
22952
|
-
var L = ((
|
|
22953
|
-
L.push.apply(L, Re(
|
|
22949
|
+
if (I.parameters) {
|
|
22950
|
+
var M;
|
|
22951
|
+
i.logger.info("Safari12::codecOption.parameters:, ".concat(JSON.stringify(I.parameters)));
|
|
22952
|
+
var L = ((M = O.sdpFmtpLine) === null || M === void 0 ? void 0 : M.split(";")) || [];
|
|
22953
|
+
L.push.apply(L, Re(I.parameters));
|
|
22954
22954
|
var U = Re(new Set(L).values());
|
|
22955
|
-
|
|
22955
|
+
O.sdpFmtpLine = U.join(";");
|
|
22956
22956
|
}
|
|
22957
|
-
f.push(
|
|
22957
|
+
f.push(O);
|
|
22958
22958
|
}), this.logger.info("Safari12::selected codecs: ".concat(JSON.stringify(f))), p.setCodecPreferences(f), C.next = 12, this.pc.createOffer();
|
|
22959
22959
|
case 12:
|
|
22960
22960
|
return g = C.sent, C.next = 15, this.pc.setLocalDescription(g);
|
|
22961
22961
|
case 15:
|
|
22962
22962
|
return (s === "audio" || s.kind === "audio") && (k = this.enableStereo, y = this.enableDtx, b = this.enableHighBitrate ? k ? 128e3 : 64e3 : k ? 64e3 : 32e3, g.sdp = g.sdp.replace("minptime=10;useinbandfec=1", "minptime=10;useinbandfec=1;".concat(y ? "usedtx=1;" : "").concat(k ? "stereo=1;sprop-stereo=1;" : "", "maxaveragebitrate=").concat(b))), this.midTransceiverMap.set(p.mid, p), T = /* @__PURE__ */ function() {
|
|
22963
|
-
var
|
|
22963
|
+
var I = m(/* @__PURE__ */ h().mark(function O(M) {
|
|
22964
22964
|
return h().wrap(function(U) {
|
|
22965
22965
|
for (; ; )
|
|
22966
22966
|
switch (U.prev = U.next) {
|
|
22967
22967
|
case 0:
|
|
22968
|
-
return i.logger.debug("Safari12::send() | calling pc.setRemoteDescription() [answer:".concat(JSON.stringify(
|
|
22968
|
+
return i.logger.debug("Safari12::send() | calling pc.setRemoteDescription() [answer:".concat(JSON.stringify(M), "]")), U.next = 3, i.pc.setRemoteDescription(M);
|
|
22969
22969
|
case 3:
|
|
22970
22970
|
return U.abrupt("return", p.mid);
|
|
22971
22971
|
case 4:
|
|
22972
22972
|
case "end":
|
|
22973
22973
|
return U.stop();
|
|
22974
22974
|
}
|
|
22975
|
-
},
|
|
22975
|
+
}, O);
|
|
22976
22976
|
}));
|
|
22977
|
-
return function(
|
|
22978
|
-
return
|
|
22977
|
+
return function(M) {
|
|
22978
|
+
return I.apply(this, arguments);
|
|
22979
22979
|
};
|
|
22980
22980
|
}(), C.abrupt("return", { offerSdp: g, callback: T, sender: p.sender, mid: p.mid });
|
|
22981
22981
|
case 19:
|
|
@@ -23494,42 +23494,42 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
23494
23494
|
delete T.iceServers, delete T.iceTransportPolicy, delete T.bundlePolicy, delete T.rtcpMuxPolicy, delete T.sdpSemantics, s.producers = /* @__PURE__ */ new Map(), s.consumers = /* @__PURE__ */ new Map(), s.datachannels = /* @__PURE__ */ new Map(), s.consumerTrackEvents = /* @__PURE__ */ new Map(), s.unknownTracksMap = /* @__PURE__ */ new Map(), s.awaitQueue = new Cd(b, !0), s.handler = d(), s.handler.enableHighBitrate = (n = y == null ? void 0 : y.enableHighBitrate) !== null && n !== void 0 ? n : !1, s.handler.enableStereo = (a = y == null ? void 0 : y.enableStereo) !== null && a !== void 0 ? a : !1, s.handler.enableDtx = (i = y == null ? void 0 : y.enableDtx) !== null && i !== void 0 ? i : !0, s.handler.init({ onTrackHandler: s._ontrack.bind(s), direction: l, iceServers: p, iceTransportPolicy: v, additionalSettings: g, proprietaryConstraints: f }), s.appData = k || {};
|
|
23495
23495
|
var S = 3e4;
|
|
23496
23496
|
return s.transportConnectionPromise = new Promise(function(C) {
|
|
23497
|
-
var
|
|
23497
|
+
var I = setTimeout(function() {
|
|
23498
23498
|
b.error("ICE connection timeout - possible firewall blocking WebRTC or TURN unreachable", { transport: { id: s.id, type: s.direction } }), C(!1);
|
|
23499
23499
|
}, S);
|
|
23500
23500
|
s.once("connected", function() {
|
|
23501
|
-
clearTimeout(
|
|
23501
|
+
clearTimeout(I), C(!0);
|
|
23502
23502
|
}), s.once("disconnect", function() {
|
|
23503
|
-
clearTimeout(
|
|
23503
|
+
clearTimeout(I), C(!1);
|
|
23504
23504
|
}), s.once("close", function() {
|
|
23505
|
-
clearTimeout(
|
|
23505
|
+
clearTimeout(I), C(!1);
|
|
23506
23506
|
});
|
|
23507
23507
|
}), s.eventsDCReadyPromise = new Promise(function(C) {
|
|
23508
23508
|
s.eventsDCReadyPromiseResolver = C;
|
|
23509
23509
|
}), s.handler.on("@connectionstatechange", function(C) {
|
|
23510
23510
|
C !== s.connectionState && (s.logger.debug("connection state changed to ".concat(C)), s.connectionState = C, C === "connected" && (s.connected = !0, s.emit("connected")), C === "disconnected" && (s.connected = !1, s.emit("disconnect")), (C === "failed" || C === "closed") && (s.connected = !1, s.emit("close")), s.closed || s.safeEmit("connectionstatechange", C));
|
|
23511
23511
|
}), s.handler.on("@icecandidate", function(C) {
|
|
23512
|
-
var
|
|
23513
|
-
s.closed || s.safeEmit("icecandidate",
|
|
23512
|
+
var I = C.candidate;
|
|
23513
|
+
s.closed || s.safeEmit("icecandidate", I);
|
|
23514
23514
|
}), s.handler.on("dc_open", function(C) {
|
|
23515
|
-
var
|
|
23516
|
-
|
|
23515
|
+
var I = s.datachannels.get(C.label);
|
|
23516
|
+
I || (I || (I = new tc(c(s, ha)[ha], C, C.label, s.serverId), s.datachannels.set(C.label, I)), s.eventsDCFailureTimer = setTimeout(function() {
|
|
23517
23517
|
C.label === "events" && (s.eventsDCReadyPromiseResolver(!1), s.safeEmit("dc_error", C.label));
|
|
23518
23518
|
}, 5e3));
|
|
23519
|
-
}), s.handler.on("datachannel", function(C,
|
|
23519
|
+
}), s.handler.on("datachannel", function(C, I) {
|
|
23520
23520
|
C.label === "events" && (s.eventsDCReadyPromiseResolver(!0), s.eventsDCFailureTimer && clearTimeout(s.eventsDCFailureTimer));
|
|
23521
|
-
var
|
|
23522
|
-
if (!
|
|
23523
|
-
s.logger.error("unregistered datachannel for message", { rtcChannel: { label: C.label, message:
|
|
23521
|
+
var O = s.datachannels.get(C.label);
|
|
23522
|
+
if (!O) {
|
|
23523
|
+
s.logger.error("unregistered datachannel for message", { rtcChannel: { label: C.label, message: I } });
|
|
23524
23524
|
return;
|
|
23525
23525
|
}
|
|
23526
23526
|
try {
|
|
23527
|
-
var
|
|
23528
|
-
s.logger.debug("datachannel message chunk recieved", { dataChannelMessageChunk: { id:
|
|
23529
|
-
var L =
|
|
23527
|
+
var M = JSON.parse(I);
|
|
23528
|
+
s.logger.debug("datachannel message chunk recieved", { dataChannelMessageChunk: { id: M.id, count: M.count, chunkIndex: M.chunkIndex, chunk: M.chunk, transprtId: s.serverId } });
|
|
23529
|
+
var L = O.processMessage(M);
|
|
23530
23530
|
if (!L)
|
|
23531
23531
|
return;
|
|
23532
|
-
s.logger.debug("datachannel message with id:".concat(
|
|
23532
|
+
s.logger.debug("datachannel message with id:".concat(M.id, " on transport:").concat(s.serverId, "complete - ").concat(JSON.stringify(L))), s.emit("datachannel:".concat(C.label), O.label, L);
|
|
23533
23533
|
} catch (U) {
|
|
23534
23534
|
s.logger.error("error parsing message", { error: U });
|
|
23535
23535
|
}
|
|
@@ -23715,7 +23715,7 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
23715
23715
|
return r;
|
|
23716
23716
|
}() }, { key: "produce", value: function() {
|
|
23717
23717
|
var e = m(/* @__PURE__ */ h().mark(function n(a, i) {
|
|
23718
|
-
var s = this, u, l, d, p, v, f, g, k, y, b, T, S, C,
|
|
23718
|
+
var s = this, u, l, d, p, v, f, g, k, y, b, T, S, C, I, O, M;
|
|
23719
23719
|
return h().wrap(function(U) {
|
|
23720
23720
|
for (; ; )
|
|
23721
23721
|
switch (U.prev = U.next) {
|
|
@@ -23748,7 +23748,7 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
23748
23748
|
}, N);
|
|
23749
23749
|
})), "Transport.produce");
|
|
23750
23750
|
case 9:
|
|
23751
|
-
return C = U.sent,
|
|
23751
|
+
return C = U.sent, I = C.producerId, O = C.localId, M = C.rtpSender, U.abrupt("return", this.createProducerObject({ id: I, localId: O, track: l, stopTracks: f, disableTrackOnPause: k, zeroRtpOnPause: b, appData: S, handler: this.handler, rtpSender: M }));
|
|
23752
23752
|
case 14:
|
|
23753
23753
|
case "end":
|
|
23754
23754
|
return U.stop();
|
|
@@ -23848,8 +23848,8 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
23848
23848
|
case 0:
|
|
23849
23849
|
return v = {}, S.next = 3, i(a);
|
|
23850
23850
|
case 3:
|
|
23851
|
-
if (f = S.sent, g = f.consumerStates, k = f.sessionDescription, y = f.failedProducers, g.forEach(function(C,
|
|
23852
|
-
v[
|
|
23851
|
+
if (f = S.sent, g = f.consumerStates, k = f.sessionDescription, y = f.failedProducers, g.forEach(function(C, I) {
|
|
23852
|
+
v[I] = u.createConsumerObjectAndWaitForTrack(V(V({}, C), {}, { producerId: I }));
|
|
23853
23853
|
}), !k) {
|
|
23854
23854
|
S.next = 12;
|
|
23855
23855
|
break;
|
|
@@ -23857,11 +23857,11 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
23857
23857
|
return u.logger.info("Session description found, sending negotiation request"), S.next = 12, s(k);
|
|
23858
23858
|
case 12:
|
|
23859
23859
|
return b = [], S.next = 15, Promise.all(Object.entries(v).map(function(C) {
|
|
23860
|
-
var
|
|
23861
|
-
return
|
|
23860
|
+
var I = We(C, 2), O = I[0], M = I[1];
|
|
23861
|
+
return M.then(function(L) {
|
|
23862
23862
|
return b.push(L);
|
|
23863
23863
|
}).catch(function() {
|
|
23864
|
-
u.logger.error("Failed to create consumer object, producer: ".concat(
|
|
23864
|
+
u.logger.error("Failed to create consumer object, producer: ".concat(O), { error: { message: "This should not happen" }, transport: { serverId: u.serverId } });
|
|
23865
23865
|
});
|
|
23866
23866
|
}));
|
|
23867
23867
|
case 15:
|
|
@@ -23983,7 +23983,7 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
23983
23983
|
switch (C.prev = C.next) {
|
|
23984
23984
|
case 0:
|
|
23985
23985
|
return s = a.consumerId, u = a.producerId, l = a.producingPeerId, d = a.producingTransportId, p = a.streamId, v = a.paused, f = a.screenShare, g = a.appData, k = a.kind, y = a.mimeType, b = "".concat(p, ":").concat(k), T = V(V({}, a), {}, { name: "consumer creation task error", message: "consumer creation failed" }), C.abrupt("return", new Promise(/* @__PURE__ */ function() {
|
|
23986
|
-
var
|
|
23986
|
+
var I = m(/* @__PURE__ */ h().mark(function O(M, L) {
|
|
23987
23987
|
var U, N, D;
|
|
23988
23988
|
return h().wrap(function(Y) {
|
|
23989
23989
|
for (; ; )
|
|
@@ -24001,7 +24001,7 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
24001
24001
|
var ie = new f_(c(i, ha)[ha], { id: s, localId: Z.mid, transceiver: Z, track: Te, paused: v, producerId: u, producingPeerId: l, producingTransportId: d, handler: i.handler, appData: V(V({}, g), {}, { screenShare: f, peerId: l }), rtpReceiver: Z.receiver, mimeType: y });
|
|
24002
24002
|
i.consumers.set(s, ie), ie.once("close", function() {
|
|
24003
24003
|
i.consumers.delete(ie.id), i.handler.midTransceiverMap.delete(Z.mid);
|
|
24004
|
-
}), i.logger.info("consumer created for ", { consumer: { id: s, kind: k, appData: { screenShare: f }, peerId: l, producerId: u } }), i.emit("newconsumer", ie), clearTimeout(U),
|
|
24004
|
+
}), i.logger.info("consumer created for ", { consumer: { id: s, kind: k, appData: { screenShare: f }, peerId: l, producerId: u } }), i.emit("newconsumer", ie), clearTimeout(U), M(ie);
|
|
24005
24005
|
}
|
|
24006
24006
|
} catch (De) {
|
|
24007
24007
|
i.logger.warn("error while creating consumer:", De), clearTimeout(U), L(T);
|
|
@@ -24011,10 +24011,10 @@ var Fc = "transport closed", ha = /* @__PURE__ */ E("context"), S_ = /* @__PURE_
|
|
|
24011
24011
|
case "end":
|
|
24012
24012
|
return Y.stop();
|
|
24013
24013
|
}
|
|
24014
|
-
},
|
|
24014
|
+
}, O);
|
|
24015
24015
|
}));
|
|
24016
|
-
return function(
|
|
24017
|
-
return
|
|
24016
|
+
return function(O, M) {
|
|
24017
|
+
return I.apply(this, arguments);
|
|
24018
24018
|
};
|
|
24019
24019
|
}()));
|
|
24020
24020
|
case 4:
|
|
@@ -25087,8 +25087,8 @@ function K_(o) {
|
|
|
25087
25087
|
}
|
|
25088
25088
|
var su = /* @__PURE__ */ E("zeroCrossingThreshold"), ou = /* @__PURE__ */ E("minVoiceDuration"), uu = /* @__PURE__ */ E("hangoverFrames"), ks = /* @__PURE__ */ E("initialEnergyThreshold"), $s = /* @__PURE__ */ E("noiseAdaptationRate"), Ls = /* @__PURE__ */ E("voiceAdaptationRate"), Cu = /* @__PURE__ */ E("minEnergyThreshold"), Ru = /* @__PURE__ */ E("maxEnergyThreshold"), bs = /* @__PURE__ */ E("energyRatioThreshold"), Ar = /* @__PURE__ */ E("currentEnergyThreshold"), ct = /* @__PURE__ */ E("backgroundNoiseEnergy"), ut = /* @__PURE__ */ E("voiceDetected"), fa = /* @__PURE__ */ E("consecutiveVoiceFrames"), ga = /* @__PURE__ */ E("hangoverCount"), zt = /* @__PURE__ */ E("noiseEnergyHistory"), Au = /* @__PURE__ */ E("noiseHistorySize"), Jl = /* @__PURE__ */ E("updateEnergyThreshold"), Kl = /* @__PURE__ */ E("updateNoiseEstimate"), qd = /* @__PURE__ */ E("calculateEnergy"), Gd = /* @__PURE__ */ E("calculateZeroCrossingRate"), Vp = /* @__PURE__ */ function() {
|
|
25089
25089
|
function o() {
|
|
25090
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = t.initialEnergyThreshold, r = e === void 0 ? 0.015 : e, n = t.zeroCrossingThreshold, a = n === void 0 ? 20 : n, i = t.minVoiceDuration, s = i === void 0 ? 3 : i, u = t.hangoverFrames, l = u === void 0 ? 5 : u, d = t.noiseAdaptationRate, p = d === void 0 ? 0.95 : d, v = t.voiceAdaptationRate, f = v === void 0 ? 0.99 : v, g = t.minEnergyThreshold, k = g === void 0 ? 5e-3 : g, y = t.maxEnergyThreshold, b = y === void 0 ? 0.2 : y, T = t.energyRatioThreshold, S = T === void 0 ? 1.5 : T, C = t.noiseHistorySize,
|
|
25091
|
-
w(this, o), Object.defineProperty(this, Kl, { value: Y_ }), Object.defineProperty(this, Jl, { value: z_ }), Object.defineProperty(this, su, { writable: !0, value: void 0 }), Object.defineProperty(this, ou, { writable: !0, value: void 0 }), Object.defineProperty(this, uu, { writable: !0, value: void 0 }), Object.defineProperty(this, ks, { writable: !0, value: void 0 }), Object.defineProperty(this, $s, { writable: !0, value: void 0 }), Object.defineProperty(this, Ls, { writable: !0, value: void 0 }), Object.defineProperty(this, Cu, { writable: !0, value: void 0 }), Object.defineProperty(this, Ru, { writable: !0, value: void 0 }), Object.defineProperty(this, bs, { writable: !0, value: void 0 }), Object.defineProperty(this, Ar, { writable: !0, value: void 0 }), Object.defineProperty(this, ct, { writable: !0, value: void 0 }), Object.defineProperty(this, ut, { writable: !0, value: !1 }), Object.defineProperty(this, fa, { writable: !0, value: 0 }), Object.defineProperty(this, ga, { writable: !0, value: 0 }), Object.defineProperty(this, zt, { writable: !0, value: [] }), Object.defineProperty(this, Au, { writable: !0, value: void 0 }), c(this, ks)[ks] = r, c(this, Ar)[Ar] = r, c(this, su)[su] = a, c(this, ou)[ou] = s, c(this, uu)[uu] = l, c(this, $s)[$s] = p, c(this, Ls)[Ls] = f, c(this, Cu)[Cu] = k, c(this, Ru)[Ru] = b, c(this, bs)[bs] = S, c(this, Au)[Au] =
|
|
25090
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = t.initialEnergyThreshold, r = e === void 0 ? 0.015 : e, n = t.zeroCrossingThreshold, a = n === void 0 ? 20 : n, i = t.minVoiceDuration, s = i === void 0 ? 3 : i, u = t.hangoverFrames, l = u === void 0 ? 5 : u, d = t.noiseAdaptationRate, p = d === void 0 ? 0.95 : d, v = t.voiceAdaptationRate, f = v === void 0 ? 0.99 : v, g = t.minEnergyThreshold, k = g === void 0 ? 5e-3 : g, y = t.maxEnergyThreshold, b = y === void 0 ? 0.2 : y, T = t.energyRatioThreshold, S = T === void 0 ? 1.5 : T, C = t.noiseHistorySize, I = C === void 0 ? 50 : C;
|
|
25091
|
+
w(this, o), Object.defineProperty(this, Kl, { value: Y_ }), Object.defineProperty(this, Jl, { value: z_ }), Object.defineProperty(this, su, { writable: !0, value: void 0 }), Object.defineProperty(this, ou, { writable: !0, value: void 0 }), Object.defineProperty(this, uu, { writable: !0, value: void 0 }), Object.defineProperty(this, ks, { writable: !0, value: void 0 }), Object.defineProperty(this, $s, { writable: !0, value: void 0 }), Object.defineProperty(this, Ls, { writable: !0, value: void 0 }), Object.defineProperty(this, Cu, { writable: !0, value: void 0 }), Object.defineProperty(this, Ru, { writable: !0, value: void 0 }), Object.defineProperty(this, bs, { writable: !0, value: void 0 }), Object.defineProperty(this, Ar, { writable: !0, value: void 0 }), Object.defineProperty(this, ct, { writable: !0, value: void 0 }), Object.defineProperty(this, ut, { writable: !0, value: !1 }), Object.defineProperty(this, fa, { writable: !0, value: 0 }), Object.defineProperty(this, ga, { writable: !0, value: 0 }), Object.defineProperty(this, zt, { writable: !0, value: [] }), Object.defineProperty(this, Au, { writable: !0, value: void 0 }), c(this, ks)[ks] = r, c(this, Ar)[Ar] = r, c(this, su)[su] = a, c(this, ou)[ou] = s, c(this, uu)[uu] = l, c(this, $s)[$s] = p, c(this, Ls)[Ls] = f, c(this, Cu)[Cu] = k, c(this, Ru)[Ru] = b, c(this, bs)[bs] = S, c(this, Au)[Au] = I, c(this, ct)[ct] = r / 2;
|
|
25092
25092
|
}
|
|
25093
25093
|
return P(o, [{
|
|
25094
25094
|
key: "voiceDetected",
|
|
@@ -25309,22 +25309,22 @@ var iO = function() {
|
|
|
25309
25309
|
try {
|
|
25310
25310
|
var e = new window.MediaStreamTrackGenerator({ kind: "audio" }), r = e.writable.getWriter(), n = 48e3, a = 128, i = 1, s = 0, u = null, l = /* @__PURE__ */ function() {
|
|
25311
25311
|
var T = m(/* @__PURE__ */ h().mark(function S() {
|
|
25312
|
-
var C,
|
|
25313
|
-
return h().wrap(function(
|
|
25312
|
+
var C, I;
|
|
25313
|
+
return h().wrap(function(M) {
|
|
25314
25314
|
for (; ; )
|
|
25315
|
-
switch (
|
|
25315
|
+
switch (M.prev = M.next) {
|
|
25316
25316
|
case 0:
|
|
25317
|
-
return
|
|
25317
|
+
return M.prev = 0, C = new Float32Array(a * i), I = new window.AudioData({ format: "f32", sampleRate: n, numberOfFrames: a, numberOfChannels: i, timestamp: s, data: C }), s += a / n * 1e6, M.next = 6, r.ready;
|
|
25318
25318
|
case 6:
|
|
25319
|
-
return
|
|
25319
|
+
return M.next = 8, r.write(I);
|
|
25320
25320
|
case 8:
|
|
25321
|
-
|
|
25321
|
+
M.next = 15;
|
|
25322
25322
|
break;
|
|
25323
25323
|
case 10:
|
|
25324
|
-
|
|
25324
|
+
M.prev = 10, M.t0 = M.catch(0), u && clearInterval(u), r.releaseLock(), e.writable.abort();
|
|
25325
25325
|
case 15:
|
|
25326
25326
|
case "end":
|
|
25327
|
-
return
|
|
25327
|
+
return M.stop();
|
|
25328
25328
|
}
|
|
25329
25329
|
}, S, null, [[0, 10]]);
|
|
25330
25330
|
}));
|
|
@@ -25590,46 +25590,46 @@ var iO = function() {
|
|
|
25590
25590
|
}() }, { key: "_shareWebcam", value: function() {
|
|
25591
25591
|
var t = m(/* @__PURE__ */ h().mark(function r(n, a) {
|
|
25592
25592
|
var i, s, u = this, l, d, p, v, f, g, k, y, b, T, S;
|
|
25593
|
-
return h().wrap(function(
|
|
25593
|
+
return h().wrap(function(I) {
|
|
25594
25594
|
for (; ; )
|
|
25595
|
-
switch (
|
|
25595
|
+
switch (I.prev = I.next) {
|
|
25596
25596
|
case 0:
|
|
25597
25597
|
if (l = a === "video/VP9" ? ur.WEBCAM : ur.WEBCAM_BACKUP, d = c(this, Ke)[Ke](l), !d) {
|
|
25598
|
-
|
|
25598
|
+
I.next = 17;
|
|
25599
25599
|
break;
|
|
25600
25600
|
}
|
|
25601
|
-
return
|
|
25601
|
+
return I.next = 5, d;
|
|
25602
25602
|
case 5:
|
|
25603
|
-
if (p =
|
|
25604
|
-
|
|
25603
|
+
if (p = I.sent, !c(this, W)[W].producers.has(p)) {
|
|
25604
|
+
I.next = 16;
|
|
25605
25605
|
break;
|
|
25606
25606
|
}
|
|
25607
25607
|
if (v = c(this, W)[W].producers.get(p), v.closed) {
|
|
25608
|
-
|
|
25608
|
+
I.next = 14;
|
|
25609
25609
|
break;
|
|
25610
25610
|
}
|
|
25611
|
-
return
|
|
25611
|
+
return I.next = 11, v.replaceTrack({ track: n });
|
|
25612
25612
|
case 11:
|
|
25613
|
-
return
|
|
25613
|
+
return I.next = 13, this.resumeWebcam(l);
|
|
25614
25614
|
case 13:
|
|
25615
|
-
return
|
|
25615
|
+
return I.abrupt("return", n);
|
|
25616
25616
|
case 14:
|
|
25617
|
-
return
|
|
25617
|
+
return I.next = 16, this.disableWebcam(a);
|
|
25618
25618
|
case 16:
|
|
25619
|
-
return
|
|
25619
|
+
return I.abrupt("return", this._shareWebcam(n, a));
|
|
25620
25620
|
case 17:
|
|
25621
|
-
return f = [a].concat(qt.filter(function(
|
|
25622
|
-
return
|
|
25621
|
+
return f = [a].concat(qt.filter(function(O) {
|
|
25622
|
+
return O !== a;
|
|
25623
25623
|
})), g = c(this, xl)[xl](n, f), k = Eo(this.context, "disableSimulcast"), y = (i = this.context) === null || i === void 0 || (i = i.getValue("overrides")) === null || i === void 0 ? void 0 : i.simulcastConfig, b = k || y && y.disable || !((s = this.context) !== null && s !== void 0 && (s = s.getValue("theme")) !== null && s !== void 0 && s.isSimulcastEnabled), b ? this.logger.info("Simulcast disabled for webcam producer, SFU: CF") : (this.logger.info("Simulcast enabled for SFU: CF"), g.encodings = qI(this.context, n), this.logger.info("Simulcast encodings: ".concat(JSON.stringify(g.encodings)))), this.context.getValue("flagsmith").hasFeature(Oe.TRACK_HINT) && (g.track.contentHint = this.context.getValue("flagsmith").getValue(Oe.TRACK_HINT)), T = function() {
|
|
25624
25624
|
u.logger.info("Disabling video due to the producer closure"), c(u, yr)[yr].delete(l);
|
|
25625
|
-
}, S = c(this, W)[W].createProducer(g, T), c(this, ba)[ba](l, S.then(function(
|
|
25626
|
-
return
|
|
25627
|
-
})),
|
|
25628
|
-
return
|
|
25625
|
+
}, S = c(this, W)[W].createProducer(g, T), c(this, ba)[ba](l, S.then(function(O) {
|
|
25626
|
+
return O.id;
|
|
25627
|
+
})), I.abrupt("return", S.then(function(O) {
|
|
25628
|
+
return O.track;
|
|
25629
25629
|
}));
|
|
25630
25630
|
case 28:
|
|
25631
25631
|
case "end":
|
|
25632
|
-
return
|
|
25632
|
+
return I.stop();
|
|
25633
25633
|
}
|
|
25634
25634
|
}, r, this);
|
|
25635
25635
|
}));
|
|
@@ -26367,34 +26367,34 @@ function lO(o, t, e, r) {
|
|
|
26367
26367
|
}
|
|
26368
26368
|
function Xd() {
|
|
26369
26369
|
return Xd = m(/* @__PURE__ */ h().mark(function o(t, e, r, n) {
|
|
26370
|
-
var a;
|
|
26371
|
-
return h().wrap(function(
|
|
26370
|
+
var a, i, s;
|
|
26371
|
+
return h().wrap(function(l) {
|
|
26372
26372
|
for (; ; )
|
|
26373
|
-
switch (
|
|
26373
|
+
switch (l.prev = l.next) {
|
|
26374
26374
|
case 0:
|
|
26375
|
-
if (c(this, Mu)[Mu] = t,
|
|
26376
|
-
|
|
26375
|
+
if (c(this, Mu)[Mu] = t, l.prev = 1, !c(this, Zr)[Zr]) {
|
|
26376
|
+
l.next = 7;
|
|
26377
26377
|
break;
|
|
26378
26378
|
}
|
|
26379
|
-
return
|
|
26379
|
+
return l.next = 5, c(this, Zr)[Zr];
|
|
26380
26380
|
case 5:
|
|
26381
|
-
|
|
26381
|
+
l.next = 9;
|
|
26382
26382
|
break;
|
|
26383
26383
|
case 7:
|
|
26384
|
-
return
|
|
26384
|
+
return l.next = 9, c(this, _u)[_u](t, e, r, n);
|
|
26385
26385
|
case 9:
|
|
26386
|
-
return c(this, Kd)[Kd](e),
|
|
26386
|
+
return c(this, Kd)[Kd](e), l.next = 12, c(this, Jd)[Jd]();
|
|
26387
26387
|
case 12:
|
|
26388
|
-
return a =
|
|
26389
|
-
case
|
|
26390
|
-
return
|
|
26391
|
-
case
|
|
26392
|
-
return
|
|
26393
|
-
case
|
|
26388
|
+
return a = l.sent, i = a.joined, s = a.error, l.abrupt("return", { roomJoined: i, error: s });
|
|
26389
|
+
case 18:
|
|
26390
|
+
return l.prev = 18, l.t0 = l.catch(1), this.logger.error("Failed to complete room join", { error: l.t0 }), l.abrupt("return", { roomJoined: !1, error: l.t0 });
|
|
26391
|
+
case 22:
|
|
26392
|
+
return l.prev = 22, c(this, Zr)[Zr] = null, l.finish(22);
|
|
26393
|
+
case 25:
|
|
26394
26394
|
case "end":
|
|
26395
|
-
return
|
|
26395
|
+
return l.stop();
|
|
26396
26396
|
}
|
|
26397
|
-
}, o, this, [[1,
|
|
26397
|
+
}, o, this, [[1, 18, 22, 25]]);
|
|
26398
26398
|
})), Xd.apply(this, arguments);
|
|
26399
26399
|
}
|
|
26400
26400
|
function dO() {
|
|
@@ -26409,9 +26409,9 @@ function Zd() {
|
|
|
26409
26409
|
case 0:
|
|
26410
26410
|
return n.prev = 0, this.mediaJoined = !0, n.next = 4, c(this, W)[W].socketHandler.notifySelfJoinComplete();
|
|
26411
26411
|
case 4:
|
|
26412
|
-
return t = n.sent, e = t.roomState, c(this, Iu)[Iu] = e.roomUuid, c(this, Aa)[Aa] = !0, c(this, Ra)[Ra] = !1, n.abrupt("return", !0);
|
|
26412
|
+
return t = n.sent, e = t.roomState, c(this, Iu)[Iu] = e.roomUuid, c(this, Aa)[Aa] = !0, c(this, Ra)[Ra] = !1, n.abrupt("return", { joined: !0 });
|
|
26413
26413
|
case 12:
|
|
26414
|
-
return n.prev = 12, n.t0 = n.catch(0), this.logger.error("Error completing room join", { error: n.t0 }), this.mediaJoined = !1, n.abrupt("return", !1);
|
|
26414
|
+
return n.prev = 12, n.t0 = n.catch(0), this.logger.error("Error completing room join", { error: n.t0 }), this.mediaJoined = !1, n.abrupt("return", { joined: !1, error: n.t0 });
|
|
26415
26415
|
case 17:
|
|
26416
26416
|
case "end":
|
|
26417
26417
|
return n.stop();
|
|
@@ -26853,17 +26853,22 @@ var wO = Object.defineProperty, PO = Object.getOwnPropertyDescriptor, Xs = funct
|
|
|
26853
26853
|
}
|
|
26854
26854
|
return this.waitlistedHandler(), d.abrupt("return");
|
|
26855
26855
|
case 12:
|
|
26856
|
-
|
|
26857
|
-
case 14:
|
|
26858
|
-
c(this, X)[X].notify("stageStatus"), d.next = 21;
|
|
26856
|
+
d.next = 18;
|
|
26859
26857
|
break;
|
|
26860
|
-
case
|
|
26861
|
-
throw d.prev =
|
|
26858
|
+
case 14:
|
|
26859
|
+
throw d.prev = 14, d.t0 = d.catch(1), this.logger.error("SelfController.joinRoom: socket join failed", { error: d.t0 }), new q("Could not connect to the room.", "0002");
|
|
26860
|
+
case 18:
|
|
26861
|
+
return d.prev = 18, d.next = 21, this.joinMediaRoom(n);
|
|
26862
26862
|
case 21:
|
|
26863
|
+
c(this, X)[X].notify("stageStatus"), d.next = 28;
|
|
26864
|
+
break;
|
|
26865
|
+
case 24:
|
|
26866
|
+
throw d.prev = 24, d.t1 = d.catch(18), this.logger.error("SelfController.joinRoom: media room join failed", { error: d.t1 }), new q("Could not establish media connection.", "0002");
|
|
26867
|
+
case 28:
|
|
26863
26868
|
case "end":
|
|
26864
26869
|
return d.stop();
|
|
26865
26870
|
}
|
|
26866
|
-
}, r, this, [[1,
|
|
26871
|
+
}, r, this, [[1, 14], [18, 24]]);
|
|
26867
26872
|
}));
|
|
26868
26873
|
function e() {
|
|
26869
26874
|
return t.apply(this, arguments);
|
|
@@ -26903,61 +26908,61 @@ var wO = Object.defineProperty, PO = Object.getOwnPropertyDescriptor, Xs = funct
|
|
|
26903
26908
|
return e;
|
|
26904
26909
|
}() }, { key: "joinMediaRoom", value: function() {
|
|
26905
26910
|
var t = m(/* @__PURE__ */ h().mark(function r() {
|
|
26906
|
-
var n, a, i, s, u, l, d, p, v, f, g, k, y, b, T, S
|
|
26907
|
-
return h().wrap(function(
|
|
26911
|
+
var n, a, i, s, u, l, d, p, v, f, g, k, y, b, T, S = arguments;
|
|
26912
|
+
return h().wrap(function(I) {
|
|
26908
26913
|
for (; ; )
|
|
26909
|
-
switch (
|
|
26914
|
+
switch (I.prev = I.next) {
|
|
26910
26915
|
case 0:
|
|
26911
|
-
if (n =
|
|
26912
|
-
|
|
26916
|
+
if (n = S.length > 0 && S[0] !== void 0 ? S[0] : !1, a = c(this, X)[X].getAllValues(), i = a.peerId, s = a.viewType, u = a.meetingId, l = a.stageStatus, I.prev = 2, s !== Ua.Livestream) {
|
|
26917
|
+
I.next = 9;
|
|
26913
26918
|
break;
|
|
26914
26919
|
}
|
|
26915
26920
|
if (l === "ON_STAGE") {
|
|
26916
|
-
|
|
26921
|
+
I.next = 8;
|
|
26917
26922
|
break;
|
|
26918
26923
|
}
|
|
26919
|
-
return this.self.roomState = "joined", this.self.emit("roomJoined", { reconnected: n }),
|
|
26924
|
+
return this.self.roomState = "joined", this.self.emit("roomJoined", { reconnected: n }), I.abrupt("return");
|
|
26920
26925
|
case 8:
|
|
26921
26926
|
mg(c(this, X)[X], { socket: c(this, zn)[zn], peerId: i });
|
|
26922
26927
|
case 9:
|
|
26923
|
-
return v = this.self.permissions, f = v.canProduceAudio, g = v.canProduceVideo, k = v.canProduceScreenshare,
|
|
26928
|
+
return v = this.self.permissions, f = v.canProduceAudio, g = v.canProduceVideo, k = v.canProduceScreenshare, I.next = 12, (p = c(this, or)[or]) === null || p === void 0 ? void 0 : p.joinRoom(this.self.name, u, n, n, { canProduceAudio: f, canProduceVideo: g, canProduceScreenshare: k });
|
|
26924
26929
|
case 12:
|
|
26925
|
-
if (
|
|
26926
|
-
|
|
26930
|
+
if (I.t1 = d = I.sent, I.t0 = I.t1 !== null, !I.t0) {
|
|
26931
|
+
I.next = 16;
|
|
26927
26932
|
break;
|
|
26928
26933
|
}
|
|
26929
|
-
|
|
26934
|
+
I.t0 = d !== void 0;
|
|
26930
26935
|
case 16:
|
|
26931
|
-
if (!
|
|
26932
|
-
|
|
26936
|
+
if (!I.t0) {
|
|
26937
|
+
I.next = 20;
|
|
26933
26938
|
break;
|
|
26934
26939
|
}
|
|
26935
|
-
|
|
26940
|
+
I.t2 = d, I.next = 21;
|
|
26936
26941
|
break;
|
|
26937
26942
|
case 20:
|
|
26938
|
-
|
|
26943
|
+
I.t2 = {};
|
|
26939
26944
|
case 21:
|
|
26940
|
-
if (y =
|
|
26941
|
-
|
|
26945
|
+
if (y = I.t2, b = y.roomJoined, T = y.error, b) {
|
|
26946
|
+
I.next = 26;
|
|
26942
26947
|
break;
|
|
26943
26948
|
}
|
|
26944
|
-
throw
|
|
26945
|
-
case
|
|
26949
|
+
throw T != null ? T : new Error("Could not connect to media server");
|
|
26950
|
+
case 26:
|
|
26946
26951
|
if (l !== "ON_STAGE") {
|
|
26947
|
-
|
|
26952
|
+
I.next = 29;
|
|
26948
26953
|
break;
|
|
26949
26954
|
}
|
|
26950
|
-
return
|
|
26951
|
-
case
|
|
26952
|
-
this.self.roomState = "joined", this.self.emit("roomJoined", { reconnected: n }),
|
|
26955
|
+
return I.next = 29, this.shareMediaTracks();
|
|
26956
|
+
case 29:
|
|
26957
|
+
this.self.roomState = "joined", this.self.emit("roomJoined", { reconnected: n }), I.next = 37;
|
|
26953
26958
|
break;
|
|
26954
|
-
case
|
|
26955
|
-
throw
|
|
26956
|
-
case
|
|
26959
|
+
case 33:
|
|
26960
|
+
throw I.prev = 33, I.t3 = I.catch(2), this.logger.error("SelfController.mediaRoomJoin", { error: I.t3 }), I.t3;
|
|
26961
|
+
case 37:
|
|
26957
26962
|
case "end":
|
|
26958
|
-
return
|
|
26963
|
+
return I.stop();
|
|
26959
26964
|
}
|
|
26960
|
-
}, r, this, [[2,
|
|
26965
|
+
}, r, this, [[2, 33]]);
|
|
26961
26966
|
}));
|
|
26962
26967
|
function e() {
|
|
26963
26968
|
return t.apply(this, arguments);
|
|
@@ -27051,12 +27056,12 @@ var wO = Object.defineProperty, PO = Object.getOwnPropertyDescriptor, Xs = funct
|
|
|
27051
27056
|
case 0:
|
|
27052
27057
|
return C.next = 2, v.getAllDevices();
|
|
27053
27058
|
case 2:
|
|
27054
|
-
return T = C.sent, f.info("populated_full_device_list", { devices: JSON.stringify(T) }), n.getValue("callstats").devices("AUDIO", T == null ? void 0 : T.filter(function(
|
|
27055
|
-
return
|
|
27056
|
-
})), n.getValue("callstats").devices("VIDEO", T == null ? void 0 : T.filter(function(
|
|
27057
|
-
return
|
|
27058
|
-
})), n.getValue("callstats").devices("SPEAKER", T == null ? void 0 : T.filter(function(
|
|
27059
|
-
return
|
|
27059
|
+
return T = C.sent, f.info("populated_full_device_list", { devices: JSON.stringify(T) }), n.getValue("callstats").devices("AUDIO", T == null ? void 0 : T.filter(function(I) {
|
|
27060
|
+
return I.kind === "audioinput";
|
|
27061
|
+
})), n.getValue("callstats").devices("VIDEO", T == null ? void 0 : T.filter(function(I) {
|
|
27062
|
+
return I.kind === "videoinput";
|
|
27063
|
+
})), n.getValue("callstats").devices("SPEAKER", T == null ? void 0 : T.filter(function(I) {
|
|
27064
|
+
return I.kind === "audiooutput";
|
|
27060
27065
|
})), f.info("Callstats:: initializing"), C.prev = 8, C.t0 = n.getValue("callstats"), C.t1 = d, C.t2 = Sr.getDeviceInfo().engineName, C.t3 = n.getValue("env"), C.next = 15, l.getICEServers();
|
|
27061
27066
|
case 15:
|
|
27062
27067
|
return C.t4 = C.sent, C.t5 = n.getValue("apiBase"), C.t6 = n.getValue("flagsmith").getAllFlags(), C.t7 = f, C.t8 = iP(n), C.t9 = g, C.t10 = n.getValue("authToken"), C.t11 = { peerId: C.t1, engineName: C.t2, env: C.t3, iceServers: C.t4, apiBase: C.t5, flags: C.t6, logger: C.t7, apiHostnames: C.t8, skipConnectivityChecks: C.t9, authToken: C.t10 }, C.next = 25, C.t0.initialize.call(C.t0, C.t11);
|
|
@@ -27246,7 +27251,7 @@ var IO = Object.defineProperty, MO = Object.getOwnPropertyDescriptor, _O = funct
|
|
|
27246
27251
|
case 16:
|
|
27247
27252
|
return v = b.sent, f = We(v, 2), g = f[0].room, k = f[1].peers, c(this, jr)[jr].getValue("peerSessionStore").emit(j.ROOM_STATE, g), c(this, jr)[jr].getValue("peerSessionStore").emit(j.SOCKET_PEERS, k), b.abrupt("return", { peer: l });
|
|
27248
27253
|
case 25:
|
|
27249
|
-
throw b.prev = 25, b.t2 = b.catch(3), this.logger.error("RoomSocketHandler.joinRoom.failed", { error: b.t2 }),
|
|
27254
|
+
throw b.prev = 25, b.t2 = b.catch(3), this.logger.error("RoomSocketHandler.joinRoom.failed", { error: b.t2 }), b.t2;
|
|
27250
27255
|
case 29:
|
|
27251
27256
|
case "end":
|
|
27252
27257
|
return b.stop();
|
|
@@ -28217,7 +28222,7 @@ var GO = /* @__PURE__ */ function(o) {
|
|
|
28217
28222
|
}]]);
|
|
28218
28223
|
}
|
|
28219
28224
|
return A(t, o), P(t);
|
|
28220
|
-
}(
|
|
28225
|
+
}(_), pv = new GO(), Ig = /* @__PURE__ */ function() {
|
|
28221
28226
|
function o() {
|
|
28222
28227
|
w(this, o);
|
|
28223
28228
|
}
|
|
@@ -28291,8 +28296,8 @@ var Mg = /* @__PURE__ */ function(o) {
|
|
|
28291
28296
|
function o(t, e) {
|
|
28292
28297
|
var r, n, a, i, s, u, l, d, p, v;
|
|
28293
28298
|
w(this, o), mr(this, tp), mr(this, ku), mr(this, np), mr(this, ap), mr(this, Bc), mr(this, sp), mr(this, Ou), mr(this, Du), mr(this, Gc), mr(this, To), mr(this, Lu), mr(this, Or, void 0), mr(this, vo, void 0), mr(this, wr, void 0), mr(this, Fr, void 0), mr(this, gi, void 0), mr(this, tt, void 0), mr(this, La, void 0), mr(this, Si, void 0), mr(this, Mn, void 0), mr(this, fo, void 0), mr(this, Ia, void 0);
|
|
28294
|
-
var f, g, k, y, b, T, S, C,
|
|
28295
|
-
ze(this, vo, t), ze(this, gi, []), ze(this, tt, new Hc()), ze(this, La, !0), ze(this, Mn, !1), ze(this, wr, e != null ? e : {}), (r = (f = J(this, wr)).autoReconnect) !== null && r !== void 0 || (f.autoReconnect = !0), (n = (g = J(this, wr)).retryConnectionInterval) !== null && n !== void 0 || (g.retryConnectionInterval = 1e3), (a = (k = J(this, wr)).pingTimeout) !== null && a !== void 0 || (k.pingTimeout = 3e4), (i = (y = J(this, wr)).connectionTimeout) !== null && i !== void 0 || (y.connectionTimeout = 5e3), (s = (b = J(this, wr)).debug) !== null && s !== void 0 || (b.debug = !0), (u = (T = J(this, wr)).maxReconnectionAttempts) !== null && u !== void 0 || (T.maxReconnectionAttempts = 10), (l = (S = J(this, wr)).disconnectOnPingTimeout) !== null && l !== void 0 || (S.disconnectOnPingTimeout = !0), (d = (C = J(this, wr)).queueOnDisconnect) !== null && d !== void 0 || (C.queueOnDisconnect = !1), (p = (
|
|
28299
|
+
var f, g, k, y, b, T, S, C, I;
|
|
28300
|
+
ze(this, vo, t), ze(this, gi, []), ze(this, tt, new Hc()), ze(this, La, !0), ze(this, Mn, !1), ze(this, wr, e != null ? e : {}), (r = (f = J(this, wr)).autoReconnect) !== null && r !== void 0 || (f.autoReconnect = !0), (n = (g = J(this, wr)).retryConnectionInterval) !== null && n !== void 0 || (g.retryConnectionInterval = 1e3), (a = (k = J(this, wr)).pingTimeout) !== null && a !== void 0 || (k.pingTimeout = 3e4), (i = (y = J(this, wr)).connectionTimeout) !== null && i !== void 0 || (y.connectionTimeout = 5e3), (s = (b = J(this, wr)).debug) !== null && s !== void 0 || (b.debug = !0), (u = (T = J(this, wr)).maxReconnectionAttempts) !== null && u !== void 0 || (T.maxReconnectionAttempts = 10), (l = (S = J(this, wr)).disconnectOnPingTimeout) !== null && l !== void 0 || (S.disconnectOnPingTimeout = !0), (d = (C = J(this, wr)).queueOnDisconnect) !== null && d !== void 0 || (C.queueOnDisconnect = !1), (p = (I = J(this, wr)).flushOnReconnect) !== null && p !== void 0 || (I.flushOnReconnect = !1), ze(this, Si, { code: void 0, reason: void 0 }), ze(this, Fr, (v = J(this, wr).logger) !== null && v !== void 0 ? v : new KO(J(this, wr).debug ? "debug" : "info")), ze(this, Ia, new JO());
|
|
28296
28301
|
}
|
|
28297
28302
|
return P(o, [{
|
|
28298
28303
|
key: "readyState",
|
|
@@ -28689,26 +28694,26 @@ var XO = Object.defineProperty, ZO = Object.getOwnPropertyDescriptor, vl = funct
|
|
|
28689
28694
|
}, f = s != null ? s : c(r, uo)[uo](), g = {}, k = c(r, Be)[Be].getValue("telemetry");
|
|
28690
28695
|
k.injectContext(g);
|
|
28691
28696
|
var y = function(S) {
|
|
28692
|
-
var C = S.id,
|
|
28697
|
+
var C = S.id, I = S.payload;
|
|
28693
28698
|
if (f === C) {
|
|
28694
|
-
var
|
|
28699
|
+
var O;
|
|
28695
28700
|
try {
|
|
28696
|
-
var
|
|
28697
|
-
|
|
28701
|
+
var M = LS.fromBinary(I);
|
|
28702
|
+
O = new Error(M.errorMessage);
|
|
28698
28703
|
} catch (U) {
|
|
28699
|
-
|
|
28704
|
+
O = new Error("failed to parse error message", { cause: U });
|
|
28700
28705
|
try {
|
|
28701
|
-
var L = NE.fromBinary(
|
|
28702
|
-
|
|
28706
|
+
var L = NE.fromBinary(I);
|
|
28707
|
+
O = new Error(L.message);
|
|
28703
28708
|
} catch (N) {
|
|
28704
|
-
|
|
28709
|
+
O = new Error("failed to parse error message", { cause: N });
|
|
28705
28710
|
}
|
|
28706
28711
|
}
|
|
28707
|
-
p(
|
|
28712
|
+
p(O), v(b, y);
|
|
28708
28713
|
}
|
|
28709
28714
|
}, b = function(S) {
|
|
28710
|
-
var C = S.id,
|
|
28711
|
-
f === C && (d({ id: C, payload:
|
|
28715
|
+
var C = S.id, I = S.payload;
|
|
28716
|
+
f === C && (d({ id: C, payload: I }), v(b, y));
|
|
28712
28717
|
};
|
|
28713
28718
|
c(r, ke)[ke].on(l, b), c(r, ke)[ke].on(vv, y), c(r, ke)[ke].on(wi.errorResponse, y), c(r, ke)[ke].on(_n.errorResponse, y), setTimeout(function() {
|
|
28714
28719
|
v(b, y), p(new Error("request timeout for callback eventId:".concat(n)));
|
|
@@ -29301,7 +29306,7 @@ var cD = Object.defineProperty, lD = Object.getOwnPropertyDescriptor, gl = funct
|
|
|
29301
29306
|
}
|
|
29302
29307
|
return P(o, null, [{ key: "init", value: function() {
|
|
29303
29308
|
var t = m(/* @__PURE__ */ h().mark(function r(n) {
|
|
29304
|
-
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C,
|
|
29309
|
+
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C, I, O, M, L, U, N, D, F, Y;
|
|
29305
29310
|
return h().wrap(function(H) {
|
|
29306
29311
|
for (; ; )
|
|
29307
29312
|
switch (H.prev = H.next) {
|
|
@@ -29319,21 +29324,21 @@ var cD = Object.defineProperty, lD = Object.getOwnPropertyDescriptor, gl = funct
|
|
|
29319
29324
|
case 27:
|
|
29320
29325
|
throw H.prev = 27, H.t0 = H.catch(16), v.error("Failed to get user details", { error: H.t0 }), new q("SDK initialization failed: /participant-details API request failed", "0001");
|
|
29321
29326
|
case 31:
|
|
29322
|
-
return C = go.createSocketService(n),
|
|
29327
|
+
return C = go.createSocketService(n), I = C.connect(), O = f.getPlugins(), H.prev = 34, H.next = 37, go.setupFlagsmith(n);
|
|
29323
29328
|
case 37:
|
|
29324
29329
|
H.next = 42;
|
|
29325
29330
|
break;
|
|
29326
29331
|
case 39:
|
|
29327
29332
|
H.prev = 39, H.t1 = H.catch(34), v.error("Failed to setup flagsmith", { error: H.t1 });
|
|
29328
29333
|
case 42:
|
|
29329
|
-
return H.prev = 42, H.next = 45,
|
|
29334
|
+
return H.prev = 42, H.next = 45, I;
|
|
29330
29335
|
case 45:
|
|
29331
29336
|
H.next = 50;
|
|
29332
29337
|
break;
|
|
29333
29338
|
case 47:
|
|
29334
29339
|
H.prev = 47, H.t2 = H.catch(42), v.error("[Controller]: Failed to connect to socket server:", { error: H.t2 });
|
|
29335
29340
|
case 50:
|
|
29336
|
-
return
|
|
29341
|
+
return M = fM.init(b.preset, !n.getValue("modules").theme), n.setValue("theme", M), L = QM.init(n, M.viewType, b.preset.permissions), U = go.setupControllers(C, n, b, O, k, M, L), fI(M) && (D = go.createRoomNodeClient(n, C), (N = D.initializeConnection(b.participant.name, l, !1, L)) === null || N === void 0 || N.catch(function(Z) {
|
|
29337
29342
|
v.error("[Controller]: Failed to queue partial media room promise:", { error: Z });
|
|
29338
29343
|
})), H.next = 57, U;
|
|
29339
29344
|
case 57:
|
|
@@ -29382,7 +29387,7 @@ var cD = Object.defineProperty, lD = Object.getOwnPropertyDescriptor, gl = funct
|
|
|
29382
29387
|
return e;
|
|
29383
29388
|
}() }, { key: "setupControllers", value: function() {
|
|
29384
29389
|
var t = m(/* @__PURE__ */ h().mark(function r(n, a, i, s, u, l, d) {
|
|
29385
|
-
var p, v, f, g, k, y, b, T, S, C,
|
|
29390
|
+
var p, v, f, g, k, y, b, T, S, C, I, O, M, L, U, N, D, F, Y, B, H, Z, Te, ie, De, br, z, nn, Fe, Pt, ae, x, Ja;
|
|
29386
29391
|
return h().wrap(function(Le) {
|
|
29387
29392
|
for (; ; )
|
|
29388
29393
|
switch (Le.prev = Le.next) {
|
|
@@ -29397,7 +29402,7 @@ var cD = Object.defineProperty, lD = Object.getOwnPropertyDescriptor, gl = funct
|
|
|
29397
29402
|
}
|
|
29398
29403
|
return Le.next = 29, pn.init(a, Z, z.self, D.participants);
|
|
29399
29404
|
case 29:
|
|
29400
|
-
|
|
29405
|
+
I = Le.sent;
|
|
29401
29406
|
case 30:
|
|
29402
29407
|
if (!g.internals) {
|
|
29403
29408
|
Le.next = 34;
|
|
@@ -29415,7 +29420,7 @@ var cD = Object.defineProperty, lD = Object.getOwnPropertyDescriptor, gl = funct
|
|
|
29415
29420
|
case 38:
|
|
29416
29421
|
C = Le.sent;
|
|
29417
29422
|
case 39:
|
|
29418
|
-
if (g.recording && (U = new sg(a, z.self, ie)), g.stage && (
|
|
29423
|
+
if (g.recording && (U = new sg(a, z.self, ie)), g.stage && (O = new ng(a, Te, ie, z.self, D.participants)), !g.plugin) {
|
|
29419
29424
|
Le.next = 50;
|
|
29420
29425
|
break;
|
|
29421
29426
|
}
|
|
@@ -29427,9 +29432,9 @@ var cD = Object.defineProperty, lD = Object.getOwnPropertyDescriptor, gl = funct
|
|
|
29427
29432
|
case 44:
|
|
29428
29433
|
return Le.next = 46, s;
|
|
29429
29434
|
case 46:
|
|
29430
|
-
return Pt = Le.sent, Le.next = 49, Zu.init(a, Pt, De, Z, (Fe =
|
|
29435
|
+
return Pt = Le.sent, Le.next = 49, Zu.init(a, Pt, De, Z, (Fe = I) === null || Fe === void 0 ? void 0 : Fe.chat, z.self, D.participants, u);
|
|
29431
29436
|
case 49:
|
|
29432
|
-
|
|
29437
|
+
M = Le.sent;
|
|
29433
29438
|
case 50:
|
|
29434
29439
|
if (!g.connectedMeetings) {
|
|
29435
29440
|
Le.next = 54;
|
|
@@ -29447,7 +29452,7 @@ var cD = Object.defineProperty, lD = Object.getOwnPropertyDescriptor, gl = funct
|
|
|
29447
29452
|
case 57:
|
|
29448
29453
|
ae = Le.sent, a.setValue("pip", ae);
|
|
29449
29454
|
case 59:
|
|
29450
|
-
return x = new SM(a, De), Ja = { storesManager: x, pollController: C, selfController: z, metaController: nn, chatController:
|
|
29455
|
+
return x = new SM(a, De), Ja = { storesManager: x, pollController: C, selfController: z, metaController: nn, chatController: I, stageController: O, pluginController: M, recordingController: U, internalsController: L, livestreamController: N, participantController: D, connectedMeetingsController: F }, Le.abrupt("return", { theme: l, permissions: d, controllers: Ja });
|
|
29451
29456
|
case 62:
|
|
29452
29457
|
case "end":
|
|
29453
29458
|
return Le.stop();
|
|
@@ -29837,7 +29842,7 @@ var Pa = /* @__PURE__ */ E("trackMap"), fD = /* @__PURE__ */ function(o) {
|
|
|
29837
29842
|
key: "init",
|
|
29838
29843
|
value: function() {
|
|
29839
29844
|
var t = m(/* @__PURE__ */ h().mark(function r(n) {
|
|
29840
|
-
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C,
|
|
29845
|
+
var a, i, s, u, l, d, p, v, f, g, k, y, b, T, S, C, I, O;
|
|
29841
29846
|
return h().wrap(function(L) {
|
|
29842
29847
|
for (; ; )
|
|
29843
29848
|
switch (L.prev = L.next) {
|
|
@@ -29851,7 +29856,7 @@ var Pa = /* @__PURE__ */ E("trackMap"), fD = /* @__PURE__ */ function(o) {
|
|
|
29851
29856
|
return window.__zone_symbol__DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION = !0, T = Ri.setupContext(v, n, y, b), S = T.getValue("telemetry"), C = T.getValue("logger"), am(C), fv.init(C), S.init(T, { roomName: y, userId: b.participantId, organizationId: b.orgId, peerId: v }, (u = (l = n.modules) === null || l === void 0 ? void 0 : l.tracing) !== null && u !== void 0 ? u : !0), C.init(T), C.info("Client::init::options", { clientInitOptions: V(V({}, n), {}, { authToken: "".concat((d = n.authToken) === null || d === void 0 ? void 0 : d.slice(0, 10), `...
|
|
29852
29857
|
`).concat((p = n.authToken) === null || p === void 0 ? void 0 : p.slice(-10)) }) }), L.next = 17, ac.init(T);
|
|
29853
29858
|
case 17:
|
|
29854
|
-
return
|
|
29859
|
+
return I = L.sent, O = new Ri(T, I), T.setValue("meeting", O), L.abrupt("return", O);
|
|
29855
29860
|
case 21:
|
|
29856
29861
|
case "end":
|
|
29857
29862
|
return L.stop();
|