@cloudflare/realtimekit 2.0.3-staging.3 → 2.0.3-staging.5
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/EncryptionManager.d.ts +6 -1
- package/dist/browser.js +9 -9
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +7 -7
- package/dist/index.d.ts +6 -1
- package/dist/index.es.js +871 -858
- package/dist/index.es5.js +1710 -1713
- package/dist/index.rn.js +7 -7
- package/dist/ts3.4/dist/EncryptionManager.d.ts +6 -1
- package/dist/ts3.4/dist/index.d.ts +6 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -49,7 +49,7 @@ import { v4 as Pa, validate as tm } from "uuid";
|
|
|
49
49
|
import sm from "bowser";
|
|
50
50
|
import { MessageType as T, PbLong as Wa, typeofJsonValue as gv } from "@protobuf-ts/runtime";
|
|
51
51
|
import * as ao from "worker-timers";
|
|
52
|
-
import * as
|
|
52
|
+
import * as ss from "sdp-transform";
|
|
53
53
|
function mv(s) {
|
|
54
54
|
const { length: t } = this, e = s >= 0 ? s : t + s;
|
|
55
55
|
return e < 0 || e >= t ? void 0 : this[e];
|
|
@@ -3924,7 +3924,7 @@ var TT = /^\s+/;
|
|
|
3924
3924
|
function yT(s) {
|
|
3925
3925
|
return s && s.slice(0, vT(s) + 1).replace(TT, "");
|
|
3926
3926
|
}
|
|
3927
|
-
function
|
|
3927
|
+
function Xt(s) {
|
|
3928
3928
|
var t = typeof s;
|
|
3929
3929
|
return s != null && (t == "object" || t == "function");
|
|
3930
3930
|
}
|
|
@@ -3934,9 +3934,9 @@ function _p(s) {
|
|
|
3934
3934
|
return s;
|
|
3935
3935
|
if (Hl(s))
|
|
3936
3936
|
return Pp;
|
|
3937
|
-
if (
|
|
3937
|
+
if (Xt(s)) {
|
|
3938
3938
|
var t = typeof s.valueOf == "function" ? s.valueOf() : s;
|
|
3939
|
-
s =
|
|
3939
|
+
s = Xt(t) ? t + "" : t;
|
|
3940
3940
|
}
|
|
3941
3941
|
if (typeof s != "string")
|
|
3942
3942
|
return s === 0 ? s : +s;
|
|
@@ -3949,7 +3949,7 @@ function Rh(s) {
|
|
|
3949
3949
|
}
|
|
3950
3950
|
var wT = "[object AsyncFunction]", RT = "[object Function]", bT = "[object GeneratorFunction]", kT = "[object Proxy]";
|
|
3951
3951
|
function bh(s) {
|
|
3952
|
-
if (!
|
|
3952
|
+
if (!Xt(s))
|
|
3953
3953
|
return !1;
|
|
3954
3954
|
var t = rn(s);
|
|
3955
3955
|
return t == RT || t == bT || t == wT || t == kT;
|
|
@@ -3981,7 +3981,7 @@ var OT = /[\\^$.*+?()[\]{}|]/g, NT = /^\[object .+?Constructor\]$/, LT = Functio
|
|
|
3981
3981
|
"^" + xT.call(UT).replace(OT, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3982
3982
|
);
|
|
3983
3983
|
function BT(s) {
|
|
3984
|
-
if (!
|
|
3984
|
+
if (!Xt(s) || IT(s))
|
|
3985
3985
|
return !1;
|
|
3986
3986
|
var t = bh(s) ? $T : NT;
|
|
3987
3987
|
return t.test(nn(s));
|
|
@@ -3999,7 +3999,7 @@ var wp = Object.create, qT = function() {
|
|
|
3999
3999
|
function s() {
|
|
4000
4000
|
}
|
|
4001
4001
|
return function(t) {
|
|
4002
|
-
if (!
|
|
4002
|
+
if (!Xt(t))
|
|
4003
4003
|
return {};
|
|
4004
4004
|
if (wp)
|
|
4005
4005
|
return wp(t);
|
|
@@ -4146,7 +4146,7 @@ function Hc(s) {
|
|
|
4146
4146
|
return s != null && Ih(s.length) && !bh(s);
|
|
4147
4147
|
}
|
|
4148
4148
|
function fy(s, t, e) {
|
|
4149
|
-
if (!
|
|
4149
|
+
if (!Xt(e))
|
|
4150
4150
|
return !1;
|
|
4151
4151
|
var r = typeof t;
|
|
4152
4152
|
return (r == "number" ? Hc(e) && kh(t, e.length) : r == "string" && t in e) ? $c(e[t], s) : !1;
|
|
@@ -4246,7 +4246,7 @@ function cE(s) {
|
|
|
4246
4246
|
}
|
|
4247
4247
|
var dE = Object.prototype, lE = dE.hasOwnProperty;
|
|
4248
4248
|
function uE(s) {
|
|
4249
|
-
if (!
|
|
4249
|
+
if (!Xt(s))
|
|
4250
4250
|
return cE(s);
|
|
4251
4251
|
var t = Fl(s), e = [];
|
|
4252
4252
|
for (var r in s)
|
|
@@ -4647,7 +4647,7 @@ function co(s, t, e, r, i, a) {
|
|
|
4647
4647
|
var o, c = t & h_, d = t & p_, l = t & g_;
|
|
4648
4648
|
if (e && (o = i ? e(s, r, i, a) : e(s)), o !== void 0)
|
|
4649
4649
|
return o;
|
|
4650
|
-
if (!
|
|
4650
|
+
if (!Xt(s))
|
|
4651
4651
|
return s;
|
|
4652
4652
|
var h = Lt(s);
|
|
4653
4653
|
if (h) {
|
|
@@ -4876,7 +4876,7 @@ function vC(s, t, e, r) {
|
|
|
4876
4876
|
return !0;
|
|
4877
4877
|
}
|
|
4878
4878
|
function lf(s) {
|
|
4879
|
-
return s === s && !
|
|
4879
|
+
return s === s && !Xt(s);
|
|
4880
4880
|
}
|
|
4881
4881
|
function TC(s) {
|
|
4882
4882
|
for (var t = jl(s), e = t.length; e--; ) {
|
|
@@ -4956,7 +4956,7 @@ function $h(s, t, e) {
|
|
|
4956
4956
|
var r, i, a, o, c, d, l = 0, h = !1, g = !1, S = !0;
|
|
4957
4957
|
if (typeof s != "function")
|
|
4958
4958
|
throw new TypeError(LC);
|
|
4959
|
-
t = _p(t) || 0,
|
|
4959
|
+
t = _p(t) || 0, Xt(e) && (h = !!e.leading, g = "maxWait" in e, a = g ? VC(_p(e.maxWait) || 0, t) : a, S = "trailing" in e ? !!e.trailing : S);
|
|
4960
4960
|
function y(F) {
|
|
4961
4961
|
var X = r, ee = i;
|
|
4962
4962
|
return r = i = void 0, l = F, o = s.apply(ee, X), o;
|
|
@@ -5021,13 +5021,13 @@ function BC(s, t, e, r, i, a, o) {
|
|
|
5021
5021
|
var h = a ? a(c, d, e + "", s, t, o) : void 0, g = h === void 0;
|
|
5022
5022
|
if (g) {
|
|
5023
5023
|
var S = Lt(d), y = !S && _a(d), E = !S && !y && ql(d);
|
|
5024
|
-
h = d, S || y || E ? Lt(c) ? h = c : UC(c) ? h = $m(c) : y ? (g = !1, h = Xm(d, !0)) : E ? (g = !1, h = sf(d, !0)) : h = [] : sP(d) || To(d) ? (h = c, To(c) ? h = $C(c) : (!
|
|
5024
|
+
h = d, S || y || E ? Lt(c) ? h = c : UC(c) ? h = $m(c) : y ? (g = !1, h = Xm(d, !0)) : E ? (g = !1, h = sf(d, !0)) : h = [] : sP(d) || To(d) ? (h = c, To(c) ? h = $C(c) : (!Xt(c) || bh(c)) && (h = rf(d))) : g = !1;
|
|
5025
5025
|
}
|
|
5026
5026
|
g && (o.set(d, h), i(h, d, r, a, o), o.delete(d)), ku(s, e, h);
|
|
5027
5027
|
}
|
|
5028
5028
|
function hf(s, t, e, r, i) {
|
|
5029
5029
|
s !== t && OC(t, function(a, o) {
|
|
5030
|
-
if (i || (i = new ps()),
|
|
5030
|
+
if (i || (i = new ps()), Xt(a))
|
|
5031
5031
|
BC(s, t, o, e, hf, r, i);
|
|
5032
5032
|
else {
|
|
5033
5033
|
var c = r ? r(Au(s, o), a, o + "", s, t, i) : void 0;
|
|
@@ -6184,7 +6184,7 @@ const Xp = 1080, Zp = 1920, bw = (s, t, e, r, i, a) => {
|
|
|
6184
6184
|
let g = d * h, S = l * h, y, E, k, R, A = 1;
|
|
6185
6185
|
return g < e && (A = e / g), Math.abs(A - 1) < 1e-14 && S < r && (A = r / S), g *= A, S *= A, k = d / (g / e), R = l / (S / r), y = (d - k) * o, E = (l - R) * c, y < 0 && (y = 0), E < 0 && (E = 0), k > d && (k = d), R > l && (R = l), [y, E, k, R, s, t, e, r];
|
|
6186
6186
|
};
|
|
6187
|
-
var Ft, hi, et, qt, we,
|
|
6187
|
+
var Ft, hi, et, qt, we, rs, Us, nt, Ie, wn, Rn, $s, bn;
|
|
6188
6188
|
const cp = class extends xt {
|
|
6189
6189
|
constructor(e, r, i, a) {
|
|
6190
6190
|
const o = e.getValue("logger");
|
|
@@ -6197,7 +6197,7 @@ const cp = class extends xt {
|
|
|
6197
6197
|
height: Xp,
|
|
6198
6198
|
width: Zp
|
|
6199
6199
|
});
|
|
6200
|
-
m(this,
|
|
6200
|
+
m(this, rs, {
|
|
6201
6201
|
brand: "#2160FD",
|
|
6202
6202
|
background: "#141414",
|
|
6203
6203
|
text: "#000000",
|
|
@@ -6253,7 +6253,7 @@ const cp = class extends xt {
|
|
|
6253
6253
|
p(this, "disable", (e = !1) => {
|
|
6254
6254
|
f(this, $s, "idle"), this.cleanupEventListeners(), cancelAnimationFrame(n(this, Us)), e !== !0 && document.body.removeChild(n(this, et)), f(this, Us, void 0), document.pictureInPictureElement && document.exitPictureInPicture();
|
|
6255
6255
|
});
|
|
6256
|
-
f(this, hi, e), f(this, $s, "idle"), f(this, Ie, r), f(this,
|
|
6256
|
+
f(this, hi, e), f(this, $s, "idle"), f(this, Ie, r), f(this, rs, {
|
|
6257
6257
|
brand: r.config.designTokens.colors.brand[500],
|
|
6258
6258
|
background: r.config.designTokens.colors.background[1e3],
|
|
6259
6259
|
text: r.config.designTokens.colors.text,
|
|
@@ -6353,7 +6353,7 @@ const cp = class extends xt {
|
|
|
6353
6353
|
if (n(this, Ft) === void 0)
|
|
6354
6354
|
return;
|
|
6355
6355
|
const o = n(this, Ft).getContext("2d"), c = n(this, Ft).width, d = 0, l = 0, h = r - d * 2, g = i - d * 2, S = Math.floor(c / h), y = Math.floor(e / S), k = e % S * (h + d) + d, R = y * (g + d) + d, { displayText: A, image: x } = a != null ? a : {};
|
|
6356
|
-
o.fillStyle = A || x ? n(this,
|
|
6356
|
+
o.fillStyle = A || x ? n(this, rs).videoBackground : n(this, rs).background, o.strokeStyle = n(this, rs).brand, o.beginPath(), o.moveTo(k + l, R), o.arcTo(k + h, R, k + h, R + l, l), o.arcTo(
|
|
6357
6357
|
k + h,
|
|
6358
6358
|
R + g,
|
|
6359
6359
|
k + h - l,
|
|
@@ -6361,13 +6361,13 @@ const cp = class extends xt {
|
|
|
6361
6361
|
l
|
|
6362
6362
|
), o.arcTo(k, R + g, k, R + g - l, l), o.arcTo(k, R, k + l, R, l), o.closePath(), o.fill(), o.stroke();
|
|
6363
6363
|
const D = h / 6, U = h / 2 + k, $ = g / 2 + R;
|
|
6364
|
-
o.save(), (A || x) && (o.beginPath(), o.arc(U, $, D, 0, Math.PI * 2), o.fillStyle = n(this,
|
|
6364
|
+
o.save(), (A || x) && (o.beginPath(), o.arc(U, $, D, 0, Math.PI * 2), o.fillStyle = n(this, rs).brand, o.fill(), x ? (o.clip(), o.drawImage(
|
|
6365
6365
|
x,
|
|
6366
6366
|
U - D,
|
|
6367
6367
|
$ - D,
|
|
6368
6368
|
D * 2,
|
|
6369
6369
|
D * 2
|
|
6370
|
-
), o.restore()) : A && (o.fillStyle = n(this,
|
|
6370
|
+
), o.restore()) : A && (o.fillStyle = n(this, rs).textOnBrand, o.font = `${D / 2}px sans-serif`, o.textAlign = "center", o.textBaseline = "middle", o.fillText(A, U, $)), this.drawIcons(a, k, R, Math.max(h, g)));
|
|
6371
6371
|
}
|
|
6372
6372
|
/** @access private */
|
|
6373
6373
|
drawIcons(e, r, i, a) {
|
|
@@ -6375,13 +6375,13 @@ const cp = class extends xt {
|
|
|
6375
6375
|
let l = r + c;
|
|
6376
6376
|
const h = i + c, g = (S) => {
|
|
6377
6377
|
const y = n(this, Ft).getContext("2d");
|
|
6378
|
-
y.save(), y.fillStyle = n(this,
|
|
6378
|
+
y.save(), y.fillStyle = n(this, rs).background, y.beginPath(), y.moveTo(l + d, h), y.arcTo(l + o, h, l + o, h + d, d), y.arcTo(
|
|
6379
6379
|
l + o,
|
|
6380
6380
|
h + o,
|
|
6381
6381
|
l + o - d,
|
|
6382
6382
|
h + o,
|
|
6383
6383
|
d
|
|
6384
|
-
), y.arcTo(l, h + o, l, h + o - d, d), y.arcTo(l, h, l + d, h, d), y.closePath(), y.fill(), typeof S == "string" ? (y.font = `${o / 1.5}px sans-serif`, y.fillStyle = n(this,
|
|
6384
|
+
), y.arcTo(l, h + o, l, h + o - d, d), y.arcTo(l, h, l + d, h, d), y.closePath(), y.fill(), typeof S == "string" ? (y.font = `${o / 1.5}px sans-serif`, y.fillStyle = n(this, rs).text, y.textAlign = "center", y.textBaseline = "top", y.fillText(S, o / 2 + l, h + c)) : y.drawImage(
|
|
6385
6385
|
S,
|
|
6386
6386
|
l + c,
|
|
6387
6387
|
h + c,
|
|
@@ -6595,7 +6595,7 @@ const cp = class extends xt {
|
|
|
6595
6595
|
}
|
|
6596
6596
|
};
|
|
6597
6597
|
let Mu = cp;
|
|
6598
|
-
Ft = new WeakMap(), hi = new WeakMap(), et = new WeakMap(), qt = new WeakMap(), we = new WeakMap(),
|
|
6598
|
+
Ft = new WeakMap(), hi = new WeakMap(), et = new WeakMap(), qt = new WeakMap(), we = new WeakMap(), rs = new WeakMap(), Us = new WeakMap(), nt = new WeakMap(), Ie = new WeakMap(), wn = new WeakMap(), Rn = new WeakMap(), $s = new WeakMap(), bn = new WeakMap();
|
|
6599
6599
|
var cr;
|
|
6600
6600
|
(function(s) {
|
|
6601
6601
|
s[s.PUBLISHER = 0] = "PUBLISHER", s[s.SUBSCRIBER = 1] = "SUBSCRIBER";
|
|
@@ -7888,8 +7888,8 @@ class ZR extends T {
|
|
|
7888
7888
|
]);
|
|
7889
7889
|
}
|
|
7890
7890
|
}
|
|
7891
|
-
|
|
7892
|
-
class
|
|
7891
|
+
new ZR();
|
|
7892
|
+
class eb extends T {
|
|
7893
7893
|
constructor() {
|
|
7894
7894
|
super("media.edge.ConsumeMultipleProducerResponse", [
|
|
7895
7895
|
{
|
|
@@ -7903,8 +7903,8 @@ class tb extends T {
|
|
|
7903
7903
|
]);
|
|
7904
7904
|
}
|
|
7905
7905
|
}
|
|
7906
|
-
new
|
|
7907
|
-
class
|
|
7906
|
+
new eb();
|
|
7907
|
+
class tb extends T {
|
|
7908
7908
|
constructor() {
|
|
7909
7909
|
super("media.edge.ConsumePeerResponse", [
|
|
7910
7910
|
{
|
|
@@ -7919,8 +7919,8 @@ class sb extends T {
|
|
|
7919
7919
|
]);
|
|
7920
7920
|
}
|
|
7921
7921
|
}
|
|
7922
|
-
const
|
|
7923
|
-
class
|
|
7922
|
+
const sb = new tb();
|
|
7923
|
+
class rb extends T {
|
|
7924
7924
|
constructor() {
|
|
7925
7925
|
super("media.edge.ProducerCreateResponse", [
|
|
7926
7926
|
{
|
|
@@ -7941,8 +7941,8 @@ class ib extends T {
|
|
|
7941
7941
|
]);
|
|
7942
7942
|
}
|
|
7943
7943
|
}
|
|
7944
|
-
const
|
|
7945
|
-
class
|
|
7944
|
+
const ib = new rb();
|
|
7945
|
+
class nb extends T {
|
|
7946
7946
|
constructor() {
|
|
7947
7947
|
super("media.edge.ProducerScoreResponse", [
|
|
7948
7948
|
{
|
|
@@ -7956,8 +7956,8 @@ class ab extends T {
|
|
|
7956
7956
|
]);
|
|
7957
7957
|
}
|
|
7958
7958
|
}
|
|
7959
|
-
new
|
|
7960
|
-
class
|
|
7959
|
+
new nb();
|
|
7960
|
+
class ab extends T {
|
|
7961
7961
|
constructor() {
|
|
7962
7962
|
super("media.edge.ActiveSpeakerResponse", [
|
|
7963
7963
|
{
|
|
@@ -7977,48 +7977,48 @@ class ob extends T {
|
|
|
7977
7977
|
]);
|
|
7978
7978
|
}
|
|
7979
7979
|
}
|
|
7980
|
-
new
|
|
7981
|
-
class
|
|
7980
|
+
new ab();
|
|
7981
|
+
class ob extends T {
|
|
7982
7982
|
constructor() {
|
|
7983
7983
|
super("media.edge.NoActiveSpeakerResponse", []);
|
|
7984
7984
|
}
|
|
7985
7985
|
}
|
|
7986
|
-
new
|
|
7987
|
-
class
|
|
7986
|
+
new ob();
|
|
7987
|
+
class cb extends T {
|
|
7988
7988
|
constructor() {
|
|
7989
7989
|
super("media.edge.ProducerToggleResponse", []);
|
|
7990
7990
|
}
|
|
7991
7991
|
}
|
|
7992
|
-
new
|
|
7993
|
-
class
|
|
7992
|
+
new cb();
|
|
7993
|
+
class db extends T {
|
|
7994
7994
|
constructor() {
|
|
7995
7995
|
super("media.edge.ConsumerToggleResponse", []);
|
|
7996
7996
|
}
|
|
7997
7997
|
}
|
|
7998
|
-
new
|
|
7999
|
-
class
|
|
7998
|
+
new db();
|
|
7999
|
+
class lb extends T {
|
|
8000
8000
|
constructor() {
|
|
8001
8001
|
super("media.edge.ProducerClosingResponse", [
|
|
8002
8002
|
{ no: 1, name: "description", kind: "message", T: () => ms }
|
|
8003
8003
|
]);
|
|
8004
8004
|
}
|
|
8005
8005
|
}
|
|
8006
|
-
const
|
|
8007
|
-
class
|
|
8006
|
+
const ub = new lb();
|
|
8007
|
+
class hb extends T {
|
|
8008
8008
|
constructor() {
|
|
8009
8009
|
super("media.edge.ConsumerClosingResponse", [
|
|
8010
8010
|
{ no: 1, name: "description", kind: "message", T: () => ms }
|
|
8011
8011
|
]);
|
|
8012
8012
|
}
|
|
8013
8013
|
}
|
|
8014
|
-
const
|
|
8015
|
-
class
|
|
8014
|
+
const pb = new hb();
|
|
8015
|
+
class gb extends T {
|
|
8016
8016
|
constructor() {
|
|
8017
8017
|
super("media.edge.GlobalPeerPinningResponse", []);
|
|
8018
8018
|
}
|
|
8019
8019
|
}
|
|
8020
|
-
new
|
|
8021
|
-
class
|
|
8020
|
+
new gb();
|
|
8021
|
+
class mb extends T {
|
|
8022
8022
|
constructor() {
|
|
8023
8023
|
super("media.edge.KickPeerResponse", [
|
|
8024
8024
|
{
|
|
@@ -8031,8 +8031,8 @@ class fb extends T {
|
|
|
8031
8031
|
]);
|
|
8032
8032
|
}
|
|
8033
8033
|
}
|
|
8034
|
-
new
|
|
8035
|
-
class
|
|
8034
|
+
new mb();
|
|
8035
|
+
class fb extends T {
|
|
8036
8036
|
constructor() {
|
|
8037
8037
|
super("media.edge.KickAllPeersResponse", [
|
|
8038
8038
|
{
|
|
@@ -8045,8 +8045,8 @@ class Sb extends T {
|
|
|
8045
8045
|
]);
|
|
8046
8046
|
}
|
|
8047
8047
|
}
|
|
8048
|
-
new
|
|
8049
|
-
class
|
|
8048
|
+
new fb();
|
|
8049
|
+
class Sb extends T {
|
|
8050
8050
|
constructor() {
|
|
8051
8051
|
super("media.edge.HostMediaControlForPeerResponse", [
|
|
8052
8052
|
{
|
|
@@ -8059,8 +8059,8 @@ class vb extends T {
|
|
|
8059
8059
|
]);
|
|
8060
8060
|
}
|
|
8061
8061
|
}
|
|
8062
|
-
const
|
|
8063
|
-
class
|
|
8062
|
+
const vb = new Sb();
|
|
8063
|
+
class Tb extends T {
|
|
8064
8064
|
constructor() {
|
|
8065
8065
|
super("media.edge.HostMediaControlForAllPeerResponse", [
|
|
8066
8066
|
{
|
|
@@ -8073,8 +8073,8 @@ class yb extends T {
|
|
|
8073
8073
|
]);
|
|
8074
8074
|
}
|
|
8075
8075
|
}
|
|
8076
|
-
const
|
|
8077
|
-
class
|
|
8076
|
+
const yb = new Tb();
|
|
8077
|
+
class Eb extends T {
|
|
8078
8078
|
constructor() {
|
|
8079
8079
|
super("media.edge.PeerDisplayNameEditResponse", [
|
|
8080
8080
|
{
|
|
@@ -8087,16 +8087,16 @@ class Pb extends T {
|
|
|
8087
8087
|
]);
|
|
8088
8088
|
}
|
|
8089
8089
|
}
|
|
8090
|
-
const
|
|
8091
|
-
class
|
|
8090
|
+
const Pb = new Eb();
|
|
8091
|
+
class _b extends T {
|
|
8092
8092
|
constructor() {
|
|
8093
8093
|
super("media.edge.PeerJoinBroadcastResponse", [
|
|
8094
8094
|
{ no: 1, name: "participant", kind: "message", T: () => wf }
|
|
8095
8095
|
]);
|
|
8096
8096
|
}
|
|
8097
8097
|
}
|
|
8098
|
-
const rg = new
|
|
8099
|
-
class
|
|
8098
|
+
const rg = new _b();
|
|
8099
|
+
class Cb extends T {
|
|
8100
8100
|
constructor() {
|
|
8101
8101
|
super("media.edge.TrackSubscriptionKind", [
|
|
8102
8102
|
{
|
|
@@ -8116,8 +8116,8 @@ class wb extends T {
|
|
|
8116
8116
|
]);
|
|
8117
8117
|
}
|
|
8118
8118
|
}
|
|
8119
|
-
const ig = new
|
|
8120
|
-
class
|
|
8119
|
+
const ig = new Cb();
|
|
8120
|
+
class wb extends T {
|
|
8121
8121
|
constructor() {
|
|
8122
8122
|
super("media.edge.TrackSubscription", [
|
|
8123
8123
|
{
|
|
@@ -8132,8 +8132,8 @@ class Rb extends T {
|
|
|
8132
8132
|
]);
|
|
8133
8133
|
}
|
|
8134
8134
|
}
|
|
8135
|
-
const
|
|
8136
|
-
class
|
|
8135
|
+
const Rb = new wb();
|
|
8136
|
+
class bb extends T {
|
|
8137
8137
|
constructor() {
|
|
8138
8138
|
super("media.edge.PeerProducingTransportCreateBroadcastResponse", [
|
|
8139
8139
|
{
|
|
@@ -8144,12 +8144,12 @@ class kb extends T {
|
|
|
8144
8144
|
/*ScalarType.STRING*/
|
|
8145
8145
|
},
|
|
8146
8146
|
{ no: 2, name: "transport_details", kind: "message", T: () => yf },
|
|
8147
|
-
{ no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () =>
|
|
8147
|
+
{ no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () => Rb }
|
|
8148
8148
|
]);
|
|
8149
8149
|
}
|
|
8150
8150
|
}
|
|
8151
|
-
new
|
|
8152
|
-
class
|
|
8151
|
+
new bb();
|
|
8152
|
+
class kb extends T {
|
|
8153
8153
|
constructor() {
|
|
8154
8154
|
super("media.edge.PeerProducerCreateBroadcastResponse", [
|
|
8155
8155
|
{
|
|
@@ -8163,8 +8163,8 @@ class Ab extends T {
|
|
|
8163
8163
|
]);
|
|
8164
8164
|
}
|
|
8165
8165
|
}
|
|
8166
|
-
const
|
|
8167
|
-
class
|
|
8166
|
+
const Ab = new kb();
|
|
8167
|
+
class Ib extends T {
|
|
8168
8168
|
constructor() {
|
|
8169
8169
|
super("media.edge.PeerProducerToggleBroadcastResponse", [
|
|
8170
8170
|
{
|
|
@@ -8186,8 +8186,8 @@ class Mb extends T {
|
|
|
8186
8186
|
]);
|
|
8187
8187
|
}
|
|
8188
8188
|
}
|
|
8189
|
-
const ng = new
|
|
8190
|
-
class
|
|
8189
|
+
const ng = new Ib();
|
|
8190
|
+
class Mb extends T {
|
|
8191
8191
|
constructor() {
|
|
8192
8192
|
super("media.edge.PeerProducerCloseBroadcastResponse", [
|
|
8193
8193
|
{
|
|
@@ -8201,8 +8201,8 @@ class Db extends T {
|
|
|
8201
8201
|
]);
|
|
8202
8202
|
}
|
|
8203
8203
|
}
|
|
8204
|
-
const
|
|
8205
|
-
class
|
|
8204
|
+
const Db = new Mb();
|
|
8205
|
+
class Ob extends T {
|
|
8206
8206
|
constructor() {
|
|
8207
8207
|
super("media.edge.PeerLeaveBroadcastResponse", [
|
|
8208
8208
|
{
|
|
@@ -8215,8 +8215,8 @@ class Nb extends T {
|
|
|
8215
8215
|
]);
|
|
8216
8216
|
}
|
|
8217
8217
|
}
|
|
8218
|
-
const Nu = new
|
|
8219
|
-
class
|
|
8218
|
+
const Nu = new Ob();
|
|
8219
|
+
class Nb extends T {
|
|
8220
8220
|
constructor() {
|
|
8221
8221
|
super("media.edge.GlobalPeerPinningBroadcastResponse", [
|
|
8222
8222
|
{
|
|
@@ -8229,8 +8229,8 @@ class Lb extends T {
|
|
|
8229
8229
|
]);
|
|
8230
8230
|
}
|
|
8231
8231
|
}
|
|
8232
|
-
const ag = new
|
|
8233
|
-
class
|
|
8232
|
+
const ag = new Nb();
|
|
8233
|
+
class Lb extends T {
|
|
8234
8234
|
constructor() {
|
|
8235
8235
|
super("media.edge.GlobalPeerUnPinningBroadcastResponse", [
|
|
8236
8236
|
{
|
|
@@ -8243,8 +8243,8 @@ class Vb extends T {
|
|
|
8243
8243
|
]);
|
|
8244
8244
|
}
|
|
8245
8245
|
}
|
|
8246
|
-
new
|
|
8247
|
-
class
|
|
8246
|
+
new Lb();
|
|
8247
|
+
class Vb extends T {
|
|
8248
8248
|
constructor() {
|
|
8249
8249
|
super("media.edge.RecordingStartedBroadcastResponse", [
|
|
8250
8250
|
{
|
|
@@ -8257,8 +8257,8 @@ class xb extends T {
|
|
|
8257
8257
|
]);
|
|
8258
8258
|
}
|
|
8259
8259
|
}
|
|
8260
|
-
new
|
|
8261
|
-
class
|
|
8260
|
+
new Vb();
|
|
8261
|
+
class xb extends T {
|
|
8262
8262
|
constructor() {
|
|
8263
8263
|
super("media.edge.RecordingStoppedBroadcastResponse", [
|
|
8264
8264
|
{
|
|
@@ -8271,8 +8271,8 @@ class Ub extends T {
|
|
|
8271
8271
|
]);
|
|
8272
8272
|
}
|
|
8273
8273
|
}
|
|
8274
|
-
new
|
|
8275
|
-
class
|
|
8274
|
+
new xb();
|
|
8275
|
+
class Ub extends T {
|
|
8276
8276
|
constructor() {
|
|
8277
8277
|
super("media.edge.PeerDisplayNameEditBroadcastResponse", [
|
|
8278
8278
|
{
|
|
@@ -8292,8 +8292,8 @@ class $b extends T {
|
|
|
8292
8292
|
]);
|
|
8293
8293
|
}
|
|
8294
8294
|
}
|
|
8295
|
-
new
|
|
8296
|
-
class
|
|
8295
|
+
new Ub();
|
|
8296
|
+
class $b extends T {
|
|
8297
8297
|
constructor() {
|
|
8298
8298
|
super("media.edge.PeerPingRequestBroadcastResponse", [
|
|
8299
8299
|
{
|
|
@@ -8306,8 +8306,8 @@ class Bb extends T {
|
|
|
8306
8306
|
]);
|
|
8307
8307
|
}
|
|
8308
8308
|
}
|
|
8309
|
-
new
|
|
8310
|
-
class
|
|
8309
|
+
new $b();
|
|
8310
|
+
class Bb extends T {
|
|
8311
8311
|
constructor() {
|
|
8312
8312
|
super("media.edge.MediaRoomTerminationBroadcastResponse", [
|
|
8313
8313
|
{
|
|
@@ -8320,8 +8320,8 @@ class Hb extends T {
|
|
|
8320
8320
|
]);
|
|
8321
8321
|
}
|
|
8322
8322
|
}
|
|
8323
|
-
new
|
|
8324
|
-
class
|
|
8323
|
+
new Bb();
|
|
8324
|
+
class Hb extends T {
|
|
8325
8325
|
constructor() {
|
|
8326
8326
|
super("socket.ai.MeetingTranscript", [
|
|
8327
8327
|
{
|
|
@@ -8348,8 +8348,8 @@ class Fb extends T {
|
|
|
8348
8348
|
]);
|
|
8349
8349
|
}
|
|
8350
8350
|
}
|
|
8351
|
-
const pu = new
|
|
8352
|
-
class
|
|
8351
|
+
const pu = new Hb();
|
|
8352
|
+
class Fb extends T {
|
|
8353
8353
|
constructor() {
|
|
8354
8354
|
super("socket.api.BaseSocketHubMessage", [
|
|
8355
8355
|
{
|
|
@@ -8413,8 +8413,8 @@ class qb extends T {
|
|
|
8413
8413
|
]);
|
|
8414
8414
|
}
|
|
8415
8415
|
}
|
|
8416
|
-
new
|
|
8417
|
-
class
|
|
8416
|
+
new Fb();
|
|
8417
|
+
class qb extends T {
|
|
8418
8418
|
constructor() {
|
|
8419
8419
|
super("socket.api.ErrorMessage", [
|
|
8420
8420
|
{
|
|
@@ -8435,7 +8435,7 @@ class jb extends T {
|
|
|
8435
8435
|
]);
|
|
8436
8436
|
}
|
|
8437
8437
|
}
|
|
8438
|
-
const
|
|
8438
|
+
const jb = new qb();
|
|
8439
8439
|
var Zi;
|
|
8440
8440
|
(function(s) {
|
|
8441
8441
|
s[s.BROWSER = 0] = "BROWSER", s[s.TRACK = 1] = "TRACK", s[s.COMPOSITE = 2] = "COMPOSITE";
|
|
@@ -8456,7 +8456,7 @@ var kd;
|
|
|
8456
8456
|
(function(s) {
|
|
8457
8457
|
s[s.HIVE = 0] = "HIVE", s[s.CHAT = 1] = "CHAT", s[s.PING = 2] = "PING";
|
|
8458
8458
|
})(kd || (kd = {}));
|
|
8459
|
-
class
|
|
8459
|
+
class Gb extends T {
|
|
8460
8460
|
constructor() {
|
|
8461
8461
|
super("socket.room.PeerFlags", [
|
|
8462
8462
|
{
|
|
@@ -8483,8 +8483,8 @@ class Wb extends T {
|
|
|
8483
8483
|
]);
|
|
8484
8484
|
}
|
|
8485
8485
|
}
|
|
8486
|
-
const
|
|
8487
|
-
class
|
|
8486
|
+
const Wb = new Gb();
|
|
8487
|
+
class Jb extends T {
|
|
8488
8488
|
constructor() {
|
|
8489
8489
|
super("socket.room.Peer", [
|
|
8490
8490
|
{
|
|
@@ -8540,20 +8540,20 @@ class Kb extends T {
|
|
|
8540
8540
|
T: 8
|
|
8541
8541
|
/*ScalarType.BOOL*/
|
|
8542
8542
|
},
|
|
8543
|
-
{ no: 9, name: "flags", kind: "message", T: () =>
|
|
8543
|
+
{ no: 9, name: "flags", kind: "message", T: () => Wb }
|
|
8544
8544
|
]);
|
|
8545
8545
|
}
|
|
8546
8546
|
}
|
|
8547
|
-
const zl = new
|
|
8548
|
-
class
|
|
8547
|
+
const zl = new Jb();
|
|
8548
|
+
class Kb extends T {
|
|
8549
8549
|
constructor() {
|
|
8550
8550
|
super("socket.room.PeerInfoResponse", [
|
|
8551
8551
|
{ no: 1, name: "peer", kind: "message", T: () => zl }
|
|
8552
8552
|
]);
|
|
8553
8553
|
}
|
|
8554
8554
|
}
|
|
8555
|
-
const un = new
|
|
8556
|
-
class
|
|
8555
|
+
const un = new Kb();
|
|
8556
|
+
class zb extends T {
|
|
8557
8557
|
constructor() {
|
|
8558
8558
|
super("socket.room.PeerStatusUpdate", [
|
|
8559
8559
|
{
|
|
@@ -8574,8 +8574,8 @@ class Yb extends T {
|
|
|
8574
8574
|
]);
|
|
8575
8575
|
}
|
|
8576
8576
|
}
|
|
8577
|
-
const og = new
|
|
8578
|
-
class
|
|
8577
|
+
const og = new zb();
|
|
8578
|
+
class Yb extends T {
|
|
8579
8579
|
constructor() {
|
|
8580
8580
|
super("socket.room.RoomPeersInfoRequest", [
|
|
8581
8581
|
{
|
|
@@ -8602,16 +8602,16 @@ class Qb extends T {
|
|
|
8602
8602
|
]);
|
|
8603
8603
|
}
|
|
8604
8604
|
}
|
|
8605
|
-
const
|
|
8606
|
-
class
|
|
8605
|
+
const Qb = new Yb();
|
|
8606
|
+
class Xb extends T {
|
|
8607
8607
|
constructor() {
|
|
8608
8608
|
super("socket.room.RoomPeersInfoResponse", [
|
|
8609
8609
|
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () => zl }
|
|
8610
8610
|
]);
|
|
8611
8611
|
}
|
|
8612
8612
|
}
|
|
8613
|
-
const gu = new
|
|
8614
|
-
class
|
|
8613
|
+
const gu = new Xb();
|
|
8614
|
+
class Zb extends T {
|
|
8615
8615
|
constructor() {
|
|
8616
8616
|
super("socket.room.RoomPeerCountResponse", [
|
|
8617
8617
|
{
|
|
@@ -8625,8 +8625,8 @@ class ek extends T {
|
|
|
8625
8625
|
]);
|
|
8626
8626
|
}
|
|
8627
8627
|
}
|
|
8628
|
-
const cg = new
|
|
8629
|
-
class
|
|
8628
|
+
const cg = new Zb();
|
|
8629
|
+
class ek extends T {
|
|
8630
8630
|
constructor() {
|
|
8631
8631
|
super("socket.room.Room", [
|
|
8632
8632
|
{
|
|
@@ -8651,7 +8651,7 @@ class tk extends T {
|
|
|
8651
8651
|
L: 2
|
|
8652
8652
|
/*LongType.NUMBER*/
|
|
8653
8653
|
},
|
|
8654
|
-
{ no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () =>
|
|
8654
|
+
{ no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () => sk },
|
|
8655
8655
|
{
|
|
8656
8656
|
no: 6,
|
|
8657
8657
|
name: "room_uuid",
|
|
@@ -8663,8 +8663,8 @@ class tk extends T {
|
|
|
8663
8663
|
]);
|
|
8664
8664
|
}
|
|
8665
8665
|
}
|
|
8666
|
-
const Rf = new
|
|
8667
|
-
class
|
|
8666
|
+
const Rf = new ek();
|
|
8667
|
+
class tk extends T {
|
|
8668
8668
|
constructor() {
|
|
8669
8669
|
super("socket.room.ActiveRecording", [
|
|
8670
8670
|
{
|
|
@@ -8685,16 +8685,16 @@ class sk extends T {
|
|
|
8685
8685
|
]);
|
|
8686
8686
|
}
|
|
8687
8687
|
}
|
|
8688
|
-
const
|
|
8689
|
-
class
|
|
8688
|
+
const sk = new tk();
|
|
8689
|
+
class rk extends T {
|
|
8690
8690
|
constructor() {
|
|
8691
8691
|
super("socket.room.RoomInfoResponse", [
|
|
8692
8692
|
{ no: 1, name: "room", kind: "message", T: () => Rf }
|
|
8693
8693
|
]);
|
|
8694
8694
|
}
|
|
8695
8695
|
}
|
|
8696
|
-
const dg = new
|
|
8697
|
-
class
|
|
8696
|
+
const dg = new rk();
|
|
8697
|
+
class ik extends T {
|
|
8698
8698
|
constructor() {
|
|
8699
8699
|
super("socket.room.GetPeerInfoRequest", [
|
|
8700
8700
|
{
|
|
@@ -8707,8 +8707,8 @@ class nk extends T {
|
|
|
8707
8707
|
]);
|
|
8708
8708
|
}
|
|
8709
8709
|
}
|
|
8710
|
-
const bf = new
|
|
8711
|
-
class
|
|
8710
|
+
const bf = new ik();
|
|
8711
|
+
class nk extends T {
|
|
8712
8712
|
constructor() {
|
|
8713
8713
|
super("socket.room.UpdatePeerInfoRequest", [
|
|
8714
8714
|
{
|
|
@@ -8729,8 +8729,8 @@ class ak extends T {
|
|
|
8729
8729
|
]);
|
|
8730
8730
|
}
|
|
8731
8731
|
}
|
|
8732
|
-
new
|
|
8733
|
-
class
|
|
8732
|
+
new nk();
|
|
8733
|
+
class ak extends T {
|
|
8734
8734
|
constructor() {
|
|
8735
8735
|
super("socket.room.JoinRoomRequest", [
|
|
8736
8736
|
{ no: 1, name: "peer", kind: "message", T: () => zl },
|
|
@@ -8778,8 +8778,8 @@ class ok extends T {
|
|
|
8778
8778
|
]);
|
|
8779
8779
|
}
|
|
8780
8780
|
}
|
|
8781
|
-
const
|
|
8782
|
-
class
|
|
8781
|
+
const ok = new ak();
|
|
8782
|
+
class ck extends T {
|
|
8783
8783
|
constructor() {
|
|
8784
8784
|
super("socket.room.LeaveRoomRequest", [
|
|
8785
8785
|
{ no: 1, name: "peer", kind: "message", T: () => zl },
|
|
@@ -8795,22 +8795,22 @@ class dk extends T {
|
|
|
8795
8795
|
]);
|
|
8796
8796
|
}
|
|
8797
8797
|
}
|
|
8798
|
-
const
|
|
8799
|
-
class
|
|
8798
|
+
const dk = new ck();
|
|
8799
|
+
class lk extends T {
|
|
8800
8800
|
constructor() {
|
|
8801
8801
|
super("socket.room.UpdateRoomInfoRequest", [
|
|
8802
8802
|
{ no: 1, name: "room", kind: "message", T: () => Rf }
|
|
8803
8803
|
]);
|
|
8804
8804
|
}
|
|
8805
8805
|
}
|
|
8806
|
-
new
|
|
8807
|
-
class
|
|
8806
|
+
new lk();
|
|
8807
|
+
class uk extends T {
|
|
8808
8808
|
constructor() {
|
|
8809
8809
|
super("socket.room.GetConnectedRoomsDumpRequest", []);
|
|
8810
8810
|
}
|
|
8811
8811
|
}
|
|
8812
|
-
new
|
|
8813
|
-
class
|
|
8812
|
+
new uk();
|
|
8813
|
+
class hk extends T {
|
|
8814
8814
|
constructor() {
|
|
8815
8815
|
super("socket.room.ServiceError", [
|
|
8816
8816
|
{
|
|
@@ -8832,8 +8832,8 @@ class pk extends T {
|
|
|
8832
8832
|
]);
|
|
8833
8833
|
}
|
|
8834
8834
|
}
|
|
8835
|
-
const Fh = new
|
|
8836
|
-
class
|
|
8835
|
+
const Fh = new hk();
|
|
8836
|
+
class pk extends T {
|
|
8837
8837
|
constructor() {
|
|
8838
8838
|
super("socket.room.ConnectedMeetingPeer", [
|
|
8839
8839
|
{
|
|
@@ -8879,8 +8879,8 @@ class gk extends T {
|
|
|
8879
8879
|
]);
|
|
8880
8880
|
}
|
|
8881
8881
|
}
|
|
8882
|
-
const
|
|
8883
|
-
class
|
|
8882
|
+
const gk = new pk();
|
|
8883
|
+
class mk extends T {
|
|
8884
8884
|
constructor() {
|
|
8885
8885
|
super("socket.room.ConnectedMeetingDump", [
|
|
8886
8886
|
{
|
|
@@ -8899,12 +8899,12 @@ class fk extends T {
|
|
|
8899
8899
|
T: 9
|
|
8900
8900
|
/*ScalarType.STRING*/
|
|
8901
8901
|
},
|
|
8902
|
-
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
8902
|
+
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () => gk }
|
|
8903
8903
|
]);
|
|
8904
8904
|
}
|
|
8905
8905
|
}
|
|
8906
|
-
const lg = new
|
|
8907
|
-
class
|
|
8906
|
+
const lg = new mk();
|
|
8907
|
+
class fk extends T {
|
|
8908
8908
|
constructor() {
|
|
8909
8909
|
super("socket.room.GetConnectedRoomsDumpResponse", [
|
|
8910
8910
|
{ no: 1, name: "parent_meeting", kind: "message", T: () => lg },
|
|
@@ -8912,8 +8912,8 @@ class Sk extends T {
|
|
|
8912
8912
|
]);
|
|
8913
8913
|
}
|
|
8914
8914
|
}
|
|
8915
|
-
const
|
|
8916
|
-
class
|
|
8915
|
+
const Sk = new fk();
|
|
8916
|
+
class vk extends T {
|
|
8917
8917
|
constructor() {
|
|
8918
8918
|
super("socket.room.CreateRoomRequestPayload", [
|
|
8919
8919
|
{
|
|
@@ -8927,16 +8927,16 @@ class Tk extends T {
|
|
|
8927
8927
|
]);
|
|
8928
8928
|
}
|
|
8929
8929
|
}
|
|
8930
|
-
const
|
|
8931
|
-
class
|
|
8930
|
+
const Tk = new vk();
|
|
8931
|
+
class yk extends T {
|
|
8932
8932
|
constructor() {
|
|
8933
8933
|
super("socket.room.CreateConnectedRoomsRequest", [
|
|
8934
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
8934
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Tk }
|
|
8935
8935
|
]);
|
|
8936
8936
|
}
|
|
8937
8937
|
}
|
|
8938
|
-
const
|
|
8939
|
-
class
|
|
8938
|
+
const Ek = new yk();
|
|
8939
|
+
class Pk extends T {
|
|
8940
8940
|
constructor() {
|
|
8941
8941
|
super("socket.room.CreateRoomResponsePayload", [
|
|
8942
8942
|
{
|
|
@@ -8959,16 +8959,16 @@ class _k extends T {
|
|
|
8959
8959
|
]);
|
|
8960
8960
|
}
|
|
8961
8961
|
}
|
|
8962
|
-
const
|
|
8963
|
-
class
|
|
8962
|
+
const _k = new Pk();
|
|
8963
|
+
class Ck extends T {
|
|
8964
8964
|
constructor() {
|
|
8965
8965
|
super("socket.room.CreateConnectedRoomsResponse", [
|
|
8966
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
8966
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => _k }
|
|
8967
8967
|
]);
|
|
8968
8968
|
}
|
|
8969
8969
|
}
|
|
8970
|
-
const ug = new
|
|
8971
|
-
class
|
|
8970
|
+
const ug = new Ck();
|
|
8971
|
+
class wk extends T {
|
|
8972
8972
|
constructor() {
|
|
8973
8973
|
super("socket.room.UpdateRoomRequestPayload", [
|
|
8974
8974
|
{
|
|
@@ -8990,16 +8990,16 @@ class Rk extends T {
|
|
|
8990
8990
|
]);
|
|
8991
8991
|
}
|
|
8992
8992
|
}
|
|
8993
|
-
const
|
|
8994
|
-
class
|
|
8993
|
+
const Rk = new wk();
|
|
8994
|
+
class bk extends T {
|
|
8995
8995
|
constructor() {
|
|
8996
8996
|
super("socket.room.UpdateConnectedRoomsRequest", [
|
|
8997
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
8997
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Rk }
|
|
8998
8998
|
]);
|
|
8999
8999
|
}
|
|
9000
9000
|
}
|
|
9001
|
-
new
|
|
9002
|
-
class
|
|
9001
|
+
new bk();
|
|
9002
|
+
class kk extends T {
|
|
9003
9003
|
constructor() {
|
|
9004
9004
|
super("socket.room.DisableRoomPayload", [
|
|
9005
9005
|
{
|
|
@@ -9013,24 +9013,24 @@ class Ak extends T {
|
|
|
9013
9013
|
]);
|
|
9014
9014
|
}
|
|
9015
9015
|
}
|
|
9016
|
-
const
|
|
9017
|
-
class
|
|
9016
|
+
const Ak = new kk();
|
|
9017
|
+
class Ik extends T {
|
|
9018
9018
|
constructor() {
|
|
9019
9019
|
super("socket.room.DisableConnectedRoomsRequest", [
|
|
9020
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
9020
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Ak }
|
|
9021
9021
|
]);
|
|
9022
9022
|
}
|
|
9023
9023
|
}
|
|
9024
|
-
const
|
|
9025
|
-
class
|
|
9024
|
+
const Mk = new Ik();
|
|
9025
|
+
class Dk extends T {
|
|
9026
9026
|
constructor() {
|
|
9027
9027
|
super("socket.room.DisableConnectedRoomsResponse", [
|
|
9028
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
9028
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Lk }
|
|
9029
9029
|
]);
|
|
9030
9030
|
}
|
|
9031
9031
|
}
|
|
9032
|
-
const
|
|
9033
|
-
class
|
|
9032
|
+
const Ok = new Dk();
|
|
9033
|
+
class Nk extends T {
|
|
9034
9034
|
constructor() {
|
|
9035
9035
|
super("socket.room.DisableConnectedRoomPayload", [
|
|
9036
9036
|
{
|
|
@@ -9061,8 +9061,8 @@ class Lk extends T {
|
|
|
9061
9061
|
]);
|
|
9062
9062
|
}
|
|
9063
9063
|
}
|
|
9064
|
-
const
|
|
9065
|
-
class
|
|
9064
|
+
const Lk = new Nk();
|
|
9065
|
+
class Vk extends T {
|
|
9066
9066
|
constructor() {
|
|
9067
9067
|
super("socket.room.MovePeerPayload", [
|
|
9068
9068
|
{
|
|
@@ -9084,8 +9084,8 @@ class xk extends T {
|
|
|
9084
9084
|
]);
|
|
9085
9085
|
}
|
|
9086
9086
|
}
|
|
9087
|
-
const
|
|
9088
|
-
class
|
|
9087
|
+
const xk = new Vk();
|
|
9088
|
+
class Uk extends T {
|
|
9089
9089
|
constructor() {
|
|
9090
9090
|
super("socket.room.MovePeersBetweenRoomsRequest", [
|
|
9091
9091
|
{
|
|
@@ -9104,12 +9104,12 @@ class $k extends T {
|
|
|
9104
9104
|
T: 9
|
|
9105
9105
|
/*ScalarType.STRING*/
|
|
9106
9106
|
},
|
|
9107
|
-
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
9107
|
+
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () => xk }
|
|
9108
9108
|
]);
|
|
9109
9109
|
}
|
|
9110
9110
|
}
|
|
9111
|
-
const
|
|
9112
|
-
class
|
|
9111
|
+
const $k = new Uk();
|
|
9112
|
+
class Bk extends T {
|
|
9113
9113
|
constructor() {
|
|
9114
9114
|
super("socket.room.MovedPeer", [
|
|
9115
9115
|
{
|
|
@@ -9132,16 +9132,16 @@ class Hk extends T {
|
|
|
9132
9132
|
]);
|
|
9133
9133
|
}
|
|
9134
9134
|
}
|
|
9135
|
-
const kf = new
|
|
9136
|
-
class
|
|
9135
|
+
const kf = new Bk();
|
|
9136
|
+
class Hk extends T {
|
|
9137
9137
|
constructor() {
|
|
9138
9138
|
super("socket.room.MovePeersBetweenRoomsResponse", [
|
|
9139
9139
|
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => kf }
|
|
9140
9140
|
]);
|
|
9141
9141
|
}
|
|
9142
9142
|
}
|
|
9143
|
-
new
|
|
9144
|
-
class
|
|
9143
|
+
new Hk();
|
|
9144
|
+
class Fk extends T {
|
|
9145
9145
|
constructor() {
|
|
9146
9146
|
super("socket.room.TransferPeer", [
|
|
9147
9147
|
{
|
|
@@ -9163,16 +9163,16 @@ class qk extends T {
|
|
|
9163
9163
|
]);
|
|
9164
9164
|
}
|
|
9165
9165
|
}
|
|
9166
|
-
const
|
|
9167
|
-
class
|
|
9166
|
+
const qk = new Fk();
|
|
9167
|
+
class jk extends T {
|
|
9168
9168
|
constructor() {
|
|
9169
9169
|
super("socket.room.GetAllAddedParticipantsResponse", [
|
|
9170
|
-
{ no: 1, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
9170
|
+
{ no: 1, name: "participants", kind: "message", repeat: 1, T: () => Jk }
|
|
9171
9171
|
]);
|
|
9172
9172
|
}
|
|
9173
9173
|
}
|
|
9174
|
-
const
|
|
9175
|
-
class
|
|
9174
|
+
const Gk = new jk();
|
|
9175
|
+
class Wk extends T {
|
|
9176
9176
|
constructor() {
|
|
9177
9177
|
super("socket.room.AddedParticipant", [
|
|
9178
9178
|
{
|
|
@@ -9208,8 +9208,8 @@ class Jk extends T {
|
|
|
9208
9208
|
]);
|
|
9209
9209
|
}
|
|
9210
9210
|
}
|
|
9211
|
-
const
|
|
9212
|
-
class
|
|
9211
|
+
const Jk = new Wk();
|
|
9212
|
+
class Kk extends T {
|
|
9213
9213
|
constructor() {
|
|
9214
9214
|
super("socket.room.RemoveParticipantsRequest", [
|
|
9215
9215
|
{
|
|
@@ -9223,8 +9223,8 @@ class zk extends T {
|
|
|
9223
9223
|
]);
|
|
9224
9224
|
}
|
|
9225
9225
|
}
|
|
9226
|
-
const Af = new
|
|
9227
|
-
class
|
|
9226
|
+
const Af = new Kk();
|
|
9227
|
+
class zk extends T {
|
|
9228
9228
|
constructor() {
|
|
9229
9229
|
super("socket.room.BroadcastMessage", [
|
|
9230
9230
|
{
|
|
@@ -9261,8 +9261,8 @@ class Yk extends T {
|
|
|
9261
9261
|
]);
|
|
9262
9262
|
}
|
|
9263
9263
|
}
|
|
9264
|
-
const Ka = new
|
|
9265
|
-
class
|
|
9264
|
+
const Ka = new zk();
|
|
9265
|
+
class Yk extends T {
|
|
9266
9266
|
constructor() {
|
|
9267
9267
|
super("socket.room.AcceptWaitingRoomRequests", [
|
|
9268
9268
|
{
|
|
@@ -9276,8 +9276,8 @@ class Qk extends T {
|
|
|
9276
9276
|
]);
|
|
9277
9277
|
}
|
|
9278
9278
|
}
|
|
9279
|
-
const
|
|
9280
|
-
class
|
|
9279
|
+
const Qk = new Yk();
|
|
9280
|
+
class Xk extends T {
|
|
9281
9281
|
constructor() {
|
|
9282
9282
|
super("socket.room.DenyWaitingRoomRequests", [
|
|
9283
9283
|
{
|
|
@@ -9291,8 +9291,8 @@ class Zk extends T {
|
|
|
9291
9291
|
]);
|
|
9292
9292
|
}
|
|
9293
9293
|
}
|
|
9294
|
-
const
|
|
9295
|
-
class
|
|
9294
|
+
const Zk = new Xk();
|
|
9295
|
+
class eA extends T {
|
|
9296
9296
|
constructor() {
|
|
9297
9297
|
super("socket.room.WaitingRoomRequest", [
|
|
9298
9298
|
{
|
|
@@ -9343,16 +9343,16 @@ class tA extends T {
|
|
|
9343
9343
|
]);
|
|
9344
9344
|
}
|
|
9345
9345
|
}
|
|
9346
|
-
const
|
|
9347
|
-
class
|
|
9346
|
+
const tA = new eA();
|
|
9347
|
+
class sA extends T {
|
|
9348
9348
|
constructor() {
|
|
9349
9349
|
super("socket.room.GetWaitingRoomRequests", [
|
|
9350
|
-
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () =>
|
|
9350
|
+
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () => tA }
|
|
9351
9351
|
]);
|
|
9352
9352
|
}
|
|
9353
9353
|
}
|
|
9354
|
-
const hg = new
|
|
9355
|
-
class
|
|
9354
|
+
const hg = new sA();
|
|
9355
|
+
class rA extends T {
|
|
9356
9356
|
constructor() {
|
|
9357
9357
|
super("socket.room.GetRoomStageStateResponse", [
|
|
9358
9358
|
{
|
|
@@ -9382,7 +9382,7 @@ class iA extends T {
|
|
|
9382
9382
|
]);
|
|
9383
9383
|
}
|
|
9384
9384
|
}
|
|
9385
|
-
const pg = new
|
|
9385
|
+
const pg = new rA();
|
|
9386
9386
|
var xu;
|
|
9387
9387
|
(function(s) {
|
|
9388
9388
|
s[s.NONE = 0] = "NONE", s[s.SKIP = 1] = "SKIP", s[s.ON_PRIVILEGED_USER_ENTRY = 2] = "ON_PRIVILEGED_USER_ENTRY", s[s.SKIP_ON_ACCEPT = 3] = "SKIP_ON_ACCEPT";
|
|
@@ -9391,7 +9391,7 @@ var zr;
|
|
|
9391
9391
|
(function(s) {
|
|
9392
9392
|
s[s.NONE = 0] = "NONE", s[s.ALLOWED = 1] = "ALLOWED", s[s.NOT_ALLOWED = 2] = "NOT_ALLOWED", s[s.CAN_REQUEST = 3] = "CAN_REQUEST";
|
|
9393
9393
|
})(zr || (zr = {}));
|
|
9394
|
-
class
|
|
9394
|
+
class iA extends T {
|
|
9395
9395
|
constructor() {
|
|
9396
9396
|
super("socket.preset.PollsPermissionUpdate", [
|
|
9397
9397
|
{
|
|
@@ -9421,8 +9421,8 @@ class nA extends T {
|
|
|
9421
9421
|
]);
|
|
9422
9422
|
}
|
|
9423
9423
|
}
|
|
9424
|
-
const
|
|
9425
|
-
class
|
|
9424
|
+
const nA = new iA();
|
|
9425
|
+
class aA extends T {
|
|
9426
9426
|
constructor() {
|
|
9427
9427
|
super("socket.preset.PluginsPermissionsUpdate", [
|
|
9428
9428
|
{
|
|
@@ -9444,8 +9444,8 @@ class oA extends T {
|
|
|
9444
9444
|
]);
|
|
9445
9445
|
}
|
|
9446
9446
|
}
|
|
9447
|
-
const
|
|
9448
|
-
class
|
|
9447
|
+
const oA = new aA();
|
|
9448
|
+
class cA extends T {
|
|
9449
9449
|
constructor() {
|
|
9450
9450
|
super("socket.preset.PublicChatPermission", [
|
|
9451
9451
|
{
|
|
@@ -9475,8 +9475,8 @@ class dA extends T {
|
|
|
9475
9475
|
]);
|
|
9476
9476
|
}
|
|
9477
9477
|
}
|
|
9478
|
-
const
|
|
9479
|
-
class
|
|
9478
|
+
const dA = new cA();
|
|
9479
|
+
class lA extends T {
|
|
9480
9480
|
constructor() {
|
|
9481
9481
|
super("socket.preset.PrivateChatPermission", [
|
|
9482
9482
|
{
|
|
@@ -9514,17 +9514,17 @@ class uA extends T {
|
|
|
9514
9514
|
]);
|
|
9515
9515
|
}
|
|
9516
9516
|
}
|
|
9517
|
-
const
|
|
9518
|
-
class
|
|
9517
|
+
const uA = new lA();
|
|
9518
|
+
class hA extends T {
|
|
9519
9519
|
constructor() {
|
|
9520
9520
|
super("socket.preset.ChatPermissionUpdate", [
|
|
9521
|
-
{ no: 1, name: "public", kind: "message", T: () =>
|
|
9522
|
-
{ no: 2, name: "private", kind: "message", T: () =>
|
|
9521
|
+
{ no: 1, name: "public", kind: "message", T: () => dA },
|
|
9522
|
+
{ no: 2, name: "private", kind: "message", T: () => uA }
|
|
9523
9523
|
]);
|
|
9524
9524
|
}
|
|
9525
9525
|
}
|
|
9526
|
-
const
|
|
9527
|
-
class
|
|
9526
|
+
const pA = new hA();
|
|
9527
|
+
class gA extends T {
|
|
9528
9528
|
constructor() {
|
|
9529
9529
|
super("socket.preset.ConnectedMeetingPermissionUpdate", [
|
|
9530
9530
|
{
|
|
@@ -9554,8 +9554,8 @@ class mA extends T {
|
|
|
9554
9554
|
]);
|
|
9555
9555
|
}
|
|
9556
9556
|
}
|
|
9557
|
-
const
|
|
9558
|
-
class
|
|
9557
|
+
const mA = new gA();
|
|
9558
|
+
class fA extends T {
|
|
9559
9559
|
constructor() {
|
|
9560
9560
|
super("socket.preset.StreamPermission", [
|
|
9561
9561
|
{ no: 1, name: "can_produce", kind: "enum", opt: !0, T: () => ["socket.preset.StreamPermissionType", zr, "STREAM_PERMISSION_TYPE_"] },
|
|
@@ -9563,8 +9563,8 @@ class SA extends T {
|
|
|
9563
9563
|
]);
|
|
9564
9564
|
}
|
|
9565
9565
|
}
|
|
9566
|
-
const mu = new
|
|
9567
|
-
class
|
|
9566
|
+
const mu = new fA();
|
|
9567
|
+
class SA extends T {
|
|
9568
9568
|
constructor() {
|
|
9569
9569
|
super("socket.preset.MediaPermissionUpdate", [
|
|
9570
9570
|
{ no: 1, name: "video", kind: "message", T: () => mu },
|
|
@@ -9573,13 +9573,13 @@ class vA extends T {
|
|
|
9573
9573
|
]);
|
|
9574
9574
|
}
|
|
9575
9575
|
}
|
|
9576
|
-
const
|
|
9577
|
-
class
|
|
9576
|
+
const vA = new SA();
|
|
9577
|
+
class TA extends T {
|
|
9578
9578
|
constructor() {
|
|
9579
9579
|
super("socket.preset.PresetUpdates", [
|
|
9580
|
-
{ no: 1, name: "polls", kind: "message", T: () =>
|
|
9581
|
-
{ no: 2, name: "plugins", kind: "message", T: () =>
|
|
9582
|
-
{ no: 3, name: "chat", kind: "message", T: () =>
|
|
9580
|
+
{ no: 1, name: "polls", kind: "message", T: () => nA },
|
|
9581
|
+
{ no: 2, name: "plugins", kind: "message", T: () => oA },
|
|
9582
|
+
{ no: 3, name: "chat", kind: "message", T: () => pA },
|
|
9583
9583
|
{
|
|
9584
9584
|
no: 4,
|
|
9585
9585
|
name: "accept_waiting_requests",
|
|
@@ -9710,13 +9710,13 @@ class yA extends T {
|
|
|
9710
9710
|
T: 8
|
|
9711
9711
|
/*ScalarType.BOOL*/
|
|
9712
9712
|
},
|
|
9713
|
-
{ no: 22, name: "connected_meetings", kind: "message", T: () =>
|
|
9714
|
-
{ no: 23, name: "media", kind: "message", T: () =>
|
|
9713
|
+
{ no: 22, name: "connected_meetings", kind: "message", T: () => mA },
|
|
9714
|
+
{ no: 23, name: "media", kind: "message", T: () => vA }
|
|
9715
9715
|
]);
|
|
9716
9716
|
}
|
|
9717
9717
|
}
|
|
9718
|
-
const qh = new
|
|
9719
|
-
class
|
|
9718
|
+
const qh = new TA();
|
|
9719
|
+
class yA extends T {
|
|
9720
9720
|
constructor() {
|
|
9721
9721
|
super("socket.preset.ReadPeersPresetRequest", [
|
|
9722
9722
|
{
|
|
@@ -9730,8 +9730,8 @@ class EA extends T {
|
|
|
9730
9730
|
]);
|
|
9731
9731
|
}
|
|
9732
9732
|
}
|
|
9733
|
-
const
|
|
9734
|
-
class
|
|
9733
|
+
const EA = new yA();
|
|
9734
|
+
class PA extends T {
|
|
9735
9735
|
constructor() {
|
|
9736
9736
|
super("socket.preset.PeerPreset", [
|
|
9737
9737
|
{
|
|
@@ -9758,16 +9758,16 @@ class _A extends T {
|
|
|
9758
9758
|
]);
|
|
9759
9759
|
}
|
|
9760
9760
|
}
|
|
9761
|
-
const
|
|
9762
|
-
class
|
|
9761
|
+
const _A = new PA();
|
|
9762
|
+
class CA extends T {
|
|
9763
9763
|
constructor() {
|
|
9764
9764
|
super("socket.preset.ReadPeersPresetResponse", [
|
|
9765
|
-
{ no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () =>
|
|
9765
|
+
{ no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => _A }
|
|
9766
9766
|
]);
|
|
9767
9767
|
}
|
|
9768
9768
|
}
|
|
9769
|
-
const
|
|
9770
|
-
class
|
|
9769
|
+
const wA = new CA();
|
|
9770
|
+
class RA extends T {
|
|
9771
9771
|
constructor() {
|
|
9772
9772
|
super("socket.preset.UpdatePeerPreset", [
|
|
9773
9773
|
{
|
|
@@ -9781,24 +9781,24 @@ class bA extends T {
|
|
|
9781
9781
|
]);
|
|
9782
9782
|
}
|
|
9783
9783
|
}
|
|
9784
|
-
const If = new
|
|
9785
|
-
class
|
|
9784
|
+
const If = new RA();
|
|
9785
|
+
class bA extends T {
|
|
9786
9786
|
constructor() {
|
|
9787
9787
|
super("socket.preset.UpdatePeersPresetRequest", [
|
|
9788
9788
|
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => If }
|
|
9789
9789
|
]);
|
|
9790
9790
|
}
|
|
9791
9791
|
}
|
|
9792
|
-
const
|
|
9793
|
-
class
|
|
9792
|
+
const kA = new bA();
|
|
9793
|
+
class AA extends T {
|
|
9794
9794
|
constructor() {
|
|
9795
9795
|
super("socket.preset.UpdatePeersPresetResponse", [
|
|
9796
9796
|
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => If }
|
|
9797
9797
|
]);
|
|
9798
9798
|
}
|
|
9799
9799
|
}
|
|
9800
|
-
const gg = new
|
|
9801
|
-
class
|
|
9800
|
+
const gg = new AA();
|
|
9801
|
+
class IA extends T {
|
|
9802
9802
|
constructor() {
|
|
9803
9803
|
super("socket.preset.PeerUserIDMap", [
|
|
9804
9804
|
{
|
|
@@ -9818,25 +9818,25 @@ class MA extends T {
|
|
|
9818
9818
|
]);
|
|
9819
9819
|
}
|
|
9820
9820
|
}
|
|
9821
|
-
const
|
|
9822
|
-
class
|
|
9821
|
+
const MA = new IA();
|
|
9822
|
+
class DA extends T {
|
|
9823
9823
|
constructor() {
|
|
9824
9824
|
super("socket.preset.BulkUpdatePeerPresetRequest", [
|
|
9825
|
-
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () =>
|
|
9825
|
+
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () => MA },
|
|
9826
9826
|
{ no: 2, name: "patch", kind: "message", T: () => qh }
|
|
9827
9827
|
]);
|
|
9828
9828
|
}
|
|
9829
9829
|
}
|
|
9830
|
-
new
|
|
9831
|
-
class
|
|
9830
|
+
new DA();
|
|
9831
|
+
class OA extends T {
|
|
9832
9832
|
constructor() {
|
|
9833
9833
|
super("socket.preset.BulkUpdatePeerPresetResponse", [
|
|
9834
9834
|
{ no: 2, name: "patch", kind: "message", T: () => qh }
|
|
9835
9835
|
]);
|
|
9836
9836
|
}
|
|
9837
9837
|
}
|
|
9838
|
-
new
|
|
9839
|
-
class
|
|
9838
|
+
new OA();
|
|
9839
|
+
class NA extends T {
|
|
9840
9840
|
constructor() {
|
|
9841
9841
|
super("socket.chat.ChatMessage", [
|
|
9842
9842
|
{
|
|
@@ -9939,8 +9939,8 @@ class LA extends T {
|
|
|
9939
9939
|
]);
|
|
9940
9940
|
}
|
|
9941
9941
|
}
|
|
9942
|
-
const ti = new
|
|
9943
|
-
class
|
|
9942
|
+
const ti = new NA();
|
|
9943
|
+
class LA extends T {
|
|
9944
9944
|
constructor() {
|
|
9945
9945
|
super("socket.chat.GetPaginatedChatMessageFilters", [
|
|
9946
9946
|
{
|
|
@@ -9962,8 +9962,8 @@ class VA extends T {
|
|
|
9962
9962
|
]);
|
|
9963
9963
|
}
|
|
9964
9964
|
}
|
|
9965
|
-
const
|
|
9966
|
-
class
|
|
9965
|
+
const VA = new LA();
|
|
9966
|
+
class xA extends T {
|
|
9967
9967
|
constructor() {
|
|
9968
9968
|
super("socket.chat.GetPaginatedChatMessageRoomRequest", [
|
|
9969
9969
|
{
|
|
@@ -10003,12 +10003,12 @@ class UA extends T {
|
|
|
10003
10003
|
T: 9
|
|
10004
10004
|
/*ScalarType.STRING*/
|
|
10005
10005
|
},
|
|
10006
|
-
{ no: 6, name: "filters", kind: "message", T: () =>
|
|
10006
|
+
{ no: 6, name: "filters", kind: "message", T: () => VA }
|
|
10007
10007
|
]);
|
|
10008
10008
|
}
|
|
10009
10009
|
}
|
|
10010
|
-
const
|
|
10011
|
-
class
|
|
10010
|
+
const UA = new xA();
|
|
10011
|
+
class $A extends T {
|
|
10012
10012
|
constructor() {
|
|
10013
10013
|
super("socket.chat.GetPaginatedChatMessageRoomResponse", [
|
|
10014
10014
|
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => ti },
|
|
@@ -10022,16 +10022,16 @@ class BA extends T {
|
|
|
10022
10022
|
]);
|
|
10023
10023
|
}
|
|
10024
10024
|
}
|
|
10025
|
-
const
|
|
10026
|
-
class
|
|
10025
|
+
const BA = new $A();
|
|
10026
|
+
class HA extends T {
|
|
10027
10027
|
constructor() {
|
|
10028
10028
|
super("socket.chat.GetChatMessagesResponse", [
|
|
10029
10029
|
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => ti }
|
|
10030
10030
|
]);
|
|
10031
10031
|
}
|
|
10032
10032
|
}
|
|
10033
|
-
const Mf = new
|
|
10034
|
-
class
|
|
10033
|
+
const Mf = new HA();
|
|
10034
|
+
class FA extends T {
|
|
10035
10035
|
constructor() {
|
|
10036
10036
|
super("socket.chat.SendChatMessageToRoomRequest", [
|
|
10037
10037
|
{
|
|
@@ -10051,16 +10051,16 @@ class qA extends T {
|
|
|
10051
10051
|
]);
|
|
10052
10052
|
}
|
|
10053
10053
|
}
|
|
10054
|
-
const
|
|
10055
|
-
class
|
|
10054
|
+
const qA = new FA();
|
|
10055
|
+
class jA extends T {
|
|
10056
10056
|
constructor() {
|
|
10057
10057
|
super("socket.chat.SendChatMessageToRoomResponse", [
|
|
10058
10058
|
{ no: 1, name: "message", kind: "message", T: () => ti }
|
|
10059
10059
|
]);
|
|
10060
10060
|
}
|
|
10061
10061
|
}
|
|
10062
|
-
const fu = new
|
|
10063
|
-
class
|
|
10062
|
+
const fu = new jA();
|
|
10063
|
+
class GA extends T {
|
|
10064
10064
|
constructor() {
|
|
10065
10065
|
super("socket.chat.SendChatMessageToPeersRequest", [
|
|
10066
10066
|
{
|
|
@@ -10088,16 +10088,16 @@ class WA extends T {
|
|
|
10088
10088
|
]);
|
|
10089
10089
|
}
|
|
10090
10090
|
}
|
|
10091
|
-
const
|
|
10092
|
-
class
|
|
10091
|
+
const WA = new GA();
|
|
10092
|
+
class JA extends T {
|
|
10093
10093
|
constructor() {
|
|
10094
10094
|
super("socket.chat.SendChatMessageToPeersResponse", [
|
|
10095
10095
|
{ no: 1, name: "message", kind: "message", T: () => ti }
|
|
10096
10096
|
]);
|
|
10097
10097
|
}
|
|
10098
10098
|
}
|
|
10099
|
-
const Su = new
|
|
10100
|
-
class
|
|
10099
|
+
const Su = new JA();
|
|
10100
|
+
class KA extends T {
|
|
10101
10101
|
constructor() {
|
|
10102
10102
|
super("socket.chat.SendChatMessageToChannelRequest", [
|
|
10103
10103
|
{
|
|
@@ -10124,16 +10124,16 @@ class zA extends T {
|
|
|
10124
10124
|
]);
|
|
10125
10125
|
}
|
|
10126
10126
|
}
|
|
10127
|
-
new
|
|
10128
|
-
class
|
|
10127
|
+
new KA();
|
|
10128
|
+
class zA extends T {
|
|
10129
10129
|
constructor() {
|
|
10130
10130
|
super("socket.chat.SendChatMessageToChannelResponse", [
|
|
10131
10131
|
{ no: 1, name: "message", kind: "message", T: () => ti }
|
|
10132
10132
|
]);
|
|
10133
10133
|
}
|
|
10134
10134
|
}
|
|
10135
|
-
new
|
|
10136
|
-
class
|
|
10135
|
+
new zA();
|
|
10136
|
+
class YA extends T {
|
|
10137
10137
|
constructor() {
|
|
10138
10138
|
super("socket.chat.EditChatMessageRequest", [
|
|
10139
10139
|
{
|
|
@@ -10178,8 +10178,8 @@ class QA extends T {
|
|
|
10178
10178
|
]);
|
|
10179
10179
|
}
|
|
10180
10180
|
}
|
|
10181
|
-
const
|
|
10182
|
-
class
|
|
10181
|
+
const QA = new YA();
|
|
10182
|
+
class XA extends T {
|
|
10183
10183
|
constructor() {
|
|
10184
10184
|
super("socket.chat.PinChatMessageRequest", [
|
|
10185
10185
|
{
|
|
@@ -10207,8 +10207,8 @@ class ZA extends T {
|
|
|
10207
10207
|
]);
|
|
10208
10208
|
}
|
|
10209
10209
|
}
|
|
10210
|
-
const
|
|
10211
|
-
class
|
|
10210
|
+
const ZA = new XA();
|
|
10211
|
+
class eI extends T {
|
|
10212
10212
|
constructor() {
|
|
10213
10213
|
super("socket.chat.PinChatMessageResponse", [
|
|
10214
10214
|
{
|
|
@@ -10237,16 +10237,16 @@ class tI extends T {
|
|
|
10237
10237
|
]);
|
|
10238
10238
|
}
|
|
10239
10239
|
}
|
|
10240
|
-
const td = new
|
|
10241
|
-
class
|
|
10240
|
+
const td = new eI();
|
|
10241
|
+
class tI extends T {
|
|
10242
10242
|
constructor() {
|
|
10243
10243
|
super("socket.chat.EditChatMessageResponse", [
|
|
10244
10244
|
{ no: 1, name: "message", kind: "message", T: () => ti }
|
|
10245
10245
|
]);
|
|
10246
10246
|
}
|
|
10247
10247
|
}
|
|
10248
|
-
const sd = new
|
|
10249
|
-
class
|
|
10248
|
+
const sd = new tI();
|
|
10249
|
+
class sI extends T {
|
|
10250
10250
|
constructor() {
|
|
10251
10251
|
super("socket.chat.DeleteChatMessageRequest", [
|
|
10252
10252
|
{
|
|
@@ -10267,8 +10267,8 @@ class rI extends T {
|
|
|
10267
10267
|
]);
|
|
10268
10268
|
}
|
|
10269
10269
|
}
|
|
10270
|
-
const
|
|
10271
|
-
class
|
|
10270
|
+
const rI = new sI();
|
|
10271
|
+
class iI extends T {
|
|
10272
10272
|
constructor() {
|
|
10273
10273
|
super("socket.chat.DeleteChatMessageResponse", [
|
|
10274
10274
|
{
|
|
@@ -10289,8 +10289,8 @@ class nI extends T {
|
|
|
10289
10289
|
]);
|
|
10290
10290
|
}
|
|
10291
10291
|
}
|
|
10292
|
-
const rd = new
|
|
10293
|
-
class
|
|
10292
|
+
const rd = new iI();
|
|
10293
|
+
class nI extends T {
|
|
10294
10294
|
constructor() {
|
|
10295
10295
|
super("socket.chat.SearchChatMessagesRequest", [
|
|
10296
10296
|
{
|
|
@@ -10340,8 +10340,8 @@ class aI extends T {
|
|
|
10340
10340
|
]);
|
|
10341
10341
|
}
|
|
10342
10342
|
}
|
|
10343
|
-
const
|
|
10344
|
-
class
|
|
10343
|
+
const aI = new nI();
|
|
10344
|
+
class oI extends T {
|
|
10345
10345
|
constructor() {
|
|
10346
10346
|
super("socket.chat.MarkChannelIndexAsReadRequest", [
|
|
10347
10347
|
{
|
|
@@ -10368,8 +10368,8 @@ class cI extends T {
|
|
|
10368
10368
|
]);
|
|
10369
10369
|
}
|
|
10370
10370
|
}
|
|
10371
|
-
new
|
|
10372
|
-
class
|
|
10371
|
+
new oI();
|
|
10372
|
+
class cI extends T {
|
|
10373
10373
|
constructor() {
|
|
10374
10374
|
super("socket.chat.MarkChannelIndexAsReadResponse", [
|
|
10375
10375
|
{
|
|
@@ -10382,8 +10382,8 @@ class dI extends T {
|
|
|
10382
10382
|
]);
|
|
10383
10383
|
}
|
|
10384
10384
|
}
|
|
10385
|
-
new
|
|
10386
|
-
class
|
|
10385
|
+
new cI();
|
|
10386
|
+
class dI extends T {
|
|
10387
10387
|
constructor() {
|
|
10388
10388
|
super("socket.chat.CreateChatChannelRequest", [
|
|
10389
10389
|
{
|
|
@@ -10426,8 +10426,8 @@ class lI extends T {
|
|
|
10426
10426
|
]);
|
|
10427
10427
|
}
|
|
10428
10428
|
}
|
|
10429
|
-
new
|
|
10430
|
-
class
|
|
10429
|
+
new dI();
|
|
10430
|
+
class lI extends T {
|
|
10431
10431
|
constructor() {
|
|
10432
10432
|
super("socket.chat.UpdateChatChannelRequest", [
|
|
10433
10433
|
{
|
|
@@ -10480,8 +10480,8 @@ class uI extends T {
|
|
|
10480
10480
|
]);
|
|
10481
10481
|
}
|
|
10482
10482
|
}
|
|
10483
|
-
new
|
|
10484
|
-
class
|
|
10483
|
+
new lI();
|
|
10484
|
+
class uI extends T {
|
|
10485
10485
|
constructor() {
|
|
10486
10486
|
super("socket.chat.CreateChatChannelResponse", [
|
|
10487
10487
|
{
|
|
@@ -10494,8 +10494,8 @@ class hI extends T {
|
|
|
10494
10494
|
]);
|
|
10495
10495
|
}
|
|
10496
10496
|
}
|
|
10497
|
-
new
|
|
10498
|
-
class
|
|
10497
|
+
new uI();
|
|
10498
|
+
class hI extends T {
|
|
10499
10499
|
constructor() {
|
|
10500
10500
|
super("socket.chat.GetChatChannelRequest", [
|
|
10501
10501
|
{
|
|
@@ -10508,8 +10508,8 @@ class pI extends T {
|
|
|
10508
10508
|
]);
|
|
10509
10509
|
}
|
|
10510
10510
|
}
|
|
10511
|
-
new
|
|
10512
|
-
class
|
|
10511
|
+
new hI();
|
|
10512
|
+
class pI extends T {
|
|
10513
10513
|
constructor() {
|
|
10514
10514
|
super("socket.chat.LatestMessageAndUnreadCount", [
|
|
10515
10515
|
{ no: 1, name: "message", kind: "message", T: () => ti },
|
|
@@ -10524,8 +10524,8 @@ class gI extends T {
|
|
|
10524
10524
|
]);
|
|
10525
10525
|
}
|
|
10526
10526
|
}
|
|
10527
|
-
const
|
|
10528
|
-
class
|
|
10527
|
+
const gI = new pI();
|
|
10528
|
+
class mI extends T {
|
|
10529
10529
|
constructor() {
|
|
10530
10530
|
super("socket.chat.ChatChannel", [
|
|
10531
10531
|
{
|
|
@@ -10564,7 +10564,7 @@ class fI extends T {
|
|
|
10564
10564
|
T: 8
|
|
10565
10565
|
/*ScalarType.BOOL*/
|
|
10566
10566
|
},
|
|
10567
|
-
{ no: 6, name: "latest_message_and_unread_count", kind: "message", T: () =>
|
|
10567
|
+
{ no: 6, name: "latest_message_and_unread_count", kind: "message", T: () => gI },
|
|
10568
10568
|
{
|
|
10569
10569
|
no: 7,
|
|
10570
10570
|
name: "target_user_ids",
|
|
@@ -10576,16 +10576,16 @@ class fI extends T {
|
|
|
10576
10576
|
]);
|
|
10577
10577
|
}
|
|
10578
10578
|
}
|
|
10579
|
-
const
|
|
10580
|
-
class
|
|
10579
|
+
const fI = new mI();
|
|
10580
|
+
class SI extends T {
|
|
10581
10581
|
constructor() {
|
|
10582
10582
|
super("socket.chat.GetChatChannelResponse", [
|
|
10583
|
-
{ no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () =>
|
|
10583
|
+
{ no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => fI }
|
|
10584
10584
|
]);
|
|
10585
10585
|
}
|
|
10586
10586
|
}
|
|
10587
|
-
new
|
|
10588
|
-
class
|
|
10587
|
+
new SI();
|
|
10588
|
+
class vI extends T {
|
|
10589
10589
|
constructor() {
|
|
10590
10590
|
super("socket.chat.ChannelMember", [
|
|
10591
10591
|
{
|
|
@@ -10621,16 +10621,16 @@ class TI extends T {
|
|
|
10621
10621
|
]);
|
|
10622
10622
|
}
|
|
10623
10623
|
}
|
|
10624
|
-
const
|
|
10625
|
-
class
|
|
10624
|
+
const TI = new vI();
|
|
10625
|
+
class yI extends T {
|
|
10626
10626
|
constructor() {
|
|
10627
10627
|
super("socket.chat.GetChatChannelMembersResponse", [
|
|
10628
|
-
{ no: 1, name: "channel_members", kind: "message", repeat: 1, T: () =>
|
|
10628
|
+
{ no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => TI }
|
|
10629
10629
|
]);
|
|
10630
10630
|
}
|
|
10631
10631
|
}
|
|
10632
|
-
new
|
|
10633
|
-
class
|
|
10632
|
+
new yI();
|
|
10633
|
+
class EI extends T {
|
|
10634
10634
|
constructor() {
|
|
10635
10635
|
super("socket.plugin.AddPluginRequest", [
|
|
10636
10636
|
{
|
|
@@ -10650,8 +10650,8 @@ class PI extends T {
|
|
|
10650
10650
|
]);
|
|
10651
10651
|
}
|
|
10652
10652
|
}
|
|
10653
|
-
new
|
|
10654
|
-
class
|
|
10653
|
+
new EI();
|
|
10654
|
+
class PI extends T {
|
|
10655
10655
|
constructor() {
|
|
10656
10656
|
super("socket.plugin.RemovePluginRequest", [
|
|
10657
10657
|
{
|
|
@@ -10671,8 +10671,8 @@ class _I extends T {
|
|
|
10671
10671
|
]);
|
|
10672
10672
|
}
|
|
10673
10673
|
}
|
|
10674
|
-
new
|
|
10675
|
-
class
|
|
10674
|
+
new PI();
|
|
10675
|
+
class _I extends T {
|
|
10676
10676
|
constructor() {
|
|
10677
10677
|
super("socket.plugin.EnablePluginForRoomRequest", [
|
|
10678
10678
|
{
|
|
@@ -10685,8 +10685,8 @@ class CI extends T {
|
|
|
10685
10685
|
]);
|
|
10686
10686
|
}
|
|
10687
10687
|
}
|
|
10688
|
-
new
|
|
10689
|
-
class
|
|
10688
|
+
new _I();
|
|
10689
|
+
class CI extends T {
|
|
10690
10690
|
constructor() {
|
|
10691
10691
|
super("socket.plugin.DisablePluginForRoomRequest", [
|
|
10692
10692
|
{
|
|
@@ -10699,8 +10699,8 @@ class wI extends T {
|
|
|
10699
10699
|
]);
|
|
10700
10700
|
}
|
|
10701
10701
|
}
|
|
10702
|
-
new
|
|
10703
|
-
class
|
|
10702
|
+
new CI();
|
|
10703
|
+
class wI extends T {
|
|
10704
10704
|
constructor() {
|
|
10705
10705
|
super("socket.plugin.EnablePluginForPeersRequest", [
|
|
10706
10706
|
{
|
|
@@ -10721,8 +10721,8 @@ class RI extends T {
|
|
|
10721
10721
|
]);
|
|
10722
10722
|
}
|
|
10723
10723
|
}
|
|
10724
|
-
new
|
|
10725
|
-
class
|
|
10724
|
+
new wI();
|
|
10725
|
+
class RI extends T {
|
|
10726
10726
|
constructor() {
|
|
10727
10727
|
super("socket.plugin.DisablePluginForPeersRequest", [
|
|
10728
10728
|
{
|
|
@@ -10743,8 +10743,8 @@ class bI extends T {
|
|
|
10743
10743
|
]);
|
|
10744
10744
|
}
|
|
10745
10745
|
}
|
|
10746
|
-
new
|
|
10747
|
-
class
|
|
10746
|
+
new RI();
|
|
10747
|
+
class bI extends T {
|
|
10748
10748
|
constructor() {
|
|
10749
10749
|
super("socket.plugin.PluginEventToRoomRequest", [
|
|
10750
10750
|
{
|
|
@@ -10764,8 +10764,8 @@ class kI extends T {
|
|
|
10764
10764
|
]);
|
|
10765
10765
|
}
|
|
10766
10766
|
}
|
|
10767
|
-
new
|
|
10768
|
-
class
|
|
10767
|
+
new bI();
|
|
10768
|
+
class kI extends T {
|
|
10769
10769
|
constructor() {
|
|
10770
10770
|
super("socket.plugin.PluginEventToPeersRequest", [
|
|
10771
10771
|
{
|
|
@@ -10793,8 +10793,8 @@ class AI extends T {
|
|
|
10793
10793
|
]);
|
|
10794
10794
|
}
|
|
10795
10795
|
}
|
|
10796
|
-
new
|
|
10797
|
-
class
|
|
10796
|
+
new kI();
|
|
10797
|
+
class AI extends T {
|
|
10798
10798
|
constructor() {
|
|
10799
10799
|
super("socket.plugin.StoreKeys", [
|
|
10800
10800
|
{
|
|
@@ -10815,8 +10815,8 @@ class II extends T {
|
|
|
10815
10815
|
]);
|
|
10816
10816
|
}
|
|
10817
10817
|
}
|
|
10818
|
-
const jh = new
|
|
10819
|
-
class
|
|
10818
|
+
const jh = new AI();
|
|
10819
|
+
class II extends T {
|
|
10820
10820
|
constructor() {
|
|
10821
10821
|
super("socket.plugin.PluginStoreInsertKeysRequest", [
|
|
10822
10822
|
{
|
|
@@ -10837,8 +10837,8 @@ class MI extends T {
|
|
|
10837
10837
|
]);
|
|
10838
10838
|
}
|
|
10839
10839
|
}
|
|
10840
|
-
const
|
|
10841
|
-
class
|
|
10840
|
+
const MI = new II();
|
|
10841
|
+
class DI extends T {
|
|
10842
10842
|
constructor() {
|
|
10843
10843
|
super("socket.plugin.PluginStoreGetKeysRequest", [
|
|
10844
10844
|
{
|
|
@@ -10859,8 +10859,8 @@ class OI extends T {
|
|
|
10859
10859
|
]);
|
|
10860
10860
|
}
|
|
10861
10861
|
}
|
|
10862
|
-
const
|
|
10863
|
-
class
|
|
10862
|
+
const OI = new DI();
|
|
10863
|
+
class NI extends T {
|
|
10864
10864
|
constructor() {
|
|
10865
10865
|
super("socket.plugin.PluginStoreDeleteKeysRequest", [
|
|
10866
10866
|
{
|
|
@@ -10881,8 +10881,8 @@ class LI extends T {
|
|
|
10881
10881
|
]);
|
|
10882
10882
|
}
|
|
10883
10883
|
}
|
|
10884
|
-
const
|
|
10885
|
-
class
|
|
10884
|
+
const LI = new NI();
|
|
10885
|
+
class VI extends T {
|
|
10886
10886
|
constructor() {
|
|
10887
10887
|
super("socket.plugin.PluginStoreDeleteRequest", [
|
|
10888
10888
|
{
|
|
@@ -10902,8 +10902,8 @@ class xI extends T {
|
|
|
10902
10902
|
]);
|
|
10903
10903
|
}
|
|
10904
10904
|
}
|
|
10905
|
-
new
|
|
10906
|
-
class
|
|
10905
|
+
new VI();
|
|
10906
|
+
class xI extends T {
|
|
10907
10907
|
constructor() {
|
|
10908
10908
|
super("socket.plugin.EnablePluginResponse", [
|
|
10909
10909
|
{
|
|
@@ -10923,16 +10923,16 @@ class UI extends T {
|
|
|
10923
10923
|
]);
|
|
10924
10924
|
}
|
|
10925
10925
|
}
|
|
10926
|
-
const
|
|
10927
|
-
class
|
|
10926
|
+
const UI = new xI();
|
|
10927
|
+
class $I extends T {
|
|
10928
10928
|
constructor() {
|
|
10929
10929
|
super("socket.plugin.EnablePluginsResponse", [
|
|
10930
|
-
{ no: 1, name: "plugins", kind: "message", repeat: 1, T: () =>
|
|
10930
|
+
{ no: 1, name: "plugins", kind: "message", repeat: 1, T: () => UI }
|
|
10931
10931
|
]);
|
|
10932
10932
|
}
|
|
10933
10933
|
}
|
|
10934
|
-
new
|
|
10935
|
-
class
|
|
10934
|
+
new $I();
|
|
10935
|
+
class BI extends T {
|
|
10936
10936
|
constructor() {
|
|
10937
10937
|
super("socket.plugin.DisablePluginResponse", [
|
|
10938
10938
|
{
|
|
@@ -10952,8 +10952,8 @@ class HI extends T {
|
|
|
10952
10952
|
]);
|
|
10953
10953
|
}
|
|
10954
10954
|
}
|
|
10955
|
-
new
|
|
10956
|
-
class
|
|
10955
|
+
new BI();
|
|
10956
|
+
class HI extends T {
|
|
10957
10957
|
constructor() {
|
|
10958
10958
|
super("socket.plugin.PluginStoreItem", [
|
|
10959
10959
|
{
|
|
@@ -10987,8 +10987,8 @@ class FI extends T {
|
|
|
10987
10987
|
]);
|
|
10988
10988
|
}
|
|
10989
10989
|
}
|
|
10990
|
-
const
|
|
10991
|
-
class
|
|
10990
|
+
const FI = new HI();
|
|
10991
|
+
class qI extends T {
|
|
10992
10992
|
constructor() {
|
|
10993
10993
|
super("socket.plugin.PluginStoreResponse", [
|
|
10994
10994
|
{
|
|
@@ -11005,12 +11005,12 @@ class jI extends T {
|
|
|
11005
11005
|
T: 9
|
|
11006
11006
|
/*ScalarType.STRING*/
|
|
11007
11007
|
},
|
|
11008
|
-
{ no: 3, name: "store_items", kind: "message", repeat: 1, T: () =>
|
|
11008
|
+
{ no: 3, name: "store_items", kind: "message", repeat: 1, T: () => FI }
|
|
11009
11009
|
]);
|
|
11010
11010
|
}
|
|
11011
11011
|
}
|
|
11012
|
-
const mg = new
|
|
11013
|
-
class
|
|
11012
|
+
const mg = new qI();
|
|
11013
|
+
class jI extends T {
|
|
11014
11014
|
constructor() {
|
|
11015
11015
|
super("socket.plugin.PluginEventResponse", [
|
|
11016
11016
|
{
|
|
@@ -11030,8 +11030,8 @@ class GI extends T {
|
|
|
11030
11030
|
]);
|
|
11031
11031
|
}
|
|
11032
11032
|
}
|
|
11033
|
-
new
|
|
11034
|
-
class
|
|
11033
|
+
new jI();
|
|
11034
|
+
class GI extends T {
|
|
11035
11035
|
constructor() {
|
|
11036
11036
|
super("socket.livestreaming.LiveStreamingEvent", [
|
|
11037
11037
|
{
|
|
@@ -11108,8 +11108,8 @@ class WI extends T {
|
|
|
11108
11108
|
]);
|
|
11109
11109
|
}
|
|
11110
11110
|
}
|
|
11111
|
-
const fg = new
|
|
11112
|
-
class
|
|
11111
|
+
const fg = new GI();
|
|
11112
|
+
class WI extends T {
|
|
11113
11113
|
constructor() {
|
|
11114
11114
|
super("socket.livestreaming.GetStagePeersResponse", [
|
|
11115
11115
|
{
|
|
@@ -11123,8 +11123,8 @@ class JI extends T {
|
|
|
11123
11123
|
]);
|
|
11124
11124
|
}
|
|
11125
11125
|
}
|
|
11126
|
-
const Sg = new
|
|
11127
|
-
class
|
|
11126
|
+
const Sg = new WI();
|
|
11127
|
+
class JI extends T {
|
|
11128
11128
|
constructor() {
|
|
11129
11129
|
super("socket.livestreaming.StageRequest", [
|
|
11130
11130
|
{
|
|
@@ -11151,16 +11151,16 @@ class KI extends T {
|
|
|
11151
11151
|
]);
|
|
11152
11152
|
}
|
|
11153
11153
|
}
|
|
11154
|
-
const
|
|
11155
|
-
class
|
|
11154
|
+
const KI = new JI();
|
|
11155
|
+
class zI extends T {
|
|
11156
11156
|
constructor() {
|
|
11157
11157
|
super("socket.livestreaming.GetStageRequestsResponse", [
|
|
11158
|
-
{ no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () =>
|
|
11158
|
+
{ no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => KI }
|
|
11159
11159
|
]);
|
|
11160
11160
|
}
|
|
11161
11161
|
}
|
|
11162
|
-
const vu = new
|
|
11163
|
-
class
|
|
11162
|
+
const vu = new zI();
|
|
11163
|
+
class YI extends T {
|
|
11164
11164
|
constructor() {
|
|
11165
11165
|
super("socket.livestreaming.GrantStageAccessRequest", [
|
|
11166
11166
|
{
|
|
@@ -11174,8 +11174,8 @@ class QI extends T {
|
|
|
11174
11174
|
]);
|
|
11175
11175
|
}
|
|
11176
11176
|
}
|
|
11177
|
-
const
|
|
11178
|
-
class
|
|
11177
|
+
const QI = new YI();
|
|
11178
|
+
class XI extends T {
|
|
11179
11179
|
constructor() {
|
|
11180
11180
|
super("socket.livestreaming.DenyStageAccessRequest", [
|
|
11181
11181
|
{
|
|
@@ -11189,8 +11189,8 @@ class ZI extends T {
|
|
|
11189
11189
|
]);
|
|
11190
11190
|
}
|
|
11191
11191
|
}
|
|
11192
|
-
const
|
|
11193
|
-
class
|
|
11192
|
+
const ZI = new XI();
|
|
11193
|
+
class e0 extends T {
|
|
11194
11194
|
constructor() {
|
|
11195
11195
|
super("socket.livestreaming.LeaveStageRequest", [
|
|
11196
11196
|
{
|
|
@@ -11204,8 +11204,8 @@ class t0 extends T {
|
|
|
11204
11204
|
]);
|
|
11205
11205
|
}
|
|
11206
11206
|
}
|
|
11207
|
-
const vg = new
|
|
11208
|
-
class
|
|
11207
|
+
const vg = new e0();
|
|
11208
|
+
class t0 extends T {
|
|
11209
11209
|
constructor() {
|
|
11210
11210
|
super("socket.polls.Poll", [
|
|
11211
11211
|
{
|
|
@@ -11236,7 +11236,7 @@ class s0 extends T {
|
|
|
11236
11236
|
T: 9
|
|
11237
11237
|
/*ScalarType.STRING*/
|
|
11238
11238
|
},
|
|
11239
|
-
{ no: 5, name: "options", kind: "message", repeat: 1, T: () =>
|
|
11239
|
+
{ no: 5, name: "options", kind: "message", repeat: 1, T: () => r0 },
|
|
11240
11240
|
{
|
|
11241
11241
|
no: 6,
|
|
11242
11242
|
name: "hide_votes",
|
|
@@ -11262,8 +11262,8 @@ class s0 extends T {
|
|
|
11262
11262
|
]);
|
|
11263
11263
|
}
|
|
11264
11264
|
}
|
|
11265
|
-
const Df = new
|
|
11266
|
-
class
|
|
11265
|
+
const Df = new t0();
|
|
11266
|
+
class s0 extends T {
|
|
11267
11267
|
constructor() {
|
|
11268
11268
|
super("socket.polls.PollOption", [
|
|
11269
11269
|
{
|
|
@@ -11282,12 +11282,12 @@ class r0 extends T {
|
|
|
11282
11282
|
L: 2
|
|
11283
11283
|
/*LongType.NUMBER*/
|
|
11284
11284
|
},
|
|
11285
|
-
{ no: 3, name: "votes", kind: "message", repeat: 1, T: () =>
|
|
11285
|
+
{ no: 3, name: "votes", kind: "message", repeat: 1, T: () => n0 }
|
|
11286
11286
|
]);
|
|
11287
11287
|
}
|
|
11288
11288
|
}
|
|
11289
|
-
const
|
|
11290
|
-
class
|
|
11289
|
+
const r0 = new s0();
|
|
11290
|
+
class i0 extends T {
|
|
11291
11291
|
constructor() {
|
|
11292
11292
|
super("socket.polls.PollVote", [
|
|
11293
11293
|
{
|
|
@@ -11307,8 +11307,8 @@ class n0 extends T {
|
|
|
11307
11307
|
]);
|
|
11308
11308
|
}
|
|
11309
11309
|
}
|
|
11310
|
-
const
|
|
11311
|
-
class
|
|
11310
|
+
const n0 = new i0();
|
|
11311
|
+
class a0 extends T {
|
|
11312
11312
|
constructor() {
|
|
11313
11313
|
super("socket.polls.NewPollRequest", [
|
|
11314
11314
|
{
|
|
@@ -11359,8 +11359,8 @@ class o0 extends T {
|
|
|
11359
11359
|
]);
|
|
11360
11360
|
}
|
|
11361
11361
|
}
|
|
11362
|
-
const
|
|
11363
|
-
class
|
|
11362
|
+
const o0 = new a0();
|
|
11363
|
+
class c0 extends T {
|
|
11364
11364
|
constructor() {
|
|
11365
11365
|
super("socket.polls.VotePollRequest", [
|
|
11366
11366
|
{
|
|
@@ -11381,24 +11381,24 @@ class d0 extends T {
|
|
|
11381
11381
|
]);
|
|
11382
11382
|
}
|
|
11383
11383
|
}
|
|
11384
|
-
const
|
|
11385
|
-
class
|
|
11384
|
+
const d0 = new c0();
|
|
11385
|
+
class l0 extends T {
|
|
11386
11386
|
constructor() {
|
|
11387
11387
|
super("socket.polls.UpdatePollResponse", [
|
|
11388
11388
|
{ no: 1, name: "poll", kind: "message", T: () => Df }
|
|
11389
11389
|
]);
|
|
11390
11390
|
}
|
|
11391
11391
|
}
|
|
11392
|
-
const Tu = new
|
|
11393
|
-
class
|
|
11392
|
+
const Tu = new l0();
|
|
11393
|
+
class u0 extends T {
|
|
11394
11394
|
constructor() {
|
|
11395
11395
|
super("socket.polls.GetPollsResponse", [
|
|
11396
11396
|
{ no: 1, name: "polls", kind: "message", repeat: 1, T: () => Df }
|
|
11397
11397
|
]);
|
|
11398
11398
|
}
|
|
11399
11399
|
}
|
|
11400
|
-
const
|
|
11401
|
-
class
|
|
11400
|
+
const h0 = new u0();
|
|
11401
|
+
class p0 extends T {
|
|
11402
11402
|
constructor() {
|
|
11403
11403
|
super("socket.recording.RecordingEvent", [
|
|
11404
11404
|
{
|
|
@@ -11419,8 +11419,8 @@ class g0 extends T {
|
|
|
11419
11419
|
]);
|
|
11420
11420
|
}
|
|
11421
11421
|
}
|
|
11422
|
-
const Tg = new
|
|
11423
|
-
class
|
|
11422
|
+
const Tg = new p0();
|
|
11423
|
+
class g0 extends T {
|
|
11424
11424
|
constructor() {
|
|
11425
11425
|
super("google.protobuf.Timestamp", [
|
|
11426
11426
|
{
|
|
@@ -11495,8 +11495,8 @@ class m0 extends T {
|
|
|
11495
11495
|
return r || (r = this.create()), r.seconds = Wa.from(a / 1e3).toBigInt(), r.nanos = 0, i[7] && (r.nanos = parseInt("1" + i[7] + "0".repeat(9 - i[7].length)) - 1e9), r;
|
|
11496
11496
|
}
|
|
11497
11497
|
}
|
|
11498
|
-
new
|
|
11499
|
-
class
|
|
11498
|
+
new g0();
|
|
11499
|
+
class m0 extends T {
|
|
11500
11500
|
constructor() {
|
|
11501
11501
|
super("common.BaseHubMessage", [
|
|
11502
11502
|
{
|
|
@@ -11584,16 +11584,16 @@ class f0 extends T {
|
|
|
11584
11584
|
]);
|
|
11585
11585
|
}
|
|
11586
11586
|
}
|
|
11587
|
-
const Uu = new
|
|
11588
|
-
class
|
|
11587
|
+
const Uu = new m0();
|
|
11588
|
+
class f0 extends T {
|
|
11589
11589
|
constructor() {
|
|
11590
11590
|
super("common.BulkedHubMessage", [
|
|
11591
11591
|
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => Uu }
|
|
11592
11592
|
]);
|
|
11593
11593
|
}
|
|
11594
11594
|
}
|
|
11595
|
-
new
|
|
11596
|
-
class
|
|
11595
|
+
new f0();
|
|
11596
|
+
class S0 extends T {
|
|
11597
11597
|
constructor() {
|
|
11598
11598
|
super("common.CFWorkersResponse", [
|
|
11599
11599
|
{ no: 1, name: "responses", kind: "message", repeat: 1, T: () => Uu },
|
|
@@ -11601,8 +11601,8 @@ class v0 extends T {
|
|
|
11601
11601
|
]);
|
|
11602
11602
|
}
|
|
11603
11603
|
}
|
|
11604
|
-
new
|
|
11605
|
-
const
|
|
11604
|
+
new S0();
|
|
11605
|
+
const v0 = 0, T0 = 1, y0 = 2, E0 = 3, P0 = 5, _0 = {
|
|
11606
11606
|
getPeerInfo: 0,
|
|
11607
11607
|
updatePeerInfo: 1,
|
|
11608
11608
|
getRoomPeersInfo: 2,
|
|
@@ -11660,7 +11660,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
|
|
|
11660
11660
|
recordingPaused: 42,
|
|
11661
11661
|
getRoomStageState: 43,
|
|
11662
11662
|
livestreamingInvoked: 44
|
|
11663
|
-
},
|
|
11663
|
+
}, C0 = {
|
|
11664
11664
|
getMessages: 0,
|
|
11665
11665
|
sendMessageToRoom: 1,
|
|
11666
11666
|
sendMessageToPeers: 2,
|
|
@@ -11669,7 +11669,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
|
|
|
11669
11669
|
getPaginatedMessages: 5,
|
|
11670
11670
|
searchChannelMessages: 7,
|
|
11671
11671
|
pinMessage: 10
|
|
11672
|
-
},
|
|
11672
|
+
}, w0 = {
|
|
11673
11673
|
getPlugins: 0,
|
|
11674
11674
|
addPlugin: 1,
|
|
11675
11675
|
enablePluginForRoom: 2,
|
|
@@ -11683,7 +11683,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
|
|
|
11683
11683
|
storeGetKeys: 10,
|
|
11684
11684
|
storeDeleteKeys: 11,
|
|
11685
11685
|
storeDelete: 12
|
|
11686
|
-
},
|
|
11686
|
+
}, R0 = {
|
|
11687
11687
|
createPoll: 0,
|
|
11688
11688
|
getPolls: 1,
|
|
11689
11689
|
votePoll: 2,
|
|
@@ -11725,7 +11725,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
|
|
|
11725
11725
|
hostControlAllPeers: 94,
|
|
11726
11726
|
// only for CF
|
|
11727
11727
|
audioActivity: 100
|
|
11728
|
-
},
|
|
11728
|
+
}, b0 = {
|
|
11729
11729
|
getUserPresets: 0,
|
|
11730
11730
|
updateUserPreset: 1
|
|
11731
11731
|
};
|
|
@@ -11735,18 +11735,18 @@ function jc(s, t) {
|
|
|
11735
11735
|
function Nf(s, t) {
|
|
11736
11736
|
return Object.keys(s).reduce((e, r) => (e[r] = t | s[r], e), {});
|
|
11737
11737
|
}
|
|
11738
|
-
const B = jc(
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
), Ls = jc(
|
|
11742
|
-
|
|
11743
|
-
|
|
11738
|
+
const B = jc(v0, _0), Ge = jc(T0, C0), Ns = jc(
|
|
11739
|
+
y0,
|
|
11740
|
+
w0
|
|
11741
|
+
), Ls = jc(E0, R0), Pr = Nf(Of, 16777216), hs = Nf(Of, 50331648), dd = jc(
|
|
11742
|
+
P0,
|
|
11743
|
+
b0
|
|
11744
11744
|
);
|
|
11745
|
-
var
|
|
11746
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
11745
|
+
var k0 = Object.defineProperty, A0 = Object.getOwnPropertyDescriptor, si = (s, t, e, r) => {
|
|
11746
|
+
for (var i = r > 1 ? void 0 : r ? A0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
11747
11747
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
11748
|
-
return r && i &&
|
|
11749
|
-
},
|
|
11748
|
+
return r && i && k0(t, e, i), i;
|
|
11749
|
+
}, Qt = /* @__PURE__ */ ((s) => (s[s.TEXT = 0] = "TEXT", s[s.IMAGE = 1] = "IMAGE", s[s.FILE = 2] = "FILE", s[s.CUSTOM = 3] = "CUSTOM", s))(Qt || {}), Rt, kn;
|
|
11750
11750
|
class hr {
|
|
11751
11751
|
constructor(t, e) {
|
|
11752
11752
|
m(this, Rt, void 0);
|
|
@@ -11780,9 +11780,9 @@ class hr {
|
|
|
11780
11780
|
reversed: r
|
|
11781
11781
|
}, i && { filters: { filters: i } }), o = yield n(this, Rt).sendMessagePromise(
|
|
11782
11782
|
Ge.getPaginatedMessages,
|
|
11783
|
-
|
|
11783
|
+
UA.toBinary(a)
|
|
11784
11784
|
);
|
|
11785
|
-
return o.payload ?
|
|
11785
|
+
return o.payload ? BA.fromBinary(
|
|
11786
11786
|
o.payload
|
|
11787
11787
|
) : {
|
|
11788
11788
|
messages: [],
|
|
@@ -11797,7 +11797,7 @@ class hr {
|
|
|
11797
11797
|
};
|
|
11798
11798
|
n(this, Rt).sendMessage(
|
|
11799
11799
|
Ge.sendMessageToRoom,
|
|
11800
|
-
|
|
11800
|
+
qA.toBinary(r)
|
|
11801
11801
|
);
|
|
11802
11802
|
}
|
|
11803
11803
|
sendMessageToPeers(t, e, r) {
|
|
@@ -11808,7 +11808,7 @@ class hr {
|
|
|
11808
11808
|
};
|
|
11809
11809
|
n(this, Rt).sendMessage(
|
|
11810
11810
|
Ge.sendMessageToPeers,
|
|
11811
|
-
|
|
11811
|
+
WA.toBinary(i)
|
|
11812
11812
|
);
|
|
11813
11813
|
}
|
|
11814
11814
|
sendMessage(t, e, r) {
|
|
@@ -11828,7 +11828,7 @@ class hr {
|
|
|
11828
11828
|
i !== void 0 && (a.pinned = i);
|
|
11829
11829
|
const o = yield n(this, Rt).sendMessagePromise(
|
|
11830
11830
|
Ge.editMessage,
|
|
11831
|
-
|
|
11831
|
+
QA.toBinary(a)
|
|
11832
11832
|
);
|
|
11833
11833
|
return sd.fromBinary(o.payload).message;
|
|
11834
11834
|
});
|
|
@@ -11839,7 +11839,7 @@ class hr {
|
|
|
11839
11839
|
chatId: t
|
|
11840
11840
|
}, r = yield n(this, Rt).sendMessagePromise(
|
|
11841
11841
|
Ge.deleteMessage,
|
|
11842
|
-
|
|
11842
|
+
rI.toBinary(e)
|
|
11843
11843
|
);
|
|
11844
11844
|
return { id: rd.fromBinary(r.payload).chatId };
|
|
11845
11845
|
});
|
|
@@ -11857,7 +11857,7 @@ class hr {
|
|
|
11857
11857
|
try {
|
|
11858
11858
|
const d = yield n(this, Rt).sendMessagePromise(
|
|
11859
11859
|
Ge.searchChannelMessages,
|
|
11860
|
-
|
|
11860
|
+
aI.toBinary(r)
|
|
11861
11861
|
);
|
|
11862
11862
|
return Mf.fromBinary(d.payload).messages;
|
|
11863
11863
|
} catch (d) {
|
|
@@ -11872,7 +11872,7 @@ class hr {
|
|
|
11872
11872
|
pinned: e
|
|
11873
11873
|
}, i = yield n(this, Rt).sendMessagePromise(
|
|
11874
11874
|
Ge.pinMessage,
|
|
11875
|
-
|
|
11875
|
+
ZA.toBinary(r)
|
|
11876
11876
|
);
|
|
11877
11877
|
return td.fromBinary(i.payload);
|
|
11878
11878
|
});
|
|
@@ -11953,7 +11953,7 @@ si([
|
|
|
11953
11953
|
si([
|
|
11954
11954
|
P.trace("SocketService.searchMessages")
|
|
11955
11955
|
], hr.prototype, "searchMessages", 1);
|
|
11956
|
-
function
|
|
11956
|
+
function I0(s) {
|
|
11957
11957
|
return s.replace(
|
|
11958
11958
|
/([-_]\w)/g,
|
|
11959
11959
|
(t) => t[1].toUpperCase()
|
|
@@ -11968,11 +11968,11 @@ function bs(s) {
|
|
|
11968
11968
|
);
|
|
11969
11969
|
const t = {};
|
|
11970
11970
|
return Object.keys(s).forEach((e) => {
|
|
11971
|
-
const r = tm(e) ? e :
|
|
11971
|
+
const r = tm(e) ? e : I0(e);
|
|
11972
11972
|
t[r] = bs(s[e]);
|
|
11973
11973
|
}), t;
|
|
11974
11974
|
}
|
|
11975
|
-
function
|
|
11975
|
+
function M0(s) {
|
|
11976
11976
|
return s.replace(
|
|
11977
11977
|
/[A-Z]/g,
|
|
11978
11978
|
(t) => `_${t.toLowerCase()}`
|
|
@@ -11987,7 +11987,7 @@ function Lf(s) {
|
|
|
11987
11987
|
);
|
|
11988
11988
|
const t = {};
|
|
11989
11989
|
return Object.keys(s).forEach((e) => {
|
|
11990
|
-
const r = tm(e) ? e :
|
|
11990
|
+
const r = tm(e) ? e : M0(e);
|
|
11991
11991
|
t[r] = s[e];
|
|
11992
11992
|
}), t;
|
|
11993
11993
|
}
|
|
@@ -12101,8 +12101,8 @@ class yg {
|
|
|
12101
12101
|
});
|
|
12102
12102
|
}
|
|
12103
12103
|
}
|
|
12104
|
-
const
|
|
12105
|
-
class
|
|
12104
|
+
const D0 = 3, O0 = 30, N0 = 8e3;
|
|
12105
|
+
class L0 {
|
|
12106
12106
|
constructor(t, e) {
|
|
12107
12107
|
p(this, "fetchClient");
|
|
12108
12108
|
p(this, "requests");
|
|
@@ -12116,9 +12116,9 @@ class V0 {
|
|
|
12116
12116
|
p(this, "context");
|
|
12117
12117
|
this.context = t;
|
|
12118
12118
|
const {
|
|
12119
|
-
timeout: r =
|
|
12120
|
-
retry: i =
|
|
12121
|
-
retryDelay: a =
|
|
12119
|
+
timeout: r = N0,
|
|
12120
|
+
retry: i = D0,
|
|
12121
|
+
retryDelay: a = O0,
|
|
12122
12122
|
baseURL: o = ui.apiBase.prod,
|
|
12123
12123
|
authToken: c,
|
|
12124
12124
|
cachedUserDetails: d
|
|
@@ -12198,12 +12198,12 @@ class V0 {
|
|
|
12198
12198
|
this.organizationId = t;
|
|
12199
12199
|
}
|
|
12200
12200
|
}
|
|
12201
|
-
var
|
|
12202
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
12201
|
+
var V0 = Object.defineProperty, x0 = Object.getOwnPropertyDescriptor, pr = (s, t, e, r) => {
|
|
12202
|
+
for (var i = r > 1 ? void 0 : r ? x0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
12203
12203
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
12204
|
-
return r && i &&
|
|
12204
|
+
return r && i && V0(t, e, i), i;
|
|
12205
12205
|
};
|
|
12206
|
-
class Is extends
|
|
12206
|
+
class Is extends L0 {
|
|
12207
12207
|
constructor(e, r) {
|
|
12208
12208
|
super(e, r);
|
|
12209
12209
|
/**
|
|
@@ -12382,7 +12382,7 @@ pr([
|
|
|
12382
12382
|
P.trace("APIClient.getActiveTranscript")
|
|
12383
12383
|
], Is.prototype, "getActiveTranscript", 1);
|
|
12384
12384
|
let $u;
|
|
12385
|
-
function
|
|
12385
|
+
function U0(s, t) {
|
|
12386
12386
|
return $u = new Is(s, t), $u;
|
|
12387
12387
|
}
|
|
12388
12388
|
function Nt() {
|
|
@@ -12404,14 +12404,14 @@ function Ut(s, t) {
|
|
|
12404
12404
|
}, i;
|
|
12405
12405
|
};
|
|
12406
12406
|
}
|
|
12407
|
-
var
|
|
12408
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
12407
|
+
var $0 = Object.defineProperty, B0 = Object.getOwnPropertyDescriptor, Ms = (s, t, e, r) => {
|
|
12408
|
+
for (var i = r > 1 ? void 0 : r ? B0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
12409
12409
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
12410
|
-
return r && i &&
|
|
12410
|
+
return r && i && $0(t, e, i), i;
|
|
12411
12411
|
};
|
|
12412
|
-
const
|
|
12412
|
+
const H0 = ["text", "image", "file", "custom", "poll"], ld = { maxInvocations: 180, period: 60 };
|
|
12413
12413
|
var se, pi, ze, An, xd, Vf, ko, Bu, xg;
|
|
12414
|
-
let
|
|
12414
|
+
let Zt = (xg = class extends xt {
|
|
12415
12415
|
constructor(t, e, r, i) {
|
|
12416
12416
|
const a = t.getValue("logger");
|
|
12417
12417
|
super(a);
|
|
@@ -12498,7 +12498,7 @@ let Xt = (xg = class extends xt {
|
|
|
12498
12498
|
let r = [];
|
|
12499
12499
|
e && e.length > 0 && (e.push(n(this, se).id), r = n(this, pi).joined.toArray().filter((h) => e.includes(h.id)).map((h) => h.userId), r.push(n(this, se).userId)), n(this, ze).sendMessage(
|
|
12500
12500
|
t,
|
|
12501
|
-
|
|
12501
|
+
Qt.TEXT,
|
|
12502
12502
|
e
|
|
12503
12503
|
);
|
|
12504
12504
|
});
|
|
@@ -12534,7 +12534,7 @@ let Xt = (xg = class extends xt {
|
|
|
12534
12534
|
let y = [];
|
|
12535
12535
|
e && e.length > 0 && (e.push(n(this, se).id), y = n(this, pi).joined.toArray().filter((E) => e.includes(E.id)).map((E) => E.userId), y.push(n(this, se).userId)), n(this, ze).sendMessage(
|
|
12536
12536
|
g,
|
|
12537
|
-
|
|
12537
|
+
Qt.IMAGE,
|
|
12538
12538
|
e
|
|
12539
12539
|
);
|
|
12540
12540
|
} catch (h) {
|
|
@@ -12575,7 +12575,7 @@ let Xt = (xg = class extends xt {
|
|
|
12575
12575
|
});
|
|
12576
12576
|
n(this, ze).sendMessage(
|
|
12577
12577
|
y,
|
|
12578
|
-
|
|
12578
|
+
Qt.FILE,
|
|
12579
12579
|
e
|
|
12580
12580
|
);
|
|
12581
12581
|
} catch (l) {
|
|
@@ -12643,7 +12643,7 @@ let Xt = (xg = class extends xt {
|
|
|
12643
12643
|
});
|
|
12644
12644
|
n(this, ze).sendMessage(
|
|
12645
12645
|
JSON.stringify(i),
|
|
12646
|
-
|
|
12646
|
+
Qt.CUSTOM,
|
|
12647
12647
|
e
|
|
12648
12648
|
);
|
|
12649
12649
|
});
|
|
@@ -12677,7 +12677,7 @@ let Xt = (xg = class extends xt {
|
|
|
12677
12677
|
n(this, ze).editMessage(
|
|
12678
12678
|
t,
|
|
12679
12679
|
e,
|
|
12680
|
-
|
|
12680
|
+
Qt.TEXT
|
|
12681
12681
|
);
|
|
12682
12682
|
});
|
|
12683
12683
|
}
|
|
@@ -12703,7 +12703,7 @@ let Xt = (xg = class extends xt {
|
|
|
12703
12703
|
yield d.uploadFile(e, h), n(this, ze).editMessage(
|
|
12704
12704
|
t,
|
|
12705
12705
|
l,
|
|
12706
|
-
|
|
12706
|
+
Qt.IMAGE
|
|
12707
12707
|
);
|
|
12708
12708
|
} catch (d) {
|
|
12709
12709
|
throw new w("Error editing image message.", "0500", this.logger);
|
|
@@ -12730,7 +12730,7 @@ let Xt = (xg = class extends xt {
|
|
|
12730
12730
|
name: e.name,
|
|
12731
12731
|
size: "size" in e ? e.size : 0
|
|
12732
12732
|
}),
|
|
12733
|
-
|
|
12733
|
+
Qt.FILE
|
|
12734
12734
|
);
|
|
12735
12735
|
} catch (c) {
|
|
12736
12736
|
throw new w("Error editing file message.", "0500", this.logger);
|
|
@@ -12860,41 +12860,41 @@ let Xt = (xg = class extends xt {
|
|
|
12860
12860
|
Ms([
|
|
12861
12861
|
P.trace("Chat.sendTextMessage"),
|
|
12862
12862
|
Ut(ld)
|
|
12863
|
-
],
|
|
12863
|
+
], Zt.prototype, "sendTextMessage", 1);
|
|
12864
12864
|
Ms([
|
|
12865
12865
|
P.trace("Chat.sendImageMessage"),
|
|
12866
12866
|
Ut({ maxInvocations: 20, period: 60 })
|
|
12867
|
-
],
|
|
12867
|
+
], Zt.prototype, "sendImageMessage", 1);
|
|
12868
12868
|
Ms([
|
|
12869
12869
|
P.trace("Chat.sendFileMessage"),
|
|
12870
12870
|
Ut({ maxInvocations: 20, period: 60 })
|
|
12871
|
-
],
|
|
12871
|
+
], Zt.prototype, "sendFileMessage", 1);
|
|
12872
12872
|
Ms([
|
|
12873
12873
|
P.trace("Chat.sendMessage"),
|
|
12874
12874
|
Ut({ maxInvocations: 180, period: 60 })
|
|
12875
|
-
],
|
|
12875
|
+
], Zt.prototype, "sendMessage", 1);
|
|
12876
12876
|
Ms([
|
|
12877
12877
|
P.trace("Chat.editTextMessage")
|
|
12878
|
-
],
|
|
12878
|
+
], Zt.prototype, "editTextMessage", 1);
|
|
12879
12879
|
Ms([
|
|
12880
12880
|
P.trace("Chat.editImageMessage")
|
|
12881
|
-
],
|
|
12881
|
+
], Zt.prototype, "editImageMessage", 1);
|
|
12882
12882
|
Ms([
|
|
12883
12883
|
P.trace("Chat.editFileMessage")
|
|
12884
|
-
],
|
|
12884
|
+
], Zt.prototype, "editFileMessage", 1);
|
|
12885
12885
|
Ms([
|
|
12886
12886
|
P.trace("Chat.editMessage")
|
|
12887
|
-
],
|
|
12887
|
+
], Zt.prototype, "editMessage", 1);
|
|
12888
12888
|
Ms([
|
|
12889
12889
|
P.trace("Chat.deleteMessage")
|
|
12890
|
-
],
|
|
12891
|
-
|
|
12890
|
+
], Zt.prototype, "deleteMessage", 1);
|
|
12891
|
+
Zt = Ms([
|
|
12892
12892
|
rt("0500")
|
|
12893
|
-
],
|
|
12894
|
-
var
|
|
12895
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
12893
|
+
], Zt);
|
|
12894
|
+
var F0 = Object.defineProperty, q0 = Object.getOwnPropertyDescriptor, j0 = (s, t, e, r) => {
|
|
12895
|
+
for (var i = r > 1 ? void 0 : r ? q0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
12896
12896
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
12897
|
-
return r && i &&
|
|
12897
|
+
return r && i && F0(t, e, i), i;
|
|
12898
12898
|
}, gi, Ug;
|
|
12899
12899
|
const vr = (Ug = class {
|
|
12900
12900
|
constructor(s, t, e, r) {
|
|
@@ -12902,7 +12902,7 @@ const vr = (Ug = class {
|
|
|
12902
12902
|
p(this, "chatSocketHandler");
|
|
12903
12903
|
p(this, "self");
|
|
12904
12904
|
m(this, gi, void 0);
|
|
12905
|
-
f(this, gi, s), this.chatSocketHandler = t, this.chat = new
|
|
12905
|
+
f(this, gi, s), this.chatSocketHandler = t, this.chat = new Zt(
|
|
12906
12906
|
s,
|
|
12907
12907
|
t,
|
|
12908
12908
|
e,
|
|
@@ -12936,7 +12936,7 @@ const vr = (Ug = class {
|
|
|
12936
12936
|
static formatMessage(s) {
|
|
12937
12937
|
return z(L({}, s), {
|
|
12938
12938
|
time: new Date(s.time),
|
|
12939
|
-
type:
|
|
12939
|
+
type: H0[s.type]
|
|
12940
12940
|
});
|
|
12941
12941
|
}
|
|
12942
12942
|
/**
|
|
@@ -12965,20 +12965,20 @@ const vr = (Ug = class {
|
|
|
12965
12965
|
pinned: s.pinned
|
|
12966
12966
|
};
|
|
12967
12967
|
switch (e.type) {
|
|
12968
|
-
case
|
|
12968
|
+
case Qt.TEXT: {
|
|
12969
12969
|
e.message = s.payload;
|
|
12970
12970
|
break;
|
|
12971
12971
|
}
|
|
12972
|
-
case
|
|
12972
|
+
case Qt.IMAGE: {
|
|
12973
12973
|
e.link = s.payload;
|
|
12974
12974
|
break;
|
|
12975
12975
|
}
|
|
12976
|
-
case
|
|
12976
|
+
case Qt.FILE: {
|
|
12977
12977
|
const { link: r, name: i, size: a } = JSON.parse(s.payload);
|
|
12978
12978
|
e.link = r, e.name = i, e.size = a;
|
|
12979
12979
|
break;
|
|
12980
12980
|
}
|
|
12981
|
-
case
|
|
12981
|
+
case Qt.CUSTOM: {
|
|
12982
12982
|
const {
|
|
12983
12983
|
html: r,
|
|
12984
12984
|
images: i,
|
|
@@ -13086,13 +13086,13 @@ const vr = (Ug = class {
|
|
|
13086
13086
|
}
|
|
13087
13087
|
}, gi = new WeakMap(), Ug);
|
|
13088
13088
|
let lo = vr;
|
|
13089
|
-
|
|
13089
|
+
j0([
|
|
13090
13090
|
P.trace("ChatController.setupEvents")
|
|
13091
13091
|
], lo.prototype, "setupEvents", 1);
|
|
13092
|
-
var
|
|
13093
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
13092
|
+
var G0 = Object.defineProperty, W0 = Object.getOwnPropertyDescriptor, J0 = (s, t, e, r) => {
|
|
13093
|
+
for (var i = r > 1 ? void 0 : r ? W0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
13094
13094
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
13095
|
-
return r && i &&
|
|
13095
|
+
return r && i && G0(t, e, i), i;
|
|
13096
13096
|
}, Ud, xf, $d, Uf, In, Mn, Ao, $g;
|
|
13097
13097
|
let Hu = ($g = class extends xt {
|
|
13098
13098
|
constructor(t, e, r) {
|
|
@@ -13171,13 +13171,13 @@ let Hu = ($g = class extends xt {
|
|
|
13171
13171
|
var t;
|
|
13172
13172
|
return ((t = n(this, Ud, xf)) == null ? void 0 : t.socketJoined) === !0;
|
|
13173
13173
|
}, In = new WeakMap(), Mn = new WeakMap(), Ao = new WeakMap(), $g);
|
|
13174
|
-
Hu =
|
|
13174
|
+
Hu = J0([
|
|
13175
13175
|
rt("0700")
|
|
13176
13176
|
], Hu);
|
|
13177
|
-
var
|
|
13178
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
13177
|
+
var K0 = Object.defineProperty, z0 = Object.getOwnPropertyDescriptor, Y0 = (s, t, e, r) => {
|
|
13178
|
+
for (var i = r > 1 ? void 0 : r ? z0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
13179
13179
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
13180
|
-
return r && i &&
|
|
13180
|
+
return r && i && K0(t, e, i), i;
|
|
13181
13181
|
}, wr, Dn, mi, Bg;
|
|
13182
13182
|
const hn = (Bg = class {
|
|
13183
13183
|
constructor(s, t, e) {
|
|
@@ -13257,7 +13257,7 @@ const hn = (Bg = class {
|
|
|
13257
13257
|
const s = yield n(this, mi).getPolls();
|
|
13258
13258
|
if (!(s != null && s.payload))
|
|
13259
13259
|
return;
|
|
13260
|
-
const { polls: t } =
|
|
13260
|
+
const { polls: t } = h0.fromBinary(s.payload);
|
|
13261
13261
|
this.polls.items = t.map(
|
|
13262
13262
|
(e) => hn.formatSocketServicePoll(e)
|
|
13263
13263
|
);
|
|
@@ -13285,13 +13285,13 @@ const hn = (Bg = class {
|
|
|
13285
13285
|
}
|
|
13286
13286
|
}, wr = new WeakMap(), Dn = new WeakMap(), mi = new WeakMap(), Bg);
|
|
13287
13287
|
let $f = hn;
|
|
13288
|
-
|
|
13288
|
+
Y0([
|
|
13289
13289
|
P.trace("PollController.setupEvents")
|
|
13290
13290
|
], $f.prototype, "setupEvents", 1);
|
|
13291
|
-
var
|
|
13292
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
13291
|
+
var Q0 = Object.defineProperty, X0 = Object.getOwnPropertyDescriptor, Z0 = (s, t, e, r) => {
|
|
13292
|
+
for (var i = r > 1 ? void 0 : r ? X0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
13293
13293
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
13294
|
-
return r && i &&
|
|
13294
|
+
return r && i && Q0(t, e, i), i;
|
|
13295
13295
|
}, Bf = /* @__PURE__ */ ((s) => (s[s.User = 0] = "User", s[s.Meeting = 1] = "Meeting", s))(Bf || {}), On, Io, qu, fi, Mo, Hg;
|
|
13296
13296
|
let Fu = (Hg = class extends xt {
|
|
13297
13297
|
constructor(t, e, r, i, a) {
|
|
@@ -13375,10 +13375,10 @@ let Fu = (Hg = class extends xt {
|
|
|
13375
13375
|
}, On = new WeakMap(), Io = new WeakSet(), qu = function() {
|
|
13376
13376
|
return n(this, On).getValue("connectionHandler");
|
|
13377
13377
|
}, fi = new WeakMap(), Mo = new WeakMap(), Hg);
|
|
13378
|
-
Fu =
|
|
13378
|
+
Fu = Z0([
|
|
13379
13379
|
rt("0800")
|
|
13380
13380
|
], Fu);
|
|
13381
|
-
function
|
|
13381
|
+
function eM(s) {
|
|
13382
13382
|
let t = "", e = [""];
|
|
13383
13383
|
const r = [e];
|
|
13384
13384
|
let i = 0, a = 0, o = !0, c;
|
|
@@ -13387,10 +13387,10 @@ function tM(s) {
|
|
|
13387
13387
|
` && o ? (t === "\r" && (e[i] = e[i].slice(0, -1)), e = r[++a] = [c = ""], i = 0) : e[i] += c, t = c;
|
|
13388
13388
|
return r;
|
|
13389
13389
|
}
|
|
13390
|
-
var
|
|
13391
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
13390
|
+
var tM = Object.defineProperty, sM = Object.getOwnPropertyDescriptor, Hf = (s, t, e, r) => {
|
|
13391
|
+
for (var i = r > 1 ? void 0 : r ? sM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
13392
13392
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
13393
|
-
return r && i &&
|
|
13393
|
+
return r && i && tM(t, e, i), i;
|
|
13394
13394
|
}, Do, Fg;
|
|
13395
13395
|
let Zr = (Fg = class extends xt {
|
|
13396
13396
|
constructor(t) {
|
|
@@ -13433,7 +13433,7 @@ let Zr = (Fg = class extends xt {
|
|
|
13433
13433
|
o,
|
|
13434
13434
|
c,
|
|
13435
13435
|
d
|
|
13436
|
-
]] =
|
|
13436
|
+
]] = eM(t);
|
|
13437
13437
|
return {
|
|
13438
13438
|
id: Pa(),
|
|
13439
13439
|
name: c,
|
|
@@ -13484,10 +13484,10 @@ Hf([
|
|
|
13484
13484
|
Zr = Hf([
|
|
13485
13485
|
rt("0000")
|
|
13486
13486
|
], Zr);
|
|
13487
|
-
var
|
|
13488
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
13487
|
+
var rM = Object.defineProperty, iM = Object.getOwnPropertyDescriptor, nM = (s, t, e, r) => {
|
|
13488
|
+
for (var i = r > 1 ? void 0 : r ? iM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
13489
13489
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
13490
|
-
return r && i &&
|
|
13490
|
+
return r && i && rM(t, e, i), i;
|
|
13491
13491
|
}, Rr, Nn, bt, qg;
|
|
13492
13492
|
const Ff = (qg = class {
|
|
13493
13493
|
constructor(s, t, e, r, i, a) {
|
|
@@ -13653,7 +13653,7 @@ const Ff = (qg = class {
|
|
|
13653
13653
|
}
|
|
13654
13654
|
}, Rr = new WeakMap(), Nn = new WeakMap(), bt = new WeakMap(), qg);
|
|
13655
13655
|
let qf = Ff;
|
|
13656
|
-
|
|
13656
|
+
nM([
|
|
13657
13657
|
P.trace("MetaController.setupEvents")
|
|
13658
13658
|
], qf.prototype, "setupEvents", 1);
|
|
13659
13659
|
const za = {}, gr = {
|
|
@@ -13714,10 +13714,10 @@ const za = {}, gr = {
|
|
|
13714
13714
|
};
|
|
13715
13715
|
}
|
|
13716
13716
|
};
|
|
13717
|
-
var
|
|
13718
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
13717
|
+
var aM = Object.defineProperty, oM = Object.getOwnPropertyDescriptor, on = (s, t, e, r) => {
|
|
13718
|
+
for (var i = r > 1 ? void 0 : r ? oM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
13719
13719
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
13720
|
-
return r && i &&
|
|
13720
|
+
return r && i && aM(t, e, i), i;
|
|
13721
13721
|
}, jt, Bd, ae, Oo, Ss, xe, No, ju, Ln, ud;
|
|
13722
13722
|
class ri extends xt {
|
|
13723
13723
|
constructor(e, r, i, a, o) {
|
|
@@ -13939,7 +13939,7 @@ on([
|
|
|
13939
13939
|
on([
|
|
13940
13940
|
P.trace("Stage.leaveStage")
|
|
13941
13941
|
], ri.prototype, "leave", 1);
|
|
13942
|
-
function
|
|
13942
|
+
function cM(s) {
|
|
13943
13943
|
return !(s.viewType === "LIVESTREAM" || s.viewType === "CHAT");
|
|
13944
13944
|
}
|
|
13945
13945
|
function Gh(s) {
|
|
@@ -13958,16 +13958,16 @@ function Gh(s) {
|
|
|
13958
13958
|
return "OFF_STAGE";
|
|
13959
13959
|
}
|
|
13960
13960
|
}
|
|
13961
|
-
var
|
|
13962
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
13961
|
+
var dM = Object.defineProperty, lM = Object.getOwnPropertyDescriptor, uM = (s, t, e, r) => {
|
|
13962
|
+
for (var i = r > 1 ? void 0 : r ? lM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
13963
13963
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
13964
|
-
return r && i &&
|
|
13965
|
-
}, br,
|
|
13964
|
+
return r && i && dM(t, e, i), i;
|
|
13965
|
+
}, br, is, kr, Lo, at;
|
|
13966
13966
|
class jf {
|
|
13967
13967
|
constructor(t, e, r, i, a) {
|
|
13968
13968
|
p(this, "stage");
|
|
13969
13969
|
m(this, br, void 0);
|
|
13970
|
-
m(this,
|
|
13970
|
+
m(this, is, void 0);
|
|
13971
13971
|
m(this, kr, void 0);
|
|
13972
13972
|
m(this, Lo, 0);
|
|
13973
13973
|
m(this, at, void 0);
|
|
@@ -13977,7 +13977,7 @@ class jf {
|
|
|
13977
13977
|
a,
|
|
13978
13978
|
e,
|
|
13979
13979
|
r
|
|
13980
|
-
), f(this, kr, e), f(this, br, i), f(this,
|
|
13980
|
+
), f(this, kr, e), f(this, br, i), f(this, is, a), this.setupEvents();
|
|
13981
13981
|
}
|
|
13982
13982
|
/**
|
|
13983
13983
|
* @access private
|
|
@@ -14014,7 +14014,7 @@ class jf {
|
|
|
14014
14014
|
);
|
|
14015
14015
|
}
|
|
14016
14016
|
getCurrentStageRequests() {
|
|
14017
|
-
return n(this,
|
|
14017
|
+
return n(this, is).joined.toArray().filter(
|
|
14018
14018
|
(e) => e.stageStatus === "REQUESTED_TO_JOIN_STAGE"
|
|
14019
14019
|
).map((e) => ({
|
|
14020
14020
|
displayName: e.name,
|
|
@@ -14055,14 +14055,14 @@ class jf {
|
|
|
14055
14055
|
*/
|
|
14056
14056
|
peerStageStatusHandler(t) {
|
|
14057
14057
|
return u(this, null, function* () {
|
|
14058
|
-
const e = n(this,
|
|
14058
|
+
const e = n(this, is).joined.get(t.peerId), r = n(this, is).viewMode === "ACTIVE_GRID";
|
|
14059
14059
|
if (!e) {
|
|
14060
14060
|
this.logger.warn("err::peerStageStatusUpdate: participant not found");
|
|
14061
14061
|
return;
|
|
14062
14062
|
}
|
|
14063
14063
|
switch (t.stageType) {
|
|
14064
14064
|
case 1:
|
|
14065
|
-
e.setStageStatus("ON_STAGE"), r && n(this, at).getValue("peerSessionStore").emit(C.UPDATE_ACTIVE, { viewMode: n(this,
|
|
14065
|
+
e.setStageStatus("ON_STAGE"), r && n(this, at).getValue("peerSessionStore").emit(C.UPDATE_ACTIVE, { viewMode: n(this, is).viewMode, page: n(this, is).currentPage });
|
|
14066
14066
|
break;
|
|
14067
14067
|
case 2:
|
|
14068
14068
|
e.setStageStatus("ACCEPTED_TO_JOIN_STAGE");
|
|
@@ -14073,7 +14073,7 @@ class jf {
|
|
|
14073
14073
|
case 0:
|
|
14074
14074
|
case 4:
|
|
14075
14075
|
default:
|
|
14076
|
-
e.setStageStatus("OFF_STAGE"), r && n(this, at).getValue("peerSessionStore").emit(C.UPDATE_ACTIVE, { viewMode: n(this,
|
|
14076
|
+
e.setStageStatus("OFF_STAGE"), r && n(this, at).getValue("peerSessionStore").emit(C.UPDATE_ACTIVE, { viewMode: n(this, is).viewMode, page: n(this, is).currentPage });
|
|
14077
14077
|
break;
|
|
14078
14078
|
}
|
|
14079
14079
|
n(this, at).getValue("peerSessionStore").emit(C.UPDATE_PEER_STAGE_STATUS, {
|
|
@@ -14083,14 +14083,14 @@ class jf {
|
|
|
14083
14083
|
});
|
|
14084
14084
|
}
|
|
14085
14085
|
}
|
|
14086
|
-
br = new WeakMap(),
|
|
14087
|
-
|
|
14086
|
+
br = new WeakMap(), is = new WeakMap(), kr = new WeakMap(), Lo = new WeakMap(), at = new WeakMap();
|
|
14087
|
+
uM([
|
|
14088
14088
|
P.trace("Stage.setupEvents")
|
|
14089
14089
|
], jf.prototype, "setupEvents", 1);
|
|
14090
|
-
var
|
|
14091
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
14090
|
+
var hM = Object.defineProperty, pM = Object.getOwnPropertyDescriptor, Wh = (s, t, e, r) => {
|
|
14091
|
+
for (var i = r > 1 ? void 0 : r ? pM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
14092
14092
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
14093
|
-
return r && i &&
|
|
14093
|
+
return r && i && hM(t, e, i), i;
|
|
14094
14094
|
}, Si, Bs, Vo, xo, vi, jg;
|
|
14095
14095
|
let Co = (jg = class extends Ra {
|
|
14096
14096
|
constructor(t, e, r, i) {
|
|
@@ -14298,10 +14298,10 @@ class Eg extends Gf {
|
|
|
14298
14298
|
return super.delete(t, e, r);
|
|
14299
14299
|
}
|
|
14300
14300
|
}
|
|
14301
|
-
var
|
|
14302
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
14301
|
+
var gM = Object.defineProperty, mM = Object.getOwnPropertyDescriptor, fM = (s, t, e, r) => {
|
|
14302
|
+
for (var i = r > 1 ? void 0 : r ? mM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
14303
14303
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
14304
|
-
return r && i &&
|
|
14304
|
+
return r && i && gM(t, e, i), i;
|
|
14305
14305
|
};
|
|
14306
14306
|
let Gu = class {
|
|
14307
14307
|
constructor(s) {
|
|
@@ -14316,14 +14316,14 @@ let Gu = class {
|
|
|
14316
14316
|
this.all = new Eg(s), this.active = new Eg(s);
|
|
14317
14317
|
}
|
|
14318
14318
|
};
|
|
14319
|
-
Gu =
|
|
14319
|
+
Gu = fM([
|
|
14320
14320
|
rt("0600")
|
|
14321
14321
|
], Gu);
|
|
14322
|
-
var
|
|
14323
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
14322
|
+
var SM = Object.defineProperty, vM = Object.getOwnPropertyDescriptor, TM = (s, t, e, r) => {
|
|
14323
|
+
for (var i = r > 1 ? void 0 : r ? vM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
14324
14324
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
14325
|
-
return r && i &&
|
|
14326
|
-
},
|
|
14325
|
+
return r && i && SM(t, e, i), i;
|
|
14326
|
+
}, ns, Vn, Ar, yi, Hd, Jf, Uo, Wu, $o, Ju, Bo, Ku, Gg;
|
|
14327
14327
|
const Wf = (Gg = class {
|
|
14328
14328
|
constructor(s, t, e, r) {
|
|
14329
14329
|
m(this, Hd);
|
|
@@ -14331,11 +14331,11 @@ const Wf = (Gg = class {
|
|
|
14331
14331
|
m(this, $o);
|
|
14332
14332
|
m(this, Bo);
|
|
14333
14333
|
p(this, "plugins");
|
|
14334
|
-
m(this,
|
|
14334
|
+
m(this, ns, void 0);
|
|
14335
14335
|
m(this, Vn, void 0);
|
|
14336
14336
|
m(this, Ar, void 0);
|
|
14337
14337
|
m(this, yi, null);
|
|
14338
|
-
f(this, Ar, s), this.plugins = t, f(this, Vn, e), f(this,
|
|
14338
|
+
f(this, Ar, s), this.plugins = t, f(this, Vn, e), f(this, ns, r), this.setupEvents();
|
|
14339
14339
|
}
|
|
14340
14340
|
/**
|
|
14341
14341
|
* @access private
|
|
@@ -14391,19 +14391,19 @@ const Wf = (Gg = class {
|
|
|
14391
14391
|
var t, e;
|
|
14392
14392
|
if (((e = (t = this.plugins.active) == null ? void 0 : t.toArray()) != null ? e : []).forEach((r) => {
|
|
14393
14393
|
r.deactivateForSelf();
|
|
14394
|
-
}), !n(this,
|
|
14394
|
+
}), !n(this, ns)) {
|
|
14395
14395
|
this.logger.warn("Active plugins store not available yet on ROOM_JOINED. Sync will be performed when store is created.");
|
|
14396
14396
|
return;
|
|
14397
14397
|
}
|
|
14398
14398
|
yield O(this, $o, Ju).call(this), this.logger.debug("[SOCKET_SERVICE_ROOM_JOINED] resolved request to sync active plugins.");
|
|
14399
14399
|
}));
|
|
14400
14400
|
}
|
|
14401
|
-
},
|
|
14401
|
+
}, ns = new WeakMap(), Vn = new WeakMap(), Ar = new WeakMap(), yi = new WeakMap(), Hd = new WeakSet(), Jf = function() {
|
|
14402
14402
|
const s = n(this, Ar).getValue("peerSessionStore"), t = (e) => u(this, null, function* () {
|
|
14403
|
-
if (e.state === "connected" && !n(this,
|
|
14403
|
+
if (e.state === "connected" && !n(this, ns))
|
|
14404
14404
|
try {
|
|
14405
|
-
f(this,
|
|
14406
|
-
r.activePluginsStore = n(this,
|
|
14405
|
+
f(this, ns, yield n(this, Vn).create(Iu, !0)), O(this, Uo, Wu).call(this), this.plugins.all.toArray().forEach((r) => {
|
|
14406
|
+
r.activePluginsStore = n(this, ns);
|
|
14407
14407
|
}), O(this, Bo, Ku).call(this), this.logger.info("Active plugins store created after socket connected"), yield O(this, $o, Ju).call(this);
|
|
14408
14408
|
} catch (r) {
|
|
14409
14409
|
this.logger.error("Failed to create active plugins store after socket connected, will retry on next reconnect", { error: r });
|
|
@@ -14417,11 +14417,11 @@ const Wf = (Gg = class {
|
|
|
14417
14417
|
}, $o = new WeakSet(), Ju = function() {
|
|
14418
14418
|
return u(this, null, function* () {
|
|
14419
14419
|
try {
|
|
14420
|
-
yield n(this, Vn).refresh(n(this,
|
|
14420
|
+
yield n(this, Vn).refresh(n(this, ns).name);
|
|
14421
14421
|
} catch (t) {
|
|
14422
14422
|
this.logger.error("Failed to refresh active plugins store, syncing from stale data.", { error: t });
|
|
14423
14423
|
}
|
|
14424
|
-
const s = n(this,
|
|
14424
|
+
const s = n(this, ns).getAll();
|
|
14425
14425
|
Object.entries(s).forEach(([t, e]) => {
|
|
14426
14426
|
if (!e)
|
|
14427
14427
|
return;
|
|
@@ -14434,7 +14434,7 @@ const Wf = (Gg = class {
|
|
|
14434
14434
|
});
|
|
14435
14435
|
});
|
|
14436
14436
|
}, Bo = new WeakSet(), Ku = function() {
|
|
14437
|
-
n(this,
|
|
14437
|
+
n(this, ns).subscribe("*", (s) => {
|
|
14438
14438
|
Object.entries(s).forEach(([t, e]) => {
|
|
14439
14439
|
const r = this.plugins.all.get(t);
|
|
14440
14440
|
if (!r) {
|
|
@@ -14446,11 +14446,11 @@ const Wf = (Gg = class {
|
|
|
14446
14446
|
});
|
|
14447
14447
|
}, Gg);
|
|
14448
14448
|
let Kf = Wf;
|
|
14449
|
-
|
|
14449
|
+
TM([
|
|
14450
14450
|
P.trace("PluginController.setupEvents")
|
|
14451
14451
|
], Kf.prototype, "setupEvents", 1);
|
|
14452
14452
|
var Ho;
|
|
14453
|
-
class
|
|
14453
|
+
class yM {
|
|
14454
14454
|
constructor(t) {
|
|
14455
14455
|
p(this, "mediaJoined");
|
|
14456
14456
|
p(this, "socketJoined");
|
|
@@ -14525,10 +14525,10 @@ class EM {
|
|
|
14525
14525
|
}
|
|
14526
14526
|
}
|
|
14527
14527
|
Ho = new WeakMap();
|
|
14528
|
-
var
|
|
14529
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
14528
|
+
var EM = Object.defineProperty, PM = Object.getOwnPropertyDescriptor, Gc = (s, t, e, r) => {
|
|
14529
|
+
for (var i = r > 1 ? void 0 : r ? PM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
14530
14530
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
14531
|
-
return r && i &&
|
|
14531
|
+
return r && i && EM(t, e, i), i;
|
|
14532
14532
|
};
|
|
14533
14533
|
const Pg = "Cannot start recording: another recording is already in progress.";
|
|
14534
14534
|
var xn, Un, $n, hd, Wg;
|
|
@@ -14643,10 +14643,10 @@ Gc([
|
|
|
14643
14643
|
sn = Gc([
|
|
14644
14644
|
rt("1000")
|
|
14645
14645
|
], sn);
|
|
14646
|
-
var
|
|
14647
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
14646
|
+
var _M = Object.defineProperty, CM = Object.getOwnPropertyDescriptor, wM = (s, t, e, r) => {
|
|
14647
|
+
for (var i = r > 1 ? void 0 : r ? CM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
14648
14648
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
14649
|
-
return r && i &&
|
|
14649
|
+
return r && i && _M(t, e, i), i;
|
|
14650
14650
|
}, Ei;
|
|
14651
14651
|
class zf {
|
|
14652
14652
|
constructor(t, e, r) {
|
|
@@ -14721,11 +14721,11 @@ class zf {
|
|
|
14721
14721
|
}
|
|
14722
14722
|
}
|
|
14723
14723
|
Ei = new WeakMap();
|
|
14724
|
-
|
|
14724
|
+
wM([
|
|
14725
14725
|
P.trace("RecordingController.setupEvents")
|
|
14726
14726
|
], zf.prototype, "setupEvents", 1);
|
|
14727
14727
|
var Pi;
|
|
14728
|
-
class
|
|
14728
|
+
class RM {
|
|
14729
14729
|
constructor(t) {
|
|
14730
14730
|
m(this, Pi, void 0);
|
|
14731
14731
|
f(this, Pi, t);
|
|
@@ -14761,7 +14761,7 @@ class Jh {
|
|
|
14761
14761
|
return new Jh(
|
|
14762
14762
|
t.getValue("authToken"),
|
|
14763
14763
|
t.getValue("logger"),
|
|
14764
|
-
new
|
|
14764
|
+
new RM(t),
|
|
14765
14765
|
t.getValue("callstats")
|
|
14766
14766
|
);
|
|
14767
14767
|
}
|
|
@@ -14778,10 +14778,10 @@ class Kh {
|
|
|
14778
14778
|
});
|
|
14779
14779
|
}
|
|
14780
14780
|
}
|
|
14781
|
-
var
|
|
14782
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
14781
|
+
var bM = Object.defineProperty, kM = Object.getOwnPropertyDescriptor, $t = (s, t, e, r) => {
|
|
14782
|
+
for (var i = r > 1 ? void 0 : r ? kM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
14783
14783
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
14784
|
-
return r && i &&
|
|
14784
|
+
return r && i && bM(t, e, i), i;
|
|
14785
14785
|
}, Le, fe, pe, Hs, Gt, Fo, Re;
|
|
14786
14786
|
class Pt extends Ra {
|
|
14787
14787
|
constructor(e, r, i = Id, a = !0) {
|
|
@@ -14796,20 +14796,20 @@ class Pt extends Ra {
|
|
|
14796
14796
|
m(this, Re, void 0);
|
|
14797
14797
|
p(this, "audioUpdateInProgress");
|
|
14798
14798
|
p(this, "videoUpdateInProgress");
|
|
14799
|
-
f(this, Re, e), this.audioUpdateInProgress = !1, this.videoUpdateInProgress = !1, f(this, Le, new Yf(e, r)), f(this, fe, new
|
|
14799
|
+
f(this, Re, e), this.audioUpdateInProgress = !1, this.videoUpdateInProgress = !1, f(this, Le, new Yf(e, r)), f(this, fe, new QM(
|
|
14800
14800
|
e,
|
|
14801
14801
|
n(this, Le),
|
|
14802
14802
|
void 0,
|
|
14803
14803
|
i
|
|
14804
|
-
)), f(this, pe, new
|
|
14804
|
+
)), f(this, pe, new iD(
|
|
14805
14805
|
e,
|
|
14806
14806
|
n(this, Le),
|
|
14807
14807
|
void 0,
|
|
14808
14808
|
i
|
|
14809
|
-
)), f(this, Gt, new
|
|
14809
|
+
)), f(this, Gt, new tD(
|
|
14810
14810
|
n(this, Re),
|
|
14811
14811
|
n(this, Le)
|
|
14812
|
-
)), f(this, Hs, new
|
|
14812
|
+
)), f(this, Hs, new ZM(
|
|
14813
14813
|
e,
|
|
14814
14814
|
n(this, Le)
|
|
14815
14815
|
)), f(this, Fo, a), n(this, fe).on("trackMuted", this.onAudioTrackMuted.bind(this)), n(this, fe).on(
|
|
@@ -15214,7 +15214,7 @@ function id(s, t, e) {
|
|
|
15214
15214
|
return "COULD_NOT_START";
|
|
15215
15215
|
}
|
|
15216
15216
|
}
|
|
15217
|
-
const
|
|
15217
|
+
const AM = [
|
|
15218
15218
|
"virtual",
|
|
15219
15219
|
"emulator",
|
|
15220
15220
|
"krisp",
|
|
@@ -15245,11 +15245,11 @@ const IM = [
|
|
|
15245
15245
|
function Id(s) {
|
|
15246
15246
|
var e, r;
|
|
15247
15247
|
const t = (e = s.label) == null ? void 0 : e.toLowerCase();
|
|
15248
|
-
return ((r = ve._bowser) == null ? void 0 : r.getOSName()) === "macOS" && t.includes("iphone") ? !0 :
|
|
15248
|
+
return ((r = ve._bowser) == null ? void 0 : r.getOSName()) === "macOS" && t.includes("iphone") ? !0 : AM.some(
|
|
15249
15249
|
(i) => t == null ? void 0 : t.includes(i)
|
|
15250
15250
|
);
|
|
15251
15251
|
}
|
|
15252
|
-
function
|
|
15252
|
+
function IM(s, t, e) {
|
|
15253
15253
|
return u(this, null, function* () {
|
|
15254
15254
|
if (!(t != null && t.length))
|
|
15255
15255
|
return e;
|
|
@@ -15272,7 +15272,7 @@ function MM(s, t, e) {
|
|
|
15272
15272
|
});
|
|
15273
15273
|
}
|
|
15274
15274
|
var _i, qo;
|
|
15275
|
-
class
|
|
15275
|
+
class MM {
|
|
15276
15276
|
constructor(t) {
|
|
15277
15277
|
m(this, _i, void 0);
|
|
15278
15278
|
m(this, qo, void 0);
|
|
@@ -15354,13 +15354,13 @@ class DM {
|
|
|
15354
15354
|
}
|
|
15355
15355
|
}
|
|
15356
15356
|
_i = new WeakMap(), qo = new WeakMap();
|
|
15357
|
-
const
|
|
15357
|
+
const DM = {
|
|
15358
15358
|
qvga: { width: { ideal: 320 }, height: { ideal: 240 }, frameRate: { ideal: 30 } },
|
|
15359
15359
|
vga: { width: { ideal: 640 }, height: { ideal: 480 }, frameRate: { ideal: 30 } },
|
|
15360
15360
|
hd: { width: { ideal: 1280 }, height: { ideal: 720 }, frameRate: { ideal: 30 } },
|
|
15361
15361
|
fhd: { width: { ideal: 1920 }, height: { ideal: 1080 }, frameRate: { ideal: 30 } },
|
|
15362
15362
|
uhd: { width: { ideal: 3840 }, height: { ideal: 2160 }, frameRate: { ideal: 30 } }
|
|
15363
|
-
},
|
|
15363
|
+
}, OM = [
|
|
15364
15364
|
[320, [
|
|
15365
15365
|
{
|
|
15366
15366
|
rid: "f",
|
|
@@ -15423,22 +15423,22 @@ const OM = {
|
|
|
15423
15423
|
scaleResolutionDownBy: 4
|
|
15424
15424
|
}
|
|
15425
15425
|
]]
|
|
15426
|
-
],
|
|
15426
|
+
], NM = (s, t) => {
|
|
15427
15427
|
var d, l, h;
|
|
15428
15428
|
const e = (d = s == null ? void 0 : s.getValue("overrides")) == null ? void 0 : d.simulcastConfig;
|
|
15429
15429
|
if ((l = e == null ? void 0 : e.encodings) != null && l.length)
|
|
15430
15430
|
return e.encodings;
|
|
15431
|
-
const r = "getSettings" in t && t.getSettings().width || "getConstraints" in t && t.getConstraints().width || "originalSettings" in t && ((h = t.originalSettings) == null ? void 0 : h.width), i =
|
|
15431
|
+
const r = "getSettings" in t && t.getSettings().width || "getConstraints" in t && t.getConstraints().width || "originalSettings" in t && ((h = t.originalSettings) == null ? void 0 : h.width), i = OM, a = i.map(([g]) => g).sort((g, S) => g - S);
|
|
15432
15432
|
let o = Number.MAX_VALUE, c = 0;
|
|
15433
15433
|
return a.forEach((g, S) => {
|
|
15434
15434
|
Math.abs(g - r) < o && (o = Math.abs(g - r), c = S);
|
|
15435
15435
|
}), i[c][1];
|
|
15436
15436
|
};
|
|
15437
15437
|
var Ce = /* @__PURE__ */ ((s) => (s.WEBCAM = "webcam", s.WEBCAM_BACKUP = "webcam_backup", s.MIC = "mic", s.SCREENSHARE_VIDEO = "screenshare_video", s.SCREENSHARE_AUDIO = "screenshare_audio", s))(Ce || {});
|
|
15438
|
-
const
|
|
15439
|
-
|
|
15438
|
+
const LM = _w(), ln = bs(
|
|
15439
|
+
LM.config.media
|
|
15440
15440
|
);
|
|
15441
|
-
function
|
|
15441
|
+
function VM(s) {
|
|
15442
15442
|
var e, r;
|
|
15443
15443
|
const t = {};
|
|
15444
15444
|
return s.audio && (t.audio = {
|
|
@@ -15447,7 +15447,7 @@ function xM(s) {
|
|
|
15447
15447
|
}), t.video = s.video.quality, t;
|
|
15448
15448
|
}
|
|
15449
15449
|
var Ci, Fd;
|
|
15450
|
-
class
|
|
15450
|
+
class xM {
|
|
15451
15451
|
constructor(t, e) {
|
|
15452
15452
|
m(this, Ci, void 0);
|
|
15453
15453
|
m(this, Fd, void 0);
|
|
@@ -15487,7 +15487,7 @@ class UM {
|
|
|
15487
15487
|
});
|
|
15488
15488
|
p(this, "getVideoConstraints", (t) => {
|
|
15489
15489
|
var o, c, d;
|
|
15490
|
-
const e = {}, r = (o = n(this, Ci)) == null ? void 0 : o.video, i = $_(
|
|
15490
|
+
const e = {}, r = (o = n(this, Ci)) == null ? void 0 : o.video, i = $_(DM);
|
|
15491
15491
|
let a = i.vga;
|
|
15492
15492
|
if (typeof r == "string") {
|
|
15493
15493
|
const l = i[r];
|
|
@@ -15512,7 +15512,7 @@ class yu extends Error {
|
|
|
15512
15512
|
this.name = e, this.constraints = i;
|
|
15513
15513
|
}
|
|
15514
15514
|
}
|
|
15515
|
-
class
|
|
15515
|
+
class UM {
|
|
15516
15516
|
constructor() {
|
|
15517
15517
|
p(this, "permissions");
|
|
15518
15518
|
this.permissions = {
|
|
@@ -15540,18 +15540,18 @@ class $M {
|
|
|
15540
15540
|
});
|
|
15541
15541
|
}
|
|
15542
15542
|
}
|
|
15543
|
-
var
|
|
15544
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
15543
|
+
var $M = Object.defineProperty, BM = Object.getOwnPropertyDescriptor, fs = (s, t, e, r) => {
|
|
15544
|
+
for (var i = r > 1 ? void 0 : r ? BM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
15545
15545
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
15546
|
-
return r && i &&
|
|
15546
|
+
return r && i && $M(t, e, i), i;
|
|
15547
15547
|
}, Bn, Wt, Ue, Jg;
|
|
15548
|
-
let Vt = (Jg = class extends
|
|
15548
|
+
let Vt = (Jg = class extends UM {
|
|
15549
15549
|
constructor(t, e) {
|
|
15550
15550
|
super();
|
|
15551
15551
|
m(this, Bn, void 0);
|
|
15552
15552
|
m(this, Wt, void 0);
|
|
15553
15553
|
m(this, Ue, void 0);
|
|
15554
|
-
f(this, Ue, t), f(this, Wt, new
|
|
15554
|
+
f(this, Ue, t), f(this, Wt, new xM(t, e)), f(this, Bn, new AbortController());
|
|
15555
15555
|
}
|
|
15556
15556
|
/**
|
|
15557
15557
|
* @access private
|
|
@@ -15964,9 +15964,9 @@ const Yf = Vt, en = {
|
|
|
15964
15964
|
}
|
|
15965
15965
|
return null;
|
|
15966
15966
|
}
|
|
15967
|
-
},
|
|
15967
|
+
}, HM = (s = 0) => new Promise(
|
|
15968
15968
|
(t) => setTimeout(t, s)
|
|
15969
|
-
),
|
|
15969
|
+
), FM = (s, t, e) => {
|
|
15970
15970
|
const r = typeof e == "number" ? e : 250, i = s.createMediaStreamSource(t), a = s.createAnalyser();
|
|
15971
15971
|
a.fftSize = 2048, i.connect(a);
|
|
15972
15972
|
const o = new Uint8Array(a.fftSize);
|
|
@@ -15975,7 +15975,7 @@ const Yf = Vt, en = {
|
|
|
15975
15975
|
c = !0;
|
|
15976
15976
|
}, r);
|
|
15977
15977
|
function d() {
|
|
15978
|
-
return c ? Promise.resolve(!0) : (a.getByteTimeDomainData(o), o.some((l) => l !== 128 && l !== 0) ? Promise.resolve(!1) :
|
|
15978
|
+
return c ? Promise.resolve(!0) : (a.getByteTimeDomainData(o), o.some((l) => l !== 128 && l !== 0) ? Promise.resolve(!1) : HM().then(d));
|
|
15979
15979
|
}
|
|
15980
15980
|
return d().then(
|
|
15981
15981
|
(l) => (i.disconnect(), l),
|
|
@@ -15983,13 +15983,13 @@ const Yf = Vt, en = {
|
|
|
15983
15983
|
throw i.disconnect(), l;
|
|
15984
15984
|
}
|
|
15985
15985
|
);
|
|
15986
|
-
},
|
|
15986
|
+
}, qM = typeof AudioContext != "undefined" ? AudioContext : null;
|
|
15987
15987
|
class zh {
|
|
15988
15988
|
constructor(t) {
|
|
15989
15989
|
p(this, "_AudioContext");
|
|
15990
15990
|
p(this, "audioContext");
|
|
15991
15991
|
p(this, "_audioContextRefContainers");
|
|
15992
|
-
const e = L({ AudioContext:
|
|
15992
|
+
const e = L({ AudioContext: qM }, t);
|
|
15993
15993
|
Object.defineProperties(this, {
|
|
15994
15994
|
_AudioContext: {
|
|
15995
15995
|
value: e.AudioContext
|
|
@@ -16019,14 +16019,14 @@ class zh {
|
|
|
16019
16019
|
this._audioContextRefContainers.has(t) && (this._audioContextRefContainers.delete(t), !this._audioContextRefContainers.size && this.audioContext && (this.audioContext.close(), this.audioContext = null));
|
|
16020
16020
|
}
|
|
16021
16021
|
}
|
|
16022
|
-
const _g = new zh(),
|
|
16023
|
-
function
|
|
16022
|
+
const _g = new zh(), jM = 3, GM = 250;
|
|
16023
|
+
function WM(s) {
|
|
16024
16024
|
const t = {}, e = _g.getOrCreate(
|
|
16025
16025
|
t
|
|
16026
16026
|
);
|
|
16027
|
-
let r =
|
|
16027
|
+
let r = jM;
|
|
16028
16028
|
function i() {
|
|
16029
|
-
return r -= 1,
|
|
16029
|
+
return r -= 1, FM(e, s.srcObject, GM).then((a) => a ? r > 0 ? i() : !0 : !1).catch(() => !0);
|
|
16030
16030
|
}
|
|
16031
16031
|
return i().finally(() => {
|
|
16032
16032
|
_g.release(t);
|
|
@@ -16039,7 +16039,7 @@ function Cg(s, t) {
|
|
|
16039
16039
|
let i = !1;
|
|
16040
16040
|
try {
|
|
16041
16041
|
const a = e.play();
|
|
16042
|
-
a && (yield a), i = yield
|
|
16042
|
+
a && (yield a), i = yield WM(e), i && s.info("checkIfAudioTrackIsSilent::silence_detected");
|
|
16043
16043
|
} catch (a) {
|
|
16044
16044
|
s.error("checkIfAudioTrackIsSilent::failed_to_detect_silence", {
|
|
16045
16045
|
error: a
|
|
@@ -16050,10 +16050,10 @@ function Cg(s, t) {
|
|
|
16050
16050
|
return i;
|
|
16051
16051
|
});
|
|
16052
16052
|
}
|
|
16053
|
-
var
|
|
16054
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
16053
|
+
var JM = Object.defineProperty, KM = Object.getOwnPropertyDescriptor, Qf = (s, t, e, r) => {
|
|
16054
|
+
for (var i = r > 1 ? void 0 : r ? KM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
16055
16055
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
16056
|
-
return r && i &&
|
|
16056
|
+
return r && i && JM(t, e, i), i;
|
|
16057
16057
|
};
|
|
16058
16058
|
let Md = class extends Ra {
|
|
16059
16059
|
/**
|
|
@@ -16279,10 +16279,10 @@ Md = Qf([
|
|
|
16279
16279
|
rt("1600")
|
|
16280
16280
|
], Md);
|
|
16281
16281
|
const Xf = Md;
|
|
16282
|
-
var
|
|
16283
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
16282
|
+
var zM = Object.defineProperty, YM = Object.getOwnPropertyDescriptor, Yh = (s, t, e, r) => {
|
|
16283
|
+
for (var i = r > 1 ? void 0 : r ? YM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
16284
16284
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
16285
|
-
return r && i &&
|
|
16285
|
+
return r && i && zM(t, e, i), i;
|
|
16286
16286
|
};
|
|
16287
16287
|
const Eu = "[Realtimekit]nonSilentDeviceLabels";
|
|
16288
16288
|
class Yl extends Xf {
|
|
@@ -16336,7 +16336,7 @@ class Yl extends Xf {
|
|
|
16336
16336
|
return;
|
|
16337
16337
|
}
|
|
16338
16338
|
try {
|
|
16339
|
-
this.transformedMediaTrack = yield
|
|
16339
|
+
this.transformedMediaTrack = yield IM(
|
|
16340
16340
|
this.context,
|
|
16341
16341
|
this.middlewares,
|
|
16342
16342
|
this.mediaTrack
|
|
@@ -16417,9 +16417,9 @@ Yh([
|
|
|
16417
16417
|
Yh([
|
|
16418
16418
|
P.trace("AudioMediaHandler.conditionallyChangeTrack")
|
|
16419
16419
|
], Yl.prototype, "conditionallyChangeTrack", 1);
|
|
16420
|
-
const
|
|
16420
|
+
const QM = Yl;
|
|
16421
16421
|
var wi;
|
|
16422
|
-
class
|
|
16422
|
+
class XM {
|
|
16423
16423
|
constructor(t, e) {
|
|
16424
16424
|
m(this, wi, void 0);
|
|
16425
16425
|
p(this, "currentDevice");
|
|
@@ -16467,9 +16467,9 @@ class ZM {
|
|
|
16467
16467
|
}
|
|
16468
16468
|
}
|
|
16469
16469
|
wi = new WeakMap();
|
|
16470
|
-
const
|
|
16470
|
+
const ZM = XM;
|
|
16471
16471
|
var jo;
|
|
16472
|
-
class
|
|
16472
|
+
class eD extends Ra {
|
|
16473
16473
|
constructor(e, r) {
|
|
16474
16474
|
const i = e.getValue("logger");
|
|
16475
16475
|
super(i);
|
|
@@ -16538,11 +16538,11 @@ class tD extends Ra {
|
|
|
16538
16538
|
}
|
|
16539
16539
|
}
|
|
16540
16540
|
jo = new WeakMap();
|
|
16541
|
-
const
|
|
16542
|
-
var
|
|
16543
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
16541
|
+
const tD = eD;
|
|
16542
|
+
var sD = Object.defineProperty, rD = Object.getOwnPropertyDescriptor, Ql = (s, t, e, r) => {
|
|
16543
|
+
for (var i = r > 1 ? void 0 : r ? rD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
16544
16544
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
16545
|
-
return r && i &&
|
|
16545
|
+
return r && i && sD(t, e, i), i;
|
|
16546
16546
|
}, Hn, Go;
|
|
16547
16547
|
class Wc extends Xf {
|
|
16548
16548
|
constructor(e, r, i, a) {
|
|
@@ -16551,7 +16551,7 @@ class Wc extends Xf {
|
|
|
16551
16551
|
m(this, Go, {
|
|
16552
16552
|
disablePerFrameCanvasRendering: !1
|
|
16553
16553
|
});
|
|
16554
|
-
f(this, Hn, new
|
|
16554
|
+
f(this, Hn, new MM(e));
|
|
16555
16555
|
}
|
|
16556
16556
|
onSetDevice(e) {
|
|
16557
16557
|
return u(this, null, function* () {
|
|
@@ -16684,7 +16684,7 @@ Ql([
|
|
|
16684
16684
|
Ql([
|
|
16685
16685
|
P.trace("VideoMediaHandler.conditionallyChangeTrack")
|
|
16686
16686
|
], Wc.prototype, "conditionallyChangeTrack", 1);
|
|
16687
|
-
const
|
|
16687
|
+
const iD = Wc, wg = bs(
|
|
16688
16688
|
Hh()
|
|
16689
16689
|
);
|
|
16690
16690
|
var ot, Ri, Wo, Fn;
|
|
@@ -16862,10 +16862,10 @@ const vn = class {
|
|
|
16862
16862
|
};
|
|
16863
16863
|
let zu = vn;
|
|
16864
16864
|
ot = new WeakMap(), Ri = new WeakMap(), Wo = new WeakMap(), Fn = new WeakMap();
|
|
16865
|
-
var
|
|
16866
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
16865
|
+
var nD = Object.defineProperty, aD = Object.getOwnPropertyDescriptor, Zf = (s, t, e, r) => {
|
|
16866
|
+
for (var i = r > 1 ? void 0 : r ? aD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
16867
16867
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
16868
|
-
return r && i &&
|
|
16868
|
+
return r && i && nD(t, e, i), i;
|
|
16869
16869
|
}, qn, Jo;
|
|
16870
16870
|
class Qh extends xt {
|
|
16871
16871
|
constructor(e, r) {
|
|
@@ -16947,10 +16947,10 @@ Zf([
|
|
|
16947
16947
|
Zf([
|
|
16948
16948
|
P.trace("livestream.stop")
|
|
16949
16949
|
], Qh.prototype, "stop", 1);
|
|
16950
|
-
var
|
|
16951
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
16950
|
+
var oD = Object.defineProperty, cD = Object.getOwnPropertyDescriptor, dD = (s, t, e, r) => {
|
|
16951
|
+
for (var i = r > 1 ? void 0 : r ? cD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
16952
16952
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
16953
|
-
return r && i &&
|
|
16953
|
+
return r && i && oD(t, e, i), i;
|
|
16954
16954
|
}, jn, Gn, Fs, vs;
|
|
16955
16955
|
class eS {
|
|
16956
16956
|
constructor(t, e, r) {
|
|
@@ -17045,13 +17045,13 @@ class eS {
|
|
|
17045
17045
|
}
|
|
17046
17046
|
}
|
|
17047
17047
|
jn = new WeakMap(), Gn = new WeakMap(), Fs = new WeakMap(), vs = new WeakMap();
|
|
17048
|
-
|
|
17048
|
+
dD([
|
|
17049
17049
|
P.trace("LivestreamController.setupEvents")
|
|
17050
17050
|
], eS.prototype, "setupEvents", 1);
|
|
17051
|
-
var
|
|
17052
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
17051
|
+
var lD = Object.defineProperty, uD = Object.getOwnPropertyDescriptor, Jc = (s, t, e, r) => {
|
|
17052
|
+
for (var i = r > 1 ? void 0 : r ? uD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
17053
17053
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
17054
|
-
return r && i &&
|
|
17054
|
+
return r && i && lD(t, e, i), i;
|
|
17055
17055
|
}, Ye, Ir, Mr, qd, tS;
|
|
17056
17056
|
class ka {
|
|
17057
17057
|
constructor({ name: t, socketHandler: e, meetingId: r }) {
|
|
@@ -17246,8 +17246,8 @@ Jc([
|
|
|
17246
17246
|
Jc([
|
|
17247
17247
|
Ut(ba, "bulkRateLimitConfig")
|
|
17248
17248
|
], ka.prototype, "bulkDelete", 1);
|
|
17249
|
-
var Dr, Or, Ko, Yu, zo,
|
|
17250
|
-
class
|
|
17249
|
+
var Dr, Or, Ko, Yu, zo, as, jd, sS;
|
|
17250
|
+
class hD {
|
|
17251
17251
|
constructor(t, e) {
|
|
17252
17252
|
m(this, Ko);
|
|
17253
17253
|
m(this, jd);
|
|
@@ -17255,7 +17255,7 @@ class pD {
|
|
|
17255
17255
|
m(this, Dr, void 0);
|
|
17256
17256
|
m(this, Or, "");
|
|
17257
17257
|
m(this, zo, void 0);
|
|
17258
|
-
m(this,
|
|
17258
|
+
m(this, as, /* @__PURE__ */ new Map());
|
|
17259
17259
|
f(this, Dr, e), f(this, Or, t.getValue("meetingId")), f(this, zo, t), O(this, jd, sS).call(this);
|
|
17260
17260
|
}
|
|
17261
17261
|
create(t, e = !1) {
|
|
@@ -17266,24 +17266,24 @@ class pD {
|
|
|
17266
17266
|
);
|
|
17267
17267
|
return n(this, Dr).storeGetKeys(n(this, Or), t, []), new Promise((a, o) => {
|
|
17268
17268
|
const c = setTimeout(() => {
|
|
17269
|
-
n(this,
|
|
17269
|
+
n(this, as).delete(t), o(Error("Failed"));
|
|
17270
17270
|
}, 3e3);
|
|
17271
|
-
n(this,
|
|
17271
|
+
n(this, as).set(t, { rejectTimeout: c, resolve: a, store: r });
|
|
17272
17272
|
});
|
|
17273
17273
|
}
|
|
17274
17274
|
refresh(t) {
|
|
17275
17275
|
const e = this.stores.get(t);
|
|
17276
17276
|
return e ? (e.clear(), n(this, Dr).storeGetKeys(n(this, Or), t, []), new Promise((i, a) => {
|
|
17277
17277
|
const o = setTimeout(() => {
|
|
17278
|
-
n(this,
|
|
17278
|
+
n(this, as).delete(t), a(Error("Store refresh timed out"));
|
|
17279
17279
|
}, 3e3);
|
|
17280
|
-
n(this,
|
|
17280
|
+
n(this, as).set(t, { rejectTimeout: o, resolve: i, store: e });
|
|
17281
17281
|
})) : Promise.reject(Error(`Store '${t}' does not exist`));
|
|
17282
17282
|
}
|
|
17283
17283
|
}
|
|
17284
17284
|
Dr = new WeakMap(), Or = new WeakMap(), Ko = new WeakSet(), Yu = function() {
|
|
17285
17285
|
return n(this, zo).getValue("peerId");
|
|
17286
|
-
}, zo = new WeakMap(),
|
|
17286
|
+
}, zo = new WeakMap(), as = new WeakMap(), jd = new WeakSet(), sS = function() {
|
|
17287
17287
|
[
|
|
17288
17288
|
Ns.storeInsertKeys,
|
|
17289
17289
|
Ns.storeGetKeys,
|
|
@@ -17307,15 +17307,15 @@ Dr = new WeakMap(), Or = new WeakMap(), Ko = new WeakSet(), Yu = function() {
|
|
|
17307
17307
|
};
|
|
17308
17308
|
});
|
|
17309
17309
|
if (t === Ns.storeGetKeys) {
|
|
17310
|
-
const c = n(this,
|
|
17311
|
-
if (n(this,
|
|
17310
|
+
const c = n(this, as).get(e.storeName), d = this.stores.get(e.storeName) || (c == null ? void 0 : c.store);
|
|
17311
|
+
if (n(this, as).get(e.storeName) && (this.stores.set(e.storeName, c.store), c.resolve(d), clearTimeout(c.rejectTimeout), n(this, as).delete(e.storeName)), !d)
|
|
17312
17312
|
return;
|
|
17313
17313
|
r.forEach((l) => {
|
|
17314
17314
|
d.set(l.key, l.payload, !1, !1);
|
|
17315
17315
|
});
|
|
17316
17316
|
return;
|
|
17317
17317
|
}
|
|
17318
|
-
const i = this.stores.get(e.storeName) || ((o = n(this,
|
|
17318
|
+
const i = this.stores.get(e.storeName) || ((o = n(this, as).get(e.storeName)) == null ? void 0 : o.store);
|
|
17319
17319
|
i !== void 0 && (t === Ns.storeInsertKeys && r.forEach(({ key: c, peerId: d, payload: l }) => {
|
|
17320
17320
|
d !== n(this, Ko, Yu) && i.set(c, l, !1, !0);
|
|
17321
17321
|
}), t === Ns.storeDeleteKeys && r.forEach(({ key: c, peerId: d }) => {
|
|
@@ -17354,12 +17354,12 @@ function li(s) {
|
|
|
17354
17354
|
}
|
|
17355
17355
|
} : {};
|
|
17356
17356
|
}
|
|
17357
|
-
var
|
|
17358
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
17357
|
+
var pD = Object.defineProperty, gD = Object.getOwnPropertyDescriptor, Aa = (s, t, e, r) => {
|
|
17358
|
+
for (var i = r > 1 ? void 0 : r ? gD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
17359
17359
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
17360
|
-
return r && i &&
|
|
17360
|
+
return r && i && pD(t, e, i), i;
|
|
17361
17361
|
};
|
|
17362
|
-
const
|
|
17362
|
+
const mD = 0.8, fD = 1.2;
|
|
17363
17363
|
var Wn, Jn, kt, bi, Qa, Nr, pn, ki, Xa, Gd, rS, qs, Yo, Lr, Ai, Za, js, Wd, Qo, Qu, Jd, iS, Kd, nS, Kg;
|
|
17364
17364
|
let dr = (Kg = class extends xt {
|
|
17365
17365
|
constructor(t, e, r, i) {
|
|
@@ -17472,10 +17472,10 @@ let dr = (Kg = class extends xt {
|
|
|
17472
17472
|
if (!i || !a)
|
|
17473
17473
|
return;
|
|
17474
17474
|
const o = a / r, c = i / e, d = Math.max(o, c);
|
|
17475
|
-
d >
|
|
17475
|
+
d > fD && n(this, js) === 1 ? (f(this, js, 0), n(this, kt).getValue("peerSessionStore").emit(C.MAX_SPATIAL_LAYER_CHANGE, {
|
|
17476
17476
|
peerId: this.id,
|
|
17477
17477
|
maxSpatialLayer: n(this, js)
|
|
17478
|
-
})) : d <
|
|
17478
|
+
})) : d < mD && n(this, js) === 0 && (f(this, js, 1), n(this, kt).getValue("peerSessionStore").emit(C.MAX_SPATIAL_LAYER_CHANGE, {
|
|
17479
17479
|
peerId: this.id,
|
|
17480
17480
|
maxSpatialLayer: n(this, js)
|
|
17481
17481
|
}));
|
|
@@ -17789,7 +17789,7 @@ class Ya extends Gf {
|
|
|
17789
17789
|
}
|
|
17790
17790
|
}
|
|
17791
17791
|
var Vr;
|
|
17792
|
-
class
|
|
17792
|
+
class SD extends Ra {
|
|
17793
17793
|
constructor(e) {
|
|
17794
17794
|
super(e);
|
|
17795
17795
|
m(this, Vr, void 0);
|
|
@@ -17815,7 +17815,7 @@ class vD extends Ra {
|
|
|
17815
17815
|
}
|
|
17816
17816
|
}
|
|
17817
17817
|
Vr = new WeakMap();
|
|
17818
|
-
class
|
|
17818
|
+
class vD {
|
|
17819
17819
|
constructor() {
|
|
17820
17820
|
p(this, "_orderedArray");
|
|
17821
17821
|
p(this, "_map");
|
|
@@ -17842,11 +17842,11 @@ class TD {
|
|
|
17842
17842
|
return this._orderedArray[Symbol.iterator]();
|
|
17843
17843
|
}
|
|
17844
17844
|
}
|
|
17845
|
-
class
|
|
17845
|
+
class TD {
|
|
17846
17846
|
constructor() {
|
|
17847
17847
|
p(this, "_activeSpeakerPeers");
|
|
17848
17848
|
p(this, "_compulsoryPeers");
|
|
17849
|
-
this._activeSpeakerPeers = new
|
|
17849
|
+
this._activeSpeakerPeers = new vD(), this._compulsoryPeers = /* @__PURE__ */ new Set();
|
|
17850
17850
|
}
|
|
17851
17851
|
add(t, e, r) {
|
|
17852
17852
|
if (!t)
|
|
@@ -17890,15 +17890,15 @@ class yD {
|
|
|
17890
17890
|
this._compulsoryPeers.delete(t);
|
|
17891
17891
|
}
|
|
17892
17892
|
}
|
|
17893
|
-
const aS = new
|
|
17894
|
-
var
|
|
17895
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
17893
|
+
const aS = new TD();
|
|
17894
|
+
var yD = Object.defineProperty, ED = Object.getOwnPropertyDescriptor, Ds = (s, t, e, r) => {
|
|
17895
|
+
for (var i = r > 1 ? void 0 : r ? ED(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
17896
17896
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
17897
|
-
return r && i &&
|
|
17897
|
+
return r && i && yD(t, e, i), i;
|
|
17898
17898
|
};
|
|
17899
|
-
const
|
|
17899
|
+
const PD = ["ACTIVE_GRID", "PAGINATED", "MANUAL"];
|
|
17900
17900
|
var be, Xo, Xu, Ii, eo, Kn, pd, Mi, ft, zg;
|
|
17901
|
-
let
|
|
17901
|
+
let es = (zg = class extends xt {
|
|
17902
17902
|
constructor(t, e, r) {
|
|
17903
17903
|
const i = t.getValue("logger");
|
|
17904
17904
|
super(i);
|
|
@@ -17977,7 +17977,7 @@ let Zt = (zg = class extends xt {
|
|
|
17977
17977
|
* Keeps a list of all participants who have been present in the selected peers list.
|
|
17978
17978
|
*/
|
|
17979
17979
|
p(this, "selectedPeers", aS);
|
|
17980
|
-
f(this, be, t), f(this, Mi, e), f(this, ft, r), this.waitlisted = new Ya(i), this.joined = new Ya(i), this.videoSubscribed = new Ya(i), this.audioSubscribed = new Ya(i), this.active = this.videoSubscribed, this.pinned = new Ya(i), this.all = new
|
|
17980
|
+
f(this, be, t), f(this, Mi, e), f(this, ft, r), this.waitlisted = new Ya(i), this.joined = new Ya(i), this.videoSubscribed = new Ya(i), this.audioSubscribed = new Ya(i), this.active = this.videoSubscribed, this.pinned = new Ya(i), this.all = new SD(i), this.viewMode = "ACTIVE_GRID", this.currentPage = 0, this.setupEvents();
|
|
17981
17981
|
}
|
|
17982
17982
|
/**
|
|
17983
17983
|
* Return the controls for Picture-in-Picture
|
|
@@ -18105,7 +18105,7 @@ let Zt = (zg = class extends xt {
|
|
|
18105
18105
|
pageCount: this.pageCount,
|
|
18106
18106
|
maxActiveParticipantsCount: this.maxActiveParticipantsCount
|
|
18107
18107
|
}
|
|
18108
|
-
}), !((r) =>
|
|
18108
|
+
}), !((r) => PD.includes(r))(t))
|
|
18109
18109
|
throw this.logger.error("Participants::setViewMode::invalid_view_mode", {
|
|
18110
18110
|
pageNavigation: {
|
|
18111
18111
|
viewMode: t,
|
|
@@ -18309,42 +18309,42 @@ let Zt = (zg = class extends xt {
|
|
|
18309
18309
|
}, Mi = new WeakMap(), ft = new WeakMap(), zg);
|
|
18310
18310
|
Ds([
|
|
18311
18311
|
P.trace("Participants.setViewMode")
|
|
18312
|
-
],
|
|
18312
|
+
], es.prototype, "setViewMode", 1);
|
|
18313
18313
|
Ds([
|
|
18314
18314
|
P.trace("Participants.setPage")
|
|
18315
|
-
],
|
|
18315
|
+
], es.prototype, "setPage", 1);
|
|
18316
18316
|
Ds([
|
|
18317
18317
|
P.trace("Participants.disableAllAudio")
|
|
18318
|
-
],
|
|
18318
|
+
], es.prototype, "disableAllAudio", 1);
|
|
18319
18319
|
Ds([
|
|
18320
18320
|
P.trace("Participants.disableAllVideo")
|
|
18321
|
-
],
|
|
18321
|
+
], es.prototype, "disableAllVideo", 1);
|
|
18322
18322
|
Ds([
|
|
18323
18323
|
P.trace("Participants.kickAll")
|
|
18324
|
-
],
|
|
18324
|
+
], es.prototype, "kickAll", 1);
|
|
18325
18325
|
Ds([
|
|
18326
18326
|
P.trace("Participants.broadcastMessage"),
|
|
18327
18327
|
Ut(ba, "rateLimitConfig")
|
|
18328
|
-
],
|
|
18328
|
+
], es.prototype, "broadcastMessage", 1);
|
|
18329
18329
|
Ds([
|
|
18330
18330
|
P.trace("Participants.getAllJoinedPeers"),
|
|
18331
18331
|
Ut({ maxInvocations: 10, period: 60 })
|
|
18332
|
-
],
|
|
18332
|
+
], es.prototype, "getAllJoinedPeers", 1);
|
|
18333
18333
|
Ds([
|
|
18334
18334
|
P.trace("Participant.updatePermissions"),
|
|
18335
18335
|
Ut({ maxInvocations: 1e3, period: 60 })
|
|
18336
|
-
],
|
|
18336
|
+
], es.prototype, "updatePermissions", 1);
|
|
18337
18337
|
Ds([
|
|
18338
18338
|
P.trace("Participants.getParticipantsInMeetingPreJoin")
|
|
18339
|
-
],
|
|
18340
|
-
|
|
18339
|
+
], es.prototype, "getParticipantsInMeetingPreJoin", 1);
|
|
18340
|
+
es = Ds([
|
|
18341
18341
|
rt("1200")
|
|
18342
|
-
],
|
|
18343
|
-
var
|
|
18344
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
18342
|
+
], es);
|
|
18343
|
+
var _D = Object.defineProperty, CD = Object.getOwnPropertyDescriptor, cn = (s, t, e, r) => {
|
|
18344
|
+
for (var i = r > 1 ? void 0 : r ? CD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
18345
18345
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
18346
|
-
return r && i &&
|
|
18347
|
-
}, Jt,
|
|
18346
|
+
return r && i && _D(t, e, i), i;
|
|
18347
|
+
}, Jt, os, xr, Yg;
|
|
18348
18348
|
const oS = (Yg = class {
|
|
18349
18349
|
constructor(s, t, e) {
|
|
18350
18350
|
p(this, "participants");
|
|
@@ -18357,7 +18357,7 @@ const oS = (Yg = class {
|
|
|
18357
18357
|
p(this, "context");
|
|
18358
18358
|
p(this, "videoPeerConsumerMap", /* @__PURE__ */ new Map());
|
|
18359
18359
|
m(this, Jt, { mode: "ACTIVE_GRID", page: 0 });
|
|
18360
|
-
m(this,
|
|
18360
|
+
m(this, os, !1);
|
|
18361
18361
|
m(this, xr, !1);
|
|
18362
18362
|
p(this, "updateConsumerSpatialLayers", $h(() => {
|
|
18363
18363
|
const s = {}, t = new Map(this.maxSpatialLayerUpdates);
|
|
@@ -18372,7 +18372,7 @@ const oS = (Yg = class {
|
|
|
18372
18372
|
});
|
|
18373
18373
|
}, 2e3));
|
|
18374
18374
|
p(this, "updateConsumers", (r, i, ...a) => u(this, [r, i, ...a], function* (s, t, e = []) {
|
|
18375
|
-
this.logger.info(`updateConsumers: Starting consumer updates - AddProducers: ${s.length}, RemoveProducers: ${t.length}, RemoveStaleConsumers: ${e.length}, ConsumersSyncing: ${n(this,
|
|
18375
|
+
this.logger.info(`updateConsumers: Starting consumer updates - AddProducers: ${s.length}, RemoveProducers: ${t.length}, RemoveStaleConsumers: ${e.length}, ConsumersSyncing: ${n(this, os)}`);
|
|
18376
18376
|
try {
|
|
18377
18377
|
s.length !== 0 && (this.logger.info(`updateConsumers: Creating consumers for ${s.length} producers: [${s.map((o) => o.producerId).join(", ")}]`), yield this.roomNodeClient.createConsumers(s), this.logger.info("updateConsumers: Successfully created consumers."));
|
|
18378
18378
|
} catch (o) {
|
|
@@ -18390,7 +18390,7 @@ const oS = (Yg = class {
|
|
|
18390
18390
|
}
|
|
18391
18391
|
this.logger.info("updateConsumers: Completed consumer updates.");
|
|
18392
18392
|
}));
|
|
18393
|
-
this.context = s, this.roomSocketHandler = e, this.participants = new
|
|
18393
|
+
this.context = s, this.roomSocketHandler = e, this.participants = new es(s, t, this.roomSocketHandler), this.self = t, this.consumerPeerMap = /* @__PURE__ */ new Map(), this.events = hs, t.config.viewType !== "CHAT" && this.setupEventsGlobal(), this.setupEvents();
|
|
18394
18394
|
}
|
|
18395
18395
|
get roomNodeClient() {
|
|
18396
18396
|
return this.context.getValue("roomNodeClient");
|
|
@@ -18490,7 +18490,7 @@ const oS = (Yg = class {
|
|
|
18490
18490
|
appData: { screenShare: t == null ? void 0 : t.screenShare }
|
|
18491
18491
|
}
|
|
18492
18492
|
}
|
|
18493
|
-
), (t == null ? void 0 : t.kind) === "audio" && this.participants.audioSubscribed.get(s) || (t == null ? void 0 : t.kind) === "video" && this.participants.videoSubscribed.get(s) || t != null && t.screenShare ? (this.logger.info(`NEW_PRODUCER: scheduling syncConsumer (AUTO mode) - Producer: ${t.producerId}, Peer: ${s}, Kind: ${t.kind}, ScreenShare: ${t.screenShare}, ConsumersSyncing: ${n(this,
|
|
18493
|
+
), (t == null ? void 0 : t.kind) === "audio" && this.participants.audioSubscribed.get(s) || (t == null ? void 0 : t.kind) === "video" && this.participants.videoSubscribed.get(s) || t != null && t.screenShare ? (this.logger.info(`NEW_PRODUCER: scheduling syncConsumer (AUTO mode) - Producer: ${t.producerId}, Peer: ${s}, Kind: ${t.kind}, ScreenShare: ${t.screenShare}, ConsumersSyncing: ${n(this, os)}, VideoSub: ${t.kind === "video" ? this.participants.videoSubscribed.has(s) : "N/A"}, AudioSub: ${t.kind === "audio" ? this.participants.audioSubscribed.has(s) : "N/A"}`), this.scheduleSyncConsumers({
|
|
18494
18494
|
source: "NEW_PRODUCER_AUTO"
|
|
18495
18495
|
})) : this.logger.info(
|
|
18496
18496
|
"ParticipantController::NEW_PRODUCER::not_consuming_producer_auto",
|
|
@@ -18551,7 +18551,7 @@ const oS = (Yg = class {
|
|
|
18551
18551
|
const e = t;
|
|
18552
18552
|
this.onParticipantPinned(e);
|
|
18553
18553
|
const r = this.participants.joined.get(e);
|
|
18554
|
-
r && (this.logger.info(`globalPeerPinBroadcast: Scheduling audio/video consumer sync for pinned participant ${e} - ProducerCount: ${r.producers.length}, ConsumersSyncing: ${n(this,
|
|
18554
|
+
r && (this.logger.info(`globalPeerPinBroadcast: Scheduling audio/video consumer sync for pinned participant ${e} - ProducerCount: ${r.producers.length}, ConsumersSyncing: ${n(this, os)}, ProducerIds: [${r.producers.map((i) => i.producerId).join(", ")}]`), this.scheduleSyncConsumers({
|
|
18555
18555
|
source: "GLOBAL_PEER_PIN"
|
|
18556
18556
|
}));
|
|
18557
18557
|
}
|
|
@@ -18679,8 +18679,8 @@ const oS = (Yg = class {
|
|
|
18679
18679
|
source: s
|
|
18680
18680
|
}) {
|
|
18681
18681
|
var r, i, a;
|
|
18682
|
-
const e = ((r = n(this, Jt)) == null ? void 0 : r.mode) === "PAGINATED" && !n(this,
|
|
18683
|
-
this.logger.info(`scheduleSyncConsumers():: Source: ${s}, ViewMode: ${(i = n(this, Jt)) == null ? void 0 : i.mode}, ConsumersSyncing: ${n(this,
|
|
18682
|
+
const e = ((r = n(this, Jt)) == null ? void 0 : r.mode) === "PAGINATED" && !n(this, os) ? 200 : 0;
|
|
18683
|
+
this.logger.info(`scheduleSyncConsumers():: Source: ${s}, ViewMode: ${(i = n(this, Jt)) == null ? void 0 : i.mode}, ConsumersSyncing: ${n(this, os)}, Delay: ${e}, Page: ${(a = n(this, Jt)) == null ? void 0 : a.page}`), setTimeout(() => this.syncConsumers(), e);
|
|
18684
18684
|
});
|
|
18685
18685
|
}
|
|
18686
18686
|
/**
|
|
@@ -18715,11 +18715,11 @@ const oS = (Yg = class {
|
|
|
18715
18715
|
this.logger.info("syncConsumers: Connection not ready, exiting.");
|
|
18716
18716
|
return;
|
|
18717
18717
|
}
|
|
18718
|
-
if (n(this,
|
|
18718
|
+
if (n(this, os)) {
|
|
18719
18719
|
f(this, xr, !0), this.logger.info("syncConsumers: Sync in progress, marking resyncRequired=true and exiting.");
|
|
18720
18720
|
return;
|
|
18721
18721
|
}
|
|
18722
|
-
this.logger.info("syncConsumers: Starting sync operation."), f(this,
|
|
18722
|
+
this.logger.info("syncConsumers: Starting sync operation."), f(this, os, !0), f(this, xr, !1);
|
|
18723
18723
|
let t = [];
|
|
18724
18724
|
this.participants.videoSubscribed.forEach((D) => {
|
|
18725
18725
|
var F, X;
|
|
@@ -18790,7 +18790,7 @@ const oS = (Yg = class {
|
|
|
18790
18790
|
} catch (D) {
|
|
18791
18791
|
this.logger.error("syncConsumers: updateConsumers failed with error.", { error: D });
|
|
18792
18792
|
} finally {
|
|
18793
|
-
this.logger.info("syncConsumers: Setting consumersSyncing=false and completing sync."), f(this,
|
|
18793
|
+
this.logger.info("syncConsumers: Setting consumersSyncing=false and completing sync."), f(this, os, !1), (x = s == null ? void 0 : s.socketState) != null && x.state && s.socketState.state !== "connected" && f(this, xr, !0);
|
|
18794
18794
|
}
|
|
18795
18795
|
n(this, xr) && (this.logger.info("syncConsumers: Resync required, calling syncConsumers again."), this.syncConsumers());
|
|
18796
18796
|
});
|
|
@@ -19361,7 +19361,7 @@ const oS = (Yg = class {
|
|
|
19361
19361
|
// priority
|
|
19362
19362
|
})), t && this.context.getValue("peerSessionStore").emit(C.UPDATE_ACTIVE, { viewMode: this.participants.viewMode, page: this.participants.currentPage });
|
|
19363
19363
|
}
|
|
19364
|
-
}, Jt = new WeakMap(),
|
|
19364
|
+
}, Jt = new WeakMap(), os = new WeakMap(), xr = new WeakMap(), Yg);
|
|
19365
19365
|
let mr = oS;
|
|
19366
19366
|
cn([
|
|
19367
19367
|
P.trace("ParticipantController.setupEvents")
|
|
@@ -20095,10 +20095,10 @@ class cS extends xt {
|
|
|
20095
20095
|
}
|
|
20096
20096
|
}
|
|
20097
20097
|
At = new WeakMap();
|
|
20098
|
-
var
|
|
20099
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
20098
|
+
var wD = Object.defineProperty, RD = Object.getOwnPropertyDescriptor, mt = (s, t, e, r) => {
|
|
20099
|
+
for (var i = r > 1 ? void 0 : r ? RD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
20100
20100
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
20101
|
-
return r && i &&
|
|
20101
|
+
return r && i && wD(t, e, i), i;
|
|
20102
20102
|
}, Qn, dt, Xn, $e, Gs, ai, Be, Xe, Zn, gd, De, Ne, ea, ta, Zo, eh, Qg;
|
|
20103
20103
|
let Je = (Qg = class extends cS {
|
|
20104
20104
|
constructor(t, e, r, i, a) {
|
|
@@ -20172,7 +20172,7 @@ let Je = (Qg = class extends cS {
|
|
|
20172
20172
|
var S, y, E, k, R, A;
|
|
20173
20173
|
let c = (y = (S = t.getValue("defaults")) == null ? void 0 : S.audio) != null ? y : !0, d = (k = (E = t.getValue("defaults")) == null ? void 0 : E.video) != null ? k : !0;
|
|
20174
20174
|
r.canProduceAudio !== "ALLOWED" && (c = !1), r.canProduceVideo !== "ALLOWED" && (d = !1);
|
|
20175
|
-
const l = new Je(t, e, r, i, a), h =
|
|
20175
|
+
const l = new Je(t, e, r, i, a), h = VM(i.mediaConstraints);
|
|
20176
20176
|
Sr(h, (R = t.getValue("defaults")) == null ? void 0 : R.mediaConfiguration);
|
|
20177
20177
|
const g = (A = t.getValue("defaults")) == null ? void 0 : A.mediaHandler;
|
|
20178
20178
|
return g && (g.context = t), yield l.init({
|
|
@@ -20805,7 +20805,7 @@ function dS(s, t) {
|
|
|
20805
20805
|
}));
|
|
20806
20806
|
});
|
|
20807
20807
|
}
|
|
20808
|
-
function
|
|
20808
|
+
function bD(s) {
|
|
20809
20809
|
return s.map((t) => ({
|
|
20810
20810
|
channels: t.channels,
|
|
20811
20811
|
clockRate: t.clockRate,
|
|
@@ -20813,18 +20813,18 @@ function kD(s) {
|
|
|
20813
20813
|
sdpFmtpLine: t.sdpFmtpLine
|
|
20814
20814
|
}));
|
|
20815
20815
|
}
|
|
20816
|
-
function
|
|
20816
|
+
function kD(s) {
|
|
20817
20817
|
return s.map((t) => ({
|
|
20818
20818
|
uri: t.uri
|
|
20819
20819
|
}));
|
|
20820
20820
|
}
|
|
20821
20821
|
function nd(s) {
|
|
20822
20822
|
return {
|
|
20823
|
-
codecs:
|
|
20824
|
-
headerExtensions:
|
|
20823
|
+
codecs: bD(s.codecs),
|
|
20824
|
+
headerExtensions: kD(s.headerExtensions ? s.headerExtensions : [])
|
|
20825
20825
|
};
|
|
20826
20826
|
}
|
|
20827
|
-
function
|
|
20827
|
+
function AD(s) {
|
|
20828
20828
|
const t = RTCRtpReceiver.getCapabilities("audio"), e = RTCRtpReceiver.getCapabilities("video"), r = RTCRtpSender.getCapabilities("audio"), i = RTCRtpSender.getCapabilities("video");
|
|
20829
20829
|
s && (e.codecs = e.codecs.filter(({ mimeType: d }) => s === d), i.codecs = i.codecs.filter(({ mimeType: d }) => s === d));
|
|
20830
20830
|
const a = {
|
|
@@ -20840,7 +20840,7 @@ function ID(s) {
|
|
|
20840
20840
|
};
|
|
20841
20841
|
}
|
|
20842
20842
|
var He;
|
|
20843
|
-
class
|
|
20843
|
+
class ID {
|
|
20844
20844
|
constructor(t) {
|
|
20845
20845
|
m(this, He, void 0);
|
|
20846
20846
|
p(this, "events");
|
|
@@ -20883,7 +20883,7 @@ class MD {
|
|
|
20883
20883
|
const e = (yield n(this, He).sendMessagePromise(
|
|
20884
20884
|
this.events.produce,
|
|
20885
20885
|
_R.toBinary(t)
|
|
20886
|
-
)).payload, r =
|
|
20886
|
+
)).payload, r = ib.fromBinary(e);
|
|
20887
20887
|
return {
|
|
20888
20888
|
answer: {
|
|
20889
20889
|
sdp: (a = r == null ? void 0 : r.description) == null ? void 0 : a.sdp,
|
|
@@ -20901,7 +20901,7 @@ class MD {
|
|
|
20901
20901
|
)).payload, {
|
|
20902
20902
|
consumerIdsMap: { map: r },
|
|
20903
20903
|
description: i
|
|
20904
|
-
} =
|
|
20904
|
+
} = sb.fromBinary(e);
|
|
20905
20905
|
return { consumerStateMap: r, sessionDescription: i };
|
|
20906
20906
|
});
|
|
20907
20907
|
}
|
|
@@ -20910,7 +20910,7 @@ class MD {
|
|
|
20910
20910
|
const e = (yield n(this, He).sendMessagePromise(
|
|
20911
20911
|
this.events.closeProducer,
|
|
20912
20912
|
IR.toBinary(t)
|
|
20913
|
-
)).payload, { description: r } =
|
|
20913
|
+
)).payload, { description: r } = ub.fromBinary(e);
|
|
20914
20914
|
return r;
|
|
20915
20915
|
});
|
|
20916
20916
|
}
|
|
@@ -20943,7 +20943,7 @@ class MD {
|
|
|
20943
20943
|
)).payload;
|
|
20944
20944
|
if (!i)
|
|
20945
20945
|
return !1;
|
|
20946
|
-
const { status: a } =
|
|
20946
|
+
const { status: a } = vb.fromBinary(i);
|
|
20947
20947
|
return a === "success";
|
|
20948
20948
|
});
|
|
20949
20949
|
}
|
|
@@ -20959,7 +20959,7 @@ class MD {
|
|
|
20959
20959
|
)).payload;
|
|
20960
20960
|
if (!r)
|
|
20961
20961
|
return !1;
|
|
20962
|
-
const { status: i } =
|
|
20962
|
+
const { status: i } = yb.fromBinary(r);
|
|
20963
20963
|
return i === "success";
|
|
20964
20964
|
});
|
|
20965
20965
|
}
|
|
@@ -21006,7 +21006,7 @@ class MD {
|
|
|
21006
21006
|
)).payload;
|
|
21007
21007
|
if (!e)
|
|
21008
21008
|
return !1;
|
|
21009
|
-
const { status: r } =
|
|
21009
|
+
const { status: r } = Pb.fromBinary(e);
|
|
21010
21010
|
return r === "success";
|
|
21011
21011
|
});
|
|
21012
21012
|
}
|
|
@@ -21426,8 +21426,8 @@ class Dd extends ep {
|
|
|
21426
21426
|
}
|
|
21427
21427
|
const l = (S, y) => {
|
|
21428
21428
|
var U;
|
|
21429
|
-
const E =
|
|
21430
|
-
return E.media[E.media.length - 1].rtp = R, E.media[E.media.length - 1].fmtp = A, E.media[E.media.length - 1].rtcpFb = x, E.media[E.media.length - 1].payloads = D.join(" "),
|
|
21429
|
+
const E = ss.parse(S), k = E.media[E.media.length - 1], R = k.rtp.filter(($) => y.some((F) => F.name === $.codec)), A = k.fmtp.filter(($) => R.some((F) => F.payload === $.payload)), x = (U = k.rtcpFb) == null ? void 0 : U.filter(($) => R.some((F) => F.payload === $.payload)), D = R.map(($) => $.payload);
|
|
21430
|
+
return E.media[E.media.length - 1].rtp = R, E.media[E.media.length - 1].fmtp = A, E.media[E.media.length - 1].rtcpFb = x, E.media[E.media.length - 1].payloads = D.join(" "), ss.write(E);
|
|
21431
21431
|
}, h = yield this.pc.createOffer();
|
|
21432
21432
|
if (h.sdp = l(h.sdp, i), this.logger.debug(`[SDP] send() | calling pc.setLocalDescription() [offer:${JSON.stringify(h)}]`), yield this.pc.setLocalDescription(h), e === "audio" || e.kind === "audio") {
|
|
21433
21433
|
const { enableDtx: S, enableStereo: y } = this, E = this.enableHighBitrate ? y ? 128e3 : 64e3 : y ? 64e3 : 32e3;
|
|
@@ -21524,11 +21524,11 @@ class sp extends ep {
|
|
|
21524
21524
|
});
|
|
21525
21525
|
}
|
|
21526
21526
|
}
|
|
21527
|
-
function
|
|
21527
|
+
function MD(s, t) {
|
|
21528
21528
|
return typeof s == "undefined" ? t : typeof window != "undefined" && Object.getOwnPropertyDescriptor(window, "structuredClone") ? structuredClone(s) : JSON.parse(JSON.stringify(s));
|
|
21529
21529
|
}
|
|
21530
21530
|
var sc, Di, Ts, Qd, ys, Tr, rc, sh, Xd, lS, Zd, uS;
|
|
21531
|
-
class
|
|
21531
|
+
class DD extends Xl {
|
|
21532
21532
|
constructor(e, r) {
|
|
21533
21533
|
var i;
|
|
21534
21534
|
super(e);
|
|
@@ -21659,8 +21659,8 @@ sc = new WeakMap(), Di = new WeakMap(), Ts = new WeakMap(), Qd = new WeakMap(),
|
|
|
21659
21659
|
}));
|
|
21660
21660
|
}
|
|
21661
21661
|
};
|
|
21662
|
-
var
|
|
21663
|
-
class
|
|
21662
|
+
var cs, sa, ra, Oi, Kt, Qe, Ur, ia, el, It, ts;
|
|
21663
|
+
class OD extends Xl {
|
|
21664
21664
|
/**
|
|
21665
21665
|
* @emits transportclose
|
|
21666
21666
|
* @emits trackended
|
|
@@ -21684,7 +21684,7 @@ class ND extends Xl {
|
|
|
21684
21684
|
/**
|
|
21685
21685
|
* Associated RTCRtpSender.
|
|
21686
21686
|
*/
|
|
21687
|
-
m(this,
|
|
21687
|
+
m(this, cs, void 0);
|
|
21688
21688
|
/**
|
|
21689
21689
|
* Kind of media on to this producer
|
|
21690
21690
|
*/
|
|
@@ -21714,7 +21714,7 @@ class ND extends Xl {
|
|
|
21714
21714
|
m(this, Ur, void 0);
|
|
21715
21715
|
m(this, ia, void 0);
|
|
21716
21716
|
m(this, el, void 0);
|
|
21717
|
-
this.id = r.id, this.localId = r.localId, f(this, Qe, r.track), this.kind = (i = r.track) == null ? void 0 : i.kind, f(this, Ur, r.disableTrackOnPause ? !((a = r.track) != null && a.enabled) : !1), f(this, ia, void 0), f(this, sa, r.stopTracks), f(this, ra, r.disableTrackOnPause), f(this, Oi, r.zeroRtpOnPause), this.appData = r.appData || {}, this._onTrackEnded = this._onTrackEnded.bind(this), f(this,
|
|
21717
|
+
this.id = r.id, this.localId = r.localId, f(this, Qe, r.track), this.kind = (i = r.track) == null ? void 0 : i.kind, f(this, Ur, r.disableTrackOnPause ? !((a = r.track) != null && a.enabled) : !1), f(this, ia, void 0), f(this, sa, r.stopTracks), f(this, ra, r.disableTrackOnPause), f(this, Oi, r.zeroRtpOnPause), this.appData = r.appData || {}, this._onTrackEnded = this._onTrackEnded.bind(this), f(this, cs, r.handler), this.rtpSender = r.rtpSender, this._handleTrack(), f(this, el, e);
|
|
21718
21718
|
}
|
|
21719
21719
|
/**
|
|
21720
21720
|
* Whether the Producer is closed.
|
|
@@ -21749,11 +21749,11 @@ class ND extends Xl {
|
|
|
21749
21749
|
return u(this, null, function* () {
|
|
21750
21750
|
if (n(this, Kt))
|
|
21751
21751
|
return;
|
|
21752
|
-
if (this.logger.debug(`Producer::close() ${e ? `with reason ${e}` : ""}`, n(this, It,
|
|
21752
|
+
if (this.logger.debug(`Producer::close() ${e ? `with reason ${e}` : ""}`, n(this, It, ts)), f(this, Kt, !0), this._destroyTrack(), e === Ro) {
|
|
21753
21753
|
this.safeEmit("close", { reason: e });
|
|
21754
21754
|
return;
|
|
21755
21755
|
}
|
|
21756
|
-
const { offerSdp: r, callback: i } = yield n(this,
|
|
21756
|
+
const { offerSdp: r, callback: i } = yield n(this, cs).stopSending(this.localId), { answer: a } = yield this.safeEmitAsPromise("close", { offer: r, reason: e });
|
|
21757
21757
|
i(a);
|
|
21758
21758
|
});
|
|
21759
21759
|
}
|
|
@@ -21764,24 +21764,24 @@ class ND extends Xl {
|
|
|
21764
21764
|
return u(this, null, function* () {
|
|
21765
21765
|
if (n(this, Kt))
|
|
21766
21766
|
throw new Et("closed");
|
|
21767
|
-
return n(this,
|
|
21767
|
+
return n(this, cs).getSenderStats(this.localId);
|
|
21768
21768
|
});
|
|
21769
21769
|
}
|
|
21770
21770
|
/**
|
|
21771
21771
|
* Pauses sending media.
|
|
21772
21772
|
*/
|
|
21773
21773
|
pause() {
|
|
21774
|
-
this.logger.debug("Producer::pause()", n(this, It,
|
|
21774
|
+
this.logger.debug("Producer::pause()", n(this, It, ts)), n(this, Kt) && this.logger.error("Producer::pause() | Producer closed", n(this, It, ts)), f(this, Ur, !0), n(this, Qe) && n(this, ra) && (n(this, Qe).enabled = !1), n(this, Oi) && n(this, cs).replaceTrack(this.localId, null), this.emit("pause");
|
|
21775
21775
|
}
|
|
21776
21776
|
/**
|
|
21777
21777
|
* Resumes sending media.
|
|
21778
21778
|
*/
|
|
21779
21779
|
resume() {
|
|
21780
|
-
if (this.logger.debug("Producer::resume()", n(this, It,
|
|
21781
|
-
this.logger.error("Producer::resume() | Producer closed", n(this, It,
|
|
21780
|
+
if (this.logger.debug("Producer::resume()", n(this, It, ts)), n(this, Kt)) {
|
|
21781
|
+
this.logger.error("Producer::resume() | Producer closed", n(this, It, ts));
|
|
21782
21782
|
return;
|
|
21783
21783
|
}
|
|
21784
|
-
f(this, Ur, !1), n(this, Qe) && n(this, ra) && (n(this, Qe).enabled = !0), n(this, Oi) && n(this,
|
|
21784
|
+
f(this, Ur, !1), n(this, Qe) && n(this, ra) && (n(this, Qe).enabled = !0), n(this, Oi) && n(this, cs).replaceTrack(this.localId, n(this, Qe)), this.emit("resume");
|
|
21785
21785
|
}
|
|
21786
21786
|
/**
|
|
21787
21787
|
* Replaces the current track with a new one or null.
|
|
@@ -21790,12 +21790,12 @@ class ND extends Xl {
|
|
|
21790
21790
|
return u(this, arguments, function* ({
|
|
21791
21791
|
track: e
|
|
21792
21792
|
}) {
|
|
21793
|
-
if (this.logger.debug(`Producer::replaceTrack() trackId: ${e == null ? void 0 : e.id}`, n(this, It,
|
|
21793
|
+
if (this.logger.debug(`Producer::replaceTrack() trackId: ${e == null ? void 0 : e.id}`, n(this, It, ts)), n(this, Kt)) {
|
|
21794
21794
|
if (e && n(this, sa))
|
|
21795
21795
|
try {
|
|
21796
21796
|
e.stop();
|
|
21797
21797
|
} catch (i) {
|
|
21798
|
-
this.logger.error("Producer::replaceTrack", z(L({}, n(this, It,
|
|
21798
|
+
this.logger.error("Producer::replaceTrack", z(L({}, n(this, It, ts)), {
|
|
21799
21799
|
error: i
|
|
21800
21800
|
}));
|
|
21801
21801
|
}
|
|
@@ -21803,10 +21803,10 @@ class ND extends Xl {
|
|
|
21803
21803
|
} else if (e && e.readyState === "ended")
|
|
21804
21804
|
throw new Et("track ended");
|
|
21805
21805
|
if (e === n(this, Qe)) {
|
|
21806
|
-
this.logger.debug(`replaceTrack() | same track, ignored trackId: ${e.id}`, n(this, It,
|
|
21806
|
+
this.logger.debug(`replaceTrack() | same track, ignored trackId: ${e.id}`, n(this, It, ts));
|
|
21807
21807
|
return;
|
|
21808
21808
|
}
|
|
21809
|
-
(!n(this, Oi) || !n(this, Ur)) && (yield n(this,
|
|
21809
|
+
(!n(this, Oi) || !n(this, Ur)) && (yield n(this, cs).replaceTrack(this.localId, e)), this._destroyTrack(), f(this, Qe, e), this._handleTrack();
|
|
21810
21810
|
});
|
|
21811
21811
|
}
|
|
21812
21812
|
/**
|
|
@@ -21820,7 +21820,7 @@ class ND extends Xl {
|
|
|
21820
21820
|
throw new wo("not a video Producer");
|
|
21821
21821
|
if (typeof e != "number")
|
|
21822
21822
|
throw new TypeError("invalid spatialLayer");
|
|
21823
|
-
yield n(this,
|
|
21823
|
+
yield n(this, cs).setMaxSpatialLayer(this.localId, e), f(this, ia, e);
|
|
21824
21824
|
});
|
|
21825
21825
|
}
|
|
21826
21826
|
/**
|
|
@@ -21832,11 +21832,11 @@ class ND extends Xl {
|
|
|
21832
21832
|
throw new Et("closed");
|
|
21833
21833
|
if (typeof e != "object")
|
|
21834
21834
|
throw new TypeError("invalid params");
|
|
21835
|
-
yield n(this,
|
|
21835
|
+
yield n(this, cs).setRtpEncodingParameters(this.localId, e);
|
|
21836
21836
|
});
|
|
21837
21837
|
}
|
|
21838
21838
|
_onTrackEnded() {
|
|
21839
|
-
this.logger.debug(`Producer::track "ended" event trackId: ${this.track.id}`, n(this, It,
|
|
21839
|
+
this.logger.debug(`Producer::track "ended" event trackId: ${this.track.id}`, n(this, It, ts)), this.safeEmit("trackended", this.track.id);
|
|
21840
21840
|
}
|
|
21841
21841
|
_handleTrack() {
|
|
21842
21842
|
n(this, Qe) && n(this, Qe).addEventListener("ended", this._onTrackEnded);
|
|
@@ -21847,13 +21847,13 @@ class ND extends Xl {
|
|
|
21847
21847
|
try {
|
|
21848
21848
|
n(this, Qe).removeEventListener("ended", this._onTrackEnded), n(this, sa) && n(this, Qe).stop();
|
|
21849
21849
|
} catch (r) {
|
|
21850
|
-
this.logger.error(`Producer::_destroyTrack trackId: ${(e = this.track) == null ? void 0 : e.id}`, z(L({}, n(this, It,
|
|
21850
|
+
this.logger.error(`Producer::_destroyTrack trackId: ${(e = this.track) == null ? void 0 : e.id}`, z(L({}, n(this, It, ts)), {
|
|
21851
21851
|
error: r
|
|
21852
21852
|
}));
|
|
21853
21853
|
}
|
|
21854
21854
|
}
|
|
21855
21855
|
}
|
|
21856
|
-
|
|
21856
|
+
cs = new WeakMap(), sa = new WeakMap(), ra = new WeakMap(), Oi = new WeakMap(), Kt = new WeakMap(), Qe = new WeakMap(), Ur = new WeakMap(), ia = new WeakMap(), el = new WeakMap(), It = new WeakSet(), ts = function() {
|
|
21857
21857
|
return {
|
|
21858
21858
|
producer: {
|
|
21859
21859
|
id: this.id,
|
|
@@ -21905,7 +21905,7 @@ const Tn = class extends Xl {
|
|
|
21905
21905
|
f(this, na, e);
|
|
21906
21906
|
const S = e.getValue("logger");
|
|
21907
21907
|
S.debug(`constructor() [id: ${r}, direction: ${i}]`), this.id = r, this.direction = i;
|
|
21908
|
-
const y =
|
|
21908
|
+
const y = MD(l, {});
|
|
21909
21909
|
delete y.iceServers, delete y.iceTransportPolicy, delete y.bundlePolicy, delete y.rtcpMuxPolicy, delete y.sdpSemantics, this.producers = /* @__PURE__ */ new Map(), this.consumers = /* @__PURE__ */ new Map(), this.consumerTrackEvents = /* @__PURE__ */ new Map(), this.unknownTracksMap = /* @__PURE__ */ new Map(), this.awaitQueue = new th(S, !0), this.handler = a(), this.handler.enableHighBitrate = (k = g == null ? void 0 : g.enableHighBitrate) != null ? k : !1, this.handler.enableStereo = (R = g == null ? void 0 : g.enableStereo) != null ? R : !1, this.handler.enableDtx = (A = g == null ? void 0 : g.enableDtx) != null ? A : !0, this.handler.init({
|
|
21910
21910
|
onTrackHandler: this._ontrack.bind(this),
|
|
21911
21911
|
direction: i,
|
|
@@ -22066,7 +22066,7 @@ const Tn = class extends Xl {
|
|
|
22066
22066
|
}
|
|
22067
22067
|
createProducerObject(e) {
|
|
22068
22068
|
return u(this, null, function* () {
|
|
22069
|
-
const r = new
|
|
22069
|
+
const r = new OD(n(this, na), e);
|
|
22070
22070
|
return this.producers.set(r.id, r), r.once("close", () => {
|
|
22071
22071
|
this.producers.delete(r.id);
|
|
22072
22072
|
}), this.emit("newproducer", r), r;
|
|
@@ -22114,7 +22114,7 @@ const Tn = class extends Xl {
|
|
|
22114
22114
|
});
|
|
22115
22115
|
}
|
|
22116
22116
|
static parseCodecAndFmtpMappings(e, r) {
|
|
22117
|
-
const i =
|
|
22117
|
+
const i = ss.parse(e.sdp), a = {};
|
|
22118
22118
|
return i.media.forEach((o) => {
|
|
22119
22119
|
r.includes(o.mid.toString()) && (a[o.mid.toString()] = {
|
|
22120
22120
|
rtp: o.rtp,
|
|
@@ -22125,7 +22125,7 @@ const Tn = class extends Xl {
|
|
|
22125
22125
|
}), a;
|
|
22126
22126
|
}
|
|
22127
22127
|
static setCodecAndFmtpMappings(e, r, i) {
|
|
22128
|
-
const a =
|
|
22128
|
+
const a = ss.parse(e.sdp);
|
|
22129
22129
|
return a.media = a.media.map((c) => {
|
|
22130
22130
|
if (r.includes(c.mid.toString())) {
|
|
22131
22131
|
const d = L({}, c);
|
|
@@ -22133,22 +22133,22 @@ const Tn = class extends Xl {
|
|
|
22133
22133
|
}
|
|
22134
22134
|
return c;
|
|
22135
22135
|
}), z(L({}, e), {
|
|
22136
|
-
sdp:
|
|
22136
|
+
sdp: ss.write(a)
|
|
22137
22137
|
});
|
|
22138
22138
|
}
|
|
22139
22139
|
static parseHeaderExtensionMappings(e) {
|
|
22140
|
-
const r =
|
|
22140
|
+
const r = ss.parse(e.sdp), i = {};
|
|
22141
22141
|
return r.media.forEach((a) => {
|
|
22142
22142
|
i[a.mid] = a.ext;
|
|
22143
22143
|
}), i;
|
|
22144
22144
|
}
|
|
22145
22145
|
static setHeaderExtensionMappings(e, r) {
|
|
22146
|
-
const i =
|
|
22146
|
+
const i = ss.parse(e.sdp);
|
|
22147
22147
|
return i.media = i.media.map((o) => {
|
|
22148
22148
|
const c = L({}, o);
|
|
22149
22149
|
return c.ext = r[o.mid], c;
|
|
22150
22150
|
}), z(L({}, e), {
|
|
22151
|
-
sdp:
|
|
22151
|
+
sdp: ss.write(i)
|
|
22152
22152
|
});
|
|
22153
22153
|
}
|
|
22154
22154
|
closeConsumers(e, r) {
|
|
@@ -22183,7 +22183,7 @@ const Tn = class extends Xl {
|
|
|
22183
22183
|
this.logger.info("[SDP] Received offer from SFU", { sdp: e.sdp }), yield this.setRemoteDescription(e);
|
|
22184
22184
|
const r = yield this.handler.pc.createAnswer();
|
|
22185
22185
|
this.logger.info("[SDP] Created answer corresponding to received offer", { sdp: r.sdp });
|
|
22186
|
-
const i =
|
|
22186
|
+
const i = ss.parse(r.sdp);
|
|
22187
22187
|
return i.media = i.media.map((a) => {
|
|
22188
22188
|
if (a.type === "audio") {
|
|
22189
22189
|
const o = L({}, a), c = o.fmtp.find(
|
|
@@ -22197,7 +22197,7 @@ const Tn = class extends Xl {
|
|
|
22197
22197
|
}), o;
|
|
22198
22198
|
}
|
|
22199
22199
|
return a;
|
|
22200
|
-
}), r.sdp =
|
|
22200
|
+
}), r.sdp = ss.write(i), this.logger.info("[SDP] Setting munged SDP", { sdp: r.sdp }), yield this.setLocalDescription(r), this.logger.info("[SDP] Successfully set local description", { sdp: r.sdp }), r;
|
|
22201
22201
|
} catch (r) {
|
|
22202
22202
|
throw this.logger.error("Set remote offer failed", { error: r }), r;
|
|
22203
22203
|
}
|
|
@@ -22240,7 +22240,7 @@ const Tn = class extends Xl {
|
|
|
22240
22240
|
else {
|
|
22241
22241
|
const F = U;
|
|
22242
22242
|
F.enabled = !0, this.handler.midTransceiverMap.set($.mid, $);
|
|
22243
|
-
const X = new
|
|
22243
|
+
const X = new DD(n(this, na), {
|
|
22244
22244
|
id: r,
|
|
22245
22245
|
localId: $.mid,
|
|
22246
22246
|
transceiver: $,
|
|
@@ -22289,7 +22289,7 @@ const Tn = class extends Xl {
|
|
|
22289
22289
|
};
|
|
22290
22290
|
let rh = Tn;
|
|
22291
22291
|
na = new WeakMap();
|
|
22292
|
-
function
|
|
22292
|
+
function ND(s) {
|
|
22293
22293
|
if (typeof navigator == "object" && navigator.product === "ReactNative") {
|
|
22294
22294
|
if (typeof RTCPeerConnection == "undefined") {
|
|
22295
22295
|
s.warn(
|
|
@@ -22329,7 +22329,7 @@ function LD(s) {
|
|
|
22329
22329
|
s.warn("Device::this._detectDevice() | unknown device");
|
|
22330
22330
|
}
|
|
22331
22331
|
var Ws, Ni;
|
|
22332
|
-
class
|
|
22332
|
+
class LD {
|
|
22333
22333
|
constructor(t, { handlerName: e, handlerFactory: r } = {}) {
|
|
22334
22334
|
// RTC handler factory.
|
|
22335
22335
|
p(this, "handlerFactory");
|
|
@@ -22345,7 +22345,7 @@ class VD {
|
|
|
22345
22345
|
else {
|
|
22346
22346
|
if (e)
|
|
22347
22347
|
n(this, Ni).debug(`Device::constructor() | handler given: ${e}`);
|
|
22348
|
-
else if (e =
|
|
22348
|
+
else if (e = ND(n(this, Ni)), e)
|
|
22349
22349
|
n(this, Ni).debug(`Device::constructor() | detected handler: ${e}`);
|
|
22350
22350
|
else
|
|
22351
22351
|
throw new Error("device not supported");
|
|
@@ -22389,9 +22389,9 @@ class VD {
|
|
|
22389
22389
|
}
|
|
22390
22390
|
}
|
|
22391
22391
|
Ws = new WeakMap(), Ni = new WeakMap();
|
|
22392
|
-
const
|
|
22392
|
+
const VD = 2e3;
|
|
22393
22393
|
var aa, Fe, qe, ic, nc, Li, oa, ac, ca, Vi, Es, da, md, oc, ih, tl, hS, cc, nh, sl, pS, rl, gS, il, mS, nl, fS, al, SS, dc, ah, $r, gn;
|
|
22394
|
-
class
|
|
22394
|
+
class xD extends gt.EventEmitter {
|
|
22395
22395
|
constructor(e, r) {
|
|
22396
22396
|
super();
|
|
22397
22397
|
m(this, da);
|
|
@@ -22423,7 +22423,7 @@ class UD extends gt.EventEmitter {
|
|
|
22423
22423
|
});
|
|
22424
22424
|
m(this, Vi, void 0);
|
|
22425
22425
|
m(this, Es, "all");
|
|
22426
|
-
this.context = e, f(this, Li, r), f(this, aa, new
|
|
22426
|
+
this.context = e, f(this, Li, r), f(this, aa, new LD(e)), f(this, oa, new ID(r)), f(this, ac, hs), n(this, da, md).mediaState = {
|
|
22427
22427
|
send: { state: Cr.NEW },
|
|
22428
22428
|
recv: { state: Cr.NEW }
|
|
22429
22429
|
}, _o(this.context, "forceRelay") && f(this, Es, "relay"), this.logger.info(`ICE Transport Policy initially set to ${n(this, Es)}`), O(this, oc, ih).call(this);
|
|
@@ -22661,7 +22661,7 @@ aa = new WeakMap(), Fe = new WeakMap(), qe = new WeakMap(), ic = new WeakMap(),
|
|
|
22661
22661
|
case "disconnected":
|
|
22662
22662
|
n(this, Vi)[r] = setTimeout(() => u(this, null, function* () {
|
|
22663
22663
|
this.logger.warn(`${r} transport is in disconnected state, reconnecting transport`, { transport: { id: i, serverId: e.serverId, type: r } }), yield O(this, dc, ah).call(this, e.direction);
|
|
22664
|
-
}),
|
|
22664
|
+
}), VD);
|
|
22665
22665
|
break;
|
|
22666
22666
|
case "failed":
|
|
22667
22667
|
if (e.closed)
|
|
@@ -22727,7 +22727,7 @@ aa = new WeakMap(), Fe = new WeakMap(), qe = new WeakMap(), ic = new WeakMap(),
|
|
|
22727
22727
|
);
|
|
22728
22728
|
};
|
|
22729
22729
|
var ol, zt;
|
|
22730
|
-
class
|
|
22730
|
+
class UD {
|
|
22731
22731
|
constructor(t, e, r, i, a) {
|
|
22732
22732
|
/* eslint-disable-next-line no-useless-constructor */
|
|
22733
22733
|
m(this, ol, void 0);
|
|
@@ -22830,7 +22830,7 @@ class $D {
|
|
|
22830
22830
|
},
|
|
22831
22831
|
consumerIds: a,
|
|
22832
22832
|
consumingTransportId: this.recvTransport.serverId
|
|
22833
|
-
}, c = yield this.socketHandler.closeConsumer(o), d =
|
|
22833
|
+
}, c = yield this.socketHandler.closeConsumer(o), d = pb.fromBinary(c).description;
|
|
22834
22834
|
return {
|
|
22835
22835
|
sdp: d.sdp,
|
|
22836
22836
|
type: d.type
|
|
@@ -22867,7 +22867,7 @@ class rp {
|
|
|
22867
22867
|
this.socketHandler = t;
|
|
22868
22868
|
}
|
|
22869
22869
|
static getMSIDFromSDP(t, e) {
|
|
22870
|
-
return
|
|
22870
|
+
return ss.parse(t).media.filter(
|
|
22871
22871
|
(a) => e === "video" ? a.type === "video" : a.type === "audio"
|
|
22872
22872
|
).at(-1).msid;
|
|
22873
22873
|
}
|
|
@@ -22899,7 +22899,7 @@ class rp {
|
|
|
22899
22899
|
});
|
|
22900
22900
|
}
|
|
22901
22901
|
}
|
|
22902
|
-
function
|
|
22902
|
+
function $D(s) {
|
|
22903
22903
|
try {
|
|
22904
22904
|
const t = JSON.parse(s.message);
|
|
22905
22905
|
if (typeof t != "object" || t === null)
|
|
@@ -22911,7 +22911,7 @@ function BD(s) {
|
|
|
22911
22911
|
}
|
|
22912
22912
|
}
|
|
22913
22913
|
var Br, Hr, la, lc, Ps, cl, Js, ua, uc, oh, dl, vS, ll, TS, ul, yS, hl, ES;
|
|
22914
|
-
class
|
|
22914
|
+
class BD extends xD {
|
|
22915
22915
|
constructor(e, r) {
|
|
22916
22916
|
super(e, r);
|
|
22917
22917
|
m(this, uc);
|
|
@@ -22934,7 +22934,7 @@ class HD extends UD {
|
|
|
22934
22934
|
this.context = e, this.sendTransportConnectedCallback = () => u(this, null, function* () {
|
|
22935
22935
|
f(this, lc, new rp(this.socketHandler));
|
|
22936
22936
|
}), this.recvTransportConnectedCallback = (i) => u(this, null, function* () {
|
|
22937
|
-
n(this, la).clear(), f(this, Ps, new
|
|
22937
|
+
n(this, la).clear(), f(this, Ps, new UD(
|
|
22938
22938
|
this.context,
|
|
22939
22939
|
this.events,
|
|
22940
22940
|
i,
|
|
@@ -23083,7 +23083,7 @@ Br = new WeakMap(), Hr = new WeakMap(), la = new WeakMap(), lc = new WeakMap(),
|
|
|
23083
23083
|
} catch (i) {
|
|
23084
23084
|
const a = i instanceof Error ? i : new Error(String(i));
|
|
23085
23085
|
this.logger.error("failed to consume on transport", { error: a });
|
|
23086
|
-
const { errorCode: o, errorDescription: c } =
|
|
23086
|
+
const { errorCode: o, errorDescription: c } = $D(a);
|
|
23087
23087
|
if (o === "internal_error" && c === "Backend error" || o === "invalid_session_description") {
|
|
23088
23088
|
this.logger.error(
|
|
23089
23089
|
"Irrecoverable error, closing current recvTransport to create a new one",
|
|
@@ -23155,7 +23155,7 @@ Br = new WeakMap(), Hr = new WeakMap(), la = new WeakMap(), lc = new WeakMap(),
|
|
|
23155
23155
|
peerId: e.peerId
|
|
23156
23156
|
});
|
|
23157
23157
|
};
|
|
23158
|
-
var hc, pc, gc, ha, pa, ga, mc, fc, ma, St,
|
|
23158
|
+
var hc, pc, gc, ha, pa, ga, mc, fc, ma, St, ds, ls, xi, Ui, Ks, Sc, pl, PS, gl, _S, ml, CS, fl, wS;
|
|
23159
23159
|
const Sl = class {
|
|
23160
23160
|
constructor({
|
|
23161
23161
|
initialEnergyThreshold: t = 0.015,
|
|
@@ -23191,16 +23191,16 @@ const Sl = class {
|
|
|
23191
23191
|
m(this, ma, void 0);
|
|
23192
23192
|
// State variables
|
|
23193
23193
|
m(this, St, void 0);
|
|
23194
|
-
m(this,
|
|
23195
|
-
m(this,
|
|
23194
|
+
m(this, ds, void 0);
|
|
23195
|
+
m(this, ls, !1);
|
|
23196
23196
|
m(this, xi, 0);
|
|
23197
23197
|
m(this, Ui, 0);
|
|
23198
23198
|
m(this, Ks, []);
|
|
23199
23199
|
m(this, Sc, void 0);
|
|
23200
|
-
f(this, ha, t), f(this, St, t), f(this, hc, e), f(this, pc, r), f(this, gc, i), f(this, pa, a), f(this, ga, o), f(this, mc, c), f(this, fc, d), f(this, ma, l), f(this, Sc, h), f(this,
|
|
23200
|
+
f(this, ha, t), f(this, St, t), f(this, hc, e), f(this, pc, r), f(this, gc, i), f(this, pa, a), f(this, ga, o), f(this, mc, c), f(this, fc, d), f(this, ma, l), f(this, Sc, h), f(this, ds, t / 2);
|
|
23201
23201
|
}
|
|
23202
23202
|
get voiceDetected() {
|
|
23203
|
-
return n(this,
|
|
23203
|
+
return n(this, ls);
|
|
23204
23204
|
}
|
|
23205
23205
|
/**
|
|
23206
23206
|
* Process an audio chunk and determine if it contains voice activity
|
|
@@ -23210,13 +23210,13 @@ const Sl = class {
|
|
|
23210
23210
|
processAudioChunk(t) {
|
|
23211
23211
|
var o, c;
|
|
23212
23212
|
const e = O(o = Sl, ml, CS).call(o, t), r = O(c = Sl, fl, wS).call(c, t);
|
|
23213
|
-
return O(this, pl, PS).call(this, e), e / n(this,
|
|
23213
|
+
return O(this, pl, PS).call(this, e), e / n(this, ds) > n(this, ma) && e > n(this, St) && r > n(this, hc) ? (f(this, xi, n(this, xi) + 1), f(this, Ui, n(this, gc)), n(this, xi) >= n(this, pc) && f(this, ls, !0)) : (f(this, xi, 0), n(this, Ui) > 0 ? f(this, Ui, n(this, Ui) - 1) : n(this, ls) && f(this, ls, !1), n(this, ls) || O(this, gl, _S).call(this, e)), { energy: e, isVoice: n(this, ls) };
|
|
23214
23214
|
}
|
|
23215
23215
|
/**
|
|
23216
23216
|
* Reset the detector state
|
|
23217
23217
|
*/
|
|
23218
23218
|
reset() {
|
|
23219
|
-
f(this,
|
|
23219
|
+
f(this, ls, !1), f(this, xi, 0), f(this, Ui, 0), f(this, St, n(this, ha)), f(this, ds, n(this, ha) / 2), f(this, Ks, []);
|
|
23220
23220
|
}
|
|
23221
23221
|
/**
|
|
23222
23222
|
* Get current adaptive threshold values for debugging/visualization
|
|
@@ -23224,14 +23224,14 @@ const Sl = class {
|
|
|
23224
23224
|
getThresholdInfo() {
|
|
23225
23225
|
return {
|
|
23226
23226
|
currentEnergyThreshold: n(this, St),
|
|
23227
|
-
backgroundNoiseEnergy: n(this,
|
|
23227
|
+
backgroundNoiseEnergy: n(this, ds),
|
|
23228
23228
|
energyRatioThreshold: n(this, ma)
|
|
23229
23229
|
};
|
|
23230
23230
|
}
|
|
23231
23231
|
};
|
|
23232
23232
|
let to = Sl;
|
|
23233
|
-
hc = new WeakMap(), pc = new WeakMap(), gc = new WeakMap(), ha = new WeakMap(), pa = new WeakMap(), ga = new WeakMap(), mc = new WeakMap(), fc = new WeakMap(), ma = new WeakMap(), St = new WeakMap(),
|
|
23234
|
-
n(this,
|
|
23233
|
+
hc = new WeakMap(), pc = new WeakMap(), gc = new WeakMap(), ha = new WeakMap(), pa = new WeakMap(), ga = new WeakMap(), mc = new WeakMap(), fc = new WeakMap(), ma = new WeakMap(), St = new WeakMap(), ds = new WeakMap(), ls = new WeakMap(), xi = new WeakMap(), Ui = new WeakMap(), Ks = new WeakMap(), Sc = new WeakMap(), pl = new WeakSet(), PS = function(t) {
|
|
23234
|
+
n(this, ls) ? f(this, St, n(this, ga) * n(this, St) + (1 - n(this, ga)) * t) : f(this, St, n(this, pa) * n(this, St) + (1 - n(this, pa)) * n(this, ds)), f(this, St, Math.max(
|
|
23235
23235
|
n(this, mc),
|
|
23236
23236
|
Math.min(n(this, fc), n(this, St))
|
|
23237
23237
|
));
|
|
@@ -23239,9 +23239,9 @@ hc = new WeakMap(), pc = new WeakMap(), gc = new WeakMap(), ha = new WeakMap(),
|
|
|
23239
23239
|
if (t < n(this, St) * 1.2)
|
|
23240
23240
|
if (n(this, Ks).push(t), n(this, Ks).length > n(this, Sc) && n(this, Ks).shift(), n(this, Ks).length >= 10) {
|
|
23241
23241
|
const e = [...n(this, Ks)].sort((i, a) => i - a), r = Math.floor(e.length / 2);
|
|
23242
|
-
f(this,
|
|
23242
|
+
f(this, ds, e[r]);
|
|
23243
23243
|
} else
|
|
23244
|
-
f(this,
|
|
23244
|
+
f(this, ds, 0.95 * n(this, ds) + 0.05 * t);
|
|
23245
23245
|
}, ml = new WeakSet(), CS = function(t) {
|
|
23246
23246
|
return Math.sqrt(
|
|
23247
23247
|
t.map((e) => e * e).reduce((e, r) => e + r) / t.length
|
|
@@ -23328,7 +23328,7 @@ class RS {
|
|
|
23328
23328
|
return navigator && navigator.RNBackgroundTimerImpl ? navigator.RNBackgroundTimerImpl.clearTimeout(t) : global.clearTimeout(t);
|
|
23329
23329
|
}
|
|
23330
23330
|
}
|
|
23331
|
-
const
|
|
23331
|
+
const HD = 60, FD = 400;
|
|
23332
23332
|
var zs, Ys, Qs, yc, fa, Sa, Fr, $i, va, Bi, Xs, _s, vl, bS, Ec, ch, Tl, kS, yl, AS;
|
|
23333
23333
|
const fo = class {
|
|
23334
23334
|
constructor(t, e) {
|
|
@@ -23371,9 +23371,9 @@ const fo = class {
|
|
|
23371
23371
|
const { energy: t } = O(this, vl, bS).call(this), e = O(i = fo, Ec, ch).call(i, t);
|
|
23372
23372
|
let r = 0.9;
|
|
23373
23373
|
n(this, va) !== e && n(this, va) ? r = 0.9 : e ? r = 0.3 : r = 0.5, f(this, fa, (n(this, fa) || 0) * (1 - r) + t * r);
|
|
23374
|
-
}),
|
|
23374
|
+
}), HD)), n(this, Ys) && n(this, _s).clearInterval(n(this, Ys)), f(this, Ys, n(this, _s).setInterval(
|
|
23375
23375
|
O(this, Tl, kS).bind(this),
|
|
23376
|
-
|
|
23376
|
+
FD
|
|
23377
23377
|
));
|
|
23378
23378
|
}
|
|
23379
23379
|
stop() {
|
|
@@ -23405,10 +23405,10 @@ zs = new WeakMap(), Ys = new WeakMap(), Qs = new WeakMap(), yc = new WeakMap(),
|
|
|
23405
23405
|
const e = Math.log10(t);
|
|
23406
23406
|
return Math.round(e);
|
|
23407
23407
|
}, m(so, Ec), m(so, yl);
|
|
23408
|
-
var
|
|
23409
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
23408
|
+
var qD = Object.defineProperty, jD = Object.getOwnPropertyDescriptor, oe = (s, t, e, r) => {
|
|
23409
|
+
for (var i = r > 1 ? void 0 : r ? jD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
23410
23410
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
23411
|
-
return r && i &&
|
|
23411
|
+
return r && i && qD(t, e, i), i;
|
|
23412
23412
|
}, Pc, _c, tt, q, El, lt, Hi, Fi, qi, Cc, Mt, Cs, st, vt, Zs, oi, Pl, IS, _l, MS, Cl, DS, wc, dh, wl, OS, Rl, NS, ut, wt, ji, ro, bl, LS, kl, VS, Al, xS;
|
|
23413
23413
|
class ne {
|
|
23414
23414
|
constructor(t, e) {
|
|
@@ -23467,7 +23467,7 @@ class ne {
|
|
|
23467
23467
|
const {
|
|
23468
23468
|
socket: r
|
|
23469
23469
|
} = e;
|
|
23470
|
-
this.mediaJoined = !1, f(this, tt, r), f(this, Hi, !1), f(this, q, new
|
|
23470
|
+
this.mediaJoined = !1, f(this, tt, r), f(this, Hi, !1), f(this, q, new BD(t, r)), f(this, lt, n(this, q).events), f(this, Cs, /* @__PURE__ */ new Set()), f(this, st, /* @__PURE__ */ new Map()), f(this, Fi, !1), f(this, qi, new th(t.getValue("logger"))), f(this, vt, new so(
|
|
23471
23471
|
this.context,
|
|
23472
23472
|
n(this, q).socketHandler.audioActivity.bind(n(this, q).socketHandler)
|
|
23473
23473
|
)), this.e2ee = (a = (i = t.getValue("modules").e2ee) == null ? void 0 : i.enabled) != null ? a : !1, this.handleSocketEvents(), this.handleCallstatsEvents(), f(this, Cc, $h(
|
|
@@ -23552,15 +23552,15 @@ class ne {
|
|
|
23552
23552
|
const t = {
|
|
23553
23553
|
closeRoom: !1
|
|
23554
23554
|
};
|
|
23555
|
-
|
|
23556
|
-
n(this,
|
|
23557
|
-
|
|
23558
|
-
|
|
23559
|
-
|
|
23560
|
-
|
|
23561
|
-
|
|
23562
|
-
|
|
23563
|
-
|
|
23555
|
+
try {
|
|
23556
|
+
n(this, tt).sendMessage(
|
|
23557
|
+
n(this, lt).leaveRoom,
|
|
23558
|
+
hR.toBinary(t)
|
|
23559
|
+
) || this.logger.warn("MediaNodeClient.leaveRoom: media leave was not sent");
|
|
23560
|
+
} catch (r) {
|
|
23561
|
+
this.logger.error("MediaNodeClient.leaveRoom: media leave failed", { error: r });
|
|
23562
|
+
}
|
|
23563
|
+
this.context.getValue("callstats").callEnded(), this.context.getValue("telemetry").destruct().catch((r) => {
|
|
23564
23564
|
this.logger.error("leaveRoom::telemetry_destruct_failed", { error: r });
|
|
23565
23565
|
});
|
|
23566
23566
|
});
|
|
@@ -23610,7 +23610,7 @@ class ne {
|
|
|
23610
23610
|
return this._shareWebcam(t);
|
|
23611
23611
|
}
|
|
23612
23612
|
const i = O(this, Al, xS).call(this, t), a = _o(this.context, "disableSimulcast"), o = (g = (h = this.context) == null ? void 0 : h.getValue("overrides")) == null ? void 0 : g.simulcastConfig;
|
|
23613
|
-
a || o && o.disable || !((y = (S = this.context) == null ? void 0 : S.getValue("theme")) != null && y.isSimulcastEnabled) ? this.logger.info("Simulcast disabled for webcam producer, SFU: CF") : (this.logger.info("Simulcast enabled for SFU: CF"), i.encodings =
|
|
23613
|
+
a || o && o.disable || !((y = (S = this.context) == null ? void 0 : S.getValue("theme")) != null && y.isSimulcastEnabled) ? this.logger.info("Simulcast disabled for webcam producer, SFU: CF") : (this.logger.info("Simulcast enabled for SFU: CF"), i.encodings = NM(this.context, t), this.logger.info(`Simulcast encodings: ${JSON.stringify(i.encodings)}`));
|
|
23614
23614
|
const d = () => {
|
|
23615
23615
|
this.logger.info("Disabling video due to the producer closure"), n(this, st).delete(e);
|
|
23616
23616
|
}, l = n(this, q).createProducer(
|
|
@@ -23911,7 +23911,7 @@ class ne {
|
|
|
23911
23911
|
({ payload: t }) => {
|
|
23912
23912
|
if (this.mediaJoined)
|
|
23913
23913
|
try {
|
|
23914
|
-
const { participantId: e, producerState: r } =
|
|
23914
|
+
const { participantId: e, producerState: r } = Ab.fromBinary(t);
|
|
23915
23915
|
if (e === this.peerId)
|
|
23916
23916
|
return;
|
|
23917
23917
|
r != null && r.mimeType || (r.mimeType = r.kind === ar.AUDIO ? "audio/opus" : "video/VP8"), this.logger.info(
|
|
@@ -23997,7 +23997,7 @@ class ne {
|
|
|
23997
23997
|
const {
|
|
23998
23998
|
participantId: e,
|
|
23999
23999
|
producerState: { producerId: r }
|
|
24000
|
-
} =
|
|
24000
|
+
} = Db.fromBinary(t);
|
|
24001
24001
|
if (e === this.peerId)
|
|
24002
24002
|
return;
|
|
24003
24003
|
this.logger.info(`producer closed broadcast:${e}`), this.context.getValue("peerSessionStore").emit(C.PRODUCER_CLOSED, {
|
|
@@ -24124,7 +24124,7 @@ Pc = new WeakMap(), _c = new WeakMap(), tt = new WeakMap(), q = new WeakMap(), E
|
|
|
24124
24124
|
}
|
|
24125
24125
|
});
|
|
24126
24126
|
}, wl = new WeakSet(), OS = function() {
|
|
24127
|
-
const t =
|
|
24127
|
+
const t = AD("video/VP8");
|
|
24128
24128
|
return f(this, El, t), t;
|
|
24129
24129
|
}, Rl = new WeakSet(), NS = function(t, e, r, i) {
|
|
24130
24130
|
return u(this, null, function* () {
|
|
@@ -24288,7 +24288,7 @@ function US(s, t) {
|
|
|
24288
24288
|
const r = new ne(s, t);
|
|
24289
24289
|
return s.setValue("roomNodeClient", r), r;
|
|
24290
24290
|
}
|
|
24291
|
-
function
|
|
24291
|
+
function GD(s) {
|
|
24292
24292
|
const t = s.getValue("roomNodeClient");
|
|
24293
24293
|
try {
|
|
24294
24294
|
t == null || t.leaveRoom();
|
|
@@ -24297,11 +24297,11 @@ function WD(s) {
|
|
|
24297
24297
|
}
|
|
24298
24298
|
s.setValue("roomNodeClient", void 0);
|
|
24299
24299
|
}
|
|
24300
|
-
var
|
|
24301
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
24300
|
+
var WD = Object.defineProperty, JD = Object.getOwnPropertyDescriptor, dn = (s, t, e, r) => {
|
|
24301
|
+
for (var i = r > 1 ? void 0 : r ? JD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
24302
24302
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
24303
|
-
return r && i &&
|
|
24304
|
-
}, Rc,
|
|
24303
|
+
return r && i && WD(t, e, i), i;
|
|
24304
|
+
}, Rc, Yt, te, Tt, Bt, Xg;
|
|
24305
24305
|
const $S = (Xg = class {
|
|
24306
24306
|
/**
|
|
24307
24307
|
* Use await SelfController.init(roomNodeClient) instead
|
|
@@ -24313,10 +24313,10 @@ const $S = (Xg = class {
|
|
|
24313
24313
|
p(this, "authToken");
|
|
24314
24314
|
m(this, Rc, void 0);
|
|
24315
24315
|
p(this, "viewType");
|
|
24316
|
-
m(this,
|
|
24316
|
+
m(this, Yt, void 0);
|
|
24317
24317
|
m(this, te, void 0);
|
|
24318
24318
|
const { socket: i } = e, a = s.getValue("authToken");
|
|
24319
|
-
this.self = t, f(this, te, s), this.viewType = r, this.authToken = a, f(this, Rc, i), f(this,
|
|
24319
|
+
this.self = t, f(this, te, s), this.viewType = r, this.authToken = a, f(this, Rc, i), f(this, Yt, e), this.setupEvents();
|
|
24320
24320
|
}
|
|
24321
24321
|
get peerId() {
|
|
24322
24322
|
return n(this, te).getValue("peerId");
|
|
@@ -24477,17 +24477,17 @@ const $S = (Xg = class {
|
|
|
24477
24477
|
this.self.roomState !== "disconnected" && (this.self.roomState = "disconnected", this.self.emit("roomLeft", { state: "disconnected" }));
|
|
24478
24478
|
}), n(this, te).getValue("peerSessionStore").on(C.SOCKET_SERVICE_FAILED, () => {
|
|
24479
24479
|
this.logger.error("Socket reconnection failed after exhausting all attempts. SDK re-initialization is required."), this.self.roomState = "failed", this.self.emit("roomLeft", { state: "failed" });
|
|
24480
|
-
}), n(this,
|
|
24480
|
+
}), n(this, Yt).on(B.waitingRoomRequestAccepted, () => {
|
|
24481
24481
|
this.waitlistAcceptHandler();
|
|
24482
|
-
}), n(this,
|
|
24482
|
+
}), n(this, Yt).on(dd.updateUserPreset, (s) => {
|
|
24483
24483
|
s.updatePeersPresets.forEach((t) => {
|
|
24484
24484
|
t.userIds === this.self.userId && n(this, te).getValue("peerSessionStore").emit(C.UPDATE_PERMISSIONS, t.patch);
|
|
24485
24485
|
});
|
|
24486
|
-
}), n(this,
|
|
24486
|
+
}), n(this, Yt).on(B.waitingRoomRequestDenied, () => {
|
|
24487
24487
|
this.waitlistRejectedHandler();
|
|
24488
|
-
}), n(this,
|
|
24488
|
+
}), n(this, Yt).on(B.kick, () => {
|
|
24489
24489
|
this.kickHandler({ kickType: "kick" });
|
|
24490
|
-
}), n(this,
|
|
24490
|
+
}), n(this, Yt).on(B.kickAll, () => {
|
|
24491
24491
|
this.kickHandler({ kickType: "kickAll" });
|
|
24492
24492
|
}), n(this, te).getValue("peerSessionStore").onAsync(C.JOIN_MEDIA_ROOM, this.joinMediaRoom.bind(this)), n(this, te).getValue("peerSessionStore").on(
|
|
24493
24493
|
C.PRODUCER_SCORE_UPDATE,
|
|
@@ -24523,10 +24523,10 @@ const $S = (Xg = class {
|
|
|
24523
24523
|
return u(this, null, function* () {
|
|
24524
24524
|
try {
|
|
24525
24525
|
this.logger.info("Joining socket room.");
|
|
24526
|
-
const { peer: t } = yield n(this,
|
|
24526
|
+
const { peer: t } = yield n(this, Yt).joinRoom(
|
|
24527
24527
|
this.self
|
|
24528
24528
|
);
|
|
24529
|
-
this.logger.info("Joined socket room."), n(this,
|
|
24529
|
+
this.logger.info("Joined socket room."), n(this, Yt).socket.flush();
|
|
24530
24530
|
const e = Gh(t.stageType);
|
|
24531
24531
|
if (n(this, te).setValue("stageStatus", e, !1), t.waitlisted) {
|
|
24532
24532
|
this.logger.info("Peer was waitlisted. Skipped joining media room."), this.waitlistedHandler();
|
|
@@ -24547,12 +24547,18 @@ const $S = (Xg = class {
|
|
|
24547
24547
|
}
|
|
24548
24548
|
leaveRoom(s = "left") {
|
|
24549
24549
|
return u(this, null, function* () {
|
|
24550
|
-
var
|
|
24550
|
+
var e;
|
|
24551
24551
|
if (this.logger.info(`Leaving room with state: ${s}`), s === "rejected") {
|
|
24552
24552
|
this.self.roomState = s, this.self.emit("roomLeft", { state: s });
|
|
24553
24553
|
return;
|
|
24554
24554
|
}
|
|
24555
|
-
this.self.setIsPinned(!1), n(this, te).setValue("stageStatus", "OFF_STAGE", !1), yield this.leaveMediaRoom(s), n(this, te).setValue("roomNodeClient", void 0), n(this, te).notify("stageStatus"),
|
|
24555
|
+
if (this.self.setIsPinned(!1), n(this, te).setValue("stageStatus", "OFF_STAGE", !1), yield this.leaveMediaRoom(s), n(this, te).setValue("roomNodeClient", void 0), n(this, te).notify("stageStatus"), n(this, te).getValue("connectionHandler").socketJoined)
|
|
24556
|
+
try {
|
|
24557
|
+
n(this, Yt).leaveRoom(this.self) || this.logger.warn("SelfController.leaveRoom: socket leave was not sent");
|
|
24558
|
+
} catch (r) {
|
|
24559
|
+
this.logger.error("SelfController.leaveRoom: socket leave failed", { error: r });
|
|
24560
|
+
}
|
|
24561
|
+
(e = n(this, te).getValue("roomSocketHandler")) == null || e.cleanup(), this.self.roomState = s, this.self.emit("roomLeft", { state: s }), this.logger.info(`roomLeft event emitted with state: ${s}`);
|
|
24556
24562
|
});
|
|
24557
24563
|
}
|
|
24558
24564
|
joinMediaRoom(s = !1) {
|
|
@@ -24604,7 +24610,7 @@ const $S = (Xg = class {
|
|
|
24604
24610
|
yield this.self.disableAudio(), yield this.self.disableVideo(), yield this.self.disableScreenShare(), this.self.cleanUpTracks(), this.self.destructMediaHandler(), navigator.isReactNative || this.self.removeDocumentEventListeners();
|
|
24605
24611
|
});
|
|
24606
24612
|
}
|
|
24607
|
-
}, Rc = new WeakMap(),
|
|
24613
|
+
}, Rc = new WeakMap(), Yt = new WeakMap(), te = new WeakMap(), Tt = new WeakSet(), Bt = function() {
|
|
24608
24614
|
return n(this, te).getValue("roomNodeClient");
|
|
24609
24615
|
}, Xg);
|
|
24610
24616
|
let ii = $S;
|
|
@@ -24630,7 +24636,7 @@ dn([
|
|
|
24630
24636
|
P.trace("SelfController.init")
|
|
24631
24637
|
], ii, "init", 1);
|
|
24632
24638
|
var bc;
|
|
24633
|
-
class
|
|
24639
|
+
class KD {
|
|
24634
24640
|
constructor(t) {
|
|
24635
24641
|
m(this, bc, void 0);
|
|
24636
24642
|
f(this, bc, t);
|
|
@@ -24647,7 +24653,7 @@ class zD {
|
|
|
24647
24653
|
}
|
|
24648
24654
|
bc = new WeakMap();
|
|
24649
24655
|
var kc, Ac;
|
|
24650
|
-
class
|
|
24656
|
+
class zD {
|
|
24651
24657
|
constructor(t, e) {
|
|
24652
24658
|
m(this, kc, void 0);
|
|
24653
24659
|
m(this, Ac, void 0);
|
|
@@ -24688,10 +24694,10 @@ class YD {
|
|
|
24688
24694
|
}
|
|
24689
24695
|
}
|
|
24690
24696
|
kc = new WeakMap(), Ac = new WeakMap();
|
|
24691
|
-
var
|
|
24692
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
24697
|
+
var YD = Object.defineProperty, QD = Object.getOwnPropertyDescriptor, ip = (s, t, e, r) => {
|
|
24698
|
+
for (var i = r > 1 ? void 0 : r ? QD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
24693
24699
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
24694
|
-
return r && i &&
|
|
24700
|
+
return r && i && YD(t, e, i), i;
|
|
24695
24701
|
}, er, Ta;
|
|
24696
24702
|
class Zl {
|
|
24697
24703
|
constructor(t, e) {
|
|
@@ -24725,7 +24731,7 @@ class Zl {
|
|
|
24725
24731
|
};
|
|
24726
24732
|
return n(this, er).sendMessage(
|
|
24727
24733
|
Ls.createPoll,
|
|
24728
|
-
|
|
24734
|
+
o0.toBinary(a)
|
|
24729
24735
|
);
|
|
24730
24736
|
}
|
|
24731
24737
|
votePoll(t, e) {
|
|
@@ -24735,7 +24741,7 @@ class Zl {
|
|
|
24735
24741
|
};
|
|
24736
24742
|
return n(this, er).sendMessage(
|
|
24737
24743
|
Ls.votePoll,
|
|
24738
|
-
|
|
24744
|
+
d0.toBinary(r)
|
|
24739
24745
|
);
|
|
24740
24746
|
}
|
|
24741
24747
|
on(t, e) {
|
|
@@ -24774,10 +24780,10 @@ ip([
|
|
|
24774
24780
|
ip([
|
|
24775
24781
|
P.trace("PollSocketHandler.votePoll")
|
|
24776
24782
|
], Zl.prototype, "votePoll", 1);
|
|
24777
|
-
var
|
|
24778
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
24783
|
+
var XD = Object.defineProperty, ZD = Object.getOwnPropertyDescriptor, eO = (s, t, e, r) => {
|
|
24784
|
+
for (var i = r > 1 ? void 0 : r ? ZD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
24779
24785
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
24780
|
-
return r && i &&
|
|
24786
|
+
return r && i && XD(t, e, i), i;
|
|
24781
24787
|
}, Dt;
|
|
24782
24788
|
class BS {
|
|
24783
24789
|
constructor(t, e) {
|
|
@@ -24824,7 +24830,7 @@ class BS {
|
|
|
24824
24830
|
roomUuid: ""
|
|
24825
24831
|
}, r = this.socket.sendMessagePromise(
|
|
24826
24832
|
B.joinRoom,
|
|
24827
|
-
|
|
24833
|
+
ok.toBinary(e)
|
|
24828
24834
|
);
|
|
24829
24835
|
try {
|
|
24830
24836
|
const { peer: a } = un.fromBinary((yield r).payload);
|
|
@@ -24841,7 +24847,7 @@ class BS {
|
|
|
24841
24847
|
getAllAddedParticipants() {
|
|
24842
24848
|
return u(this, null, function* () {
|
|
24843
24849
|
try {
|
|
24844
|
-
return
|
|
24850
|
+
return Gk.fromBinary(
|
|
24845
24851
|
(yield this.socket.sendMessagePromise(B.getAllAddedParticipants)).payload
|
|
24846
24852
|
).participants.map(
|
|
24847
24853
|
(i) => {
|
|
@@ -24865,7 +24871,7 @@ class BS {
|
|
|
24865
24871
|
offset: r
|
|
24866
24872
|
}, o = yield this.socket.sendMessagePromise(
|
|
24867
24873
|
B.getRoomPeersInfo,
|
|
24868
|
-
|
|
24874
|
+
Qb.toBinary(a)
|
|
24869
24875
|
);
|
|
24870
24876
|
i = gu.fromBinary(o.payload);
|
|
24871
24877
|
} catch (a) {
|
|
@@ -24994,13 +25000,20 @@ class BS {
|
|
|
24994
25000
|
);
|
|
24995
25001
|
});
|
|
24996
25002
|
}
|
|
24997
|
-
leaveRoom() {
|
|
24998
|
-
|
|
24999
|
-
|
|
25000
|
-
|
|
25001
|
-
|
|
25002
|
-
|
|
25003
|
-
|
|
25003
|
+
leaveRoom(t) {
|
|
25004
|
+
this.socket.joinAttempted = !1;
|
|
25005
|
+
const e = {
|
|
25006
|
+
peer: {
|
|
25007
|
+
peerId: t.peerId,
|
|
25008
|
+
userId: t.userId,
|
|
25009
|
+
displayName: t.name,
|
|
25010
|
+
waitlisted: t.waitlistStatus === "waiting"
|
|
25011
|
+
}
|
|
25012
|
+
};
|
|
25013
|
+
return this.socket.sendMessage(
|
|
25014
|
+
B.leaveRoom,
|
|
25015
|
+
dk.toBinary(e)
|
|
25016
|
+
);
|
|
25004
25017
|
}
|
|
25005
25018
|
kick(t) {
|
|
25006
25019
|
return u(this, null, function* () {
|
|
@@ -25033,7 +25046,7 @@ class BS {
|
|
|
25033
25046
|
};
|
|
25034
25047
|
this.socket.sendMessage(
|
|
25035
25048
|
B.acceptWaitingRoomRequests,
|
|
25036
|
-
|
|
25049
|
+
Qk.toBinary(e)
|
|
25037
25050
|
);
|
|
25038
25051
|
}
|
|
25039
25052
|
rejectWaitingRoomRequest(t) {
|
|
@@ -25042,7 +25055,7 @@ class BS {
|
|
|
25042
25055
|
};
|
|
25043
25056
|
this.socket.sendMessage(
|
|
25044
25057
|
B.denyWaitingRoomRequests,
|
|
25045
|
-
|
|
25058
|
+
Zk.toBinary(e)
|
|
25046
25059
|
);
|
|
25047
25060
|
}
|
|
25048
25061
|
updatePermissions(t, e) {
|
|
@@ -25057,7 +25070,7 @@ class BS {
|
|
|
25057
25070
|
});
|
|
25058
25071
|
}), this.socket.sendMessagePromise(
|
|
25059
25072
|
dd.updateUserPreset,
|
|
25060
|
-
|
|
25073
|
+
kA.toBinary(r)
|
|
25061
25074
|
);
|
|
25062
25075
|
});
|
|
25063
25076
|
}
|
|
@@ -25163,8 +25176,8 @@ class BS {
|
|
|
25163
25176
|
try {
|
|
25164
25177
|
const r = yield this.socket.sendMessagePromise(
|
|
25165
25178
|
dd.getUserPresets,
|
|
25166
|
-
|
|
25167
|
-
), i =
|
|
25179
|
+
EA.toBinary(e)
|
|
25180
|
+
), i = wA.fromBinary(r.payload).peerPresets[0], a = new TextDecoder().decode(i.preset), o = JSON.parse(a).permissions;
|
|
25168
25181
|
return { chat: o.chat, polls: o.polls, plugins: o.plugins };
|
|
25169
25182
|
} catch (r) {
|
|
25170
25183
|
throw this.logger.error("Error in getting user preset", { error: r }), r;
|
|
@@ -25173,11 +25186,11 @@ class BS {
|
|
|
25173
25186
|
}
|
|
25174
25187
|
}
|
|
25175
25188
|
Dt = new WeakMap();
|
|
25176
|
-
|
|
25189
|
+
eO([
|
|
25177
25190
|
P.trace("RoomSocketHandler.joinRoom")
|
|
25178
25191
|
], BS.prototype, "joinRoom", 1);
|
|
25179
25192
|
var yt;
|
|
25180
|
-
class
|
|
25193
|
+
class tO {
|
|
25181
25194
|
constructor(t) {
|
|
25182
25195
|
m(this, yt, void 0);
|
|
25183
25196
|
f(this, yt, t);
|
|
@@ -25203,7 +25216,7 @@ class sO {
|
|
|
25203
25216
|
};
|
|
25204
25217
|
n(this, yt).sendMessage(
|
|
25205
25218
|
B.grantStageAccess,
|
|
25206
|
-
|
|
25219
|
+
QI.toBinary(e)
|
|
25207
25220
|
);
|
|
25208
25221
|
});
|
|
25209
25222
|
}
|
|
@@ -25214,7 +25227,7 @@ class sO {
|
|
|
25214
25227
|
};
|
|
25215
25228
|
n(this, yt).sendMessage(
|
|
25216
25229
|
B.denyStageAccess,
|
|
25217
|
-
|
|
25230
|
+
ZI.toBinary(e)
|
|
25218
25231
|
);
|
|
25219
25232
|
});
|
|
25220
25233
|
}
|
|
@@ -25292,7 +25305,7 @@ class sO {
|
|
|
25292
25305
|
}
|
|
25293
25306
|
yt = new WeakMap();
|
|
25294
25307
|
var qr, ya;
|
|
25295
|
-
class
|
|
25308
|
+
class sO {
|
|
25296
25309
|
constructor(t, e) {
|
|
25297
25310
|
m(this, qr, void 0);
|
|
25298
25311
|
m(this, ya, void 0);
|
|
@@ -25323,7 +25336,7 @@ class rO {
|
|
|
25323
25336
|
};
|
|
25324
25337
|
n(this, qr).sendMessage(
|
|
25325
25338
|
Ns.storeInsertKeys,
|
|
25326
|
-
|
|
25339
|
+
MI.toBinary(a),
|
|
25327
25340
|
i
|
|
25328
25341
|
);
|
|
25329
25342
|
}
|
|
@@ -25335,7 +25348,7 @@ class rO {
|
|
|
25335
25348
|
};
|
|
25336
25349
|
n(this, qr).sendMessage(
|
|
25337
25350
|
Ns.storeGetKeys,
|
|
25338
|
-
|
|
25351
|
+
OI.toBinary(a),
|
|
25339
25352
|
i
|
|
25340
25353
|
);
|
|
25341
25354
|
}
|
|
@@ -25347,7 +25360,7 @@ class rO {
|
|
|
25347
25360
|
};
|
|
25348
25361
|
n(this, qr).sendMessage(
|
|
25349
25362
|
Ns.storeDeleteKeys,
|
|
25350
|
-
|
|
25363
|
+
LI.toBinary(a),
|
|
25351
25364
|
i
|
|
25352
25365
|
);
|
|
25353
25366
|
}
|
|
@@ -25360,14 +25373,14 @@ class rO {
|
|
|
25360
25373
|
}
|
|
25361
25374
|
}
|
|
25362
25375
|
qr = new WeakMap(), ya = new WeakMap();
|
|
25363
|
-
var
|
|
25376
|
+
var rO = Object.defineProperty, iO = (s, t, e) => t in s ? rO(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, nO = (s, t, e) => (iO(s, typeof t != "symbol" ? t + "" : t, e), e), np = (s, t, e) => {
|
|
25364
25377
|
if (!t.has(s))
|
|
25365
25378
|
throw TypeError("Cannot " + e);
|
|
25366
25379
|
}, M = (s, t, e) => (np(s, t, "read from private field"), e ? e.call(s) : t.get(s)), ce = (s, t, e) => {
|
|
25367
25380
|
if (t.has(s))
|
|
25368
25381
|
throw TypeError("Cannot add the same private member more than once");
|
|
25369
25382
|
t instanceof WeakSet ? t.add(s) : t.set(s, e);
|
|
25370
|
-
}, re = (s, t, e, r) => (np(s, t, "write to private field"), r ? r.call(s, e) : t.set(s, e), e), ie = (s, t, e) => (np(s, t, "access private method"), e), Od = {},
|
|
25383
|
+
}, re = (s, t, e, r) => (np(s, t, "write to private field"), r ? r.call(s, e) : t.set(s, e), e), ie = (s, t, e) => (np(s, t, "access private method"), e), Od = {}, aO = {
|
|
25371
25384
|
get exports() {
|
|
25372
25385
|
return Od;
|
|
25373
25386
|
},
|
|
@@ -25382,7 +25395,7 @@ Pn && typeof Pn.ownKeys == "function" ? fd = Pn.ownKeys : Object.getOwnPropertyS
|
|
|
25382
25395
|
} : fd = function(s) {
|
|
25383
25396
|
return Object.getOwnPropertyNames(s);
|
|
25384
25397
|
};
|
|
25385
|
-
function
|
|
25398
|
+
function oO(s) {
|
|
25386
25399
|
console && console.warn && console.warn(s);
|
|
25387
25400
|
}
|
|
25388
25401
|
var HS = Number.isNaN || function(s) {
|
|
@@ -25391,8 +25404,8 @@ var HS = Number.isNaN || function(s) {
|
|
|
25391
25404
|
function ue() {
|
|
25392
25405
|
ue.init.call(this);
|
|
25393
25406
|
}
|
|
25394
|
-
|
|
25395
|
-
Od.once =
|
|
25407
|
+
aO.exports = ue;
|
|
25408
|
+
Od.once = uO;
|
|
25396
25409
|
ue.EventEmitter = ue;
|
|
25397
25410
|
ue.prototype._events = void 0;
|
|
25398
25411
|
ue.prototype._eventsCount = 0;
|
|
@@ -25463,7 +25476,7 @@ function qS(s, t, e, r) {
|
|
|
25463
25476
|
else if (typeof o == "function" ? o = a[t] = r ? [e, o] : [o, e] : r ? o.unshift(e) : o.push(e), i = FS(s), i > 0 && o.length > i && !o.warned) {
|
|
25464
25477
|
o.warned = !0;
|
|
25465
25478
|
var c = new Error("Possible EventEmitter memory leak detected. " + o.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
25466
|
-
c.name = "MaxListenersExceededWarning", c.emitter = s, c.type = t, c.count = o.length,
|
|
25479
|
+
c.name = "MaxListenersExceededWarning", c.emitter = s, c.type = t, c.count = o.length, oO(c);
|
|
25467
25480
|
}
|
|
25468
25481
|
return s;
|
|
25469
25482
|
}
|
|
@@ -25474,12 +25487,12 @@ ue.prototype.on = ue.prototype.addListener;
|
|
|
25474
25487
|
ue.prototype.prependListener = function(s, t) {
|
|
25475
25488
|
return qS(this, s, t, !0);
|
|
25476
25489
|
};
|
|
25477
|
-
function
|
|
25490
|
+
function cO() {
|
|
25478
25491
|
if (!this.fired)
|
|
25479
25492
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
25480
25493
|
}
|
|
25481
25494
|
function jS(s, t, e) {
|
|
25482
|
-
var r = { fired: !1, wrapFn: void 0, target: s, type: t, listener: e }, i =
|
|
25495
|
+
var r = { fired: !1, wrapFn: void 0, target: s, type: t, listener: e }, i = cO.bind(r);
|
|
25483
25496
|
return i.listener = e, r.wrapFn = i, i;
|
|
25484
25497
|
}
|
|
25485
25498
|
ue.prototype.once = function(s, t) {
|
|
@@ -25504,7 +25517,7 @@ ue.prototype.removeListener = function(s, t) {
|
|
|
25504
25517
|
}
|
|
25505
25518
|
if (i < 0)
|
|
25506
25519
|
return this;
|
|
25507
|
-
i === 0 ? e.shift() :
|
|
25520
|
+
i === 0 ? e.shift() : dO(e, i), e.length === 1 && (r[s] = e[0]), r.removeListener !== void 0 && this.emit("removeListener", s, o || t);
|
|
25508
25521
|
}
|
|
25509
25522
|
return this;
|
|
25510
25523
|
};
|
|
@@ -25533,7 +25546,7 @@ function GS(s, t, e) {
|
|
|
25533
25546
|
if (r === void 0)
|
|
25534
25547
|
return [];
|
|
25535
25548
|
var i = r[t];
|
|
25536
|
-
return i === void 0 ? [] : typeof i == "function" ? e ? [i.listener || i] : [i] : e ?
|
|
25549
|
+
return i === void 0 ? [] : typeof i == "function" ? e ? [i.listener || i] : [i] : e ? lO(i) : JS(i, i.length);
|
|
25537
25550
|
}
|
|
25538
25551
|
ue.prototype.listeners = function(s) {
|
|
25539
25552
|
return GS(this, s, !0);
|
|
@@ -25564,17 +25577,17 @@ function JS(s, t) {
|
|
|
25564
25577
|
e[r] = s[r];
|
|
25565
25578
|
return e;
|
|
25566
25579
|
}
|
|
25567
|
-
function
|
|
25580
|
+
function dO(s, t) {
|
|
25568
25581
|
for (; t + 1 < s.length; t++)
|
|
25569
25582
|
s[t] = s[t + 1];
|
|
25570
25583
|
s.pop();
|
|
25571
25584
|
}
|
|
25572
|
-
function
|
|
25585
|
+
function lO(s) {
|
|
25573
25586
|
for (var t = new Array(s.length), e = 0; e < t.length; ++e)
|
|
25574
25587
|
t[e] = s[e].listener || s[e];
|
|
25575
25588
|
return t;
|
|
25576
25589
|
}
|
|
25577
|
-
function
|
|
25590
|
+
function uO(s, t) {
|
|
25578
25591
|
return new Promise(function(e, r) {
|
|
25579
25592
|
function i(o) {
|
|
25580
25593
|
s.removeListener(t, a), r(o);
|
|
@@ -25582,10 +25595,10 @@ function hO(s, t) {
|
|
|
25582
25595
|
function a() {
|
|
25583
25596
|
typeof s.removeListener == "function" && s.removeListener("error", i), e([].slice.call(arguments));
|
|
25584
25597
|
}
|
|
25585
|
-
KS(s, t, a, { once: !0 }), t !== "error" &&
|
|
25598
|
+
KS(s, t, a, { once: !0 }), t !== "error" && hO(s, i, { once: !0 });
|
|
25586
25599
|
});
|
|
25587
25600
|
}
|
|
25588
|
-
function
|
|
25601
|
+
function hO(s, t, e) {
|
|
25589
25602
|
typeof s.on == "function" && KS(s, "error", t, e);
|
|
25590
25603
|
}
|
|
25591
25604
|
function KS(s, t, e, r) {
|
|
@@ -25598,7 +25611,7 @@ function KS(s, t, e, r) {
|
|
|
25598
25611
|
else
|
|
25599
25612
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof s);
|
|
25600
25613
|
}
|
|
25601
|
-
class
|
|
25614
|
+
class pO extends T {
|
|
25602
25615
|
constructor() {
|
|
25603
25616
|
super("message.v1.SocketMessage", [
|
|
25604
25617
|
{
|
|
@@ -25635,7 +25648,7 @@ class gO extends T {
|
|
|
25635
25648
|
]);
|
|
25636
25649
|
}
|
|
25637
25650
|
}
|
|
25638
|
-
const Mg = new
|
|
25651
|
+
const Mg = new pO();
|
|
25639
25652
|
class zS {
|
|
25640
25653
|
static encode(t) {
|
|
25641
25654
|
return Mg.toBinary(t);
|
|
@@ -25644,13 +25657,13 @@ class zS {
|
|
|
25644
25657
|
return Mg.fromBinary(new Uint8Array(t));
|
|
25645
25658
|
}
|
|
25646
25659
|
}
|
|
25647
|
-
function
|
|
25660
|
+
function gO(s, t) {
|
|
25648
25661
|
return Math.floor(Math.random() * (t - s + 1) + s);
|
|
25649
25662
|
}
|
|
25650
25663
|
var yr;
|
|
25651
|
-
class
|
|
25664
|
+
class mO {
|
|
25652
25665
|
constructor(t = {}) {
|
|
25653
|
-
|
|
25666
|
+
nO(this, "opts"), ce(this, yr, void 0), this.opts = {
|
|
25654
25667
|
initialTimeout: t.initialTimeout || 1e3,
|
|
25655
25668
|
maxTimeout: t.maxTimeout || 1e4,
|
|
25656
25669
|
factor: t.factor || 2
|
|
@@ -25659,7 +25672,7 @@ class fO {
|
|
|
25659
25672
|
wait() {
|
|
25660
25673
|
return u(this, null, function* () {
|
|
25661
25674
|
re(this, yr, M(this, yr) + 1);
|
|
25662
|
-
const t =
|
|
25675
|
+
const t = gO(0, Math.min(this.opts.maxTimeout, this.opts.initialTimeout * ou(2, M(this, yr))));
|
|
25663
25676
|
yield new Promise((e) => {
|
|
25664
25677
|
setTimeout(e, t);
|
|
25665
25678
|
});
|
|
@@ -25680,7 +25693,7 @@ const fr = {
|
|
|
25680
25693
|
error: 3
|
|
25681
25694
|
};
|
|
25682
25695
|
var ci, di;
|
|
25683
|
-
class
|
|
25696
|
+
class fO {
|
|
25684
25697
|
constructor(t) {
|
|
25685
25698
|
ce(this, ci, void 0), ce(this, di, void 0), re(this, ci, console), re(this, di, t);
|
|
25686
25699
|
}
|
|
@@ -25701,7 +25714,7 @@ ci = /* @__PURE__ */ new WeakMap(), di = /* @__PURE__ */ new WeakMap();
|
|
|
25701
25714
|
var YS = /* @__PURE__ */ ((s) => (s[s.CONNECTING = 0] = "CONNECTING", s[s.OPEN = 1] = "OPEN", s[s.CLOSING = 2] = "CLOSING", s[s.CLOSED = 3] = "CLOSED", s))(YS || {});
|
|
25702
25715
|
const Dg = "2", Og = "3";
|
|
25703
25716
|
var ke, mn, de, Ee, Er, We, rr, Yr, us, fn, Sn, Os, lh, QS, io, Sd, uh, XS, vd, Pu, Nd, hh, ph, ZS, uo, Td, _n, ho, Ld, gh, Cn, po, mh, ev, go, yd, mo, Vd;
|
|
25704
|
-
class
|
|
25717
|
+
class SO {
|
|
25705
25718
|
constructor(t, e) {
|
|
25706
25719
|
var E, k, R, A, x, D, U, $, F, X, ee, Ke;
|
|
25707
25720
|
ce(this, lh), ce(this, io), ce(this, uh), ce(this, vd), ce(this, Nd), ce(this, ph), ce(this, uo), ce(this, _n), ce(this, Ld), ce(this, Cn), ce(this, mh), ce(this, go), ce(this, mo), ce(this, ke, void 0), ce(this, mn, void 0), ce(this, de, void 0), ce(this, Ee, void 0), ce(this, Er, void 0), ce(this, We, void 0), ce(this, rr, void 0), ce(this, Yr, void 0), ce(this, us, void 0), ce(this, fn, void 0), ce(this, Sn, void 0), ce(this, Os, void 0);
|
|
@@ -25709,7 +25722,7 @@ class vO {
|
|
|
25709
25722
|
re(this, mn, t), re(this, Er, []), re(this, We, new Od()), re(this, rr, !0), re(this, us, !1), re(this, de, e != null ? e : {}), (E = (r = M(this, de)).autoReconnect) != null || (r.autoReconnect = !0), (k = (i = M(this, de)).retryConnectionInterval) != null || (i.retryConnectionInterval = 1e3), (R = (a = M(this, de)).pingTimeout) != null || (a.pingTimeout = 3e4), (A = (o = M(this, de)).connectionTimeout) != null || (o.connectionTimeout = 5e3), (x = (c = M(this, de)).debug) != null || (c.debug = !0), (D = (d = M(this, de)).maxReconnectionAttempts) != null || (d.maxReconnectionAttempts = 10), (U = (l = M(this, de)).disconnectOnPingTimeout) != null || (l.disconnectOnPingTimeout = !0), ($ = (h = M(this, de)).queueOnDisconnect) != null || (h.queueOnDisconnect = !1), (F = (g = M(this, de)).flushOnReconnect) != null || (g.flushOnReconnect = !1), (X = (S = M(this, de)).clientInitiatedPings) != null || (S.clientInitiatedPings = !1), (ee = (y = M(this, de)).clientInitiatedPingInterval) != null || (y.clientInitiatedPingInterval = 3e4), re(this, Yr, {
|
|
25710
25723
|
code: void 0,
|
|
25711
25724
|
reason: void 0
|
|
25712
|
-
}), re(this, Ee, (Ke = M(this, de).logger) != null ? Ke : new
|
|
25725
|
+
}), re(this, Ee, (Ke = M(this, de).logger) != null ? Ke : new fO(M(this, de).debug ? "debug" : "info")), re(this, Os, new mO());
|
|
25713
25726
|
}
|
|
25714
25727
|
/**
|
|
25715
25728
|
* Ready state of the current WebSocket.
|
|
@@ -25967,12 +25980,12 @@ ke = /* @__PURE__ */ new WeakMap(), mn = /* @__PURE__ */ new WeakMap(), de = /*
|
|
|
25967
25980
|
}, mo = /* @__PURE__ */ new WeakSet(), Vd = function() {
|
|
25968
25981
|
ie(this, go, yd).call(this), M(this, ke) && (M(this, ke).onopen = void 0, M(this, ke).onerror = void 0, M(this, ke).onmessage = void 0, M(this, ke).onclose = void 0);
|
|
25969
25982
|
};
|
|
25970
|
-
var
|
|
25971
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
25983
|
+
var vO = Object.defineProperty, TO = Object.getOwnPropertyDescriptor, tu = (s, t, e, r) => {
|
|
25984
|
+
for (var i = r > 1 ? void 0 : r ? TO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
25972
25985
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
25973
|
-
return r && i &&
|
|
25986
|
+
return r && i && vO(t, e, i), i;
|
|
25974
25987
|
};
|
|
25975
|
-
const Ng = 65535,
|
|
25988
|
+
const Ng = 65535, yO = 3, EO = 15e3, PO = 8e3, _O = 50, CO = 1e3, wO = 1e4;
|
|
25976
25989
|
var tr, Ea, ye, je, Ze, Gi, jr, Wi, Ji, Gr, ws, Rs, Wr, Ki, ht, Jr, pt, Ve, Ic, fh, Il, sv, Ml, rv, Dl, iv, Mc, Sh, Dc, vh, Ol, _u, nv, Nl, av, Oc, Th, Nc, yh, Lc, Eh, Ll, ov, Vc, Ph, xc, _h;
|
|
25977
25990
|
const tv = (_u = class {
|
|
25978
25991
|
constructor(s, {
|
|
@@ -26018,7 +26031,7 @@ const tv = (_u = class {
|
|
|
26018
26031
|
throw new w("peerId, meetingId, or authToken can not be empty", "0404");
|
|
26019
26032
|
f(this, Ve, s), f(this, Rs, navigator.isReactNative ? RS : ao), this.capabilities = i, this.roomName = e, this.authToken = r, f(this, tr, O(this, Ic, fh).call(this, t)), f(this, Ea, t);
|
|
26020
26033
|
const a = i.includes("PING");
|
|
26021
|
-
f(this, ye, new
|
|
26034
|
+
f(this, ye, new SO(n(this, tr), {
|
|
26022
26035
|
autoReconnect: !1,
|
|
26023
26036
|
disconnectOnPingTimeout: a,
|
|
26024
26037
|
queueOnDisconnect: !1,
|
|
@@ -26151,7 +26164,7 @@ const tv = (_u = class {
|
|
|
26151
26164
|
} catch (D) {
|
|
26152
26165
|
x = new Error("failed to parse error message", { cause: D });
|
|
26153
26166
|
try {
|
|
26154
|
-
const U =
|
|
26167
|
+
const U = jb.fromBinary(A);
|
|
26155
26168
|
x = new Error(U.message);
|
|
26156
26169
|
} catch (U) {
|
|
26157
26170
|
x = new Error("failed to parse error message", { cause: U });
|
|
@@ -26246,7 +26259,7 @@ const tv = (_u = class {
|
|
|
26246
26259
|
try {
|
|
26247
26260
|
e && (r = n(this, Rs).setTimeout(
|
|
26248
26261
|
() => e.abort(),
|
|
26249
|
-
|
|
26262
|
+
PO
|
|
26250
26263
|
));
|
|
26251
26264
|
const i = yield fetch(s, L({
|
|
26252
26265
|
method: "GET",
|
|
@@ -26267,7 +26280,7 @@ const tv = (_u = class {
|
|
|
26267
26280
|
}, Dl = new WeakSet(), iv = function() {
|
|
26268
26281
|
n(this, jr) === void 0 && f(this, jr, n(this, Rs).setInterval(
|
|
26269
26282
|
() => O(this, Ml, rv).call(this),
|
|
26270
|
-
|
|
26283
|
+
EO
|
|
26271
26284
|
));
|
|
26272
26285
|
}, Mc = new WeakSet(), Sh = function() {
|
|
26273
26286
|
var s;
|
|
@@ -26276,11 +26289,11 @@ const tv = (_u = class {
|
|
|
26276
26289
|
f(this, Gi, [
|
|
26277
26290
|
s,
|
|
26278
26291
|
...n(this, Gi).filter((t) => t !== s)
|
|
26279
|
-
].slice(0,
|
|
26292
|
+
].slice(0, yO));
|
|
26280
26293
|
}, Ol = new WeakSet(), nv = function(s) {
|
|
26281
26294
|
const t = Math.min(
|
|
26282
|
-
|
|
26283
|
-
|
|
26295
|
+
wO,
|
|
26296
|
+
CO * ou(2, s - 1)
|
|
26284
26297
|
);
|
|
26285
26298
|
return Math.floor(Math.random() * (t + 1));
|
|
26286
26299
|
}, Nl = new WeakSet(), av = function(s) {
|
|
@@ -26302,7 +26315,7 @@ const tv = (_u = class {
|
|
|
26302
26315
|
}, Ll = new WeakSet(), ov = function(s) {
|
|
26303
26316
|
return u(this, null, function* () {
|
|
26304
26317
|
try {
|
|
26305
|
-
for (let t = 1; t <=
|
|
26318
|
+
for (let t = 1; t <= _O; t += 1) {
|
|
26306
26319
|
if (!n(this, pt) || s !== n(this, ht) || (yield O(this, Nl, av).call(this, t), !n(this, pt) || s !== n(this, ht)))
|
|
26307
26320
|
return;
|
|
26308
26321
|
this.updateURL(Pa()), this.logger.info("SocketService::Attempting to reconnect to socket-edge", {
|
|
@@ -26352,7 +26365,7 @@ tu([
|
|
|
26352
26365
|
tu([
|
|
26353
26366
|
P.trace("SocketService.sendMessagePromiseWithTimeout")
|
|
26354
26367
|
], Kc.prototype, "sendMessagePromiseWithTimeout", 1);
|
|
26355
|
-
class
|
|
26368
|
+
class RO {
|
|
26356
26369
|
constructor(t) {
|
|
26357
26370
|
p(this, "socketService");
|
|
26358
26371
|
this.socketService = t;
|
|
@@ -26360,7 +26373,7 @@ class bO {
|
|
|
26360
26373
|
// eslint-disable-next-line class-methods-use-this
|
|
26361
26374
|
handleConnectedRoomsDumpRaw({ payload: t }) {
|
|
26362
26375
|
var a;
|
|
26363
|
-
const e =
|
|
26376
|
+
const e = Sk.fromBinary(t), r = e.meetings.map((o) => {
|
|
26364
26377
|
var c;
|
|
26365
26378
|
return {
|
|
26366
26379
|
id: o.id,
|
|
@@ -26379,7 +26392,7 @@ class bO {
|
|
|
26379
26392
|
}
|
|
26380
26393
|
// eslint-disable-next-line class-methods-use-this
|
|
26381
26394
|
handleTransferPeerRaw({ payload: t }) {
|
|
26382
|
-
const e =
|
|
26395
|
+
const e = qk.fromBinary(t);
|
|
26383
26396
|
return { authToken: e.authToken, meetingId: e.meetingId };
|
|
26384
26397
|
}
|
|
26385
26398
|
// eslint-disable-next-line class-methods-use-this
|
|
@@ -26399,7 +26412,7 @@ class bO {
|
|
|
26399
26412
|
}
|
|
26400
26413
|
// eslint-disable-next-line class-methods-use-this
|
|
26401
26414
|
handleConnectedRoomsDeletedRaw({ payload: t }) {
|
|
26402
|
-
return
|
|
26415
|
+
return Ok.fromBinary(t).payloads;
|
|
26403
26416
|
}
|
|
26404
26417
|
getConnectedRoomsDump() {
|
|
26405
26418
|
return u(this, null, function* () {
|
|
@@ -26413,7 +26426,7 @@ class bO {
|
|
|
26413
26426
|
return u(this, null, function* () {
|
|
26414
26427
|
const { payload: e } = yield this.socketService.sendMessagePromise(
|
|
26415
26428
|
B.createConnectedRooms,
|
|
26416
|
-
|
|
26429
|
+
Ek.toBinary({ payloads: t })
|
|
26417
26430
|
);
|
|
26418
26431
|
return ug.fromBinary(e).payloads.map((i) => ({
|
|
26419
26432
|
id: i.id,
|
|
@@ -26430,7 +26443,7 @@ class bO {
|
|
|
26430
26443
|
return u(this, null, function* () {
|
|
26431
26444
|
const e = t.map((i) => ({ id: i })), r = yield this.socketService.sendMessagePromise(
|
|
26432
26445
|
B.deleteConnectedRooms,
|
|
26433
|
-
|
|
26446
|
+
Mk.toBinary({ payloads: e })
|
|
26434
26447
|
);
|
|
26435
26448
|
return this.handleConnectedRoomsDeletedRaw(
|
|
26436
26449
|
r
|
|
@@ -26442,7 +26455,7 @@ class bO {
|
|
|
26442
26455
|
try {
|
|
26443
26456
|
const e = yield this.socketService.sendMessagePromise(
|
|
26444
26457
|
B.movePeers,
|
|
26445
|
-
|
|
26458
|
+
$k.toBinary({
|
|
26446
26459
|
sourceMeetingId: t.sourceMeetingId,
|
|
26447
26460
|
destinationMeetingId: t.destinationMeetingId,
|
|
26448
26461
|
participants: t.participants
|
|
@@ -26455,10 +26468,10 @@ class bO {
|
|
|
26455
26468
|
});
|
|
26456
26469
|
}
|
|
26457
26470
|
}
|
|
26458
|
-
var
|
|
26459
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
26471
|
+
var bO = Object.defineProperty, kO = Object.getOwnPropertyDescriptor, AO = (s, t, e, r) => {
|
|
26472
|
+
for (var i = r > 1 ? void 0 : r ? kO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
26460
26473
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
26461
|
-
return r && i &&
|
|
26474
|
+
return r && i && bO(t, e, i), i;
|
|
26462
26475
|
}, Ot;
|
|
26463
26476
|
class cv extends xt {
|
|
26464
26477
|
constructor(e) {
|
|
@@ -26635,13 +26648,13 @@ class cv extends xt {
|
|
|
26635
26648
|
}
|
|
26636
26649
|
}
|
|
26637
26650
|
Ot = new WeakMap();
|
|
26638
|
-
|
|
26651
|
+
AO([
|
|
26639
26652
|
Ut({ maxInvocations: 60, period: 60 })
|
|
26640
26653
|
], cv.prototype, "getConnectedMeetings", 1);
|
|
26641
|
-
var
|
|
26642
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
26654
|
+
var IO = Object.defineProperty, MO = Object.getOwnPropertyDescriptor, ap = (s, t, e, r) => {
|
|
26655
|
+
for (var i = r > 1 ? void 0 : r ? MO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
26643
26656
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
26644
|
-
return r && i &&
|
|
26657
|
+
return r && i && IO(t, e, i), i;
|
|
26645
26658
|
}, ge, Zg;
|
|
26646
26659
|
const dv = (Zg = class {
|
|
26647
26660
|
constructor(s) {
|
|
@@ -26716,7 +26729,7 @@ const dv = (Zg = class {
|
|
|
26716
26729
|
this.logger.error(`ConnectedMeetingsController:: switchMeeting:: issues in leaving previous meeting. Meeting Id: ${(o = (a = n(this, ge).getValue("meeting")) == null ? void 0 : a.meta) == null ? void 0 : o.meetingId}`, { error: l });
|
|
26717
26730
|
}
|
|
26718
26731
|
this.logger.info(`ConnectedMeetingsController::switchMeeting:: initializing new meeting. Meeting Id: ${t}`);
|
|
26719
|
-
const i = yield
|
|
26732
|
+
const i = yield BO.init(z(L({}, n(this, ge).getValue("options")), {
|
|
26720
26733
|
cachedUserDetails: null,
|
|
26721
26734
|
defaults: z(L(L({}, n(this, ge).getValue("options").defaults), r), {
|
|
26722
26735
|
/**
|
|
@@ -26790,10 +26803,10 @@ ap([
|
|
|
26790
26803
|
ap([
|
|
26791
26804
|
P.trace("ConnectedMeetingsController.switchMeeting")
|
|
26792
26805
|
], su.prototype, "switchMeeting", 1);
|
|
26793
|
-
var
|
|
26794
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
26806
|
+
var DO = Object.defineProperty, OO = Object.getOwnPropertyDescriptor, op = (s, t, e, r) => {
|
|
26807
|
+
for (var i = r > 1 ? void 0 : r ? OO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
26795
26808
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
26796
|
-
return r && i &&
|
|
26809
|
+
return r && i && DO(t, e, i), i;
|
|
26797
26810
|
};
|
|
26798
26811
|
const no = class {
|
|
26799
26812
|
constructor(s, t, e) {
|
|
@@ -26834,9 +26847,9 @@ const no = class {
|
|
|
26834
26847
|
cachedUserDetails: o,
|
|
26835
26848
|
logger: c
|
|
26836
26849
|
} = s.getAllValues();
|
|
26837
|
-
if (
|
|
26850
|
+
if (GD(s), ve.isSupported() === !1)
|
|
26838
26851
|
throw new w("Browser not supported", "0010", c, !0);
|
|
26839
|
-
const d =
|
|
26852
|
+
const d = U0(
|
|
26840
26853
|
s,
|
|
26841
26854
|
{
|
|
26842
26855
|
authToken: r,
|
|
@@ -26845,7 +26858,7 @@ const no = class {
|
|
|
26845
26858
|
}
|
|
26846
26859
|
);
|
|
26847
26860
|
d.setRoomName(i), d.setRoomUUID(i), d.setOrganizationId(a), d.setHeader("tracing-id", t), s.setValue("apiClient", d);
|
|
26848
|
-
const l = new
|
|
26861
|
+
const l = new yM(s);
|
|
26849
26862
|
s.setValue("connectionHandler", l);
|
|
26850
26863
|
let h = "", g = null;
|
|
26851
26864
|
c.info("CF SFU is being used.");
|
|
@@ -26883,7 +26896,7 @@ const no = class {
|
|
|
26883
26896
|
k,
|
|
26884
26897
|
R
|
|
26885
26898
|
);
|
|
26886
|
-
|
|
26899
|
+
cM(k) && ((U = no.createRoomNodeClient(s, S).initializeConnection(
|
|
26887
26900
|
g.participant.name,
|
|
26888
26901
|
i,
|
|
26889
26902
|
!1,
|
|
@@ -26911,11 +26924,11 @@ const no = class {
|
|
|
26911
26924
|
}
|
|
26912
26925
|
}, d)), t.setValue("maxPreferredStreams", ve.isMobile() ? i.maxVideoStreams.mobile : i.maxVideoStreams.desktop);
|
|
26913
26926
|
let S, y, E, k, R, A, x, D, U;
|
|
26914
|
-
const $ = new
|
|
26927
|
+
const $ = new zD(t, s), F = new RO(
|
|
26915
26928
|
s
|
|
26916
26929
|
);
|
|
26917
26930
|
t.setValue("connectedMeetingsSocketHandler", F);
|
|
26918
|
-
const X = new Zl(t, s), ee = new hr(t, s), Ke = new
|
|
26931
|
+
const X = new Zl(t, s), ee = new hr(t, s), Ke = new tO(s), it = new BS(t, s), _t = new sO(t, s), I = new KD(s), v = yield ii.init(
|
|
26919
26932
|
t,
|
|
26920
26933
|
it,
|
|
26921
26934
|
c,
|
|
@@ -26958,7 +26971,7 @@ const no = class {
|
|
|
26958
26971
|
v.self,
|
|
26959
26972
|
D.participants
|
|
26960
26973
|
));
|
|
26961
|
-
const H = new
|
|
26974
|
+
const H = new hD(t, _t);
|
|
26962
26975
|
if (o.plugin) {
|
|
26963
26976
|
if (!D)
|
|
26964
26977
|
throw new w(
|
|
@@ -27032,7 +27045,7 @@ op([
|
|
|
27032
27045
|
op([
|
|
27033
27046
|
P.trace("Controller.createSocketService")
|
|
27034
27047
|
], ru, "createSocketService", 1);
|
|
27035
|
-
class
|
|
27048
|
+
class NO {
|
|
27036
27049
|
constructor() {
|
|
27037
27050
|
p(this, "battery");
|
|
27038
27051
|
p(this, "logger");
|
|
@@ -27066,8 +27079,8 @@ class LO {
|
|
|
27066
27079
|
});
|
|
27067
27080
|
}
|
|
27068
27081
|
}
|
|
27069
|
-
const Lg = new
|
|
27070
|
-
function
|
|
27082
|
+
const Lg = new NO();
|
|
27083
|
+
function LO(s, t) {
|
|
27071
27084
|
s.startsWith("eyJ") || console.error("Invalid auth token provided. Ensure you are passing a %cparticipant `authToken`%c — not an Org API Key or an incorrectly formatted token.\nYou get the participant token from the Add Participant API: https://docs.realtime.cloudflare.com/api#/operations/add_participant", "font-weight: bold", "font-weight: normal");
|
|
27072
27085
|
try {
|
|
27073
27086
|
const { meetingId: e, orgId: r, participantId: i } = JSON.parse(atob(s.split(".")[1]));
|
|
@@ -27088,7 +27101,7 @@ function VO(s, t) {
|
|
|
27088
27101
|
}
|
|
27089
27102
|
}
|
|
27090
27103
|
var Kr, zi, Yi, Uc, Vl, lv;
|
|
27091
|
-
class
|
|
27104
|
+
class VO {
|
|
27092
27105
|
constructor() {
|
|
27093
27106
|
m(this, Vl);
|
|
27094
27107
|
m(this, Kr, new Audio());
|
|
@@ -27127,7 +27140,7 @@ Kr = new WeakMap(), zi = new WeakMap(), Yi = new WeakMap(), Uc = new WeakMap(),
|
|
|
27127
27140
|
(e = n(this, Uc)) == null || e.call(this, t);
|
|
27128
27141
|
};
|
|
27129
27142
|
var Qi;
|
|
27130
|
-
class
|
|
27143
|
+
class xO extends VO {
|
|
27131
27144
|
constructor() {
|
|
27132
27145
|
super();
|
|
27133
27146
|
/** Maps participantId to trackId */
|
|
@@ -27143,10 +27156,10 @@ class UO extends xO {
|
|
|
27143
27156
|
}
|
|
27144
27157
|
}
|
|
27145
27158
|
Qi = new WeakMap();
|
|
27146
|
-
var
|
|
27147
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
27159
|
+
var UO = Object.defineProperty, $O = Object.getOwnPropertyDescriptor, iu = (s, t, e, r) => {
|
|
27160
|
+
for (var i = r > 1 ? void 0 : r ? $O(t, e) : t, a = s.length - 1, o; a >= 0; a--)
|
|
27148
27161
|
(o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
|
|
27149
|
-
return r && i &&
|
|
27162
|
+
return r && i && UO(t, e, i), i;
|
|
27150
27163
|
}, Oe, Xi, em;
|
|
27151
27164
|
let ei = (em = class {
|
|
27152
27165
|
constructor(t, e) {
|
|
@@ -27180,7 +27193,7 @@ let ei = (em = class {
|
|
|
27180
27193
|
return u(this, null, function* () {
|
|
27181
27194
|
var S, y, k, R, A, x, D, U, $;
|
|
27182
27195
|
ve.init();
|
|
27183
|
-
const e = (y = (S = t == null ? void 0 : t.cachedUserDetails) == null ? void 0 : S.peerId) != null ? y : Pa(), { authToken: r, baseURI: i } = t, E =
|
|
27196
|
+
const e = (y = (S = t == null ? void 0 : t.cachedUserDetails) == null ? void 0 : S.peerId) != null ? y : Pa(), { authToken: r, baseURI: i } = t, E = LO(r, i), { meetingId: a } = E, o = Yc(E, ["meetingId"]);
|
|
27184
27197
|
if ((k = o.baseURI) != null && k.includes("dyte.io"))
|
|
27185
27198
|
throw new w("Dyte Base URIs are no longer supported. Use RealtimeKit Base URIs.", "0001");
|
|
27186
27199
|
window.__zone_symbol__DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION = !0;
|
|
@@ -27224,7 +27237,7 @@ let ei = (em = class {
|
|
|
27224
27237
|
video: !0
|
|
27225
27238
|
};
|
|
27226
27239
|
return a.setValue("options", e), a.setValue("peerId", t), a.setValue("modules", o), a.setValue("sdkName", "web-core"), a.setValue("meetingId", r), a.setValue("apiBase", i.apiBase), a.setValue("baseURI", i.baseURI), a.setValue("userId", i.participantId), a.setValue("organizationId", i.orgId), a.setValue("authToken", e.authToken), a.setValue("overrides", (d = e.overrides) != null ? d : {}), a.setValue("env", rw({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
|
|
27227
|
-
})), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.0.3-staging.
|
|
27240
|
+
})), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.0.3-staging.5"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new xO()), a;
|
|
27228
27241
|
}
|
|
27229
27242
|
join() {
|
|
27230
27243
|
return u(this, null, function* () {
|
|
@@ -27365,7 +27378,7 @@ iu([
|
|
|
27365
27378
|
ei = iu([
|
|
27366
27379
|
rt("0000")
|
|
27367
27380
|
], ei);
|
|
27368
|
-
const
|
|
27381
|
+
const BO = ei;
|
|
27369
27382
|
export {
|
|
27370
|
-
|
|
27383
|
+
BO as default
|
|
27371
27384
|
};
|