@cloudflare/realtimekit 0.5.0-staging.98 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +15 -17
- package/dist/index.cjs.js +15 -17
- package/dist/index.d.ts +59 -48
- package/dist/index.es.js +8219 -9111
- package/dist/index.rn.js +15 -17
- package/dist/mock.cjs.js +3 -3
- package/dist/mock.es.js +1158 -1039
- package/dist/ts3.4/dist/index.d.ts +56 -48
- package/package.json +3 -2
package/dist/mock.es.js
CHANGED
|
@@ -1132,12 +1132,16 @@ class ReflectionJsonReader {
|
|
|
1132
1132
|
target[localName] = field.T().internalJsonRead(jsonValue, options, target[localName]);
|
|
1133
1133
|
break;
|
|
1134
1134
|
case "enum":
|
|
1135
|
+
if (jsonValue === null)
|
|
1136
|
+
continue;
|
|
1135
1137
|
let val = this.enum(field.T(), jsonValue, field.name, options.ignoreUnknownFields);
|
|
1136
1138
|
if (val === false)
|
|
1137
1139
|
continue;
|
|
1138
1140
|
target[localName] = val;
|
|
1139
1141
|
break;
|
|
1140
1142
|
case "scalar":
|
|
1143
|
+
if (jsonValue === null)
|
|
1144
|
+
continue;
|
|
1141
1145
|
target[localName] = this.scalar(jsonValue, field.T, field.L, field.name);
|
|
1142
1146
|
break;
|
|
1143
1147
|
}
|
|
@@ -2050,104 +2054,104 @@ class MessageType {
|
|
|
2050
2054
|
return message;
|
|
2051
2055
|
}
|
|
2052
2056
|
}
|
|
2053
|
-
var
|
|
2054
|
-
var
|
|
2055
|
-
var
|
|
2056
|
-
var
|
|
2057
|
-
var
|
|
2057
|
+
var yt = Object.defineProperty, vt = Object.defineProperties;
|
|
2058
|
+
var Rt = Object.getOwnPropertyDescriptors;
|
|
2059
|
+
var on = Object.getOwnPropertySymbols;
|
|
2060
|
+
var _t = Object.prototype.hasOwnProperty, wt = Object.prototype.propertyIsEnumerable;
|
|
2061
|
+
var qe = (e, s, a) => s in e ? yt(e, s, { enumerable: true, configurable: true, writable: true, value: a }) : e[s] = a, $e = (e, s) => {
|
|
2058
2062
|
for (var a in s || (s = {}))
|
|
2059
|
-
|
|
2060
|
-
if (
|
|
2061
|
-
for (var a of
|
|
2062
|
-
|
|
2063
|
+
_t.call(s, a) && qe(e, a, s[a]);
|
|
2064
|
+
if (on)
|
|
2065
|
+
for (var a of on(s))
|
|
2066
|
+
wt.call(s, a) && qe(e, a, s[a]);
|
|
2063
2067
|
return e;
|
|
2064
|
-
},
|
|
2065
|
-
var y = (e, s, a) => (
|
|
2068
|
+
}, an = (e, s) => vt(e, Rt(s));
|
|
2069
|
+
var y = (e, s, a) => (qe(e, typeof s != "symbol" ? s + "" : s, a), a), cn = (e, s, a) => {
|
|
2066
2070
|
if (!s.has(e))
|
|
2067
2071
|
throw TypeError("Cannot " + a);
|
|
2068
2072
|
};
|
|
2069
|
-
var
|
|
2073
|
+
var j = (e, s, a) => (cn(e, s, "read from private field"), a ? a.call(e) : s.get(e)), te = (e, s, a) => {
|
|
2070
2074
|
if (s.has(e))
|
|
2071
2075
|
throw TypeError("Cannot add the same private member more than once");
|
|
2072
2076
|
s instanceof WeakSet ? s.add(e) : s.set(e, a);
|
|
2073
|
-
},
|
|
2074
|
-
var
|
|
2075
|
-
var m = (
|
|
2077
|
+
}, Ne = (e, s, a, d) => (cn(e, s, "write to private field"), d ? d.call(e, a) : s.set(e, a), a);
|
|
2078
|
+
var dn = (e, s, a) => new Promise((d, p) => {
|
|
2079
|
+
var m = (w) => {
|
|
2076
2080
|
try {
|
|
2077
|
-
g(a.next(
|
|
2078
|
-
} catch (
|
|
2079
|
-
p(
|
|
2081
|
+
g(a.next(w));
|
|
2082
|
+
} catch (L) {
|
|
2083
|
+
p(L);
|
|
2080
2084
|
}
|
|
2081
|
-
}, f = (
|
|
2085
|
+
}, f = (w) => {
|
|
2082
2086
|
try {
|
|
2083
|
-
g(a.throw(
|
|
2084
|
-
} catch (
|
|
2085
|
-
p(
|
|
2087
|
+
g(a.throw(w));
|
|
2088
|
+
} catch (L) {
|
|
2089
|
+
p(L);
|
|
2086
2090
|
}
|
|
2087
|
-
}, g = (
|
|
2091
|
+
}, g = (w) => w.done ? d(w.value) : Promise.resolve(w.value).then(m, f);
|
|
2088
2092
|
g((a = a.apply(e, s)).next());
|
|
2089
2093
|
});
|
|
2090
|
-
var
|
|
2094
|
+
var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, fe = {}, Ct = {
|
|
2091
2095
|
get exports() {
|
|
2092
|
-
return
|
|
2096
|
+
return fe;
|
|
2093
2097
|
},
|
|
2094
2098
|
set exports(e) {
|
|
2095
|
-
|
|
2099
|
+
fe = e;
|
|
2096
2100
|
}
|
|
2097
|
-
},
|
|
2101
|
+
}, J = typeof Reflect == "object" ? Reflect : null, un = J && typeof J.apply == "function" ? J.apply : function(s, a, d) {
|
|
2098
2102
|
return Function.prototype.apply.call(s, a, d);
|
|
2099
|
-
},
|
|
2100
|
-
|
|
2103
|
+
}, le;
|
|
2104
|
+
J && typeof J.ownKeys == "function" ? le = J.ownKeys : Object.getOwnPropertySymbols ? le = function(s) {
|
|
2101
2105
|
return Object.getOwnPropertyNames(s).concat(Object.getOwnPropertySymbols(s));
|
|
2102
|
-
} :
|
|
2106
|
+
} : le = function(s) {
|
|
2103
2107
|
return Object.getOwnPropertyNames(s);
|
|
2104
2108
|
};
|
|
2105
|
-
function
|
|
2109
|
+
function Et(e) {
|
|
2106
2110
|
console && console.warn && console.warn(e);
|
|
2107
2111
|
}
|
|
2108
|
-
var
|
|
2112
|
+
var Rn = Number.isNaN || function(s) {
|
|
2109
2113
|
return s !== s;
|
|
2110
2114
|
};
|
|
2111
|
-
function
|
|
2112
|
-
|
|
2115
|
+
function v() {
|
|
2116
|
+
v.init.call(this);
|
|
2113
2117
|
}
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
var
|
|
2121
|
-
function
|
|
2118
|
+
Ct.exports = v;
|
|
2119
|
+
fe.once = xt;
|
|
2120
|
+
v.EventEmitter = v;
|
|
2121
|
+
v.prototype._events = void 0;
|
|
2122
|
+
v.prototype._eventsCount = 0;
|
|
2123
|
+
v.prototype._maxListeners = void 0;
|
|
2124
|
+
var pn = 10;
|
|
2125
|
+
function Re(e) {
|
|
2122
2126
|
if (typeof e != "function")
|
|
2123
2127
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
2124
2128
|
}
|
|
2125
|
-
Object.defineProperty(
|
|
2129
|
+
Object.defineProperty(v, "defaultMaxListeners", {
|
|
2126
2130
|
enumerable: true,
|
|
2127
2131
|
get: function() {
|
|
2128
|
-
return
|
|
2132
|
+
return pn;
|
|
2129
2133
|
},
|
|
2130
2134
|
set: function(e) {
|
|
2131
|
-
if (typeof e != "number" || e < 0 ||
|
|
2135
|
+
if (typeof e != "number" || e < 0 || Rn(e))
|
|
2132
2136
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
2133
|
-
|
|
2137
|
+
pn = e;
|
|
2134
2138
|
}
|
|
2135
2139
|
});
|
|
2136
|
-
|
|
2140
|
+
v.init = function() {
|
|
2137
2141
|
(this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
|
|
2138
2142
|
};
|
|
2139
|
-
|
|
2140
|
-
if (typeof s != "number" || s < 0 ||
|
|
2143
|
+
v.prototype.setMaxListeners = function(s) {
|
|
2144
|
+
if (typeof s != "number" || s < 0 || Rn(s))
|
|
2141
2145
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + s + ".");
|
|
2142
2146
|
return this._maxListeners = s, this;
|
|
2143
2147
|
};
|
|
2144
|
-
function
|
|
2145
|
-
return e._maxListeners === void 0 ?
|
|
2148
|
+
function _n(e) {
|
|
2149
|
+
return e._maxListeners === void 0 ? v.defaultMaxListeners : e._maxListeners;
|
|
2146
2150
|
}
|
|
2147
|
-
|
|
2148
|
-
return
|
|
2151
|
+
v.prototype.getMaxListeners = function() {
|
|
2152
|
+
return _n(this);
|
|
2149
2153
|
};
|
|
2150
|
-
|
|
2154
|
+
v.prototype.emit = function(s) {
|
|
2151
2155
|
for (var a = [], d = 1; d < arguments.length; d++)
|
|
2152
2156
|
a.push(arguments[d]);
|
|
2153
2157
|
var p = s === "error", m = this._events;
|
|
@@ -2162,55 +2166,55 @@ R.prototype.emit = function(s) {
|
|
|
2162
2166
|
var g = new Error("Unhandled error." + (f ? " (" + f.message + ")" : ""));
|
|
2163
2167
|
throw g.context = f, g;
|
|
2164
2168
|
}
|
|
2165
|
-
var
|
|
2166
|
-
if (
|
|
2169
|
+
var w = m[s];
|
|
2170
|
+
if (w === void 0)
|
|
2167
2171
|
return false;
|
|
2168
|
-
if (typeof
|
|
2169
|
-
|
|
2172
|
+
if (typeof w == "function")
|
|
2173
|
+
un(w, this, a);
|
|
2170
2174
|
else
|
|
2171
|
-
for (var
|
|
2172
|
-
|
|
2175
|
+
for (var L = w.length, Pe = Sn(w, L), d = 0; d < L; ++d)
|
|
2176
|
+
un(Pe[d], this, a);
|
|
2173
2177
|
return true;
|
|
2174
2178
|
};
|
|
2175
|
-
function
|
|
2179
|
+
function wn(e, s, a, d) {
|
|
2176
2180
|
var p, m, f;
|
|
2177
|
-
if (
|
|
2181
|
+
if (Re(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
|
|
2178
2182
|
"newListener",
|
|
2179
2183
|
s,
|
|
2180
2184
|
a.listener ? a.listener : a
|
|
2181
2185
|
), m = e._events), f = m[s]), f === void 0)
|
|
2182
2186
|
f = m[s] = a, ++e._eventsCount;
|
|
2183
|
-
else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p =
|
|
2187
|
+
else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p = _n(e), p > 0 && f.length > p && !f.warned) {
|
|
2184
2188
|
f.warned = true;
|
|
2185
2189
|
var g = new Error("Possible EventEmitter memory leak detected. " + f.length + " " + String(s) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
2186
|
-
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length,
|
|
2190
|
+
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length, Et(g);
|
|
2187
2191
|
}
|
|
2188
2192
|
return e;
|
|
2189
2193
|
}
|
|
2190
|
-
|
|
2191
|
-
return
|
|
2194
|
+
v.prototype.addListener = function(s, a) {
|
|
2195
|
+
return wn(this, s, a, false);
|
|
2192
2196
|
};
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
return
|
|
2197
|
+
v.prototype.on = v.prototype.addListener;
|
|
2198
|
+
v.prototype.prependListener = function(s, a) {
|
|
2199
|
+
return wn(this, s, a, true);
|
|
2196
2200
|
};
|
|
2197
|
-
function
|
|
2201
|
+
function St() {
|
|
2198
2202
|
if (!this.fired)
|
|
2199
2203
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = true, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
2200
2204
|
}
|
|
2201
|
-
function
|
|
2202
|
-
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p =
|
|
2205
|
+
function Pn(e, s, a) {
|
|
2206
|
+
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p = St.bind(d);
|
|
2203
2207
|
return p.listener = a, d.wrapFn = p, p;
|
|
2204
2208
|
}
|
|
2205
|
-
|
|
2206
|
-
return
|
|
2209
|
+
v.prototype.once = function(s, a) {
|
|
2210
|
+
return Re(a), this.on(s, Pn(this, s, a)), this;
|
|
2207
2211
|
};
|
|
2208
|
-
|
|
2209
|
-
return
|
|
2212
|
+
v.prototype.prependOnceListener = function(s, a) {
|
|
2213
|
+
return Re(a), this.prependListener(s, Pn(this, s, a)), this;
|
|
2210
2214
|
};
|
|
2211
|
-
|
|
2215
|
+
v.prototype.removeListener = function(s, a) {
|
|
2212
2216
|
var d, p, m, f, g;
|
|
2213
|
-
if (
|
|
2217
|
+
if (Re(a), p = this._events, p === void 0)
|
|
2214
2218
|
return this;
|
|
2215
2219
|
if (d = p[s], d === void 0)
|
|
2216
2220
|
return this;
|
|
@@ -2224,12 +2228,12 @@ R.prototype.removeListener = function(s, a) {
|
|
|
2224
2228
|
}
|
|
2225
2229
|
if (m < 0)
|
|
2226
2230
|
return this;
|
|
2227
|
-
m === 0 ? d.shift() :
|
|
2231
|
+
m === 0 ? d.shift() : bt(d, m), d.length === 1 && (p[s] = d[0]), p.removeListener !== void 0 && this.emit("removeListener", s, g || a);
|
|
2228
2232
|
}
|
|
2229
2233
|
return this;
|
|
2230
2234
|
};
|
|
2231
|
-
|
|
2232
|
-
|
|
2235
|
+
v.prototype.off = v.prototype.removeListener;
|
|
2236
|
+
v.prototype.removeAllListeners = function(s) {
|
|
2233
2237
|
var a, d, p;
|
|
2234
2238
|
if (d = this._events, d === void 0)
|
|
2235
2239
|
return this;
|
|
@@ -2248,24 +2252,24 @@ R.prototype.removeAllListeners = function(s) {
|
|
|
2248
2252
|
this.removeListener(s, a[p]);
|
|
2249
2253
|
return this;
|
|
2250
2254
|
};
|
|
2251
|
-
function
|
|
2255
|
+
function Cn(e, s, a) {
|
|
2252
2256
|
var d = e._events;
|
|
2253
2257
|
if (d === void 0)
|
|
2254
2258
|
return [];
|
|
2255
2259
|
var p = d[s];
|
|
2256
|
-
return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ?
|
|
2260
|
+
return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ? Lt(p) : Sn(p, p.length);
|
|
2257
2261
|
}
|
|
2258
|
-
|
|
2259
|
-
return
|
|
2262
|
+
v.prototype.listeners = function(s) {
|
|
2263
|
+
return Cn(this, s, true);
|
|
2260
2264
|
};
|
|
2261
|
-
|
|
2262
|
-
return
|
|
2265
|
+
v.prototype.rawListeners = function(s) {
|
|
2266
|
+
return Cn(this, s, false);
|
|
2263
2267
|
};
|
|
2264
|
-
|
|
2265
|
-
return typeof e.listenerCount == "function" ? e.listenerCount(s) :
|
|
2268
|
+
v.listenerCount = function(e, s) {
|
|
2269
|
+
return typeof e.listenerCount == "function" ? e.listenerCount(s) : En.call(e, s);
|
|
2266
2270
|
};
|
|
2267
|
-
|
|
2268
|
-
function
|
|
2271
|
+
v.prototype.listenerCount = En;
|
|
2272
|
+
function En(e) {
|
|
2269
2273
|
var s = this._events;
|
|
2270
2274
|
if (s !== void 0) {
|
|
2271
2275
|
var a = s[e];
|
|
@@ -2276,25 +2280,25 @@ function fn(e) {
|
|
|
2276
2280
|
}
|
|
2277
2281
|
return 0;
|
|
2278
2282
|
}
|
|
2279
|
-
|
|
2280
|
-
return this._eventsCount > 0 ?
|
|
2283
|
+
v.prototype.eventNames = function() {
|
|
2284
|
+
return this._eventsCount > 0 ? le(this._events) : [];
|
|
2281
2285
|
};
|
|
2282
|
-
function
|
|
2286
|
+
function Sn(e, s) {
|
|
2283
2287
|
for (var a = new Array(s), d = 0; d < s; ++d)
|
|
2284
2288
|
a[d] = e[d];
|
|
2285
2289
|
return a;
|
|
2286
2290
|
}
|
|
2287
|
-
function
|
|
2291
|
+
function bt(e, s) {
|
|
2288
2292
|
for (; s + 1 < e.length; s++)
|
|
2289
2293
|
e[s] = e[s + 1];
|
|
2290
2294
|
e.pop();
|
|
2291
2295
|
}
|
|
2292
|
-
function
|
|
2296
|
+
function Lt(e) {
|
|
2293
2297
|
for (var s = new Array(e.length), a = 0; a < s.length; ++a)
|
|
2294
2298
|
s[a] = e[a].listener || e[a];
|
|
2295
2299
|
return s;
|
|
2296
2300
|
}
|
|
2297
|
-
function
|
|
2301
|
+
function xt(e, s) {
|
|
2298
2302
|
return new Promise(function(a, d) {
|
|
2299
2303
|
function p(f) {
|
|
2300
2304
|
e.removeListener(s, m), d(f);
|
|
@@ -2302,13 +2306,13 @@ function ft(e, s) {
|
|
|
2302
2306
|
function m() {
|
|
2303
2307
|
typeof e.removeListener == "function" && e.removeListener("error", p), a([].slice.call(arguments));
|
|
2304
2308
|
}
|
|
2305
|
-
|
|
2309
|
+
bn(e, s, m, { once: true }), s !== "error" && Ot(e, p, { once: true });
|
|
2306
2310
|
});
|
|
2307
2311
|
}
|
|
2308
|
-
function
|
|
2309
|
-
typeof e.on == "function" &&
|
|
2312
|
+
function Ot(e, s, a) {
|
|
2313
|
+
typeof e.on == "function" && bn(e, "error", s, a);
|
|
2310
2314
|
}
|
|
2311
|
-
function
|
|
2315
|
+
function bn(e, s, a, d) {
|
|
2312
2316
|
if (typeof e.on == "function")
|
|
2313
2317
|
d.once ? e.once(s, a) : e.on(s, a);
|
|
2314
2318
|
else if (typeof e.addEventListener == "function")
|
|
@@ -2318,12 +2322,12 @@ function kn(e, s, a, d) {
|
|
|
2318
2322
|
else
|
|
2319
2323
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
2320
2324
|
}
|
|
2321
|
-
const
|
|
2325
|
+
const Mt = `
|
|
2322
2326
|
m=video 9 UDP/TLS/RTP/SAVPF 96
|
|
2323
2327
|
a=msid:stream-id track-id
|
|
2324
2328
|
m=audio 9 UDP/TLS/RTP/SAVPF 96
|
|
2325
2329
|
a=msid:stream-id track-id
|
|
2326
|
-
`,
|
|
2330
|
+
`, ln = {
|
|
2327
2331
|
track: null,
|
|
2328
2332
|
transport: null,
|
|
2329
2333
|
rtcpTransport: null,
|
|
@@ -2349,7 +2353,7 @@ a=msid:stream-id track-id
|
|
|
2349
2353
|
},
|
|
2350
2354
|
setTransform: () => Promise.resolve()
|
|
2351
2355
|
};
|
|
2352
|
-
class
|
|
2356
|
+
class qt extends fe {
|
|
2353
2357
|
constructor() {
|
|
2354
2358
|
super();
|
|
2355
2359
|
y(this, "localDescription", null);
|
|
@@ -2382,7 +2386,7 @@ class gt extends ie {
|
|
|
2382
2386
|
}
|
|
2383
2387
|
createOffer() {
|
|
2384
2388
|
return Promise.resolve({
|
|
2385
|
-
sdp:
|
|
2389
|
+
sdp: Mt,
|
|
2386
2390
|
type: "offer"
|
|
2387
2391
|
});
|
|
2388
2392
|
}
|
|
@@ -2417,7 +2421,7 @@ class gt extends ie {
|
|
|
2417
2421
|
};
|
|
2418
2422
|
}
|
|
2419
2423
|
addTrack() {
|
|
2420
|
-
return
|
|
2424
|
+
return ln;
|
|
2421
2425
|
}
|
|
2422
2426
|
removeTrack() {
|
|
2423
2427
|
}
|
|
@@ -2429,7 +2433,7 @@ class gt extends ie {
|
|
|
2429
2433
|
},
|
|
2430
2434
|
setCodecPreferences: () => {
|
|
2431
2435
|
},
|
|
2432
|
-
sender:
|
|
2436
|
+
sender: ln
|
|
2433
2437
|
};
|
|
2434
2438
|
}
|
|
2435
2439
|
getTransceivers() {
|
|
@@ -2450,22 +2454,137 @@ class gt extends ie {
|
|
|
2450
2454
|
});
|
|
2451
2455
|
}
|
|
2452
2456
|
}
|
|
2453
|
-
function
|
|
2457
|
+
function $t(e) {
|
|
2458
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2459
|
+
}
|
|
2460
|
+
var Ln = { exports: {} }, C = Ln.exports = {}, A, I;
|
|
2461
|
+
function Ue() {
|
|
2462
|
+
throw new Error("setTimeout has not been defined");
|
|
2463
|
+
}
|
|
2464
|
+
function Be() {
|
|
2465
|
+
throw new Error("clearTimeout has not been defined");
|
|
2466
|
+
}
|
|
2467
|
+
(function() {
|
|
2468
|
+
try {
|
|
2469
|
+
typeof setTimeout == "function" ? A = setTimeout : A = Ue;
|
|
2470
|
+
} catch (e) {
|
|
2471
|
+
A = Ue;
|
|
2472
|
+
}
|
|
2473
|
+
try {
|
|
2474
|
+
typeof clearTimeout == "function" ? I = clearTimeout : I = Be;
|
|
2475
|
+
} catch (e) {
|
|
2476
|
+
I = Be;
|
|
2477
|
+
}
|
|
2478
|
+
})();
|
|
2479
|
+
function xn(e) {
|
|
2480
|
+
if (A === setTimeout)
|
|
2481
|
+
return setTimeout(e, 0);
|
|
2482
|
+
if ((A === Ue || !A) && setTimeout)
|
|
2483
|
+
return A = setTimeout, setTimeout(e, 0);
|
|
2484
|
+
try {
|
|
2485
|
+
return A(e, 0);
|
|
2486
|
+
} catch (s) {
|
|
2487
|
+
try {
|
|
2488
|
+
return A.call(null, e, 0);
|
|
2489
|
+
} catch (a) {
|
|
2490
|
+
return A.call(this, e, 0);
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
function Nt(e) {
|
|
2495
|
+
if (I === clearTimeout)
|
|
2496
|
+
return clearTimeout(e);
|
|
2497
|
+
if ((I === Be || !I) && clearTimeout)
|
|
2498
|
+
return I = clearTimeout, clearTimeout(e);
|
|
2499
|
+
try {
|
|
2500
|
+
return I(e);
|
|
2501
|
+
} catch (s) {
|
|
2502
|
+
try {
|
|
2503
|
+
return I.call(null, e);
|
|
2504
|
+
} catch (a) {
|
|
2505
|
+
return I.call(this, e);
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
var U = [], Z = false, W, me = -1;
|
|
2510
|
+
function At() {
|
|
2511
|
+
!Z || !W || (Z = false, W.length ? U = W.concat(U) : me = -1, U.length && On());
|
|
2512
|
+
}
|
|
2513
|
+
function On() {
|
|
2514
|
+
if (!Z) {
|
|
2515
|
+
var e = xn(At);
|
|
2516
|
+
Z = true;
|
|
2517
|
+
for (var s = U.length; s; ) {
|
|
2518
|
+
for (W = U, U = []; ++me < s; )
|
|
2519
|
+
W && W[me].run();
|
|
2520
|
+
me = -1, s = U.length;
|
|
2521
|
+
}
|
|
2522
|
+
W = null, Z = false, Nt(e);
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
C.nextTick = function(e) {
|
|
2526
|
+
var s = new Array(arguments.length - 1);
|
|
2527
|
+
if (arguments.length > 1)
|
|
2528
|
+
for (var a = 1; a < arguments.length; a++)
|
|
2529
|
+
s[a - 1] = arguments[a];
|
|
2530
|
+
U.push(new Mn(e, s)), U.length === 1 && !Z && xn(On);
|
|
2531
|
+
};
|
|
2532
|
+
function Mn(e, s) {
|
|
2533
|
+
this.fun = e, this.array = s;
|
|
2534
|
+
}
|
|
2535
|
+
Mn.prototype.run = function() {
|
|
2536
|
+
this.fun.apply(null, this.array);
|
|
2537
|
+
};
|
|
2538
|
+
C.title = "browser";
|
|
2539
|
+
C.browser = true;
|
|
2540
|
+
C.env = {};
|
|
2541
|
+
C.argv = [];
|
|
2542
|
+
C.version = "";
|
|
2543
|
+
C.versions = {};
|
|
2544
|
+
function B() {
|
|
2545
|
+
}
|
|
2546
|
+
C.on = B;
|
|
2547
|
+
C.addListener = B;
|
|
2548
|
+
C.once = B;
|
|
2549
|
+
C.off = B;
|
|
2550
|
+
C.removeListener = B;
|
|
2551
|
+
C.removeAllListeners = B;
|
|
2552
|
+
C.emit = B;
|
|
2553
|
+
C.prependListener = B;
|
|
2554
|
+
C.prependOnceListener = B;
|
|
2555
|
+
C.listeners = function(e) {
|
|
2556
|
+
return [];
|
|
2557
|
+
};
|
|
2558
|
+
C.binding = function(e) {
|
|
2559
|
+
throw new Error("process.binding is not supported");
|
|
2560
|
+
};
|
|
2561
|
+
C.cwd = function() {
|
|
2562
|
+
return "/";
|
|
2563
|
+
};
|
|
2564
|
+
C.chdir = function(e) {
|
|
2565
|
+
throw new Error("process.chdir is not supported");
|
|
2566
|
+
};
|
|
2567
|
+
C.umask = function() {
|
|
2568
|
+
return 0;
|
|
2569
|
+
};
|
|
2570
|
+
var It = Ln.exports;
|
|
2571
|
+
const Ae = /* @__PURE__ */ $t(It);
|
|
2572
|
+
function Dt(e) {
|
|
2454
2573
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
2455
2574
|
}
|
|
2456
|
-
var
|
|
2575
|
+
var oe = {}, Ut = {
|
|
2457
2576
|
get exports() {
|
|
2458
|
-
return
|
|
2577
|
+
return oe;
|
|
2459
2578
|
},
|
|
2460
2579
|
set exports(e) {
|
|
2461
|
-
|
|
2580
|
+
oe = e;
|
|
2462
2581
|
}
|
|
2463
2582
|
};
|
|
2464
2583
|
(function(e, s) {
|
|
2465
2584
|
(function(a, d) {
|
|
2466
2585
|
d(s);
|
|
2467
|
-
})(
|
|
2468
|
-
var d = typeof window != "undefined" ? window : typeof
|
|
2586
|
+
})(re, function(a) {
|
|
2587
|
+
var d = typeof window != "undefined" ? window : typeof re != "undefined" ? re : typeof self != "undefined" ? self : {}, p = function(t, c) {
|
|
2469
2588
|
if (c = c.split(":")[0], t = +t, !t)
|
|
2470
2589
|
return false;
|
|
2471
2590
|
switch (c) {
|
|
@@ -2491,108 +2610,108 @@ var Q = {}, Rt = {
|
|
|
2491
2610
|
return null;
|
|
2492
2611
|
}
|
|
2493
2612
|
}
|
|
2494
|
-
function
|
|
2613
|
+
function w(r) {
|
|
2495
2614
|
try {
|
|
2496
2615
|
return encodeURIComponent(r);
|
|
2497
2616
|
} catch (t) {
|
|
2498
2617
|
return null;
|
|
2499
2618
|
}
|
|
2500
2619
|
}
|
|
2501
|
-
function
|
|
2620
|
+
function L(r) {
|
|
2502
2621
|
for (var t = /([^=?#&]+)=?([^&]*)/g, c = {}, n; n = t.exec(r); ) {
|
|
2503
2622
|
var i = g(n[1]), u = g(n[2]);
|
|
2504
2623
|
i === null || u === null || i in c || (c[i] = u);
|
|
2505
2624
|
}
|
|
2506
2625
|
return c;
|
|
2507
2626
|
}
|
|
2508
|
-
function
|
|
2627
|
+
function Pe(r, t) {
|
|
2509
2628
|
t = t || "";
|
|
2510
2629
|
var c = [], n, i;
|
|
2511
2630
|
typeof t != "string" && (t = "?");
|
|
2512
2631
|
for (i in r)
|
|
2513
2632
|
if (m.call(r, i)) {
|
|
2514
|
-
if (n = r[i], !n && (n === null || n === f || isNaN(n)) && (n = ""), i =
|
|
2633
|
+
if (n = r[i], !n && (n === null || n === f || isNaN(n)) && (n = ""), i = w(i), n = w(n), i === null || n === null)
|
|
2515
2634
|
continue;
|
|
2516
2635
|
c.push(i + "=" + n);
|
|
2517
2636
|
}
|
|
2518
2637
|
return c.length ? t + c.join("&") : "";
|
|
2519
2638
|
}
|
|
2520
|
-
var
|
|
2521
|
-
stringify:
|
|
2522
|
-
parse:
|
|
2523
|
-
},
|
|
2524
|
-
function
|
|
2525
|
-
return (r || "").toString().replace(
|
|
2639
|
+
var Qn = Pe, Xn = L, ce = {
|
|
2640
|
+
stringify: Qn,
|
|
2641
|
+
parse: Xn
|
|
2642
|
+
}, Ye = /[\n\r\t]/g, et = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, nt = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, tt = /^[a-zA-Z]:/, st = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/;
|
|
2643
|
+
function Ce(r) {
|
|
2644
|
+
return (r || "").toString().replace(st, "");
|
|
2526
2645
|
}
|
|
2527
|
-
var
|
|
2646
|
+
var Ee = [
|
|
2528
2647
|
["#", "hash"],
|
|
2529
2648
|
["?", "query"],
|
|
2530
2649
|
function(t, c) {
|
|
2531
|
-
return
|
|
2650
|
+
return $(c.protocol) ? t.replace(/\\/g, "/") : t;
|
|
2532
2651
|
},
|
|
2533
2652
|
["/", "pathname"],
|
|
2534
2653
|
["@", "auth", 1],
|
|
2535
2654
|
[NaN, "host", void 0, 1, 1],
|
|
2536
2655
|
[/:(\d*)$/, "port", void 0, 1],
|
|
2537
2656
|
[NaN, "hostname", void 0, 1, 1]
|
|
2538
|
-
],
|
|
2539
|
-
function
|
|
2657
|
+
], Qe = { hash: 1, query: 1 };
|
|
2658
|
+
function Xe(r) {
|
|
2540
2659
|
var t;
|
|
2541
2660
|
typeof window != "undefined" ? t = window : typeof d != "undefined" ? t = d : typeof self != "undefined" ? t = self : t = {};
|
|
2542
2661
|
var c = t.location || {};
|
|
2543
2662
|
r = r || c;
|
|
2544
2663
|
var n = {}, i = typeof r, u;
|
|
2545
2664
|
if (r.protocol === "blob:")
|
|
2546
|
-
n = new
|
|
2665
|
+
n = new N(unescape(r.pathname), {});
|
|
2547
2666
|
else if (i === "string") {
|
|
2548
|
-
n = new
|
|
2549
|
-
for (u in
|
|
2667
|
+
n = new N(r, {});
|
|
2668
|
+
for (u in Qe)
|
|
2550
2669
|
delete n[u];
|
|
2551
2670
|
} else if (i === "object") {
|
|
2552
2671
|
for (u in r)
|
|
2553
|
-
u in
|
|
2554
|
-
n.slashes === void 0 && (n.slashes =
|
|
2672
|
+
u in Qe || (n[u] = r[u]);
|
|
2673
|
+
n.slashes === void 0 && (n.slashes = et.test(r.href));
|
|
2555
2674
|
}
|
|
2556
2675
|
return n;
|
|
2557
2676
|
}
|
|
2558
|
-
function
|
|
2677
|
+
function $(r) {
|
|
2559
2678
|
return r === "file:" || r === "ftp:" || r === "http:" || r === "https:" || r === "ws:" || r === "wss:";
|
|
2560
2679
|
}
|
|
2561
|
-
function
|
|
2562
|
-
r =
|
|
2563
|
-
var c =
|
|
2564
|
-
return i ? u ? (T = c[2] + c[3] + c[4], l = c[2].length + c[3].length) : (T = c[2] + c[4], l = c[2].length) : u ? (T = c[3] + c[4], l = c[3].length) : T = c[4], n === "file:" ? l >= 2 && (T = T.slice(2)) :
|
|
2680
|
+
function en(r, t) {
|
|
2681
|
+
r = Ce(r), r = r.replace(Ye, ""), t = t || {};
|
|
2682
|
+
var c = nt.exec(r), n = c[1] ? c[1].toLowerCase() : "", i = !!c[2], u = !!c[3], l = 0, T;
|
|
2683
|
+
return i ? u ? (T = c[2] + c[3] + c[4], l = c[2].length + c[3].length) : (T = c[2] + c[4], l = c[2].length) : u ? (T = c[3] + c[4], l = c[3].length) : T = c[4], n === "file:" ? l >= 2 && (T = T.slice(2)) : $(n) ? T = c[4] : n ? i && (T = T.slice(2)) : l >= 2 && $(t.protocol) && (T = c[4]), {
|
|
2565
2684
|
protocol: n,
|
|
2566
|
-
slashes: i ||
|
|
2685
|
+
slashes: i || $(n),
|
|
2567
2686
|
slashesCount: l,
|
|
2568
2687
|
rest: T
|
|
2569
2688
|
};
|
|
2570
2689
|
}
|
|
2571
|
-
function
|
|
2690
|
+
function rt(r, t) {
|
|
2572
2691
|
if (r === "")
|
|
2573
2692
|
return t;
|
|
2574
2693
|
for (var c = (t || "/").split("/").slice(0, -1).concat(r.split("/")), n = c.length, i = c[n - 1], u = false, l = 0; n--; )
|
|
2575
2694
|
c[n] === "." ? c.splice(n, 1) : c[n] === ".." ? (c.splice(n, 1), l++) : l && (n === 0 && (u = true), c.splice(n, 1), l--);
|
|
2576
2695
|
return u && c.unshift(""), (i === "." || i === "..") && c.push(""), c.join("/");
|
|
2577
2696
|
}
|
|
2578
|
-
function
|
|
2579
|
-
if (r =
|
|
2580
|
-
return new
|
|
2581
|
-
var n, i, u, l, T, k, _ =
|
|
2582
|
-
for (
|
|
2583
|
-
if (l = _[
|
|
2697
|
+
function N(r, t, c) {
|
|
2698
|
+
if (r = Ce(r), r = r.replace(Ye, ""), !(this instanceof N))
|
|
2699
|
+
return new N(r, t, c);
|
|
2700
|
+
var n, i, u, l, T, k, _ = Ee.slice(), S = typeof t, h = this, Me = 0;
|
|
2701
|
+
for (S !== "object" && S !== "string" && (c = t, t = null), c && typeof c != "function" && (c = ce.parse), t = Xe(t), i = en(r || "", t), n = !i.protocol && !i.slashes, h.slashes = i.slashes || n && t.slashes, h.protocol = i.protocol || t.protocol || "", r = i.rest, (i.protocol === "file:" && (i.slashesCount !== 2 || tt.test(r)) || !i.slashes && (i.protocol || i.slashesCount < 2 || !$(h.protocol))) && (_[3] = [/(.*)/, "pathname"]); Me < _.length; Me++) {
|
|
2702
|
+
if (l = _[Me], typeof l == "function") {
|
|
2584
2703
|
r = l(r, h);
|
|
2585
2704
|
continue;
|
|
2586
2705
|
}
|
|
2587
2706
|
u = l[0], k = l[1], u !== u ? h[k] = r : typeof u == "string" ? (T = u === "@" ? r.lastIndexOf(u) : r.indexOf(u), ~T && (typeof l[2] == "number" ? (h[k] = r.slice(0, T), r = r.slice(T + l[2])) : (h[k] = r.slice(T), r = r.slice(0, T)))) : (T = u.exec(r)) && (h[k] = T[1], r = r.slice(0, T.index)), h[k] = h[k] || n && l[3] && t[k] || "", l[4] && (h[k] = h[k].toLowerCase());
|
|
2588
2707
|
}
|
|
2589
|
-
c && (h.query = c(h.query)), n && t.slashes && h.pathname.charAt(0) !== "/" && (h.pathname !== "" || t.pathname !== "") && (h.pathname =
|
|
2708
|
+
c && (h.query = c(h.query)), n && t.slashes && h.pathname.charAt(0) !== "/" && (h.pathname !== "" || t.pathname !== "") && (h.pathname = rt(h.pathname, t.pathname)), h.pathname.charAt(0) !== "/" && $(h.protocol) && (h.pathname = "/" + h.pathname), p(h.port, h.protocol) || (h.host = h.hostname, h.port = ""), h.username = h.password = "", h.auth && (T = h.auth.indexOf(":"), ~T ? (h.username = h.auth.slice(0, T), h.username = encodeURIComponent(decodeURIComponent(h.username)), h.password = h.auth.slice(T + 1), h.password = encodeURIComponent(decodeURIComponent(h.password))) : h.username = encodeURIComponent(decodeURIComponent(h.auth)), h.auth = h.password ? h.username + ":" + h.password : h.username), h.origin = h.protocol !== "file:" && $(h.protocol) && h.host ? h.protocol + "//" + h.host : "null", h.href = h.toString();
|
|
2590
2709
|
}
|
|
2591
|
-
function
|
|
2710
|
+
function ot(r, t, c) {
|
|
2592
2711
|
var n = this;
|
|
2593
2712
|
switch (r) {
|
|
2594
2713
|
case "query":
|
|
2595
|
-
typeof t == "string" && t.length && (t = (c ||
|
|
2714
|
+
typeof t == "string" && t.length && (t = (c || ce.parse)(t)), n[r] = t;
|
|
2596
2715
|
break;
|
|
2597
2716
|
case "port":
|
|
2598
2717
|
n[r] = t, p(t, n.protocol) ? t && (n.host = n.hostname + ":" + t) : (n.host = n.hostname, n[r] = "");
|
|
@@ -2622,56 +2741,56 @@ var Q = {}, Rt = {
|
|
|
2622
2741
|
var u = t.indexOf(":");
|
|
2623
2742
|
~u ? (n.username = t.slice(0, u), n.username = encodeURIComponent(decodeURIComponent(n.username)), n.password = t.slice(u + 1), n.password = encodeURIComponent(decodeURIComponent(n.password))) : n.username = encodeURIComponent(decodeURIComponent(t));
|
|
2624
2743
|
}
|
|
2625
|
-
for (var l = 0; l <
|
|
2626
|
-
var T =
|
|
2744
|
+
for (var l = 0; l < Ee.length; l++) {
|
|
2745
|
+
var T = Ee[l];
|
|
2627
2746
|
T[4] && (n[T[1]] = n[T[1]].toLowerCase());
|
|
2628
2747
|
}
|
|
2629
|
-
return n.auth = n.password ? n.username + ":" + n.password : n.username, n.origin = n.protocol !== "file:" &&
|
|
2748
|
+
return n.auth = n.password ? n.username + ":" + n.password : n.username, n.origin = n.protocol !== "file:" && $(n.protocol) && n.host ? n.protocol + "//" + n.host : "null", n.href = n.toString(), n;
|
|
2630
2749
|
}
|
|
2631
|
-
function
|
|
2632
|
-
(!r || typeof r != "function") && (r =
|
|
2750
|
+
function at(r) {
|
|
2751
|
+
(!r || typeof r != "function") && (r = ce.stringify);
|
|
2633
2752
|
var t, c = this, n = c.host, i = c.protocol;
|
|
2634
2753
|
i && i.charAt(i.length - 1) !== ":" && (i += ":");
|
|
2635
|
-
var u = i + (c.protocol && c.slashes ||
|
|
2636
|
-
return c.username ? (u += c.username, c.password && (u += ":" + c.password), u += "@") : c.password ? (u += ":" + c.password, u += "@") : c.protocol !== "file:" &&
|
|
2754
|
+
var u = i + (c.protocol && c.slashes || $(c.protocol) ? "//" : "");
|
|
2755
|
+
return c.username ? (u += c.username, c.password && (u += ":" + c.password), u += "@") : c.password ? (u += ":" + c.password, u += "@") : c.protocol !== "file:" && $(c.protocol) && !n && c.pathname !== "/" && (u += "@"), n[n.length - 1] === ":" && (n += ":"), u += n + c.pathname, t = typeof c.query == "object" ? r(c.query) : c.query, t && (u += t.charAt(0) !== "?" ? "?" + t : t), c.hash && (u += c.hash), u;
|
|
2637
2756
|
}
|
|
2638
|
-
|
|
2639
|
-
var
|
|
2640
|
-
function
|
|
2757
|
+
N.prototype = { set: ot, toString: at }, N.extractProtocol = en, N.location = Xe, N.trimLeft = Ce, N.qs = ce;
|
|
2758
|
+
var Se = N;
|
|
2759
|
+
function ee(r, t) {
|
|
2641
2760
|
setTimeout(function(c) {
|
|
2642
2761
|
return r.call(c);
|
|
2643
2762
|
}, 4, t);
|
|
2644
2763
|
}
|
|
2645
|
-
function
|
|
2646
|
-
typeof
|
|
2764
|
+
function de(r, t) {
|
|
2765
|
+
typeof Ae != "undefined" && Ae.env.NODE_ENV !== "test" && console[r].call(null, t);
|
|
2647
2766
|
}
|
|
2648
|
-
function
|
|
2767
|
+
function be(r, t) {
|
|
2649
2768
|
r === void 0 && (r = []);
|
|
2650
2769
|
var c = [];
|
|
2651
2770
|
return r.forEach(function(n) {
|
|
2652
2771
|
t(n) || c.push(n);
|
|
2653
2772
|
}), c;
|
|
2654
2773
|
}
|
|
2655
|
-
function
|
|
2774
|
+
function it(r, t) {
|
|
2656
2775
|
r === void 0 && (r = []);
|
|
2657
2776
|
var c = [];
|
|
2658
2777
|
return r.forEach(function(n) {
|
|
2659
2778
|
t(n) && c.push(n);
|
|
2660
2779
|
}), c;
|
|
2661
2780
|
}
|
|
2662
|
-
var
|
|
2781
|
+
var K = function() {
|
|
2663
2782
|
this.listeners = {};
|
|
2664
2783
|
};
|
|
2665
|
-
|
|
2666
|
-
typeof c == "function" && (Array.isArray(this.listeners[t]) || (this.listeners[t] = []),
|
|
2784
|
+
K.prototype.addEventListener = function(t, c) {
|
|
2785
|
+
typeof c == "function" && (Array.isArray(this.listeners[t]) || (this.listeners[t] = []), it(this.listeners[t], function(n) {
|
|
2667
2786
|
return n === c;
|
|
2668
2787
|
}).length === 0 && this.listeners[t].push(c));
|
|
2669
|
-
},
|
|
2788
|
+
}, K.prototype.removeEventListener = function(t, c) {
|
|
2670
2789
|
var n = this.listeners[t];
|
|
2671
|
-
this.listeners[t] =
|
|
2790
|
+
this.listeners[t] = be(n, function(i) {
|
|
2672
2791
|
return i === c;
|
|
2673
2792
|
});
|
|
2674
|
-
},
|
|
2793
|
+
}, K.prototype.dispatchEvent = function(t) {
|
|
2675
2794
|
for (var c = this, n = [], i = arguments.length - 1; i-- > 0; )
|
|
2676
2795
|
n[i] = arguments[i + 1];
|
|
2677
2796
|
var u = t.type, l = this.listeners[u];
|
|
@@ -2679,34 +2798,34 @@ var Q = {}, Rt = {
|
|
|
2679
2798
|
n.length > 0 ? T.apply(c, n) : T.call(c, t);
|
|
2680
2799
|
}), true) : false;
|
|
2681
2800
|
};
|
|
2682
|
-
function
|
|
2801
|
+
function G(r) {
|
|
2683
2802
|
var t = r.indexOf("?");
|
|
2684
2803
|
return t >= 0 ? r.slice(0, t) : r;
|
|
2685
2804
|
}
|
|
2686
|
-
var
|
|
2805
|
+
var D = function() {
|
|
2687
2806
|
this.urlMap = {};
|
|
2688
2807
|
};
|
|
2689
|
-
|
|
2690
|
-
var n =
|
|
2808
|
+
D.prototype.attachWebSocket = function(t, c) {
|
|
2809
|
+
var n = G(c), i = this.urlMap[n];
|
|
2691
2810
|
if (i && i.server && i.websockets.indexOf(t) === -1)
|
|
2692
2811
|
return i.websockets.push(t), i.server;
|
|
2693
|
-
},
|
|
2694
|
-
var n = this.urlMap[
|
|
2812
|
+
}, D.prototype.addMembershipToRoom = function(t, c) {
|
|
2813
|
+
var n = this.urlMap[G(t.url)];
|
|
2695
2814
|
n && n.server && n.websockets.indexOf(t) !== -1 && (n.roomMemberships[c] || (n.roomMemberships[c] = []), n.roomMemberships[c].push(t));
|
|
2696
|
-
},
|
|
2697
|
-
var n =
|
|
2815
|
+
}, D.prototype.attachServer = function(t, c) {
|
|
2816
|
+
var n = G(c), i = this.urlMap[n];
|
|
2698
2817
|
if (!i)
|
|
2699
2818
|
return this.urlMap[n] = {
|
|
2700
2819
|
server: t,
|
|
2701
2820
|
websockets: [],
|
|
2702
2821
|
roomMemberships: {}
|
|
2703
2822
|
}, t;
|
|
2704
|
-
},
|
|
2705
|
-
var c =
|
|
2823
|
+
}, D.prototype.serverLookup = function(t) {
|
|
2824
|
+
var c = G(t), n = this.urlMap[c];
|
|
2706
2825
|
if (n)
|
|
2707
2826
|
return n.server;
|
|
2708
|
-
},
|
|
2709
|
-
var i =
|
|
2827
|
+
}, D.prototype.websocketsLookup = function(t, c, n) {
|
|
2828
|
+
var i = G(t), u, l = this.urlMap[i];
|
|
2710
2829
|
if (u = l ? l.websockets : [], c) {
|
|
2711
2830
|
var T = l.roomMemberships[c];
|
|
2712
2831
|
u = T || [];
|
|
@@ -2714,20 +2833,20 @@ var Q = {}, Rt = {
|
|
|
2714
2833
|
return n ? u.filter(function(k) {
|
|
2715
2834
|
return k !== n;
|
|
2716
2835
|
}) : u;
|
|
2717
|
-
},
|
|
2718
|
-
delete this.urlMap[
|
|
2719
|
-
},
|
|
2720
|
-
var n =
|
|
2721
|
-
i && (i.websockets =
|
|
2836
|
+
}, D.prototype.removeServer = function(t) {
|
|
2837
|
+
delete this.urlMap[G(t)];
|
|
2838
|
+
}, D.prototype.removeWebSocket = function(t, c) {
|
|
2839
|
+
var n = G(c), i = this.urlMap[n];
|
|
2840
|
+
i && (i.websockets = be(i.websockets, function(u) {
|
|
2722
2841
|
return u === t;
|
|
2723
2842
|
}));
|
|
2724
|
-
},
|
|
2725
|
-
var n = this.urlMap[
|
|
2726
|
-
n && i !== null && (n.roomMemberships[c] =
|
|
2843
|
+
}, D.prototype.removeMembershipFromRoom = function(t, c) {
|
|
2844
|
+
var n = this.urlMap[G(t.url)], i = n.roomMemberships[c];
|
|
2845
|
+
n && i !== null && (n.roomMemberships[c] = be(i, function(u) {
|
|
2727
2846
|
return u === t;
|
|
2728
2847
|
}));
|
|
2729
2848
|
};
|
|
2730
|
-
var
|
|
2849
|
+
var P = new D(), x = {
|
|
2731
2850
|
CLOSE_NORMAL: 1e3,
|
|
2732
2851
|
CLOSE_GOING_AWAY: 1001,
|
|
2733
2852
|
CLOSE_PROTOCOL_ERROR: 1002,
|
|
@@ -2742,7 +2861,7 @@ var Q = {}, Rt = {
|
|
|
2742
2861
|
SERVICE_RESTART: 1012,
|
|
2743
2862
|
TRY_AGAIN_LATER: 1013,
|
|
2744
2863
|
TLS_HANDSHAKE: 1015
|
|
2745
|
-
},
|
|
2864
|
+
}, b = {
|
|
2746
2865
|
CONSTRUCTOR_ERROR: "Failed to construct 'WebSocket':",
|
|
2747
2866
|
CLOSE_ERROR: "Failed to execute 'close' on 'WebSocket':",
|
|
2748
2867
|
EVENT: {
|
|
@@ -2750,112 +2869,112 @@ var Q = {}, Rt = {
|
|
|
2750
2869
|
MESSAGE: "Failed to construct 'MessageEvent':",
|
|
2751
2870
|
CLOSE: "Failed to construct 'CloseEvent':"
|
|
2752
2871
|
}
|
|
2753
|
-
},
|
|
2872
|
+
}, V = function() {
|
|
2754
2873
|
};
|
|
2755
|
-
|
|
2756
|
-
},
|
|
2757
|
-
},
|
|
2874
|
+
V.prototype.stopPropagation = function() {
|
|
2875
|
+
}, V.prototype.stopImmediatePropagation = function() {
|
|
2876
|
+
}, V.prototype.initEvent = function(t, c, n) {
|
|
2758
2877
|
t === void 0 && (t = "undefined"), c === void 0 && (c = false), n === void 0 && (n = false), this.type = "" + t, this.bubbles = Boolean(c), this.cancelable = Boolean(n);
|
|
2759
2878
|
};
|
|
2760
|
-
var
|
|
2879
|
+
var ct = function(r) {
|
|
2761
2880
|
function t(c, n) {
|
|
2762
2881
|
if (n === void 0 && (n = {}), r.call(this), !c)
|
|
2763
|
-
throw new TypeError(
|
|
2882
|
+
throw new TypeError(b.EVENT_ERROR + " 1 argument required, but only 0 present.");
|
|
2764
2883
|
if (typeof n != "object")
|
|
2765
|
-
throw new TypeError(
|
|
2884
|
+
throw new TypeError(b.EVENT_ERROR + " parameter 2 ('eventInitDict') is not an object.");
|
|
2766
2885
|
var i = n.bubbles, u = n.cancelable;
|
|
2767
2886
|
this.type = "" + c, this.timeStamp = Date.now(), this.target = null, this.srcElement = null, this.returnValue = true, this.isTrusted = false, this.eventPhase = 0, this.defaultPrevented = false, this.currentTarget = null, this.cancelable = u ? Boolean(u) : false, this.cancelBubble = false, this.bubbles = i ? Boolean(i) : false;
|
|
2768
2887
|
}
|
|
2769
2888
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
|
|
2770
|
-
}(
|
|
2889
|
+
}(V), dt = function(r) {
|
|
2771
2890
|
function t(c, n) {
|
|
2772
2891
|
if (n === void 0 && (n = {}), r.call(this), !c)
|
|
2773
|
-
throw new TypeError(
|
|
2892
|
+
throw new TypeError(b.EVENT.MESSAGE + " 1 argument required, but only 0 present.");
|
|
2774
2893
|
if (typeof n != "object")
|
|
2775
|
-
throw new TypeError(
|
|
2894
|
+
throw new TypeError(b.EVENT.MESSAGE + " parameter 2 ('eventInitDict') is not an object");
|
|
2776
2895
|
var i = n.bubbles, u = n.cancelable, l = n.data, T = n.origin, k = n.lastEventId, _ = n.ports;
|
|
2777
2896
|
this.type = "" + c, this.timeStamp = Date.now(), this.target = null, this.srcElement = null, this.returnValue = true, this.isTrusted = false, this.eventPhase = 0, this.defaultPrevented = false, this.currentTarget = null, this.cancelable = u ? Boolean(u) : false, this.canncelBubble = false, this.bubbles = i ? Boolean(i) : false, this.origin = "" + T, this.ports = typeof _ == "undefined" ? null : _, this.data = typeof l == "undefined" ? null : l, this.lastEventId = "" + (k || "");
|
|
2778
2897
|
}
|
|
2779
2898
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
|
|
2780
|
-
}(
|
|
2899
|
+
}(V), ut = function(r) {
|
|
2781
2900
|
function t(c, n) {
|
|
2782
2901
|
if (n === void 0 && (n = {}), r.call(this), !c)
|
|
2783
|
-
throw new TypeError(
|
|
2902
|
+
throw new TypeError(b.EVENT.CLOSE + " 1 argument required, but only 0 present.");
|
|
2784
2903
|
if (typeof n != "object")
|
|
2785
|
-
throw new TypeError(
|
|
2904
|
+
throw new TypeError(b.EVENT.CLOSE + " parameter 2 ('eventInitDict') is not an object");
|
|
2786
2905
|
var i = n.bubbles, u = n.cancelable, l = n.code, T = n.reason, k = n.wasClean;
|
|
2787
2906
|
this.type = "" + c, this.timeStamp = Date.now(), this.target = null, this.srcElement = null, this.returnValue = true, this.isTrusted = false, this.eventPhase = 0, this.defaultPrevented = false, this.currentTarget = null, this.cancelable = u ? Boolean(u) : false, this.cancelBubble = false, this.bubbles = i ? Boolean(i) : false, this.code = typeof l == "number" ? parseInt(l, 10) : 0, this.reason = "" + (T || ""), this.wasClean = k ? Boolean(k) : false;
|
|
2788
2907
|
}
|
|
2789
2908
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
|
|
2790
|
-
}(
|
|
2791
|
-
function
|
|
2792
|
-
var t = r.type, c = r.target, n = new
|
|
2909
|
+
}(V);
|
|
2910
|
+
function O(r) {
|
|
2911
|
+
var t = r.type, c = r.target, n = new ct(t);
|
|
2793
2912
|
return c && (n.target = c, n.srcElement = c, n.currentTarget = c), n;
|
|
2794
2913
|
}
|
|
2795
|
-
function
|
|
2796
|
-
var t = r.type, c = r.origin, n = r.data, i = r.target, u = new
|
|
2914
|
+
function ne(r) {
|
|
2915
|
+
var t = r.type, c = r.origin, n = r.data, i = r.target, u = new dt(t, {
|
|
2797
2916
|
data: n,
|
|
2798
2917
|
origin: c
|
|
2799
2918
|
});
|
|
2800
2919
|
return i && (u.target = i, u.srcElement = i, u.currentTarget = i), u;
|
|
2801
2920
|
}
|
|
2802
|
-
function
|
|
2921
|
+
function M(r) {
|
|
2803
2922
|
var t = r.code, c = r.reason, n = r.type, i = r.target, u = r.wasClean;
|
|
2804
|
-
u || (u = t ===
|
|
2805
|
-
var l = new
|
|
2923
|
+
u || (u = t === x.CLOSE_NORMAL || t === x.CLOSE_NO_STATUS);
|
|
2924
|
+
var l = new ut(n, {
|
|
2806
2925
|
code: t,
|
|
2807
2926
|
reason: c,
|
|
2808
2927
|
wasClean: u
|
|
2809
2928
|
});
|
|
2810
2929
|
return i && (l.target = i, l.srcElement = i, l.currentTarget = i), l;
|
|
2811
2930
|
}
|
|
2812
|
-
function
|
|
2813
|
-
r.readyState =
|
|
2814
|
-
var n =
|
|
2931
|
+
function nn(r, t, c) {
|
|
2932
|
+
r.readyState = E.CLOSING;
|
|
2933
|
+
var n = P.serverLookup(r.url), i = M({
|
|
2815
2934
|
type: "close",
|
|
2816
2935
|
target: r.target,
|
|
2817
2936
|
code: t,
|
|
2818
2937
|
reason: c
|
|
2819
2938
|
});
|
|
2820
|
-
|
|
2821
|
-
|
|
2939
|
+
ee(function() {
|
|
2940
|
+
P.removeWebSocket(r, r.url), r.readyState = E.CLOSED, r.dispatchEvent(i), n && n.dispatchEvent(i, n);
|
|
2822
2941
|
}, r);
|
|
2823
2942
|
}
|
|
2824
|
-
function
|
|
2825
|
-
r.readyState =
|
|
2826
|
-
var n =
|
|
2943
|
+
function pt(r, t, c) {
|
|
2944
|
+
r.readyState = E.CLOSING;
|
|
2945
|
+
var n = P.serverLookup(r.url), i = M({
|
|
2827
2946
|
type: "close",
|
|
2828
2947
|
target: r.target,
|
|
2829
2948
|
code: t,
|
|
2830
2949
|
reason: c,
|
|
2831
2950
|
wasClean: false
|
|
2832
|
-
}), u =
|
|
2951
|
+
}), u = O({
|
|
2833
2952
|
type: "error",
|
|
2834
2953
|
target: r.target
|
|
2835
2954
|
});
|
|
2836
|
-
|
|
2837
|
-
|
|
2955
|
+
ee(function() {
|
|
2956
|
+
P.removeWebSocket(r, r.url), r.readyState = E.CLOSED, r.dispatchEvent(u), r.dispatchEvent(i), n && n.dispatchEvent(i, n);
|
|
2838
2957
|
}, r);
|
|
2839
2958
|
}
|
|
2840
|
-
function
|
|
2959
|
+
function ue(r) {
|
|
2841
2960
|
return Object.prototype.toString.call(r) !== "[object Blob]" && !(r instanceof ArrayBuffer) && (r = String(r)), r;
|
|
2842
2961
|
}
|
|
2843
|
-
var
|
|
2844
|
-
function
|
|
2845
|
-
if (
|
|
2846
|
-
return
|
|
2962
|
+
var Le = /* @__PURE__ */ new WeakMap();
|
|
2963
|
+
function tn(r) {
|
|
2964
|
+
if (Le.has(r))
|
|
2965
|
+
return Le.get(r);
|
|
2847
2966
|
var t = new Proxy(r, {
|
|
2848
2967
|
get: function(n, i) {
|
|
2849
2968
|
if (i === "close")
|
|
2850
2969
|
return function(T) {
|
|
2851
2970
|
T === void 0 && (T = {});
|
|
2852
|
-
var k = T.code ||
|
|
2853
|
-
|
|
2971
|
+
var k = T.code || x.CLOSE_NORMAL, _ = T.reason || "";
|
|
2972
|
+
nn(t, k, _);
|
|
2854
2973
|
};
|
|
2855
2974
|
if (i === "send")
|
|
2856
2975
|
return function(T) {
|
|
2857
|
-
T =
|
|
2858
|
-
|
|
2976
|
+
T = ue(T), r.dispatchEvent(
|
|
2977
|
+
ne({
|
|
2859
2978
|
type: "message",
|
|
2860
2979
|
data: T,
|
|
2861
2980
|
origin: this.url,
|
|
@@ -2873,31 +2992,31 @@ var Q = {}, Rt = {
|
|
|
2873
2992
|
} : i === "target" ? r : n[i];
|
|
2874
2993
|
}
|
|
2875
2994
|
});
|
|
2876
|
-
return
|
|
2995
|
+
return Le.set(r, t), t;
|
|
2877
2996
|
}
|
|
2878
|
-
function
|
|
2997
|
+
function lt(r) {
|
|
2879
2998
|
var t = encodeURIComponent(r).match(/%[89ABab]/g);
|
|
2880
2999
|
return r.length + (t ? t.length : 0);
|
|
2881
3000
|
}
|
|
2882
|
-
function
|
|
2883
|
-
var t = new
|
|
3001
|
+
function mt(r) {
|
|
3002
|
+
var t = new Se(r), c = t.pathname, n = t.protocol, i = t.hash;
|
|
2884
3003
|
if (!r)
|
|
2885
|
-
throw new TypeError(
|
|
3004
|
+
throw new TypeError(b.CONSTRUCTOR_ERROR + " 1 argument required, but only 0 present.");
|
|
2886
3005
|
if (c || (t.pathname = "/"), n === "")
|
|
2887
|
-
throw new SyntaxError(
|
|
3006
|
+
throw new SyntaxError(b.CONSTRUCTOR_ERROR + " The URL '" + t.toString() + "' is invalid.");
|
|
2888
3007
|
if (n !== "ws:" && n !== "wss:")
|
|
2889
3008
|
throw new SyntaxError(
|
|
2890
|
-
|
|
3009
|
+
b.CONSTRUCTOR_ERROR + " The URL's scheme must be either 'ws' or 'wss'. '" + n + "' is not allowed."
|
|
2891
3010
|
);
|
|
2892
3011
|
if (i !== "")
|
|
2893
3012
|
throw new SyntaxError(
|
|
2894
|
-
|
|
3013
|
+
b.CONSTRUCTOR_ERROR + " The URL contains a fragment identifier ('" + i + "'). Fragment identifiers are not allowed in WebSocket URLs."
|
|
2895
3014
|
);
|
|
2896
3015
|
return t.toString();
|
|
2897
3016
|
}
|
|
2898
|
-
function
|
|
3017
|
+
function Tt(r) {
|
|
2899
3018
|
if (r === void 0 && (r = []), !Array.isArray(r) && typeof r != "string")
|
|
2900
|
-
throw new SyntaxError(
|
|
3019
|
+
throw new SyntaxError(b.CONSTRUCTOR_ERROR + " The subprotocol '" + r.toString() + "' is invalid.");
|
|
2901
3020
|
typeof r == "string" && (r = [r]);
|
|
2902
3021
|
var t = r.map(function(n) {
|
|
2903
3022
|
return { count: 1, protocol: n };
|
|
@@ -2907,34 +3026,34 @@ var Q = {}, Rt = {
|
|
|
2907
3026
|
return t[n] > 1;
|
|
2908
3027
|
});
|
|
2909
3028
|
if (c.length > 0)
|
|
2910
|
-
throw new SyntaxError(
|
|
3029
|
+
throw new SyntaxError(b.CONSTRUCTOR_ERROR + " The subprotocol '" + c[0] + "' is duplicated.");
|
|
2911
3030
|
return r;
|
|
2912
3031
|
}
|
|
2913
|
-
var
|
|
3032
|
+
var E = function(r) {
|
|
2914
3033
|
function t(n, i) {
|
|
2915
|
-
r.call(this), this._onopen = null, this._onmessage = null, this._onerror = null, this._onclose = null, this.url =
|
|
2916
|
-
var u =
|
|
2917
|
-
|
|
3034
|
+
r.call(this), this._onopen = null, this._onmessage = null, this._onerror = null, this._onclose = null, this.url = mt(n), i = Tt(i), this.protocol = i[0] || "", this.binaryType = "blob", this.readyState = t.CONNECTING;
|
|
3035
|
+
var u = tn(this), l = P.attachWebSocket(u, this.url);
|
|
3036
|
+
ee(function() {
|
|
2918
3037
|
if (this.readyState === t.CONNECTING)
|
|
2919
3038
|
if (l)
|
|
2920
3039
|
if (l.options.verifyClient && typeof l.options.verifyClient == "function" && !l.options.verifyClient())
|
|
2921
|
-
this.readyState = t.CLOSED,
|
|
3040
|
+
this.readyState = t.CLOSED, de(
|
|
2922
3041
|
"error",
|
|
2923
3042
|
"WebSocket connection to '" + this.url + "' failed: HTTP Authentication failed; no valid credentials available"
|
|
2924
|
-
),
|
|
3043
|
+
), P.removeWebSocket(u, this.url), this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(M({ type: "close", target: this, code: x.CLOSE_NORMAL }));
|
|
2925
3044
|
else {
|
|
2926
3045
|
if (l.options.selectProtocol && typeof l.options.selectProtocol == "function") {
|
|
2927
|
-
var k = l.options.selectProtocol(i), _ = k !== "",
|
|
2928
|
-
if (_ && !
|
|
2929
|
-
this.readyState = t.CLOSED,
|
|
3046
|
+
var k = l.options.selectProtocol(i), _ = k !== "", S = i.indexOf(k) !== -1;
|
|
3047
|
+
if (_ && !S) {
|
|
3048
|
+
this.readyState = t.CLOSED, de("error", "WebSocket connection to '" + this.url + "' failed: Invalid Sub-Protocol"), P.removeWebSocket(u, this.url), this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(M({ type: "close", target: this, code: x.CLOSE_NORMAL }));
|
|
2930
3049
|
return;
|
|
2931
3050
|
}
|
|
2932
3051
|
this.protocol = k;
|
|
2933
3052
|
}
|
|
2934
|
-
this.readyState = t.OPEN, this.dispatchEvent(
|
|
3053
|
+
this.readyState = t.OPEN, this.dispatchEvent(O({ type: "open", target: this })), l.dispatchEvent(O({ type: "connection" }), u);
|
|
2935
3054
|
}
|
|
2936
3055
|
else
|
|
2937
|
-
this.readyState = t.CLOSED, this.dispatchEvent(
|
|
3056
|
+
this.readyState = t.CLOSED, this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(M({ type: "close", target: this, code: x.CLOSE_NORMAL })), de("error", "WebSocket connection to '" + this.url + "' failed");
|
|
2938
3057
|
}, this);
|
|
2939
3058
|
}
|
|
2940
3059
|
r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t;
|
|
@@ -2959,49 +3078,49 @@ var Q = {}, Rt = {
|
|
|
2959
3078
|
var u = this;
|
|
2960
3079
|
if (this.readyState === t.CONNECTING)
|
|
2961
3080
|
throw new Error("Failed to execute 'send' on 'WebSocket': Still in CONNECTING state");
|
|
2962
|
-
var l =
|
|
3081
|
+
var l = ne({
|
|
2963
3082
|
type: "server::message",
|
|
2964
3083
|
origin: this.url,
|
|
2965
|
-
data:
|
|
2966
|
-
}), T =
|
|
2967
|
-
T &&
|
|
3084
|
+
data: ue(i)
|
|
3085
|
+
}), T = P.serverLookup(this.url);
|
|
3086
|
+
T && ee(function() {
|
|
2968
3087
|
u.dispatchEvent(l, i);
|
|
2969
3088
|
}, T);
|
|
2970
3089
|
}, t.prototype.close = function(i, u) {
|
|
2971
3090
|
if (i !== void 0 && (typeof i != "number" || i !== 1e3 && (i < 3e3 || i > 4999)))
|
|
2972
3091
|
throw new TypeError(
|
|
2973
|
-
|
|
3092
|
+
b.CLOSE_ERROR + " The code must be either 1000, or between 3000 and 4999. " + i + " is neither."
|
|
2974
3093
|
);
|
|
2975
3094
|
if (u !== void 0) {
|
|
2976
|
-
var l =
|
|
3095
|
+
var l = lt(u);
|
|
2977
3096
|
if (l > 123)
|
|
2978
|
-
throw new SyntaxError(
|
|
3097
|
+
throw new SyntaxError(b.CLOSE_ERROR + " The message must not be greater than 123 bytes.");
|
|
2979
3098
|
}
|
|
2980
3099
|
if (!(this.readyState === t.CLOSING || this.readyState === t.CLOSED)) {
|
|
2981
|
-
var T =
|
|
2982
|
-
this.readyState === t.CONNECTING ?
|
|
3100
|
+
var T = tn(this);
|
|
3101
|
+
this.readyState === t.CONNECTING ? pt(T, i || x.CLOSE_ABNORMAL, u) : nn(T, i || x.CLOSE_NO_STATUS, u);
|
|
2983
3102
|
}
|
|
2984
3103
|
}, Object.defineProperties(t.prototype, c), t;
|
|
2985
|
-
}(
|
|
2986
|
-
|
|
2987
|
-
var
|
|
3104
|
+
}(K);
|
|
3105
|
+
E.CONNECTING = 0, E.prototype.CONNECTING = E.CONNECTING, E.OPEN = 1, E.prototype.OPEN = E.OPEN, E.CLOSING = 2, E.prototype.CLOSING = E.CLOSING, E.CLOSED = 3, E.prototype.CLOSED = E.CLOSED;
|
|
3106
|
+
var H = function(r) {
|
|
2988
3107
|
function t(n, i) {
|
|
2989
3108
|
var u = this;
|
|
2990
3109
|
n === void 0 && (n = "socket.io"), i === void 0 && (i = ""), r.call(this), this.binaryType = "blob";
|
|
2991
|
-
var l = new
|
|
3110
|
+
var l = new Se(n);
|
|
2992
3111
|
l.pathname || (l.pathname = "/"), this.url = l.toString(), this.readyState = t.CONNECTING, this.protocol = "", this.target = this, typeof i == "string" || typeof i == "object" && i !== null ? this.protocol = i : Array.isArray(i) && i.length > 0 && (this.protocol = i[0]);
|
|
2993
|
-
var T =
|
|
2994
|
-
|
|
2995
|
-
T ? (this.readyState = t.OPEN, T.dispatchEvent(
|
|
2996
|
-
|
|
3112
|
+
var T = P.attachWebSocket(this, this.url);
|
|
3113
|
+
ee(function() {
|
|
3114
|
+
T ? (this.readyState = t.OPEN, T.dispatchEvent(O({ type: "connection" }), T, this), T.dispatchEvent(O({ type: "connect" }), T, this), this.dispatchEvent(O({ type: "connect", target: this }))) : (this.readyState = t.CLOSED, this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(
|
|
3115
|
+
M({
|
|
2997
3116
|
type: "close",
|
|
2998
3117
|
target: this,
|
|
2999
|
-
code:
|
|
3118
|
+
code: x.CLOSE_NORMAL
|
|
3000
3119
|
})
|
|
3001
|
-
),
|
|
3120
|
+
), de("error", "Socket.io connection to '" + this.url + "' failed"));
|
|
3002
3121
|
}, this), this.addEventListener("close", function(k) {
|
|
3003
3122
|
u.dispatchEvent(
|
|
3004
|
-
|
|
3123
|
+
M({
|
|
3005
3124
|
type: "disconnect",
|
|
3006
3125
|
target: k.target,
|
|
3007
3126
|
code: k.code
|
|
@@ -3013,18 +3132,18 @@ var Q = {}, Rt = {
|
|
|
3013
3132
|
var c = { broadcast: {} };
|
|
3014
3133
|
return t.prototype.close = function() {
|
|
3015
3134
|
if (this.readyState === t.OPEN) {
|
|
3016
|
-
var i =
|
|
3017
|
-
return
|
|
3018
|
-
|
|
3135
|
+
var i = P.serverLookup(this.url);
|
|
3136
|
+
return P.removeWebSocket(this, this.url), this.readyState = t.CLOSED, this.dispatchEvent(
|
|
3137
|
+
M({
|
|
3019
3138
|
type: "close",
|
|
3020
3139
|
target: this,
|
|
3021
|
-
code:
|
|
3140
|
+
code: x.CLOSE_NORMAL
|
|
3022
3141
|
})
|
|
3023
3142
|
), i && i.dispatchEvent(
|
|
3024
|
-
|
|
3143
|
+
M({
|
|
3025
3144
|
type: "disconnect",
|
|
3026
3145
|
target: this,
|
|
3027
|
-
code:
|
|
3146
|
+
code: x.CLOSE_NORMAL
|
|
3028
3147
|
}),
|
|
3029
3148
|
i
|
|
3030
3149
|
), this;
|
|
@@ -3036,23 +3155,23 @@ var Q = {}, Rt = {
|
|
|
3036
3155
|
u[l] = arguments[l + 1];
|
|
3037
3156
|
if (this.readyState !== t.OPEN)
|
|
3038
3157
|
throw new Error("SocketIO is already in CLOSING or CLOSED state");
|
|
3039
|
-
var T =
|
|
3158
|
+
var T = ne({
|
|
3040
3159
|
type: i,
|
|
3041
3160
|
origin: this.url,
|
|
3042
3161
|
data: u
|
|
3043
|
-
}), k =
|
|
3162
|
+
}), k = P.serverLookup(this.url);
|
|
3044
3163
|
return k && k.dispatchEvent.apply(k, [T].concat(u)), this;
|
|
3045
3164
|
}, t.prototype.send = function(i) {
|
|
3046
3165
|
return this.emit("message", i), this;
|
|
3047
3166
|
}, c.broadcast.get = function() {
|
|
3048
3167
|
if (this.readyState !== t.OPEN)
|
|
3049
3168
|
throw new Error("SocketIO is already in CLOSING or CLOSED state");
|
|
3050
|
-
var n = this, i =
|
|
3169
|
+
var n = this, i = P.serverLookup(this.url);
|
|
3051
3170
|
if (!i)
|
|
3052
3171
|
throw new Error("SocketIO can not find a server at the specified URL (" + this.url + ")");
|
|
3053
3172
|
return {
|
|
3054
3173
|
emit: function(l, T) {
|
|
3055
|
-
return i.emit(l, T, { websockets:
|
|
3174
|
+
return i.emit(l, T, { websockets: P.websocketsLookup(n.url, null, n) }), n;
|
|
3056
3175
|
},
|
|
3057
3176
|
to: function(l) {
|
|
3058
3177
|
return i.to(l, n);
|
|
@@ -3069,9 +3188,9 @@ var Q = {}, Rt = {
|
|
|
3069
3188
|
var u = this.listeners[i];
|
|
3070
3189
|
return Array.isArray(u) ? !!u.length : false;
|
|
3071
3190
|
}, t.prototype.join = function(i) {
|
|
3072
|
-
|
|
3191
|
+
P.addMembershipToRoom(this, i);
|
|
3073
3192
|
}, t.prototype.leave = function(i) {
|
|
3074
|
-
|
|
3193
|
+
P.removeMembershipFromRoom(this, i);
|
|
3075
3194
|
}, t.prototype.to = function(i) {
|
|
3076
3195
|
return this.broadcast.to(i);
|
|
3077
3196
|
}, t.prototype.in = function() {
|
|
@@ -3082,106 +3201,106 @@ var Q = {}, Rt = {
|
|
|
3082
3201
|
var k = i.type, _ = this.listeners[k];
|
|
3083
3202
|
if (!Array.isArray(_))
|
|
3084
3203
|
return false;
|
|
3085
|
-
_.forEach(function(
|
|
3086
|
-
l.length > 0 ?
|
|
3204
|
+
_.forEach(function(S) {
|
|
3205
|
+
l.length > 0 ? S.apply(u, l) : S.call(u, i.data ? i.data : i);
|
|
3087
3206
|
});
|
|
3088
3207
|
}, Object.defineProperties(t.prototype, c), t;
|
|
3089
|
-
}(
|
|
3090
|
-
|
|
3091
|
-
var
|
|
3092
|
-
return new
|
|
3208
|
+
}(K);
|
|
3209
|
+
H.CONNECTING = 0, H.OPEN = 1, H.CLOSING = 2, H.CLOSED = 3;
|
|
3210
|
+
var xe = function(t, c) {
|
|
3211
|
+
return new H(t, c);
|
|
3093
3212
|
};
|
|
3094
|
-
|
|
3095
|
-
return
|
|
3213
|
+
xe.connect = function(t, c) {
|
|
3214
|
+
return xe(t, c);
|
|
3096
3215
|
};
|
|
3097
|
-
var
|
|
3216
|
+
var ft = function(r) {
|
|
3098
3217
|
return r.reduce(function(t, c) {
|
|
3099
3218
|
return t.indexOf(c) > -1 ? t : t.concat(c);
|
|
3100
3219
|
}, []);
|
|
3101
3220
|
};
|
|
3102
|
-
function
|
|
3103
|
-
return typeof window != "undefined" ? window : typeof
|
|
3221
|
+
function sn() {
|
|
3222
|
+
return typeof window != "undefined" ? window : typeof Ae == "object" && typeof Dt == "function" && typeof re == "object" ? re : this;
|
|
3104
3223
|
}
|
|
3105
|
-
var
|
|
3224
|
+
var rn = {
|
|
3106
3225
|
mock: true,
|
|
3107
3226
|
verifyClient: null,
|
|
3108
3227
|
selectProtocol: null
|
|
3109
|
-
},
|
|
3228
|
+
}, Oe = function(r) {
|
|
3110
3229
|
function t(c, n) {
|
|
3111
|
-
n === void 0 && (n =
|
|
3112
|
-
var i = new
|
|
3230
|
+
n === void 0 && (n = rn), r.call(this);
|
|
3231
|
+
var i = new Se(c);
|
|
3113
3232
|
i.pathname || (i.pathname = "/"), this.url = i.toString(), this.originalWebSocket = null;
|
|
3114
|
-
var u =
|
|
3233
|
+
var u = P.attachServer(this, this.url);
|
|
3115
3234
|
if (!u)
|
|
3116
|
-
throw this.dispatchEvent(
|
|
3117
|
-
this.options = Object.assign({},
|
|
3235
|
+
throw this.dispatchEvent(O({ type: "error" })), new Error("A mock server is already listening on this url");
|
|
3236
|
+
this.options = Object.assign({}, rn, n), this.options.mock && this.mockWebsocket();
|
|
3118
3237
|
}
|
|
3119
3238
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.mockWebsocket = function() {
|
|
3120
|
-
var n =
|
|
3121
|
-
this.originalWebSocket = n.WebSocket, n.WebSocket =
|
|
3239
|
+
var n = sn();
|
|
3240
|
+
this.originalWebSocket = n.WebSocket, n.WebSocket = E;
|
|
3122
3241
|
}, t.prototype.restoreWebsocket = function() {
|
|
3123
|
-
var n =
|
|
3242
|
+
var n = sn();
|
|
3124
3243
|
this.originalWebSocket !== null && (n.WebSocket = this.originalWebSocket), this.originalWebSocket = null;
|
|
3125
3244
|
}, t.prototype.stop = function(n) {
|
|
3126
3245
|
n === void 0 && (n = function() {
|
|
3127
|
-
}), this.options.mock && this.restoreWebsocket(),
|
|
3246
|
+
}), this.options.mock && this.restoreWebsocket(), P.removeServer(this.url), typeof n == "function" && n();
|
|
3128
3247
|
}, t.prototype.on = function(n, i) {
|
|
3129
3248
|
this.addEventListener(n, i);
|
|
3130
3249
|
}, t.prototype.off = function(n, i) {
|
|
3131
3250
|
this.removeEventListener(n, i);
|
|
3132
3251
|
}, t.prototype.close = function(n) {
|
|
3133
3252
|
n === void 0 && (n = {});
|
|
3134
|
-
var i = n.code, u = n.reason, l = n.wasClean, T =
|
|
3135
|
-
|
|
3136
|
-
k.readyState =
|
|
3137
|
-
|
|
3253
|
+
var i = n.code, u = n.reason, l = n.wasClean, T = P.websocketsLookup(this.url);
|
|
3254
|
+
P.removeServer(this.url), T.forEach(function(k) {
|
|
3255
|
+
k.readyState = E.CLOSED, k.dispatchEvent(
|
|
3256
|
+
M({
|
|
3138
3257
|
type: "close",
|
|
3139
3258
|
target: k.target,
|
|
3140
|
-
code: i ||
|
|
3259
|
+
code: i || x.CLOSE_NORMAL,
|
|
3141
3260
|
reason: u || "",
|
|
3142
3261
|
wasClean: l
|
|
3143
3262
|
})
|
|
3144
3263
|
);
|
|
3145
|
-
}), this.dispatchEvent(
|
|
3264
|
+
}), this.dispatchEvent(M({ type: "close" }), this);
|
|
3146
3265
|
}, t.prototype.emit = function(n, i, u) {
|
|
3147
3266
|
var l = this;
|
|
3148
3267
|
u === void 0 && (u = {});
|
|
3149
3268
|
var T = u.websockets;
|
|
3150
|
-
T || (T =
|
|
3269
|
+
T || (T = P.websocketsLookup(this.url));
|
|
3151
3270
|
var k;
|
|
3152
3271
|
typeof u != "object" || arguments.length > 3 ? (i = Array.prototype.slice.call(arguments, 1, arguments.length), k = i.map(function(_) {
|
|
3153
|
-
return
|
|
3154
|
-
})) : k =
|
|
3155
|
-
var
|
|
3156
|
-
Array.isArray(
|
|
3272
|
+
return ue(_);
|
|
3273
|
+
})) : k = ue(i), T.forEach(function(_) {
|
|
3274
|
+
var S = _ instanceof H ? i : k;
|
|
3275
|
+
Array.isArray(S) ? _.dispatchEvent.apply(
|
|
3157
3276
|
_,
|
|
3158
|
-
[
|
|
3277
|
+
[ne({
|
|
3159
3278
|
type: n,
|
|
3160
|
-
data:
|
|
3279
|
+
data: S,
|
|
3161
3280
|
origin: l.url,
|
|
3162
3281
|
target: _.target
|
|
3163
|
-
})].concat(
|
|
3282
|
+
})].concat(S)
|
|
3164
3283
|
) : _.dispatchEvent(
|
|
3165
|
-
|
|
3284
|
+
ne({
|
|
3166
3285
|
type: n,
|
|
3167
|
-
data:
|
|
3286
|
+
data: S,
|
|
3168
3287
|
origin: l.url,
|
|
3169
3288
|
target: _.target
|
|
3170
3289
|
})
|
|
3171
3290
|
);
|
|
3172
3291
|
});
|
|
3173
3292
|
}, t.prototype.clients = function() {
|
|
3174
|
-
return
|
|
3293
|
+
return P.websocketsLookup(this.url);
|
|
3175
3294
|
}, t.prototype.to = function(n, i, u) {
|
|
3176
3295
|
var l = this;
|
|
3177
3296
|
u === void 0 && (u = []);
|
|
3178
|
-
var T = this, k =
|
|
3297
|
+
var T = this, k = ft(u.concat(P.websocketsLookup(this.url, n, i)));
|
|
3179
3298
|
return {
|
|
3180
|
-
to: function(_,
|
|
3181
|
-
return l.to.call(l, _,
|
|
3299
|
+
to: function(_, S) {
|
|
3300
|
+
return l.to.call(l, _, S, k);
|
|
3182
3301
|
},
|
|
3183
|
-
emit: function(
|
|
3184
|
-
T.emit(
|
|
3302
|
+
emit: function(S, h) {
|
|
3303
|
+
T.emit(S, h, { websockets: k });
|
|
3185
3304
|
}
|
|
3186
3305
|
};
|
|
3187
3306
|
}, t.prototype.in = function() {
|
|
@@ -3189,80 +3308,80 @@ var Q = {}, Rt = {
|
|
|
3189
3308
|
n[i] = arguments[i];
|
|
3190
3309
|
return this.to.apply(null, n);
|
|
3191
3310
|
}, t.prototype.simulate = function(n) {
|
|
3192
|
-
var i =
|
|
3311
|
+
var i = P.websocketsLookup(this.url);
|
|
3193
3312
|
n === "error" && i.forEach(function(u) {
|
|
3194
|
-
u.readyState =
|
|
3313
|
+
u.readyState = E.CLOSED, u.dispatchEvent(O({ type: "error", target: u.target }));
|
|
3195
3314
|
});
|
|
3196
3315
|
}, t;
|
|
3197
|
-
}(
|
|
3198
|
-
|
|
3199
|
-
return new
|
|
3316
|
+
}(K);
|
|
3317
|
+
Oe.of = function(t) {
|
|
3318
|
+
return new Oe(t);
|
|
3200
3319
|
};
|
|
3201
|
-
var
|
|
3202
|
-
a.Server =
|
|
3320
|
+
var ht = Oe, kt = E, gt = xe;
|
|
3321
|
+
a.Server = ht, a.WebSocket = kt, a.SocketIO = gt, Object.defineProperty(a, "__esModule", { value: true });
|
|
3203
3322
|
});
|
|
3204
|
-
})(
|
|
3205
|
-
var
|
|
3323
|
+
})(Ut, oe);
|
|
3324
|
+
var Ge = {}, Bt = {
|
|
3206
3325
|
get exports() {
|
|
3207
|
-
return
|
|
3326
|
+
return Ge;
|
|
3208
3327
|
},
|
|
3209
3328
|
set exports(e) {
|
|
3210
|
-
|
|
3329
|
+
Ge = e;
|
|
3211
3330
|
}
|
|
3212
|
-
},
|
|
3331
|
+
}, z = typeof Reflect == "object" ? Reflect : null, mn = z && typeof z.apply == "function" ? z.apply : function(e, s, a) {
|
|
3213
3332
|
return Function.prototype.apply.call(e, s, a);
|
|
3214
|
-
},
|
|
3215
|
-
|
|
3333
|
+
}, Te;
|
|
3334
|
+
z && typeof z.ownKeys == "function" ? Te = z.ownKeys : Object.getOwnPropertySymbols ? Te = function(e) {
|
|
3216
3335
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
3217
|
-
} :
|
|
3336
|
+
} : Te = function(e) {
|
|
3218
3337
|
return Object.getOwnPropertyNames(e);
|
|
3219
3338
|
};
|
|
3220
|
-
function
|
|
3339
|
+
function Gt(e) {
|
|
3221
3340
|
console && console.warn && console.warn(e);
|
|
3222
3341
|
}
|
|
3223
|
-
var
|
|
3342
|
+
var qn = Number.isNaN || function(e) {
|
|
3224
3343
|
return e !== e;
|
|
3225
3344
|
};
|
|
3226
|
-
function
|
|
3227
|
-
|
|
3345
|
+
function R() {
|
|
3346
|
+
R.init.call(this);
|
|
3228
3347
|
}
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
var
|
|
3236
|
-
function
|
|
3348
|
+
Bt.exports = R;
|
|
3349
|
+
Ge.once = Kt;
|
|
3350
|
+
R.EventEmitter = R;
|
|
3351
|
+
R.prototype._events = void 0;
|
|
3352
|
+
R.prototype._eventsCount = 0;
|
|
3353
|
+
R.prototype._maxListeners = void 0;
|
|
3354
|
+
var Tn = 10;
|
|
3355
|
+
function _e(e) {
|
|
3237
3356
|
if (typeof e != "function")
|
|
3238
3357
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
3239
3358
|
}
|
|
3240
|
-
Object.defineProperty(
|
|
3359
|
+
Object.defineProperty(R, "defaultMaxListeners", {
|
|
3241
3360
|
enumerable: true,
|
|
3242
3361
|
get: function() {
|
|
3243
|
-
return
|
|
3362
|
+
return Tn;
|
|
3244
3363
|
},
|
|
3245
3364
|
set: function(e) {
|
|
3246
|
-
if (typeof e != "number" || e < 0 ||
|
|
3365
|
+
if (typeof e != "number" || e < 0 || qn(e))
|
|
3247
3366
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
3248
|
-
|
|
3367
|
+
Tn = e;
|
|
3249
3368
|
}
|
|
3250
3369
|
});
|
|
3251
|
-
|
|
3370
|
+
R.init = function() {
|
|
3252
3371
|
(this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
|
|
3253
3372
|
};
|
|
3254
|
-
|
|
3255
|
-
if (typeof e != "number" || e < 0 ||
|
|
3373
|
+
R.prototype.setMaxListeners = function(e) {
|
|
3374
|
+
if (typeof e != "number" || e < 0 || qn(e))
|
|
3256
3375
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
3257
3376
|
return this._maxListeners = e, this;
|
|
3258
3377
|
};
|
|
3259
|
-
function
|
|
3260
|
-
return e._maxListeners === void 0 ?
|
|
3378
|
+
function $n(e) {
|
|
3379
|
+
return e._maxListeners === void 0 ? R.defaultMaxListeners : e._maxListeners;
|
|
3261
3380
|
}
|
|
3262
|
-
|
|
3263
|
-
return
|
|
3381
|
+
R.prototype.getMaxListeners = function() {
|
|
3382
|
+
return $n(this);
|
|
3264
3383
|
};
|
|
3265
|
-
|
|
3384
|
+
R.prototype.emit = function(e) {
|
|
3266
3385
|
for (var s = [], a = 1; a < arguments.length; a++)
|
|
3267
3386
|
s.push(arguments[a]);
|
|
3268
3387
|
var d = e === "error", p = this._events;
|
|
@@ -3281,51 +3400,51 @@ v.prototype.emit = function(e) {
|
|
|
3281
3400
|
if (g === void 0)
|
|
3282
3401
|
return false;
|
|
3283
3402
|
if (typeof g == "function")
|
|
3284
|
-
|
|
3403
|
+
mn(g, this, s);
|
|
3285
3404
|
else
|
|
3286
|
-
for (var
|
|
3287
|
-
|
|
3405
|
+
for (var w = g.length, L = Un(g, w), a = 0; a < w; ++a)
|
|
3406
|
+
mn(L[a], this, s);
|
|
3288
3407
|
return true;
|
|
3289
3408
|
};
|
|
3290
|
-
function
|
|
3409
|
+
function Nn(e, s, a, d) {
|
|
3291
3410
|
var p, m, f;
|
|
3292
|
-
if (
|
|
3411
|
+
if (_e(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
|
|
3293
3412
|
"newListener",
|
|
3294
3413
|
s,
|
|
3295
3414
|
a.listener ? a.listener : a
|
|
3296
3415
|
), m = e._events), f = m[s]), f === void 0)
|
|
3297
3416
|
f = m[s] = a, ++e._eventsCount;
|
|
3298
|
-
else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p =
|
|
3417
|
+
else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p = $n(e), p > 0 && f.length > p && !f.warned) {
|
|
3299
3418
|
f.warned = true;
|
|
3300
3419
|
var g = new Error("Possible EventEmitter memory leak detected. " + f.length + " " + String(s) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
3301
|
-
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length,
|
|
3420
|
+
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length, Gt(g);
|
|
3302
3421
|
}
|
|
3303
3422
|
return e;
|
|
3304
3423
|
}
|
|
3305
|
-
|
|
3306
|
-
return
|
|
3424
|
+
R.prototype.addListener = function(e, s) {
|
|
3425
|
+
return Nn(this, e, s, false);
|
|
3307
3426
|
};
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
return
|
|
3427
|
+
R.prototype.on = R.prototype.addListener;
|
|
3428
|
+
R.prototype.prependListener = function(e, s) {
|
|
3429
|
+
return Nn(this, e, s, true);
|
|
3311
3430
|
};
|
|
3312
|
-
function
|
|
3431
|
+
function jt() {
|
|
3313
3432
|
if (!this.fired)
|
|
3314
3433
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = true, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
3315
3434
|
}
|
|
3316
|
-
function
|
|
3317
|
-
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p =
|
|
3435
|
+
function An(e, s, a) {
|
|
3436
|
+
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p = jt.bind(d);
|
|
3318
3437
|
return p.listener = a, d.wrapFn = p, p;
|
|
3319
3438
|
}
|
|
3320
|
-
|
|
3321
|
-
return
|
|
3439
|
+
R.prototype.once = function(e, s) {
|
|
3440
|
+
return _e(s), this.on(e, An(this, e, s)), this;
|
|
3322
3441
|
};
|
|
3323
|
-
|
|
3324
|
-
return
|
|
3442
|
+
R.prototype.prependOnceListener = function(e, s) {
|
|
3443
|
+
return _e(s), this.prependListener(e, An(this, e, s)), this;
|
|
3325
3444
|
};
|
|
3326
|
-
|
|
3445
|
+
R.prototype.removeListener = function(e, s) {
|
|
3327
3446
|
var a, d, p, m, f;
|
|
3328
|
-
if (
|
|
3447
|
+
if (_e(s), d = this._events, d === void 0)
|
|
3329
3448
|
return this;
|
|
3330
3449
|
if (a = d[e], a === void 0)
|
|
3331
3450
|
return this;
|
|
@@ -3339,12 +3458,12 @@ v.prototype.removeListener = function(e, s) {
|
|
|
3339
3458
|
}
|
|
3340
3459
|
if (p < 0)
|
|
3341
3460
|
return this;
|
|
3342
|
-
p === 0 ? a.shift() :
|
|
3461
|
+
p === 0 ? a.shift() : Wt(a, p), a.length === 1 && (d[e] = a[0]), d.removeListener !== void 0 && this.emit("removeListener", e, f || s);
|
|
3343
3462
|
}
|
|
3344
3463
|
return this;
|
|
3345
3464
|
};
|
|
3346
|
-
|
|
3347
|
-
|
|
3465
|
+
R.prototype.off = R.prototype.removeListener;
|
|
3466
|
+
R.prototype.removeAllListeners = function(e) {
|
|
3348
3467
|
var s, a, d;
|
|
3349
3468
|
if (a = this._events, a === void 0)
|
|
3350
3469
|
return this;
|
|
@@ -3363,24 +3482,24 @@ v.prototype.removeAllListeners = function(e) {
|
|
|
3363
3482
|
this.removeListener(e, s[d]);
|
|
3364
3483
|
return this;
|
|
3365
3484
|
};
|
|
3366
|
-
function
|
|
3485
|
+
function In(e, s, a) {
|
|
3367
3486
|
var d = e._events;
|
|
3368
3487
|
if (d === void 0)
|
|
3369
3488
|
return [];
|
|
3370
3489
|
var p = d[s];
|
|
3371
|
-
return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ?
|
|
3490
|
+
return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ? Ft(p) : Un(p, p.length);
|
|
3372
3491
|
}
|
|
3373
|
-
|
|
3374
|
-
return
|
|
3492
|
+
R.prototype.listeners = function(e) {
|
|
3493
|
+
return In(this, e, true);
|
|
3375
3494
|
};
|
|
3376
|
-
|
|
3377
|
-
return
|
|
3495
|
+
R.prototype.rawListeners = function(e) {
|
|
3496
|
+
return In(this, e, false);
|
|
3378
3497
|
};
|
|
3379
|
-
|
|
3380
|
-
return typeof e.listenerCount == "function" ? e.listenerCount(s) :
|
|
3498
|
+
R.listenerCount = function(e, s) {
|
|
3499
|
+
return typeof e.listenerCount == "function" ? e.listenerCount(s) : Dn.call(e, s);
|
|
3381
3500
|
};
|
|
3382
|
-
|
|
3383
|
-
function
|
|
3501
|
+
R.prototype.listenerCount = Dn;
|
|
3502
|
+
function Dn(e) {
|
|
3384
3503
|
var s = this._events;
|
|
3385
3504
|
if (s !== void 0) {
|
|
3386
3505
|
var a = s[e];
|
|
@@ -3391,25 +3510,25 @@ function Pn(e) {
|
|
|
3391
3510
|
}
|
|
3392
3511
|
return 0;
|
|
3393
3512
|
}
|
|
3394
|
-
|
|
3395
|
-
return this._eventsCount > 0 ?
|
|
3513
|
+
R.prototype.eventNames = function() {
|
|
3514
|
+
return this._eventsCount > 0 ? Te(this._events) : [];
|
|
3396
3515
|
};
|
|
3397
|
-
function
|
|
3516
|
+
function Un(e, s) {
|
|
3398
3517
|
for (var a = new Array(s), d = 0; d < s; ++d)
|
|
3399
3518
|
a[d] = e[d];
|
|
3400
3519
|
return a;
|
|
3401
3520
|
}
|
|
3402
|
-
function
|
|
3521
|
+
function Wt(e, s) {
|
|
3403
3522
|
for (; s + 1 < e.length; s++)
|
|
3404
3523
|
e[s] = e[s + 1];
|
|
3405
3524
|
e.pop();
|
|
3406
3525
|
}
|
|
3407
|
-
function
|
|
3526
|
+
function Ft(e) {
|
|
3408
3527
|
for (var s = new Array(e.length), a = 0; a < s.length; ++a)
|
|
3409
3528
|
s[a] = e[a].listener || e[a];
|
|
3410
3529
|
return s;
|
|
3411
3530
|
}
|
|
3412
|
-
function
|
|
3531
|
+
function Kt(e, s) {
|
|
3413
3532
|
return new Promise(function(a, d) {
|
|
3414
3533
|
function p(f) {
|
|
3415
3534
|
e.removeListener(s, m), d(f);
|
|
@@ -3417,13 +3536,13 @@ function Et(e, s) {
|
|
|
3417
3536
|
function m() {
|
|
3418
3537
|
typeof e.removeListener == "function" && e.removeListener("error", p), a([].slice.call(arguments));
|
|
3419
3538
|
}
|
|
3420
|
-
|
|
3539
|
+
Bn(e, s, m, { once: true }), s !== "error" && Vt(e, p, { once: true });
|
|
3421
3540
|
});
|
|
3422
3541
|
}
|
|
3423
|
-
function
|
|
3424
|
-
typeof e.on == "function" &&
|
|
3542
|
+
function Vt(e, s, a) {
|
|
3543
|
+
typeof e.on == "function" && Bn(e, "error", s, a);
|
|
3425
3544
|
}
|
|
3426
|
-
function
|
|
3545
|
+
function Bn(e, s, a, d) {
|
|
3427
3546
|
if (typeof e.on == "function")
|
|
3428
3547
|
d.once ? e.once(s, a) : e.on(s, a);
|
|
3429
3548
|
else if (typeof e.addEventListener == "function")
|
|
@@ -3433,7 +3552,7 @@ function Cn(e, s, a, d) {
|
|
|
3433
3552
|
else
|
|
3434
3553
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
3435
3554
|
}
|
|
3436
|
-
class
|
|
3555
|
+
class Ht extends MessageType {
|
|
3437
3556
|
constructor() {
|
|
3438
3557
|
super("message.v1.SocketMessage", [
|
|
3439
3558
|
{
|
|
@@ -3466,16 +3585,16 @@ class bt extends MessageType {
|
|
|
3466
3585
|
]);
|
|
3467
3586
|
}
|
|
3468
3587
|
}
|
|
3469
|
-
const
|
|
3470
|
-
var
|
|
3588
|
+
const fn = new Ht();
|
|
3589
|
+
var he;
|
|
3471
3590
|
(function(e) {
|
|
3472
3591
|
e[e.PUBLISHER = 0] = "PUBLISHER", e[e.SUBSCRIBER = 1] = "SUBSCRIBER";
|
|
3473
|
-
})(
|
|
3474
|
-
var
|
|
3592
|
+
})(he || (he = {}));
|
|
3593
|
+
var je;
|
|
3475
3594
|
(function(e) {
|
|
3476
3595
|
e[e.AUDIO = 0] = "AUDIO", e[e.VIDEO = 1] = "VIDEO";
|
|
3477
|
-
})(
|
|
3478
|
-
class
|
|
3596
|
+
})(je || (je = {}));
|
|
3597
|
+
class Jt extends MessageType {
|
|
3479
3598
|
constructor() {
|
|
3480
3599
|
super("media.Codec", [
|
|
3481
3600
|
{
|
|
@@ -3514,8 +3633,8 @@ class Lt extends MessageType {
|
|
|
3514
3633
|
]);
|
|
3515
3634
|
}
|
|
3516
3635
|
}
|
|
3517
|
-
const
|
|
3518
|
-
class
|
|
3636
|
+
const Gn = new Jt();
|
|
3637
|
+
class Zt extends MessageType {
|
|
3519
3638
|
constructor() {
|
|
3520
3639
|
super("media.HeaderExtension", [
|
|
3521
3640
|
{
|
|
@@ -3534,8 +3653,8 @@ class xt extends MessageType {
|
|
|
3534
3653
|
]);
|
|
3535
3654
|
}
|
|
3536
3655
|
}
|
|
3537
|
-
const
|
|
3538
|
-
class
|
|
3656
|
+
const zt = new Zt();
|
|
3657
|
+
class Yt extends MessageType {
|
|
3539
3658
|
constructor() {
|
|
3540
3659
|
super("media.Fingerprint", [
|
|
3541
3660
|
{
|
|
@@ -3553,11 +3672,11 @@ class Mt extends MessageType {
|
|
|
3553
3672
|
]);
|
|
3554
3673
|
}
|
|
3555
3674
|
}
|
|
3556
|
-
new
|
|
3557
|
-
class
|
|
3675
|
+
new Yt();
|
|
3676
|
+
class Qt extends MessageType {
|
|
3558
3677
|
constructor() {
|
|
3559
3678
|
super("media.SessionDescription", [
|
|
3560
|
-
{ no: 1, name: "target", kind: "enum", T: () => ["media.Target",
|
|
3679
|
+
{ no: 1, name: "target", kind: "enum", T: () => ["media.Target", he] },
|
|
3561
3680
|
{
|
|
3562
3681
|
no: 2,
|
|
3563
3682
|
name: "type",
|
|
@@ -3573,8 +3692,8 @@ class qt extends MessageType {
|
|
|
3573
3692
|
]);
|
|
3574
3693
|
}
|
|
3575
3694
|
}
|
|
3576
|
-
const
|
|
3577
|
-
class
|
|
3695
|
+
const q = new Qt();
|
|
3696
|
+
class Xt extends MessageType {
|
|
3578
3697
|
constructor() {
|
|
3579
3698
|
super("media.ProducerPayload", [
|
|
3580
3699
|
{
|
|
@@ -3618,8 +3737,8 @@ class $t extends MessageType {
|
|
|
3618
3737
|
]);
|
|
3619
3738
|
}
|
|
3620
3739
|
}
|
|
3621
|
-
const
|
|
3622
|
-
class
|
|
3740
|
+
const es = new Xt();
|
|
3741
|
+
class ns extends MessageType {
|
|
3623
3742
|
constructor() {
|
|
3624
3743
|
super("media.CreateTransportRequest", [
|
|
3625
3744
|
{
|
|
@@ -3635,7 +3754,7 @@ class At extends MessageType {
|
|
|
3635
3754
|
opt: true,
|
|
3636
3755
|
T: 8
|
|
3637
3756
|
},
|
|
3638
|
-
{ no: 3, name: "description", kind: "message", T: () =>
|
|
3757
|
+
{ no: 3, name: "description", kind: "message", T: () => q },
|
|
3639
3758
|
{
|
|
3640
3759
|
no: 4,
|
|
3641
3760
|
name: "private_ice",
|
|
@@ -3643,12 +3762,12 @@ class At extends MessageType {
|
|
|
3643
3762
|
opt: true,
|
|
3644
3763
|
T: 8
|
|
3645
3764
|
},
|
|
3646
|
-
{ no: 5, name: "producers", kind: "message", repeat: 1, T: () =>
|
|
3765
|
+
{ no: 5, name: "producers", kind: "message", repeat: 1, T: () => es }
|
|
3647
3766
|
]);
|
|
3648
3767
|
}
|
|
3649
3768
|
}
|
|
3650
|
-
new
|
|
3651
|
-
class
|
|
3769
|
+
new ns();
|
|
3770
|
+
class ts extends MessageType {
|
|
3652
3771
|
constructor() {
|
|
3653
3772
|
super("media.AudioActivityRequest", [
|
|
3654
3773
|
{
|
|
@@ -3672,8 +3791,8 @@ class It extends MessageType {
|
|
|
3672
3791
|
]);
|
|
3673
3792
|
}
|
|
3674
3793
|
}
|
|
3675
|
-
new
|
|
3676
|
-
class
|
|
3794
|
+
new ts();
|
|
3795
|
+
class ss extends MessageType {
|
|
3677
3796
|
constructor() {
|
|
3678
3797
|
super("media.CreateTransportResponse", [
|
|
3679
3798
|
{
|
|
@@ -3682,7 +3801,7 @@ class Dt extends MessageType {
|
|
|
3682
3801
|
kind: "scalar",
|
|
3683
3802
|
T: 9
|
|
3684
3803
|
},
|
|
3685
|
-
{ no: 2, name: "description", kind: "message", T: () =>
|
|
3804
|
+
{ no: 2, name: "description", kind: "message", T: () => q },
|
|
3686
3805
|
{
|
|
3687
3806
|
no: 3,
|
|
3688
3807
|
name: "transcription_enabled",
|
|
@@ -3700,8 +3819,8 @@ class Dt extends MessageType {
|
|
|
3700
3819
|
]);
|
|
3701
3820
|
}
|
|
3702
3821
|
}
|
|
3703
|
-
const
|
|
3704
|
-
class
|
|
3822
|
+
const jn = new ss();
|
|
3823
|
+
class rs extends MessageType {
|
|
3705
3824
|
constructor() {
|
|
3706
3825
|
super("media.RenegotiateRequest", [
|
|
3707
3826
|
{
|
|
@@ -3710,12 +3829,12 @@ class Ut extends MessageType {
|
|
|
3710
3829
|
kind: "scalar",
|
|
3711
3830
|
T: 9
|
|
3712
3831
|
},
|
|
3713
|
-
{ no: 2, name: "description", kind: "message", T: () =>
|
|
3832
|
+
{ no: 2, name: "description", kind: "message", T: () => q }
|
|
3714
3833
|
]);
|
|
3715
3834
|
}
|
|
3716
3835
|
}
|
|
3717
|
-
new
|
|
3718
|
-
class
|
|
3836
|
+
new rs();
|
|
3837
|
+
class os extends MessageType {
|
|
3719
3838
|
constructor() {
|
|
3720
3839
|
super("media.RenegotiateResponse", [
|
|
3721
3840
|
{
|
|
@@ -3724,12 +3843,12 @@ class Bt extends MessageType {
|
|
|
3724
3843
|
kind: "scalar",
|
|
3725
3844
|
T: 9
|
|
3726
3845
|
},
|
|
3727
|
-
{ no: 2, name: "description", kind: "message", T: () =>
|
|
3846
|
+
{ no: 2, name: "description", kind: "message", T: () => q }
|
|
3728
3847
|
]);
|
|
3729
3848
|
}
|
|
3730
3849
|
}
|
|
3731
|
-
new
|
|
3732
|
-
class
|
|
3850
|
+
new os();
|
|
3851
|
+
class as extends MessageType {
|
|
3733
3852
|
constructor() {
|
|
3734
3853
|
super("media.NestedScore", [
|
|
3735
3854
|
{
|
|
@@ -3760,8 +3879,8 @@ class Gt extends MessageType {
|
|
|
3760
3879
|
]);
|
|
3761
3880
|
}
|
|
3762
3881
|
}
|
|
3763
|
-
const
|
|
3764
|
-
class
|
|
3882
|
+
const is = new as();
|
|
3883
|
+
class cs extends MessageType {
|
|
3765
3884
|
constructor() {
|
|
3766
3885
|
super("media.ProducerTrack", [
|
|
3767
3886
|
{
|
|
@@ -3785,8 +3904,8 @@ class Wt extends MessageType {
|
|
|
3785
3904
|
]);
|
|
3786
3905
|
}
|
|
3787
3906
|
}
|
|
3788
|
-
const
|
|
3789
|
-
class
|
|
3907
|
+
const ds = new cs();
|
|
3908
|
+
class us extends MessageType {
|
|
3790
3909
|
constructor() {
|
|
3791
3910
|
super("media.ProducerEntry", [
|
|
3792
3911
|
{
|
|
@@ -3804,8 +3923,8 @@ class Kt extends MessageType {
|
|
|
3804
3923
|
]);
|
|
3805
3924
|
}
|
|
3806
3925
|
}
|
|
3807
|
-
new
|
|
3808
|
-
class
|
|
3926
|
+
new us();
|
|
3927
|
+
class ps extends MessageType {
|
|
3809
3928
|
constructor() {
|
|
3810
3929
|
super("media.ConsumerEntry", [
|
|
3811
3930
|
{
|
|
@@ -3823,8 +3942,8 @@ class Vt extends MessageType {
|
|
|
3823
3942
|
]);
|
|
3824
3943
|
}
|
|
3825
3944
|
}
|
|
3826
|
-
new
|
|
3827
|
-
class
|
|
3945
|
+
new ps();
|
|
3946
|
+
class ls extends MessageType {
|
|
3828
3947
|
constructor() {
|
|
3829
3948
|
super("media.ProducerState", [
|
|
3830
3949
|
{
|
|
@@ -3833,7 +3952,7 @@ class Ht extends MessageType {
|
|
|
3833
3952
|
kind: "scalar",
|
|
3834
3953
|
T: 9
|
|
3835
3954
|
},
|
|
3836
|
-
{ no: 2, name: "kind", kind: "enum", T: () => ["media.ProducerKind",
|
|
3955
|
+
{ no: 2, name: "kind", kind: "enum", T: () => ["media.ProducerKind", je] },
|
|
3837
3956
|
{
|
|
3838
3957
|
no: 3,
|
|
3839
3958
|
name: "pause",
|
|
@@ -3867,12 +3986,12 @@ class Ht extends MessageType {
|
|
|
3867
3986
|
opt: true,
|
|
3868
3987
|
T: 9
|
|
3869
3988
|
},
|
|
3870
|
-
{ no: 8, name: "codec", kind: "message", T: () =>
|
|
3989
|
+
{ no: 8, name: "codec", kind: "message", T: () => Gn }
|
|
3871
3990
|
]);
|
|
3872
3991
|
}
|
|
3873
3992
|
}
|
|
3874
|
-
const
|
|
3875
|
-
class
|
|
3993
|
+
const ie = new ls();
|
|
3994
|
+
class ms extends MessageType {
|
|
3876
3995
|
constructor() {
|
|
3877
3996
|
super("media.ConsumerState", [
|
|
3878
3997
|
{
|
|
@@ -3881,8 +4000,8 @@ class Jt extends MessageType {
|
|
|
3881
4000
|
kind: "scalar",
|
|
3882
4001
|
T: 9
|
|
3883
4002
|
},
|
|
3884
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
3885
|
-
{ no: 3, name: "producer_track", kind: "message", T: () =>
|
|
4003
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ie },
|
|
4004
|
+
{ no: 3, name: "producer_track", kind: "message", T: () => ds },
|
|
3886
4005
|
{
|
|
3887
4006
|
no: 4,
|
|
3888
4007
|
name: "error_code",
|
|
@@ -3893,43 +4012,43 @@ class Jt extends MessageType {
|
|
|
3893
4012
|
]);
|
|
3894
4013
|
}
|
|
3895
4014
|
}
|
|
3896
|
-
const
|
|
3897
|
-
class
|
|
4015
|
+
const Ts = new ms();
|
|
4016
|
+
class fs extends MessageType {
|
|
3898
4017
|
constructor() {
|
|
3899
4018
|
super("media.ProducerIdToConsumerMap", [
|
|
3900
|
-
{ no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: () =>
|
|
4019
|
+
{ no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: () => Ts } }
|
|
3901
4020
|
]);
|
|
3902
4021
|
}
|
|
3903
4022
|
}
|
|
3904
|
-
const
|
|
3905
|
-
class
|
|
4023
|
+
const Wn = new fs();
|
|
4024
|
+
class hs extends MessageType {
|
|
3906
4025
|
constructor() {
|
|
3907
4026
|
super("media.PeerRtpCapabilitites", [
|
|
3908
|
-
{ no: 1, name: "sender", kind: "message", T: () =>
|
|
3909
|
-
{ no: 2, name: "receiver", kind: "message", T: () =>
|
|
4027
|
+
{ no: 1, name: "sender", kind: "message", T: () => kn },
|
|
4028
|
+
{ no: 2, name: "receiver", kind: "message", T: () => kn }
|
|
3910
4029
|
]);
|
|
3911
4030
|
}
|
|
3912
4031
|
}
|
|
3913
|
-
const
|
|
3914
|
-
class
|
|
4032
|
+
const Fn = new hs();
|
|
4033
|
+
class ks extends MessageType {
|
|
3915
4034
|
constructor() {
|
|
3916
4035
|
super("media.RtpCapability", [
|
|
3917
|
-
{ no: 1, name: "codecs", kind: "message", repeat: 1, T: () =>
|
|
3918
|
-
{ no: 2, name: "header_extensions", kind: "message", repeat: 1, T: () =>
|
|
4036
|
+
{ no: 1, name: "codecs", kind: "message", repeat: 1, T: () => Gn },
|
|
4037
|
+
{ no: 2, name: "header_extensions", kind: "message", repeat: 1, T: () => zt }
|
|
3919
4038
|
]);
|
|
3920
4039
|
}
|
|
3921
4040
|
}
|
|
3922
|
-
const
|
|
3923
|
-
class
|
|
4041
|
+
const hn = new ks();
|
|
4042
|
+
class gs extends MessageType {
|
|
3924
4043
|
constructor() {
|
|
3925
4044
|
super("media.RtpCapabilitites", [
|
|
3926
|
-
{ no: 1, name: "audio", kind: "message", T: () =>
|
|
3927
|
-
{ no: 2, name: "video", kind: "message", T: () =>
|
|
4045
|
+
{ no: 1, name: "audio", kind: "message", T: () => hn },
|
|
4046
|
+
{ no: 2, name: "video", kind: "message", T: () => hn }
|
|
3928
4047
|
]);
|
|
3929
4048
|
}
|
|
3930
4049
|
}
|
|
3931
|
-
const
|
|
3932
|
-
class
|
|
4050
|
+
const kn = new gs();
|
|
4051
|
+
class ys extends MessageType {
|
|
3933
4052
|
constructor() {
|
|
3934
4053
|
super("media.PreferredCodec", [
|
|
3935
4054
|
{
|
|
@@ -3949,8 +4068,8 @@ class es extends MessageType {
|
|
|
3949
4068
|
]);
|
|
3950
4069
|
}
|
|
3951
4070
|
}
|
|
3952
|
-
const
|
|
3953
|
-
class
|
|
4071
|
+
const vs = new ys();
|
|
4072
|
+
class Rs extends MessageType {
|
|
3954
4073
|
constructor() {
|
|
3955
4074
|
super("media.edge.GeoLocation", [
|
|
3956
4075
|
{
|
|
@@ -3975,8 +4094,8 @@ class ts extends MessageType {
|
|
|
3975
4094
|
]);
|
|
3976
4095
|
}
|
|
3977
4096
|
}
|
|
3978
|
-
const
|
|
3979
|
-
class
|
|
4097
|
+
const _s = new Rs();
|
|
4098
|
+
class ws extends MessageType {
|
|
3980
4099
|
constructor() {
|
|
3981
4100
|
super("media.edge.PeerJoinRequest", [
|
|
3982
4101
|
{
|
|
@@ -4026,19 +4145,19 @@ class rs extends MessageType {
|
|
|
4026
4145
|
opt: true,
|
|
4027
4146
|
T: 9
|
|
4028
4147
|
},
|
|
4029
|
-
{ no: 8, name: "location", kind: "message", T: () =>
|
|
4030
|
-
{ no: 9, name: "capabilities", kind: "message", T: () =>
|
|
4148
|
+
{ no: 8, name: "location", kind: "message", T: () => _s },
|
|
4149
|
+
{ no: 9, name: "capabilities", kind: "message", T: () => Fn }
|
|
4031
4150
|
]);
|
|
4032
4151
|
}
|
|
4033
4152
|
}
|
|
4034
|
-
new
|
|
4035
|
-
class
|
|
4153
|
+
new ws();
|
|
4154
|
+
class Ps extends MessageType {
|
|
4036
4155
|
constructor() {
|
|
4037
4156
|
super("media.edge.PeerJoinCompleteRequest", []);
|
|
4038
4157
|
}
|
|
4039
4158
|
}
|
|
4040
|
-
new
|
|
4041
|
-
class
|
|
4159
|
+
new Ps();
|
|
4160
|
+
class Cs extends MessageType {
|
|
4042
4161
|
constructor() {
|
|
4043
4162
|
super("media.edge.PeerLeaveRequest", [
|
|
4044
4163
|
{
|
|
@@ -4050,8 +4169,8 @@ class as extends MessageType {
|
|
|
4050
4169
|
]);
|
|
4051
4170
|
}
|
|
4052
4171
|
}
|
|
4053
|
-
new
|
|
4054
|
-
class
|
|
4172
|
+
new Cs();
|
|
4173
|
+
class Es extends MessageType {
|
|
4055
4174
|
constructor() {
|
|
4056
4175
|
super("media.edge.ConsumeMultipleProducerRequest", [
|
|
4057
4176
|
{
|
|
@@ -4071,8 +4190,8 @@ class is extends MessageType {
|
|
|
4071
4190
|
]);
|
|
4072
4191
|
}
|
|
4073
4192
|
}
|
|
4074
|
-
new
|
|
4075
|
-
class
|
|
4193
|
+
new Es();
|
|
4194
|
+
class Ss extends MessageType {
|
|
4076
4195
|
constructor() {
|
|
4077
4196
|
super("media.edge.ConsumePeerRequest", [
|
|
4078
4197
|
{
|
|
@@ -4095,7 +4214,7 @@ class cs extends MessageType {
|
|
|
4095
4214
|
opt: true,
|
|
4096
4215
|
T: 9
|
|
4097
4216
|
},
|
|
4098
|
-
{ no: 4, name: "preferred_codec", kind: "message", T: () =>
|
|
4217
|
+
{ no: 4, name: "preferred_codec", kind: "message", T: () => vs },
|
|
4099
4218
|
{
|
|
4100
4219
|
no: 5,
|
|
4101
4220
|
name: "producing_transport_id",
|
|
@@ -4106,11 +4225,11 @@ class cs extends MessageType {
|
|
|
4106
4225
|
]);
|
|
4107
4226
|
}
|
|
4108
4227
|
}
|
|
4109
|
-
const
|
|
4110
|
-
class
|
|
4228
|
+
const bs = new Ss();
|
|
4229
|
+
class Ls extends MessageType {
|
|
4111
4230
|
constructor() {
|
|
4112
4231
|
super("media.edge.ConsumePeersRequest", [
|
|
4113
|
-
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () =>
|
|
4232
|
+
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () => bs },
|
|
4114
4233
|
{
|
|
4115
4234
|
no: 2,
|
|
4116
4235
|
name: "consuming_transport_id",
|
|
@@ -4121,8 +4240,8 @@ class us extends MessageType {
|
|
|
4121
4240
|
]);
|
|
4122
4241
|
}
|
|
4123
4242
|
}
|
|
4124
|
-
new
|
|
4125
|
-
class
|
|
4243
|
+
new Ls();
|
|
4244
|
+
class xs extends MessageType {
|
|
4126
4245
|
constructor() {
|
|
4127
4246
|
super("media.edge.ProducerCreateRequest", [
|
|
4128
4247
|
{
|
|
@@ -4143,7 +4262,7 @@ class ps extends MessageType {
|
|
|
4143
4262
|
kind: "scalar",
|
|
4144
4263
|
T: 8
|
|
4145
4264
|
},
|
|
4146
|
-
{ no: 4, name: "description", kind: "message", T: () =>
|
|
4265
|
+
{ no: 4, name: "description", kind: "message", T: () => q },
|
|
4147
4266
|
{
|
|
4148
4267
|
no: 5,
|
|
4149
4268
|
name: "msid",
|
|
@@ -4174,14 +4293,14 @@ class ps extends MessageType {
|
|
|
4174
4293
|
]);
|
|
4175
4294
|
}
|
|
4176
4295
|
}
|
|
4177
|
-
new
|
|
4178
|
-
class
|
|
4296
|
+
new xs();
|
|
4297
|
+
class Os extends MessageType {
|
|
4179
4298
|
constructor() {
|
|
4180
4299
|
super("media.edge.SelectedPeersRequest", []);
|
|
4181
4300
|
}
|
|
4182
4301
|
}
|
|
4183
|
-
new
|
|
4184
|
-
class
|
|
4302
|
+
new Os();
|
|
4303
|
+
class Ms extends MessageType {
|
|
4185
4304
|
constructor() {
|
|
4186
4305
|
super("media.edge.GlobalPeerPinningRequest", [
|
|
4187
4306
|
{
|
|
@@ -4193,8 +4312,8 @@ class ms extends MessageType {
|
|
|
4193
4312
|
]);
|
|
4194
4313
|
}
|
|
4195
4314
|
}
|
|
4196
|
-
new
|
|
4197
|
-
class
|
|
4315
|
+
new Ms();
|
|
4316
|
+
class qs extends MessageType {
|
|
4198
4317
|
constructor() {
|
|
4199
4318
|
super("media.edge.ProducerToggleRequest", [
|
|
4200
4319
|
{
|
|
@@ -4212,8 +4331,8 @@ class Ts extends MessageType {
|
|
|
4212
4331
|
]);
|
|
4213
4332
|
}
|
|
4214
4333
|
}
|
|
4215
|
-
new
|
|
4216
|
-
class
|
|
4334
|
+
new qs();
|
|
4335
|
+
class $s extends MessageType {
|
|
4217
4336
|
constructor() {
|
|
4218
4337
|
super("media.edge.ConsumerToggleRequest", [
|
|
4219
4338
|
{
|
|
@@ -4231,8 +4350,8 @@ class fs extends MessageType {
|
|
|
4231
4350
|
]);
|
|
4232
4351
|
}
|
|
4233
4352
|
}
|
|
4234
|
-
new
|
|
4235
|
-
class
|
|
4353
|
+
new $s();
|
|
4354
|
+
class Ns extends MessageType {
|
|
4236
4355
|
constructor() {
|
|
4237
4356
|
super("media.edge.ProducerCloseRequest", [
|
|
4238
4357
|
{
|
|
@@ -4241,7 +4360,7 @@ class hs extends MessageType {
|
|
|
4241
4360
|
kind: "scalar",
|
|
4242
4361
|
T: 9
|
|
4243
4362
|
},
|
|
4244
|
-
{ no: 2, name: "description", kind: "message", T: () =>
|
|
4363
|
+
{ no: 2, name: "description", kind: "message", T: () => q },
|
|
4245
4364
|
{
|
|
4246
4365
|
no: 3,
|
|
4247
4366
|
name: "producing_transport_id",
|
|
@@ -4252,8 +4371,8 @@ class hs extends MessageType {
|
|
|
4252
4371
|
]);
|
|
4253
4372
|
}
|
|
4254
4373
|
}
|
|
4255
|
-
new
|
|
4256
|
-
class
|
|
4374
|
+
new Ns();
|
|
4375
|
+
class As extends MessageType {
|
|
4257
4376
|
constructor() {
|
|
4258
4377
|
super("media.edge.ConsumerCloseRequest", [
|
|
4259
4378
|
{
|
|
@@ -4263,7 +4382,7 @@ class ks extends MessageType {
|
|
|
4263
4382
|
repeat: 2,
|
|
4264
4383
|
T: 9
|
|
4265
4384
|
},
|
|
4266
|
-
{ no: 2, name: "description", kind: "message", T: () =>
|
|
4385
|
+
{ no: 2, name: "description", kind: "message", T: () => q },
|
|
4267
4386
|
{
|
|
4268
4387
|
no: 3,
|
|
4269
4388
|
name: "consuming_transport_id",
|
|
@@ -4274,8 +4393,8 @@ class ks extends MessageType {
|
|
|
4274
4393
|
]);
|
|
4275
4394
|
}
|
|
4276
4395
|
}
|
|
4277
|
-
new
|
|
4278
|
-
class
|
|
4396
|
+
new As();
|
|
4397
|
+
class Is extends MessageType {
|
|
4279
4398
|
constructor() {
|
|
4280
4399
|
super("media.edge.KickPeerRequest", [
|
|
4281
4400
|
{
|
|
@@ -4287,8 +4406,8 @@ class gs extends MessageType {
|
|
|
4287
4406
|
]);
|
|
4288
4407
|
}
|
|
4289
4408
|
}
|
|
4290
|
-
new
|
|
4291
|
-
class
|
|
4409
|
+
new Is();
|
|
4410
|
+
class Ds extends MessageType {
|
|
4292
4411
|
constructor() {
|
|
4293
4412
|
super("media.edge.KickAllPeersRequest", [
|
|
4294
4413
|
{
|
|
@@ -4300,8 +4419,8 @@ class ys extends MessageType {
|
|
|
4300
4419
|
]);
|
|
4301
4420
|
}
|
|
4302
4421
|
}
|
|
4303
|
-
new
|
|
4304
|
-
class
|
|
4422
|
+
new Ds();
|
|
4423
|
+
class Us extends MessageType {
|
|
4305
4424
|
constructor() {
|
|
4306
4425
|
super("media.edge.PeerDisplayNameEditRequest", [
|
|
4307
4426
|
{
|
|
@@ -4319,8 +4438,8 @@ class Rs extends MessageType {
|
|
|
4319
4438
|
]);
|
|
4320
4439
|
}
|
|
4321
4440
|
}
|
|
4322
|
-
new
|
|
4323
|
-
class
|
|
4441
|
+
new Us();
|
|
4442
|
+
class Bs extends MessageType {
|
|
4324
4443
|
constructor() {
|
|
4325
4444
|
super("media.edge.HostMediaControlForPeerRequest", [
|
|
4326
4445
|
{
|
|
@@ -4350,8 +4469,8 @@ class vs extends MessageType {
|
|
|
4350
4469
|
]);
|
|
4351
4470
|
}
|
|
4352
4471
|
}
|
|
4353
|
-
new
|
|
4354
|
-
class
|
|
4472
|
+
new Bs();
|
|
4473
|
+
class Gs extends MessageType {
|
|
4355
4474
|
constructor() {
|
|
4356
4475
|
super("media.edge.HostMediaControlForAllPeerRequest", [
|
|
4357
4476
|
{
|
|
@@ -4375,8 +4494,8 @@ class _s extends MessageType {
|
|
|
4375
4494
|
]);
|
|
4376
4495
|
}
|
|
4377
4496
|
}
|
|
4378
|
-
new
|
|
4379
|
-
class
|
|
4497
|
+
new Gs();
|
|
4498
|
+
class js extends MessageType {
|
|
4380
4499
|
constructor() {
|
|
4381
4500
|
super("media.edge.GetRoomStateResponse", [
|
|
4382
4501
|
{
|
|
@@ -4433,8 +4552,8 @@ class Ps extends MessageType {
|
|
|
4433
4552
|
]);
|
|
4434
4553
|
}
|
|
4435
4554
|
}
|
|
4436
|
-
const
|
|
4437
|
-
class
|
|
4555
|
+
const Ws = new js();
|
|
4556
|
+
class Fs extends MessageType {
|
|
4438
4557
|
constructor() {
|
|
4439
4558
|
super("media.edge.ErrorResponse", [
|
|
4440
4559
|
{
|
|
@@ -4452,14 +4571,14 @@ class Cs extends MessageType {
|
|
|
4452
4571
|
]);
|
|
4453
4572
|
}
|
|
4454
4573
|
}
|
|
4455
|
-
new
|
|
4456
|
-
class
|
|
4574
|
+
new Fs();
|
|
4575
|
+
class Ks extends MessageType {
|
|
4457
4576
|
constructor() {
|
|
4458
4577
|
super("media.edge.EmptyResponse", []);
|
|
4459
4578
|
}
|
|
4460
4579
|
}
|
|
4461
|
-
new
|
|
4462
|
-
class
|
|
4580
|
+
new Ks();
|
|
4581
|
+
class Vs extends MessageType {
|
|
4463
4582
|
constructor() {
|
|
4464
4583
|
super("media.edge.RoomParticipants", [
|
|
4465
4584
|
{
|
|
@@ -4468,7 +4587,7 @@ class Ss extends MessageType {
|
|
|
4468
4587
|
kind: "scalar",
|
|
4469
4588
|
T: 9
|
|
4470
4589
|
},
|
|
4471
|
-
{ no: 2, name: "producer_states", kind: "message", repeat: 1, T: () =>
|
|
4590
|
+
{ no: 2, name: "producer_states", kind: "message", repeat: 1, T: () => ie },
|
|
4472
4591
|
{
|
|
4473
4592
|
no: 3,
|
|
4474
4593
|
name: "display_name",
|
|
@@ -4482,12 +4601,12 @@ class Ss extends MessageType {
|
|
|
4482
4601
|
opt: true,
|
|
4483
4602
|
T: 9
|
|
4484
4603
|
},
|
|
4485
|
-
{ no: 5, name: "capabilities", kind: "message", T: () =>
|
|
4604
|
+
{ no: 5, name: "capabilities", kind: "message", T: () => Fn }
|
|
4486
4605
|
]);
|
|
4487
4606
|
}
|
|
4488
4607
|
}
|
|
4489
|
-
const
|
|
4490
|
-
class
|
|
4608
|
+
const Kn = new Vs();
|
|
4609
|
+
class Hs extends MessageType {
|
|
4491
4610
|
constructor() {
|
|
4492
4611
|
super("media.edge.SelectedPeersResponse", [
|
|
4493
4612
|
{
|
|
@@ -4507,8 +4626,8 @@ class bs extends MessageType {
|
|
|
4507
4626
|
]);
|
|
4508
4627
|
}
|
|
4509
4628
|
}
|
|
4510
|
-
const
|
|
4511
|
-
class
|
|
4629
|
+
const Js = new Hs();
|
|
4630
|
+
class Zs extends MessageType {
|
|
4512
4631
|
constructor() {
|
|
4513
4632
|
super("media.edge.SelectedPeersDiffEntry", [
|
|
4514
4633
|
{
|
|
@@ -4526,27 +4645,27 @@ class xs extends MessageType {
|
|
|
4526
4645
|
]);
|
|
4527
4646
|
}
|
|
4528
4647
|
}
|
|
4529
|
-
const
|
|
4530
|
-
class
|
|
4648
|
+
const zs = new Zs();
|
|
4649
|
+
class Ys extends MessageType {
|
|
4531
4650
|
constructor() {
|
|
4532
4651
|
super("media.edge.SelectedPeersDiffResponse", [
|
|
4533
|
-
{ no: 1, name: "entries", kind: "message", repeat: 1, T: () =>
|
|
4652
|
+
{ no: 1, name: "entries", kind: "message", repeat: 1, T: () => zs }
|
|
4534
4653
|
]);
|
|
4535
4654
|
}
|
|
4536
4655
|
}
|
|
4537
|
-
new
|
|
4538
|
-
class
|
|
4656
|
+
new Ys();
|
|
4657
|
+
class Qs extends MessageType {
|
|
4539
4658
|
constructor() {
|
|
4540
4659
|
super("media.edge.PeerJoinResponse", []);
|
|
4541
4660
|
}
|
|
4542
4661
|
}
|
|
4543
|
-
new
|
|
4544
|
-
class
|
|
4662
|
+
new Qs();
|
|
4663
|
+
class Xs extends MessageType {
|
|
4545
4664
|
constructor() {
|
|
4546
4665
|
super("media.edge.PeerJoinCompleteResponse", [
|
|
4547
|
-
{ no: 1, name: "room_state", kind: "message", T: () =>
|
|
4548
|
-
{ no: 2, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
4549
|
-
{ no: 3, name: "selected_peers", kind: "message", T: () =>
|
|
4666
|
+
{ no: 1, name: "room_state", kind: "message", T: () => Ws },
|
|
4667
|
+
{ no: 2, name: "participants", kind: "message", repeat: 1, T: () => Kn },
|
|
4668
|
+
{ no: 3, name: "selected_peers", kind: "message", T: () => Js },
|
|
4550
4669
|
{
|
|
4551
4670
|
no: 4,
|
|
4552
4671
|
name: "max_preferred_streams",
|
|
@@ -4556,8 +4675,8 @@ class $s extends MessageType {
|
|
|
4556
4675
|
]);
|
|
4557
4676
|
}
|
|
4558
4677
|
}
|
|
4559
|
-
const
|
|
4560
|
-
class
|
|
4678
|
+
const er = new Xs();
|
|
4679
|
+
class nr extends MessageType {
|
|
4561
4680
|
constructor() {
|
|
4562
4681
|
super("media.edge.PeerLeaveResponse", [
|
|
4563
4682
|
{
|
|
@@ -4569,8 +4688,8 @@ class As extends MessageType {
|
|
|
4569
4688
|
]);
|
|
4570
4689
|
}
|
|
4571
4690
|
}
|
|
4572
|
-
new
|
|
4573
|
-
class
|
|
4691
|
+
new nr();
|
|
4692
|
+
class tr extends MessageType {
|
|
4574
4693
|
constructor() {
|
|
4575
4694
|
super("media.edge.ConsumeMultipleProducerResponse", [
|
|
4576
4695
|
{
|
|
@@ -4579,12 +4698,12 @@ class Is extends MessageType {
|
|
|
4579
4698
|
kind: "scalar",
|
|
4580
4699
|
T: 8
|
|
4581
4700
|
},
|
|
4582
|
-
{ no: 2, name: "consumer_ids_map", kind: "message", T: () =>
|
|
4701
|
+
{ no: 2, name: "consumer_ids_map", kind: "message", T: () => Wn }
|
|
4583
4702
|
]);
|
|
4584
4703
|
}
|
|
4585
4704
|
}
|
|
4586
|
-
new
|
|
4587
|
-
class
|
|
4705
|
+
new tr();
|
|
4706
|
+
class sr extends MessageType {
|
|
4588
4707
|
constructor() {
|
|
4589
4708
|
super("media.edge.ConsumePeerResponse", [
|
|
4590
4709
|
{
|
|
@@ -4593,13 +4712,13 @@ class Ds extends MessageType {
|
|
|
4593
4712
|
kind: "scalar",
|
|
4594
4713
|
T: 8
|
|
4595
4714
|
},
|
|
4596
|
-
{ no: 2, name: "consumer_ids_map", kind: "message", T: () =>
|
|
4597
|
-
{ no: 3, name: "description", kind: "message", T: () =>
|
|
4715
|
+
{ no: 2, name: "consumer_ids_map", kind: "message", T: () => Wn },
|
|
4716
|
+
{ no: 3, name: "description", kind: "message", T: () => q }
|
|
4598
4717
|
]);
|
|
4599
4718
|
}
|
|
4600
4719
|
}
|
|
4601
|
-
new
|
|
4602
|
-
class
|
|
4720
|
+
new sr();
|
|
4721
|
+
class rr extends MessageType {
|
|
4603
4722
|
constructor() {
|
|
4604
4723
|
super("media.edge.ProducerCreateResponse", [
|
|
4605
4724
|
{
|
|
@@ -4614,12 +4733,12 @@ class Us extends MessageType {
|
|
|
4614
4733
|
kind: "scalar",
|
|
4615
4734
|
T: 9
|
|
4616
4735
|
},
|
|
4617
|
-
{ no: 4, name: "description", kind: "message", T: () =>
|
|
4736
|
+
{ no: 4, name: "description", kind: "message", T: () => q }
|
|
4618
4737
|
]);
|
|
4619
4738
|
}
|
|
4620
4739
|
}
|
|
4621
|
-
const
|
|
4622
|
-
class
|
|
4740
|
+
const or = new rr();
|
|
4741
|
+
class ar extends MessageType {
|
|
4623
4742
|
constructor() {
|
|
4624
4743
|
super("media.edge.ProducerScoreResponse", [
|
|
4625
4744
|
{
|
|
@@ -4628,12 +4747,12 @@ class Gs extends MessageType {
|
|
|
4628
4747
|
kind: "scalar",
|
|
4629
4748
|
T: 9
|
|
4630
4749
|
},
|
|
4631
|
-
{ no: 2, name: "score", kind: "message", T: () =>
|
|
4750
|
+
{ no: 2, name: "score", kind: "message", T: () => is }
|
|
4632
4751
|
]);
|
|
4633
4752
|
}
|
|
4634
4753
|
}
|
|
4635
|
-
new
|
|
4636
|
-
class
|
|
4754
|
+
new ar();
|
|
4755
|
+
class ir extends MessageType {
|
|
4637
4756
|
constructor() {
|
|
4638
4757
|
super("media.edge.ActiveSpeakerResponse", [
|
|
4639
4758
|
{
|
|
@@ -4651,48 +4770,48 @@ class js extends MessageType {
|
|
|
4651
4770
|
]);
|
|
4652
4771
|
}
|
|
4653
4772
|
}
|
|
4654
|
-
new
|
|
4655
|
-
class
|
|
4773
|
+
new ir();
|
|
4774
|
+
class cr extends MessageType {
|
|
4656
4775
|
constructor() {
|
|
4657
4776
|
super("media.edge.NoActiveSpeakerResponse", []);
|
|
4658
4777
|
}
|
|
4659
4778
|
}
|
|
4660
|
-
new
|
|
4661
|
-
class
|
|
4779
|
+
new cr();
|
|
4780
|
+
class dr extends MessageType {
|
|
4662
4781
|
constructor() {
|
|
4663
4782
|
super("media.edge.ProducerToggleResponse", []);
|
|
4664
4783
|
}
|
|
4665
4784
|
}
|
|
4666
|
-
new
|
|
4667
|
-
class
|
|
4785
|
+
new dr();
|
|
4786
|
+
class ur extends MessageType {
|
|
4668
4787
|
constructor() {
|
|
4669
4788
|
super("media.edge.ConsumerToggleResponse", []);
|
|
4670
4789
|
}
|
|
4671
4790
|
}
|
|
4672
|
-
new
|
|
4673
|
-
class
|
|
4791
|
+
new ur();
|
|
4792
|
+
class pr extends MessageType {
|
|
4674
4793
|
constructor() {
|
|
4675
4794
|
super("media.edge.ProducerClosingResponse", [
|
|
4676
|
-
{ no: 1, name: "description", kind: "message", T: () =>
|
|
4795
|
+
{ no: 1, name: "description", kind: "message", T: () => q }
|
|
4677
4796
|
]);
|
|
4678
4797
|
}
|
|
4679
4798
|
}
|
|
4680
|
-
new
|
|
4681
|
-
class
|
|
4799
|
+
new pr();
|
|
4800
|
+
class lr extends MessageType {
|
|
4682
4801
|
constructor() {
|
|
4683
4802
|
super("media.edge.ConsumerClosingResponse", [
|
|
4684
|
-
{ no: 1, name: "description", kind: "message", T: () =>
|
|
4803
|
+
{ no: 1, name: "description", kind: "message", T: () => q }
|
|
4685
4804
|
]);
|
|
4686
4805
|
}
|
|
4687
4806
|
}
|
|
4688
|
-
new
|
|
4689
|
-
class
|
|
4807
|
+
new lr();
|
|
4808
|
+
class mr extends MessageType {
|
|
4690
4809
|
constructor() {
|
|
4691
4810
|
super("media.edge.GlobalPeerPinningResponse", []);
|
|
4692
4811
|
}
|
|
4693
4812
|
}
|
|
4694
|
-
new
|
|
4695
|
-
class
|
|
4813
|
+
new mr();
|
|
4814
|
+
class Tr extends MessageType {
|
|
4696
4815
|
constructor() {
|
|
4697
4816
|
super("media.edge.KickPeerResponse", [
|
|
4698
4817
|
{
|
|
@@ -4704,8 +4823,8 @@ class Zs extends MessageType {
|
|
|
4704
4823
|
]);
|
|
4705
4824
|
}
|
|
4706
4825
|
}
|
|
4707
|
-
new
|
|
4708
|
-
class
|
|
4826
|
+
new Tr();
|
|
4827
|
+
class fr extends MessageType {
|
|
4709
4828
|
constructor() {
|
|
4710
4829
|
super("media.edge.KickAllPeersResponse", [
|
|
4711
4830
|
{
|
|
@@ -4717,8 +4836,8 @@ class zs extends MessageType {
|
|
|
4717
4836
|
]);
|
|
4718
4837
|
}
|
|
4719
4838
|
}
|
|
4720
|
-
new
|
|
4721
|
-
class
|
|
4839
|
+
new fr();
|
|
4840
|
+
class hr extends MessageType {
|
|
4722
4841
|
constructor() {
|
|
4723
4842
|
super("media.edge.HostMediaControlForPeerResponse", [
|
|
4724
4843
|
{
|
|
@@ -4730,8 +4849,8 @@ class Ys extends MessageType {
|
|
|
4730
4849
|
]);
|
|
4731
4850
|
}
|
|
4732
4851
|
}
|
|
4733
|
-
new
|
|
4734
|
-
class
|
|
4852
|
+
new hr();
|
|
4853
|
+
class kr extends MessageType {
|
|
4735
4854
|
constructor() {
|
|
4736
4855
|
super("media.edge.HostMediaControlForAllPeerResponse", [
|
|
4737
4856
|
{
|
|
@@ -4743,8 +4862,8 @@ class Qs extends MessageType {
|
|
|
4743
4862
|
]);
|
|
4744
4863
|
}
|
|
4745
4864
|
}
|
|
4746
|
-
new
|
|
4747
|
-
class
|
|
4865
|
+
new kr();
|
|
4866
|
+
class gr extends MessageType {
|
|
4748
4867
|
constructor() {
|
|
4749
4868
|
super("media.edge.PeerDisplayNameEditResponse", [
|
|
4750
4869
|
{
|
|
@@ -4756,16 +4875,16 @@ class Xs extends MessageType {
|
|
|
4756
4875
|
]);
|
|
4757
4876
|
}
|
|
4758
4877
|
}
|
|
4759
|
-
new
|
|
4760
|
-
class
|
|
4878
|
+
new gr();
|
|
4879
|
+
class yr extends MessageType {
|
|
4761
4880
|
constructor() {
|
|
4762
4881
|
super("media.edge.PeerJoinBroadcastResponse", [
|
|
4763
|
-
{ no: 1, name: "participant", kind: "message", T: () =>
|
|
4882
|
+
{ no: 1, name: "participant", kind: "message", T: () => Kn }
|
|
4764
4883
|
]);
|
|
4765
4884
|
}
|
|
4766
4885
|
}
|
|
4767
|
-
new
|
|
4768
|
-
class
|
|
4886
|
+
new yr();
|
|
4887
|
+
class vr extends MessageType {
|
|
4769
4888
|
constructor() {
|
|
4770
4889
|
super("media.edge.TrackSubscriptionKind", [
|
|
4771
4890
|
{
|
|
@@ -4783,8 +4902,8 @@ class nr extends MessageType {
|
|
|
4783
4902
|
]);
|
|
4784
4903
|
}
|
|
4785
4904
|
}
|
|
4786
|
-
const
|
|
4787
|
-
class
|
|
4905
|
+
const gn = new vr();
|
|
4906
|
+
class Rr extends MessageType {
|
|
4788
4907
|
constructor() {
|
|
4789
4908
|
super("media.edge.TrackSubscription", [
|
|
4790
4909
|
{
|
|
@@ -4793,13 +4912,13 @@ class tr extends MessageType {
|
|
|
4793
4912
|
kind: "scalar",
|
|
4794
4913
|
T: 9
|
|
4795
4914
|
},
|
|
4796
|
-
{ no: 2, name: "webcam", kind: "message", T: () =>
|
|
4797
|
-
{ no: 3, name: "screenshare", kind: "message", T: () =>
|
|
4915
|
+
{ no: 2, name: "webcam", kind: "message", T: () => gn },
|
|
4916
|
+
{ no: 3, name: "screenshare", kind: "message", T: () => gn }
|
|
4798
4917
|
]);
|
|
4799
4918
|
}
|
|
4800
4919
|
}
|
|
4801
|
-
const
|
|
4802
|
-
class
|
|
4920
|
+
const _r = new Rr();
|
|
4921
|
+
class wr extends MessageType {
|
|
4803
4922
|
constructor() {
|
|
4804
4923
|
super("media.edge.PeerProducingTransportCreateBroadcastResponse", [
|
|
4805
4924
|
{
|
|
@@ -4808,13 +4927,13 @@ class rr extends MessageType {
|
|
|
4808
4927
|
kind: "scalar",
|
|
4809
4928
|
T: 9
|
|
4810
4929
|
},
|
|
4811
|
-
{ no: 2, name: "transport_details", kind: "message", T: () =>
|
|
4812
|
-
{ no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () =>
|
|
4930
|
+
{ no: 2, name: "transport_details", kind: "message", T: () => jn },
|
|
4931
|
+
{ no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () => _r }
|
|
4813
4932
|
]);
|
|
4814
4933
|
}
|
|
4815
4934
|
}
|
|
4816
|
-
new
|
|
4817
|
-
class
|
|
4935
|
+
new wr();
|
|
4936
|
+
class Pr extends MessageType {
|
|
4818
4937
|
constructor() {
|
|
4819
4938
|
super("media.edge.PeerProducerCreateBroadcastResponse", [
|
|
4820
4939
|
{
|
|
@@ -4823,12 +4942,12 @@ class or extends MessageType {
|
|
|
4823
4942
|
kind: "scalar",
|
|
4824
4943
|
T: 9
|
|
4825
4944
|
},
|
|
4826
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
4945
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ie }
|
|
4827
4946
|
]);
|
|
4828
4947
|
}
|
|
4829
4948
|
}
|
|
4830
|
-
new
|
|
4831
|
-
class
|
|
4949
|
+
new Pr();
|
|
4950
|
+
class Cr extends MessageType {
|
|
4832
4951
|
constructor() {
|
|
4833
4952
|
super("media.edge.PeerProducerToggleBroadcastResponse", [
|
|
4834
4953
|
{
|
|
@@ -4837,7 +4956,7 @@ class ar extends MessageType {
|
|
|
4837
4956
|
kind: "scalar",
|
|
4838
4957
|
T: 9
|
|
4839
4958
|
},
|
|
4840
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
4959
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ie },
|
|
4841
4960
|
{
|
|
4842
4961
|
no: 3,
|
|
4843
4962
|
name: "initiator_participant_id",
|
|
@@ -4848,8 +4967,8 @@ class ar extends MessageType {
|
|
|
4848
4967
|
]);
|
|
4849
4968
|
}
|
|
4850
4969
|
}
|
|
4851
|
-
new
|
|
4852
|
-
class
|
|
4970
|
+
new Cr();
|
|
4971
|
+
class Er extends MessageType {
|
|
4853
4972
|
constructor() {
|
|
4854
4973
|
super("media.edge.PeerProducerCloseBroadcastResponse", [
|
|
4855
4974
|
{
|
|
@@ -4858,12 +4977,12 @@ class ir extends MessageType {
|
|
|
4858
4977
|
kind: "scalar",
|
|
4859
4978
|
T: 9
|
|
4860
4979
|
},
|
|
4861
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
4980
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ie }
|
|
4862
4981
|
]);
|
|
4863
4982
|
}
|
|
4864
4983
|
}
|
|
4865
|
-
new
|
|
4866
|
-
class
|
|
4984
|
+
new Er();
|
|
4985
|
+
class Sr extends MessageType {
|
|
4867
4986
|
constructor() {
|
|
4868
4987
|
super("media.edge.PeerLeaveBroadcastResponse", [
|
|
4869
4988
|
{
|
|
@@ -4875,8 +4994,8 @@ class cr extends MessageType {
|
|
|
4875
4994
|
]);
|
|
4876
4995
|
}
|
|
4877
4996
|
}
|
|
4878
|
-
new
|
|
4879
|
-
class
|
|
4997
|
+
new Sr();
|
|
4998
|
+
class br extends MessageType {
|
|
4880
4999
|
constructor() {
|
|
4881
5000
|
super("media.edge.GlobalPeerPinningBroadcastResponse", [
|
|
4882
5001
|
{
|
|
@@ -4888,8 +5007,8 @@ class dr extends MessageType {
|
|
|
4888
5007
|
]);
|
|
4889
5008
|
}
|
|
4890
5009
|
}
|
|
4891
|
-
new
|
|
4892
|
-
class
|
|
5010
|
+
new br();
|
|
5011
|
+
class Lr extends MessageType {
|
|
4893
5012
|
constructor() {
|
|
4894
5013
|
super("media.edge.GlobalPeerUnPinningBroadcastResponse", [
|
|
4895
5014
|
{
|
|
@@ -4901,8 +5020,8 @@ class ur extends MessageType {
|
|
|
4901
5020
|
]);
|
|
4902
5021
|
}
|
|
4903
5022
|
}
|
|
4904
|
-
new
|
|
4905
|
-
class
|
|
5023
|
+
new Lr();
|
|
5024
|
+
class xr extends MessageType {
|
|
4906
5025
|
constructor() {
|
|
4907
5026
|
super("media.edge.RecordingStartedBroadcastResponse", [
|
|
4908
5027
|
{
|
|
@@ -4914,8 +5033,8 @@ class pr extends MessageType {
|
|
|
4914
5033
|
]);
|
|
4915
5034
|
}
|
|
4916
5035
|
}
|
|
4917
|
-
new
|
|
4918
|
-
class
|
|
5036
|
+
new xr();
|
|
5037
|
+
class Or extends MessageType {
|
|
4919
5038
|
constructor() {
|
|
4920
5039
|
super("media.edge.RecordingStoppedBroadcastResponse", [
|
|
4921
5040
|
{
|
|
@@ -4927,8 +5046,8 @@ class lr extends MessageType {
|
|
|
4927
5046
|
]);
|
|
4928
5047
|
}
|
|
4929
5048
|
}
|
|
4930
|
-
new
|
|
4931
|
-
class
|
|
5049
|
+
new Or();
|
|
5050
|
+
class Mr extends MessageType {
|
|
4932
5051
|
constructor() {
|
|
4933
5052
|
super("media.edge.PeerDisplayNameEditBroadcastResponse", [
|
|
4934
5053
|
{
|
|
@@ -4946,8 +5065,8 @@ class mr extends MessageType {
|
|
|
4946
5065
|
]);
|
|
4947
5066
|
}
|
|
4948
5067
|
}
|
|
4949
|
-
new
|
|
4950
|
-
class
|
|
5068
|
+
new Mr();
|
|
5069
|
+
class qr extends MessageType {
|
|
4951
5070
|
constructor() {
|
|
4952
5071
|
super("media.edge.PeerPingRequestBroadcastResponse", [
|
|
4953
5072
|
{
|
|
@@ -4959,8 +5078,8 @@ class Tr extends MessageType {
|
|
|
4959
5078
|
]);
|
|
4960
5079
|
}
|
|
4961
5080
|
}
|
|
4962
|
-
new
|
|
4963
|
-
class
|
|
5081
|
+
new qr();
|
|
5082
|
+
class $r extends MessageType {
|
|
4964
5083
|
constructor() {
|
|
4965
5084
|
super("media.edge.MediaRoomTerminationBroadcastResponse", [
|
|
4966
5085
|
{
|
|
@@ -4972,8 +5091,8 @@ class fr extends MessageType {
|
|
|
4972
5091
|
]);
|
|
4973
5092
|
}
|
|
4974
5093
|
}
|
|
4975
|
-
new
|
|
4976
|
-
class
|
|
5094
|
+
new $r();
|
|
5095
|
+
class Nr extends MessageType {
|
|
4977
5096
|
constructor() {
|
|
4978
5097
|
super("socket.ai.MeetingTranscript", [
|
|
4979
5098
|
{
|
|
@@ -4997,8 +5116,8 @@ class hr extends MessageType {
|
|
|
4997
5116
|
]);
|
|
4998
5117
|
}
|
|
4999
5118
|
}
|
|
5000
|
-
new
|
|
5001
|
-
class
|
|
5119
|
+
new Nr();
|
|
5120
|
+
class Ar extends MessageType {
|
|
5002
5121
|
constructor() {
|
|
5003
5122
|
super("socket.api.BaseSocketHubMessage", [
|
|
5004
5123
|
{
|
|
@@ -5054,8 +5173,8 @@ class kr extends MessageType {
|
|
|
5054
5173
|
]);
|
|
5055
5174
|
}
|
|
5056
5175
|
}
|
|
5057
|
-
new
|
|
5058
|
-
class
|
|
5176
|
+
new Ar();
|
|
5177
|
+
class Ir extends MessageType {
|
|
5059
5178
|
constructor() {
|
|
5060
5179
|
super("socket.api.ErrorMessage", [
|
|
5061
5180
|
{
|
|
@@ -5074,28 +5193,28 @@ class gr extends MessageType {
|
|
|
5074
5193
|
]);
|
|
5075
5194
|
}
|
|
5076
5195
|
}
|
|
5077
|
-
new
|
|
5078
|
-
var
|
|
5196
|
+
new Ir();
|
|
5197
|
+
var ke;
|
|
5079
5198
|
(function(e) {
|
|
5080
5199
|
e[e.BROWSER = 0] = "BROWSER", e[e.TRACK = 1] = "TRACK", e[e.COMPOSITE = 2] = "COMPOSITE";
|
|
5081
|
-
})(
|
|
5082
|
-
var
|
|
5200
|
+
})(ke || (ke = {}));
|
|
5201
|
+
var ae;
|
|
5083
5202
|
(function(e) {
|
|
5084
5203
|
e[e.UNSPECIFIED = 0] = "UNSPECIFIED", e[e.ON_STAGE = 1] = "ON_STAGE", e[e.APPROVED_STAGE = 2] = "APPROVED_STAGE", e[e.REQUESTED_STAGE = 3] = "REQUESTED_STAGE", e[e.OFF_STAGE = 4] = "OFF_STAGE";
|
|
5085
|
-
})(
|
|
5086
|
-
var
|
|
5204
|
+
})(ae || (ae = {}));
|
|
5205
|
+
var We;
|
|
5087
5206
|
(function(e) {
|
|
5088
5207
|
e[e.NONE = 0] = "NONE", e[e.RECORDER = 1] = "RECORDER", e[e.LIVESTREAMER = 2] = "LIVESTREAMER";
|
|
5089
|
-
})(
|
|
5090
|
-
var
|
|
5208
|
+
})(We || (We = {}));
|
|
5209
|
+
var Fe;
|
|
5091
5210
|
(function(e) {
|
|
5092
5211
|
e[e.PEERS = 0] = "PEERS", e[e.ROOMS = 1] = "ROOMS";
|
|
5093
|
-
})(
|
|
5094
|
-
var
|
|
5212
|
+
})(Fe || (Fe = {}));
|
|
5213
|
+
var Ke;
|
|
5095
5214
|
(function(e) {
|
|
5096
5215
|
e[e.HIVE = 0] = "HIVE", e[e.CHAT = 1] = "CHAT", e[e.PING = 2] = "PING";
|
|
5097
|
-
})(
|
|
5098
|
-
class
|
|
5216
|
+
})(Ke || (Ke = {}));
|
|
5217
|
+
class Dr extends MessageType {
|
|
5099
5218
|
constructor() {
|
|
5100
5219
|
super("socket.room.PeerFlags", [
|
|
5101
5220
|
{
|
|
@@ -5119,8 +5238,8 @@ class yr extends MessageType {
|
|
|
5119
5238
|
]);
|
|
5120
5239
|
}
|
|
5121
5240
|
}
|
|
5122
|
-
const
|
|
5123
|
-
class
|
|
5241
|
+
const Ur = new Dr();
|
|
5242
|
+
class Br extends MessageType {
|
|
5124
5243
|
constructor() {
|
|
5125
5244
|
super("socket.room.Peer", [
|
|
5126
5245
|
{
|
|
@@ -5141,7 +5260,7 @@ class vr extends MessageType {
|
|
|
5141
5260
|
kind: "scalar",
|
|
5142
5261
|
T: 9
|
|
5143
5262
|
},
|
|
5144
|
-
{ no: 4, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType",
|
|
5263
|
+
{ no: 4, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", ae, "STAGE_TYPE_"] },
|
|
5145
5264
|
{
|
|
5146
5265
|
no: 5,
|
|
5147
5266
|
name: "custom_participant_id",
|
|
@@ -5169,20 +5288,20 @@ class vr extends MessageType {
|
|
|
5169
5288
|
kind: "scalar",
|
|
5170
5289
|
T: 8
|
|
5171
5290
|
},
|
|
5172
|
-
{ no: 9, name: "flags", kind: "message", T: () =>
|
|
5291
|
+
{ no: 9, name: "flags", kind: "message", T: () => Ur }
|
|
5173
5292
|
]);
|
|
5174
5293
|
}
|
|
5175
5294
|
}
|
|
5176
|
-
const
|
|
5177
|
-
class
|
|
5295
|
+
const we = new Br();
|
|
5296
|
+
class Gr extends MessageType {
|
|
5178
5297
|
constructor() {
|
|
5179
5298
|
super("socket.room.PeerInfoResponse", [
|
|
5180
|
-
{ no: 1, name: "peer", kind: "message", T: () =>
|
|
5299
|
+
{ no: 1, name: "peer", kind: "message", T: () => we }
|
|
5181
5300
|
]);
|
|
5182
5301
|
}
|
|
5183
5302
|
}
|
|
5184
|
-
const
|
|
5185
|
-
class
|
|
5303
|
+
const yn = new Gr();
|
|
5304
|
+
class jr extends MessageType {
|
|
5186
5305
|
constructor() {
|
|
5187
5306
|
super("socket.room.PeerStatusUpdate", [
|
|
5188
5307
|
{
|
|
@@ -5197,12 +5316,12 @@ class Pr extends MessageType {
|
|
|
5197
5316
|
kind: "scalar",
|
|
5198
5317
|
T: 9
|
|
5199
5318
|
},
|
|
5200
|
-
{ no: 3, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType",
|
|
5319
|
+
{ no: 3, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", ae, "STAGE_TYPE_"] }
|
|
5201
5320
|
]);
|
|
5202
5321
|
}
|
|
5203
5322
|
}
|
|
5204
|
-
new
|
|
5205
|
-
class
|
|
5323
|
+
new jr();
|
|
5324
|
+
class Wr extends MessageType {
|
|
5206
5325
|
constructor() {
|
|
5207
5326
|
super("socket.room.RoomPeersInfoRequest", [
|
|
5208
5327
|
{
|
|
@@ -5226,16 +5345,16 @@ class wr extends MessageType {
|
|
|
5226
5345
|
]);
|
|
5227
5346
|
}
|
|
5228
5347
|
}
|
|
5229
|
-
new
|
|
5230
|
-
class
|
|
5348
|
+
new Wr();
|
|
5349
|
+
class Fr extends MessageType {
|
|
5231
5350
|
constructor() {
|
|
5232
5351
|
super("socket.room.RoomPeersInfoResponse", [
|
|
5233
|
-
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () =>
|
|
5352
|
+
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () => we }
|
|
5234
5353
|
]);
|
|
5235
5354
|
}
|
|
5236
5355
|
}
|
|
5237
|
-
const
|
|
5238
|
-
class
|
|
5356
|
+
const Kr = new Fr();
|
|
5357
|
+
class Vr extends MessageType {
|
|
5239
5358
|
constructor() {
|
|
5240
5359
|
super("socket.room.RoomPeerCountResponse", [
|
|
5241
5360
|
{
|
|
@@ -5248,8 +5367,8 @@ class Sr extends MessageType {
|
|
|
5248
5367
|
]);
|
|
5249
5368
|
}
|
|
5250
5369
|
}
|
|
5251
|
-
new
|
|
5252
|
-
class
|
|
5370
|
+
new Vr();
|
|
5371
|
+
class Hr extends MessageType {
|
|
5253
5372
|
constructor() {
|
|
5254
5373
|
super("socket.room.Room", [
|
|
5255
5374
|
{
|
|
@@ -5271,7 +5390,7 @@ class br extends MessageType {
|
|
|
5271
5390
|
T: 4,
|
|
5272
5391
|
L: 2
|
|
5273
5392
|
},
|
|
5274
|
-
{ no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () =>
|
|
5393
|
+
{ no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () => Zr },
|
|
5275
5394
|
{
|
|
5276
5395
|
no: 6,
|
|
5277
5396
|
name: "room_uuid",
|
|
@@ -5282,8 +5401,8 @@ class br extends MessageType {
|
|
|
5282
5401
|
]);
|
|
5283
5402
|
}
|
|
5284
5403
|
}
|
|
5285
|
-
const
|
|
5286
|
-
class
|
|
5404
|
+
const Vn = new Hr();
|
|
5405
|
+
class Jr extends MessageType {
|
|
5287
5406
|
constructor() {
|
|
5288
5407
|
super("socket.room.ActiveRecording", [
|
|
5289
5408
|
{
|
|
@@ -5292,7 +5411,7 @@ class Lr extends MessageType {
|
|
|
5292
5411
|
kind: "scalar",
|
|
5293
5412
|
T: 9
|
|
5294
5413
|
},
|
|
5295
|
-
{ no: 2, name: "recording_type", kind: "enum", T: () => ["common.RecordingType",
|
|
5414
|
+
{ no: 2, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", ke] },
|
|
5296
5415
|
{
|
|
5297
5416
|
no: 3,
|
|
5298
5417
|
name: "recording_status",
|
|
@@ -5302,16 +5421,16 @@ class Lr extends MessageType {
|
|
|
5302
5421
|
]);
|
|
5303
5422
|
}
|
|
5304
5423
|
}
|
|
5305
|
-
const
|
|
5306
|
-
class
|
|
5424
|
+
const Zr = new Jr();
|
|
5425
|
+
class zr extends MessageType {
|
|
5307
5426
|
constructor() {
|
|
5308
5427
|
super("socket.room.RoomInfoResponse", [
|
|
5309
|
-
{ no: 1, name: "room", kind: "message", T: () =>
|
|
5428
|
+
{ no: 1, name: "room", kind: "message", T: () => Vn }
|
|
5310
5429
|
]);
|
|
5311
5430
|
}
|
|
5312
5431
|
}
|
|
5313
|
-
const
|
|
5314
|
-
class
|
|
5432
|
+
const Yr = new zr();
|
|
5433
|
+
class Qr extends MessageType {
|
|
5315
5434
|
constructor() {
|
|
5316
5435
|
super("socket.room.GetPeerInfoRequest", [
|
|
5317
5436
|
{
|
|
@@ -5323,8 +5442,8 @@ class qr extends MessageType {
|
|
|
5323
5442
|
]);
|
|
5324
5443
|
}
|
|
5325
5444
|
}
|
|
5326
|
-
new
|
|
5327
|
-
class
|
|
5445
|
+
new Qr();
|
|
5446
|
+
class Xr extends MessageType {
|
|
5328
5447
|
constructor() {
|
|
5329
5448
|
super("socket.room.UpdatePeerInfoRequest", [
|
|
5330
5449
|
{
|
|
@@ -5343,11 +5462,11 @@ class $r extends MessageType {
|
|
|
5343
5462
|
]);
|
|
5344
5463
|
}
|
|
5345
5464
|
}
|
|
5346
|
-
new
|
|
5347
|
-
class
|
|
5465
|
+
new Xr();
|
|
5466
|
+
class eo extends MessageType {
|
|
5348
5467
|
constructor() {
|
|
5349
5468
|
super("socket.room.JoinRoomRequest", [
|
|
5350
|
-
{ no: 1, name: "peer", kind: "message", T: () =>
|
|
5469
|
+
{ no: 1, name: "peer", kind: "message", T: () => we },
|
|
5351
5470
|
{
|
|
5352
5471
|
no: 3,
|
|
5353
5472
|
name: "room_uuid",
|
|
@@ -5375,7 +5494,7 @@ class Nr extends MessageType {
|
|
|
5375
5494
|
opt: true,
|
|
5376
5495
|
T: 12
|
|
5377
5496
|
},
|
|
5378
|
-
{ no: 7, name: "capabilities", kind: "enum", repeat: 1, T: () => ["socket.room.Capabilities",
|
|
5497
|
+
{ no: 7, name: "capabilities", kind: "enum", repeat: 1, T: () => ["socket.room.Capabilities", Ke, "CAPABILITIES_"] },
|
|
5379
5498
|
{
|
|
5380
5499
|
no: 8,
|
|
5381
5500
|
name: "timestamp",
|
|
@@ -5387,11 +5506,11 @@ class Nr extends MessageType {
|
|
|
5387
5506
|
]);
|
|
5388
5507
|
}
|
|
5389
5508
|
}
|
|
5390
|
-
new
|
|
5391
|
-
class
|
|
5509
|
+
new eo();
|
|
5510
|
+
class no extends MessageType {
|
|
5392
5511
|
constructor() {
|
|
5393
5512
|
super("socket.room.LeaveRoomRequest", [
|
|
5394
|
-
{ no: 1, name: "peer", kind: "message", T: () =>
|
|
5513
|
+
{ no: 1, name: "peer", kind: "message", T: () => we },
|
|
5395
5514
|
{
|
|
5396
5515
|
no: 2,
|
|
5397
5516
|
name: "timestamp",
|
|
@@ -5403,22 +5522,22 @@ class Ar extends MessageType {
|
|
|
5403
5522
|
]);
|
|
5404
5523
|
}
|
|
5405
5524
|
}
|
|
5406
|
-
new
|
|
5407
|
-
class
|
|
5525
|
+
new no();
|
|
5526
|
+
class to extends MessageType {
|
|
5408
5527
|
constructor() {
|
|
5409
5528
|
super("socket.room.UpdateRoomInfoRequest", [
|
|
5410
|
-
{ no: 1, name: "room", kind: "message", T: () =>
|
|
5529
|
+
{ no: 1, name: "room", kind: "message", T: () => Vn }
|
|
5411
5530
|
]);
|
|
5412
5531
|
}
|
|
5413
5532
|
}
|
|
5414
|
-
new
|
|
5415
|
-
class
|
|
5533
|
+
new to();
|
|
5534
|
+
class so extends MessageType {
|
|
5416
5535
|
constructor() {
|
|
5417
5536
|
super("socket.room.GetConnectedRoomsDumpRequest", []);
|
|
5418
5537
|
}
|
|
5419
5538
|
}
|
|
5420
|
-
new
|
|
5421
|
-
class
|
|
5539
|
+
new so();
|
|
5540
|
+
class ro extends MessageType {
|
|
5422
5541
|
constructor() {
|
|
5423
5542
|
super("socket.room.ServiceError", [
|
|
5424
5543
|
{
|
|
@@ -5438,8 +5557,8 @@ class Ur extends MessageType {
|
|
|
5438
5557
|
]);
|
|
5439
5558
|
}
|
|
5440
5559
|
}
|
|
5441
|
-
const
|
|
5442
|
-
class
|
|
5560
|
+
const Je = new ro();
|
|
5561
|
+
class oo extends MessageType {
|
|
5443
5562
|
constructor() {
|
|
5444
5563
|
super("socket.room.ConnectedMeetingPeer", [
|
|
5445
5564
|
{
|
|
@@ -5480,8 +5599,8 @@ class Br extends MessageType {
|
|
|
5480
5599
|
]);
|
|
5481
5600
|
}
|
|
5482
5601
|
}
|
|
5483
|
-
const
|
|
5484
|
-
class
|
|
5602
|
+
const ao = new oo();
|
|
5603
|
+
class io extends MessageType {
|
|
5485
5604
|
constructor() {
|
|
5486
5605
|
super("socket.room.ConnectedMeetingDump", [
|
|
5487
5606
|
{
|
|
@@ -5498,21 +5617,21 @@ class jr extends MessageType {
|
|
|
5498
5617
|
opt: true,
|
|
5499
5618
|
T: 9
|
|
5500
5619
|
},
|
|
5501
|
-
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
5620
|
+
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () => ao }
|
|
5502
5621
|
]);
|
|
5503
5622
|
}
|
|
5504
5623
|
}
|
|
5505
|
-
const
|
|
5506
|
-
class
|
|
5624
|
+
const vn = new io();
|
|
5625
|
+
class co extends MessageType {
|
|
5507
5626
|
constructor() {
|
|
5508
5627
|
super("socket.room.GetConnectedRoomsDumpResponse", [
|
|
5509
|
-
{ no: 1, name: "parent_meeting", kind: "message", T: () =>
|
|
5510
|
-
{ no: 2, name: "meetings", kind: "message", repeat: 1, T: () =>
|
|
5628
|
+
{ no: 1, name: "parent_meeting", kind: "message", T: () => vn },
|
|
5629
|
+
{ no: 2, name: "meetings", kind: "message", repeat: 1, T: () => vn }
|
|
5511
5630
|
]);
|
|
5512
5631
|
}
|
|
5513
5632
|
}
|
|
5514
|
-
const
|
|
5515
|
-
class
|
|
5633
|
+
const uo = new co();
|
|
5634
|
+
class po extends MessageType {
|
|
5516
5635
|
constructor() {
|
|
5517
5636
|
super("socket.room.CreateRoomRequestPayload", [
|
|
5518
5637
|
{
|
|
@@ -5525,16 +5644,16 @@ class Kr extends MessageType {
|
|
|
5525
5644
|
]);
|
|
5526
5645
|
}
|
|
5527
5646
|
}
|
|
5528
|
-
const
|
|
5529
|
-
class
|
|
5647
|
+
const lo = new po();
|
|
5648
|
+
class mo extends MessageType {
|
|
5530
5649
|
constructor() {
|
|
5531
5650
|
super("socket.room.CreateConnectedRoomsRequest", [
|
|
5532
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5651
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => lo }
|
|
5533
5652
|
]);
|
|
5534
5653
|
}
|
|
5535
5654
|
}
|
|
5536
|
-
new
|
|
5537
|
-
class
|
|
5655
|
+
new mo();
|
|
5656
|
+
class To extends MessageType {
|
|
5538
5657
|
constructor() {
|
|
5539
5658
|
super("socket.room.CreateRoomResponsePayload", [
|
|
5540
5659
|
{
|
|
@@ -5551,20 +5670,20 @@ class Jr extends MessageType {
|
|
|
5551
5670
|
opt: true,
|
|
5552
5671
|
T: 9
|
|
5553
5672
|
},
|
|
5554
|
-
{ no: 3, name: "error", kind: "message", T: () =>
|
|
5673
|
+
{ no: 3, name: "error", kind: "message", T: () => Je }
|
|
5555
5674
|
]);
|
|
5556
5675
|
}
|
|
5557
5676
|
}
|
|
5558
|
-
const
|
|
5559
|
-
class
|
|
5677
|
+
const fo = new To();
|
|
5678
|
+
class ho extends MessageType {
|
|
5560
5679
|
constructor() {
|
|
5561
5680
|
super("socket.room.CreateConnectedRoomsResponse", [
|
|
5562
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5681
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => fo }
|
|
5563
5682
|
]);
|
|
5564
5683
|
}
|
|
5565
5684
|
}
|
|
5566
|
-
new
|
|
5567
|
-
class
|
|
5685
|
+
new ho();
|
|
5686
|
+
class ko extends MessageType {
|
|
5568
5687
|
constructor() {
|
|
5569
5688
|
super("socket.room.UpdateRoomRequestPayload", [
|
|
5570
5689
|
{
|
|
@@ -5584,16 +5703,16 @@ class Yr extends MessageType {
|
|
|
5584
5703
|
]);
|
|
5585
5704
|
}
|
|
5586
5705
|
}
|
|
5587
|
-
const
|
|
5588
|
-
class
|
|
5706
|
+
const go = new ko();
|
|
5707
|
+
class yo extends MessageType {
|
|
5589
5708
|
constructor() {
|
|
5590
5709
|
super("socket.room.UpdateConnectedRoomsRequest", [
|
|
5591
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5710
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => go }
|
|
5592
5711
|
]);
|
|
5593
5712
|
}
|
|
5594
5713
|
}
|
|
5595
|
-
new
|
|
5596
|
-
class
|
|
5714
|
+
new yo();
|
|
5715
|
+
class vo extends MessageType {
|
|
5597
5716
|
constructor() {
|
|
5598
5717
|
super("socket.room.DisableRoomPayload", [
|
|
5599
5718
|
{
|
|
@@ -5606,24 +5725,24 @@ class eo extends MessageType {
|
|
|
5606
5725
|
]);
|
|
5607
5726
|
}
|
|
5608
5727
|
}
|
|
5609
|
-
const
|
|
5610
|
-
class
|
|
5728
|
+
const Ro = new vo();
|
|
5729
|
+
class _o extends MessageType {
|
|
5611
5730
|
constructor() {
|
|
5612
5731
|
super("socket.room.DisableConnectedRoomsRequest", [
|
|
5613
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5732
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Ro }
|
|
5614
5733
|
]);
|
|
5615
5734
|
}
|
|
5616
5735
|
}
|
|
5617
|
-
new
|
|
5618
|
-
class
|
|
5736
|
+
new _o();
|
|
5737
|
+
class wo extends MessageType {
|
|
5619
5738
|
constructor() {
|
|
5620
5739
|
super("socket.room.DisableConnectedRoomsResponse", [
|
|
5621
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5740
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Co }
|
|
5622
5741
|
]);
|
|
5623
5742
|
}
|
|
5624
5743
|
}
|
|
5625
|
-
new
|
|
5626
|
-
class
|
|
5744
|
+
new wo();
|
|
5745
|
+
class Po extends MessageType {
|
|
5627
5746
|
constructor() {
|
|
5628
5747
|
super("socket.room.DisableConnectedRoomPayload", [
|
|
5629
5748
|
{
|
|
@@ -5647,12 +5766,12 @@ class ro extends MessageType {
|
|
|
5647
5766
|
opt: true,
|
|
5648
5767
|
T: 9
|
|
5649
5768
|
},
|
|
5650
|
-
{ no: 4, name: "error", kind: "message", T: () =>
|
|
5769
|
+
{ no: 4, name: "error", kind: "message", T: () => Je }
|
|
5651
5770
|
]);
|
|
5652
5771
|
}
|
|
5653
5772
|
}
|
|
5654
|
-
const
|
|
5655
|
-
class
|
|
5773
|
+
const Co = new Po();
|
|
5774
|
+
class Eo extends MessageType {
|
|
5656
5775
|
constructor() {
|
|
5657
5776
|
super("socket.room.MovePeerPayload", [
|
|
5658
5777
|
{
|
|
@@ -5672,8 +5791,8 @@ class ao extends MessageType {
|
|
|
5672
5791
|
]);
|
|
5673
5792
|
}
|
|
5674
5793
|
}
|
|
5675
|
-
const
|
|
5676
|
-
class
|
|
5794
|
+
const So = new Eo();
|
|
5795
|
+
class bo extends MessageType {
|
|
5677
5796
|
constructor() {
|
|
5678
5797
|
super("socket.room.MovePeersBetweenRoomsRequest", [
|
|
5679
5798
|
{
|
|
@@ -5690,12 +5809,12 @@ class co extends MessageType {
|
|
|
5690
5809
|
opt: true,
|
|
5691
5810
|
T: 9
|
|
5692
5811
|
},
|
|
5693
|
-
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
5812
|
+
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () => So }
|
|
5694
5813
|
]);
|
|
5695
5814
|
}
|
|
5696
5815
|
}
|
|
5697
|
-
new
|
|
5698
|
-
class
|
|
5816
|
+
new bo();
|
|
5817
|
+
class Lo extends MessageType {
|
|
5699
5818
|
constructor() {
|
|
5700
5819
|
super("socket.room.MovedPeer", [
|
|
5701
5820
|
{
|
|
@@ -5712,20 +5831,20 @@ class uo extends MessageType {
|
|
|
5712
5831
|
opt: true,
|
|
5713
5832
|
T: 9
|
|
5714
5833
|
},
|
|
5715
|
-
{ no: 3, name: "error", kind: "message", T: () =>
|
|
5834
|
+
{ no: 3, name: "error", kind: "message", T: () => Je }
|
|
5716
5835
|
]);
|
|
5717
5836
|
}
|
|
5718
5837
|
}
|
|
5719
|
-
const
|
|
5720
|
-
class
|
|
5838
|
+
const xo = new Lo();
|
|
5839
|
+
class Oo extends MessageType {
|
|
5721
5840
|
constructor() {
|
|
5722
5841
|
super("socket.room.MovePeersBetweenRoomsResponse", [
|
|
5723
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5842
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => xo }
|
|
5724
5843
|
]);
|
|
5725
5844
|
}
|
|
5726
5845
|
}
|
|
5727
|
-
new
|
|
5728
|
-
class
|
|
5846
|
+
new Oo();
|
|
5847
|
+
class Mo extends MessageType {
|
|
5729
5848
|
constructor() {
|
|
5730
5849
|
super("socket.room.TransferPeer", [
|
|
5731
5850
|
{
|
|
@@ -5745,16 +5864,16 @@ class mo extends MessageType {
|
|
|
5745
5864
|
]);
|
|
5746
5865
|
}
|
|
5747
5866
|
}
|
|
5748
|
-
new
|
|
5749
|
-
class
|
|
5867
|
+
new Mo();
|
|
5868
|
+
class qo extends MessageType {
|
|
5750
5869
|
constructor() {
|
|
5751
5870
|
super("socket.room.GetAllAddedParticipantsResponse", [
|
|
5752
|
-
{ no: 1, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
5871
|
+
{ no: 1, name: "participants", kind: "message", repeat: 1, T: () => No }
|
|
5753
5872
|
]);
|
|
5754
5873
|
}
|
|
5755
5874
|
}
|
|
5756
|
-
new
|
|
5757
|
-
class
|
|
5875
|
+
new qo();
|
|
5876
|
+
class $o extends MessageType {
|
|
5758
5877
|
constructor() {
|
|
5759
5878
|
super("socket.room.AddedParticipant", [
|
|
5760
5879
|
{
|
|
@@ -5786,8 +5905,8 @@ class fo extends MessageType {
|
|
|
5786
5905
|
]);
|
|
5787
5906
|
}
|
|
5788
5907
|
}
|
|
5789
|
-
const
|
|
5790
|
-
class
|
|
5908
|
+
const No = new $o();
|
|
5909
|
+
class Ao extends MessageType {
|
|
5791
5910
|
constructor() {
|
|
5792
5911
|
super("socket.room.RemoveParticipantsRequest", [
|
|
5793
5912
|
{
|
|
@@ -5800,8 +5919,8 @@ class ko extends MessageType {
|
|
|
5800
5919
|
]);
|
|
5801
5920
|
}
|
|
5802
5921
|
}
|
|
5803
|
-
new
|
|
5804
|
-
class
|
|
5922
|
+
new Ao();
|
|
5923
|
+
class Io extends MessageType {
|
|
5805
5924
|
constructor() {
|
|
5806
5925
|
super("socket.room.BroadcastMessage", [
|
|
5807
5926
|
{
|
|
@@ -5830,12 +5949,12 @@ class go extends MessageType {
|
|
|
5830
5949
|
repeat: 2,
|
|
5831
5950
|
T: 9
|
|
5832
5951
|
},
|
|
5833
|
-
{ no: 5, name: "broadcast_type", kind: "enum", opt: true, T: () => ["socket.room.BroadcastType",
|
|
5952
|
+
{ no: 5, name: "broadcast_type", kind: "enum", opt: true, T: () => ["socket.room.BroadcastType", Fe, "BROADCAST_TYPE_"] }
|
|
5834
5953
|
]);
|
|
5835
5954
|
}
|
|
5836
5955
|
}
|
|
5837
|
-
new
|
|
5838
|
-
class
|
|
5956
|
+
new Io();
|
|
5957
|
+
class Do extends MessageType {
|
|
5839
5958
|
constructor() {
|
|
5840
5959
|
super("socket.room.AcceptWaitingRoomRequests", [
|
|
5841
5960
|
{
|
|
@@ -5848,8 +5967,8 @@ class yo extends MessageType {
|
|
|
5848
5967
|
]);
|
|
5849
5968
|
}
|
|
5850
5969
|
}
|
|
5851
|
-
new
|
|
5852
|
-
class
|
|
5970
|
+
new Do();
|
|
5971
|
+
class Uo extends MessageType {
|
|
5853
5972
|
constructor() {
|
|
5854
5973
|
super("socket.room.DenyWaitingRoomRequests", [
|
|
5855
5974
|
{
|
|
@@ -5862,8 +5981,8 @@ class Ro extends MessageType {
|
|
|
5862
5981
|
]);
|
|
5863
5982
|
}
|
|
5864
5983
|
}
|
|
5865
|
-
new
|
|
5866
|
-
class
|
|
5984
|
+
new Uo();
|
|
5985
|
+
class Bo extends MessageType {
|
|
5867
5986
|
constructor() {
|
|
5868
5987
|
super("socket.room.WaitingRoomRequest", [
|
|
5869
5988
|
{
|
|
@@ -5908,16 +6027,16 @@ class vo extends MessageType {
|
|
|
5908
6027
|
]);
|
|
5909
6028
|
}
|
|
5910
6029
|
}
|
|
5911
|
-
const
|
|
5912
|
-
class
|
|
6030
|
+
const Go = new Bo();
|
|
6031
|
+
class jo extends MessageType {
|
|
5913
6032
|
constructor() {
|
|
5914
6033
|
super("socket.room.GetWaitingRoomRequests", [
|
|
5915
|
-
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () =>
|
|
6034
|
+
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () => Go }
|
|
5916
6035
|
]);
|
|
5917
6036
|
}
|
|
5918
6037
|
}
|
|
5919
|
-
new
|
|
5920
|
-
class
|
|
6038
|
+
new jo();
|
|
6039
|
+
class Wo extends MessageType {
|
|
5921
6040
|
constructor() {
|
|
5922
6041
|
super("socket.room.GetRoomStageStateResponse", [
|
|
5923
6042
|
{
|
|
@@ -5944,16 +6063,16 @@ class wo extends MessageType {
|
|
|
5944
6063
|
]);
|
|
5945
6064
|
}
|
|
5946
6065
|
}
|
|
5947
|
-
new
|
|
5948
|
-
var
|
|
6066
|
+
new Wo();
|
|
6067
|
+
var Ve;
|
|
5949
6068
|
(function(e) {
|
|
5950
6069
|
e[e.NONE = 0] = "NONE", e[e.SKIP = 1] = "SKIP", e[e.ON_PRIVILEGED_USER_ENTRY = 2] = "ON_PRIVILEGED_USER_ENTRY", e[e.SKIP_ON_ACCEPT = 3] = "SKIP_ON_ACCEPT";
|
|
5951
|
-
})(
|
|
5952
|
-
var
|
|
6070
|
+
})(Ve || (Ve = {}));
|
|
6071
|
+
var ge;
|
|
5953
6072
|
(function(e) {
|
|
5954
6073
|
e[e.NONE = 0] = "NONE", e[e.ALLOWED = 1] = "ALLOWED", e[e.NOT_ALLOWED = 2] = "NOT_ALLOWED", e[e.CAN_REQUEST = 3] = "CAN_REQUEST";
|
|
5955
|
-
})(
|
|
5956
|
-
class
|
|
6074
|
+
})(ge || (ge = {}));
|
|
6075
|
+
class Fo extends MessageType {
|
|
5957
6076
|
constructor() {
|
|
5958
6077
|
super("socket.preset.PollsPermissionUpdate", [
|
|
5959
6078
|
{
|
|
@@ -5980,8 +6099,8 @@ class Co extends MessageType {
|
|
|
5980
6099
|
]);
|
|
5981
6100
|
}
|
|
5982
6101
|
}
|
|
5983
|
-
const
|
|
5984
|
-
class
|
|
6102
|
+
const Ko = new Fo();
|
|
6103
|
+
class Vo extends MessageType {
|
|
5985
6104
|
constructor() {
|
|
5986
6105
|
super("socket.preset.PluginsPermissionsUpdate", [
|
|
5987
6106
|
{
|
|
@@ -6001,8 +6120,8 @@ class So extends MessageType {
|
|
|
6001
6120
|
]);
|
|
6002
6121
|
}
|
|
6003
6122
|
}
|
|
6004
|
-
const
|
|
6005
|
-
class
|
|
6123
|
+
const Ho = new Vo();
|
|
6124
|
+
class Jo extends MessageType {
|
|
6006
6125
|
constructor() {
|
|
6007
6126
|
super("socket.preset.PublicChatPermission", [
|
|
6008
6127
|
{
|
|
@@ -6029,8 +6148,8 @@ class Lo extends MessageType {
|
|
|
6029
6148
|
]);
|
|
6030
6149
|
}
|
|
6031
6150
|
}
|
|
6032
|
-
const
|
|
6033
|
-
class
|
|
6151
|
+
const Zo = new Jo();
|
|
6152
|
+
class zo extends MessageType {
|
|
6034
6153
|
constructor() {
|
|
6035
6154
|
super("socket.preset.PrivateChatPermission", [
|
|
6036
6155
|
{
|
|
@@ -6064,17 +6183,17 @@ class Oo extends MessageType {
|
|
|
6064
6183
|
]);
|
|
6065
6184
|
}
|
|
6066
6185
|
}
|
|
6067
|
-
const
|
|
6068
|
-
class
|
|
6186
|
+
const Yo = new zo();
|
|
6187
|
+
class Qo extends MessageType {
|
|
6069
6188
|
constructor() {
|
|
6070
6189
|
super("socket.preset.ChatPermissionUpdate", [
|
|
6071
|
-
{ no: 1, name: "public", kind: "message", T: () =>
|
|
6072
|
-
{ no: 2, name: "private", kind: "message", T: () =>
|
|
6190
|
+
{ no: 1, name: "public", kind: "message", T: () => Zo },
|
|
6191
|
+
{ no: 2, name: "private", kind: "message", T: () => Yo }
|
|
6073
6192
|
]);
|
|
6074
6193
|
}
|
|
6075
6194
|
}
|
|
6076
|
-
const
|
|
6077
|
-
class
|
|
6195
|
+
const Xo = new Qo();
|
|
6196
|
+
class ea extends MessageType {
|
|
6078
6197
|
constructor() {
|
|
6079
6198
|
super("socket.preset.ConnectedMeetingPermissionUpdate", [
|
|
6080
6199
|
{
|
|
@@ -6101,32 +6220,32 @@ class No extends MessageType {
|
|
|
6101
6220
|
]);
|
|
6102
6221
|
}
|
|
6103
6222
|
}
|
|
6104
|
-
const
|
|
6105
|
-
class
|
|
6223
|
+
const na = new ea();
|
|
6224
|
+
class ta extends MessageType {
|
|
6106
6225
|
constructor() {
|
|
6107
6226
|
super("socket.preset.StreamPermission", [
|
|
6108
|
-
{ no: 1, name: "can_produce", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType",
|
|
6109
|
-
{ no: 2, name: "can_consume", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType",
|
|
6227
|
+
{ no: 1, name: "can_produce", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", ge, "STREAM_PERMISSION_TYPE_"] },
|
|
6228
|
+
{ no: 2, name: "can_consume", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", ge, "STREAM_PERMISSION_TYPE_"] }
|
|
6110
6229
|
]);
|
|
6111
6230
|
}
|
|
6112
6231
|
}
|
|
6113
|
-
const
|
|
6114
|
-
class
|
|
6232
|
+
const Ie = new ta();
|
|
6233
|
+
class sa extends MessageType {
|
|
6115
6234
|
constructor() {
|
|
6116
6235
|
super("socket.preset.MediaPermissionUpdate", [
|
|
6117
|
-
{ no: 1, name: "video", kind: "message", T: () =>
|
|
6118
|
-
{ no: 2, name: "audio", kind: "message", T: () =>
|
|
6119
|
-
{ no: 3, name: "screenshare", kind: "message", T: () =>
|
|
6236
|
+
{ no: 1, name: "video", kind: "message", T: () => Ie },
|
|
6237
|
+
{ no: 2, name: "audio", kind: "message", T: () => Ie },
|
|
6238
|
+
{ no: 3, name: "screenshare", kind: "message", T: () => Ie }
|
|
6120
6239
|
]);
|
|
6121
6240
|
}
|
|
6122
6241
|
}
|
|
6123
|
-
const
|
|
6124
|
-
class
|
|
6242
|
+
const ra = new sa();
|
|
6243
|
+
class oa extends MessageType {
|
|
6125
6244
|
constructor() {
|
|
6126
6245
|
super("socket.preset.PresetUpdates", [
|
|
6127
|
-
{ no: 1, name: "polls", kind: "message", T: () =>
|
|
6128
|
-
{ no: 2, name: "plugins", kind: "message", T: () =>
|
|
6129
|
-
{ no: 3, name: "chat", kind: "message", T: () =>
|
|
6246
|
+
{ no: 1, name: "polls", kind: "message", T: () => Ko },
|
|
6247
|
+
{ no: 2, name: "plugins", kind: "message", T: () => Ho },
|
|
6248
|
+
{ no: 3, name: "chat", kind: "message", T: () => Xo },
|
|
6130
6249
|
{
|
|
6131
6250
|
no: 4,
|
|
6132
6251
|
name: "accept_waiting_requests",
|
|
@@ -6211,7 +6330,7 @@ class Bo extends MessageType {
|
|
|
6211
6330
|
opt: true,
|
|
6212
6331
|
T: 8
|
|
6213
6332
|
},
|
|
6214
|
-
{ no: 16, name: "waiting_room_type", kind: "enum", opt: true, T: () => ["socket.preset.WaitingRoomType",
|
|
6333
|
+
{ no: 16, name: "waiting_room_type", kind: "enum", opt: true, T: () => ["socket.preset.WaitingRoomType", Ve, "WAITING_ROOM_TYPE_"] },
|
|
6215
6334
|
{
|
|
6216
6335
|
no: 17,
|
|
6217
6336
|
name: "is_recorder",
|
|
@@ -6219,7 +6338,7 @@ class Bo extends MessageType {
|
|
|
6219
6338
|
opt: true,
|
|
6220
6339
|
T: 8
|
|
6221
6340
|
},
|
|
6222
|
-
{ no: 18, name: "recorder_type", kind: "enum", opt: true, T: () => ["socket.room.RecorderType",
|
|
6341
|
+
{ no: 18, name: "recorder_type", kind: "enum", opt: true, T: () => ["socket.room.RecorderType", We, "RECORDER_TYPE_"] },
|
|
6223
6342
|
{
|
|
6224
6343
|
no: 19,
|
|
6225
6344
|
name: "hidden_participant",
|
|
@@ -6241,13 +6360,13 @@ class Bo extends MessageType {
|
|
|
6241
6360
|
opt: true,
|
|
6242
6361
|
T: 8
|
|
6243
6362
|
},
|
|
6244
|
-
{ no: 22, name: "connected_meetings", kind: "message", T: () =>
|
|
6245
|
-
{ no: 23, name: "media", kind: "message", T: () =>
|
|
6363
|
+
{ no: 22, name: "connected_meetings", kind: "message", T: () => na },
|
|
6364
|
+
{ no: 23, name: "media", kind: "message", T: () => ra }
|
|
6246
6365
|
]);
|
|
6247
6366
|
}
|
|
6248
6367
|
}
|
|
6249
|
-
const
|
|
6250
|
-
class
|
|
6368
|
+
const Ze = new oa();
|
|
6369
|
+
class aa extends MessageType {
|
|
6251
6370
|
constructor() {
|
|
6252
6371
|
super("socket.preset.ReadPeersPresetRequest", [
|
|
6253
6372
|
{
|
|
@@ -6260,8 +6379,8 @@ class Go extends MessageType {
|
|
|
6260
6379
|
]);
|
|
6261
6380
|
}
|
|
6262
6381
|
}
|
|
6263
|
-
new
|
|
6264
|
-
class
|
|
6382
|
+
new aa();
|
|
6383
|
+
class ia extends MessageType {
|
|
6265
6384
|
constructor() {
|
|
6266
6385
|
super("socket.preset.PeerPreset", [
|
|
6267
6386
|
{
|
|
@@ -6285,16 +6404,16 @@ class jo extends MessageType {
|
|
|
6285
6404
|
]);
|
|
6286
6405
|
}
|
|
6287
6406
|
}
|
|
6288
|
-
const
|
|
6289
|
-
class
|
|
6407
|
+
const ca = new ia();
|
|
6408
|
+
class da extends MessageType {
|
|
6290
6409
|
constructor() {
|
|
6291
6410
|
super("socket.preset.ReadPeersPresetResponse", [
|
|
6292
|
-
{ no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () =>
|
|
6411
|
+
{ no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => ca }
|
|
6293
6412
|
]);
|
|
6294
6413
|
}
|
|
6295
6414
|
}
|
|
6296
|
-
new
|
|
6297
|
-
class
|
|
6415
|
+
new da();
|
|
6416
|
+
class ua extends MessageType {
|
|
6298
6417
|
constructor() {
|
|
6299
6418
|
super("socket.preset.UpdatePeerPreset", [
|
|
6300
6419
|
{
|
|
@@ -6303,28 +6422,28 @@ class Ko extends MessageType {
|
|
|
6303
6422
|
kind: "scalar",
|
|
6304
6423
|
T: 9
|
|
6305
6424
|
},
|
|
6306
|
-
{ no: 2, name: "patch", kind: "message", T: () =>
|
|
6425
|
+
{ no: 2, name: "patch", kind: "message", T: () => Ze }
|
|
6307
6426
|
]);
|
|
6308
6427
|
}
|
|
6309
6428
|
}
|
|
6310
|
-
const
|
|
6311
|
-
class
|
|
6429
|
+
const Hn = new ua();
|
|
6430
|
+
class pa extends MessageType {
|
|
6312
6431
|
constructor() {
|
|
6313
6432
|
super("socket.preset.UpdatePeersPresetRequest", [
|
|
6314
|
-
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () =>
|
|
6433
|
+
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Hn }
|
|
6315
6434
|
]);
|
|
6316
6435
|
}
|
|
6317
6436
|
}
|
|
6318
|
-
new
|
|
6319
|
-
class
|
|
6437
|
+
new pa();
|
|
6438
|
+
class la extends MessageType {
|
|
6320
6439
|
constructor() {
|
|
6321
6440
|
super("socket.preset.UpdatePeersPresetResponse", [
|
|
6322
|
-
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () =>
|
|
6441
|
+
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Hn }
|
|
6323
6442
|
]);
|
|
6324
6443
|
}
|
|
6325
6444
|
}
|
|
6326
|
-
new
|
|
6327
|
-
class
|
|
6445
|
+
new la();
|
|
6446
|
+
class ma extends MessageType {
|
|
6328
6447
|
constructor() {
|
|
6329
6448
|
super("socket.preset.PeerUserIDMap", [
|
|
6330
6449
|
{
|
|
@@ -6342,25 +6461,25 @@ class Jo extends MessageType {
|
|
|
6342
6461
|
]);
|
|
6343
6462
|
}
|
|
6344
6463
|
}
|
|
6345
|
-
const
|
|
6346
|
-
class
|
|
6464
|
+
const Ta = new ma();
|
|
6465
|
+
class fa extends MessageType {
|
|
6347
6466
|
constructor() {
|
|
6348
6467
|
super("socket.preset.BulkUpdatePeerPresetRequest", [
|
|
6349
|
-
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () =>
|
|
6350
|
-
{ no: 2, name: "patch", kind: "message", T: () =>
|
|
6468
|
+
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () => Ta },
|
|
6469
|
+
{ no: 2, name: "patch", kind: "message", T: () => Ze }
|
|
6351
6470
|
]);
|
|
6352
6471
|
}
|
|
6353
6472
|
}
|
|
6354
|
-
new
|
|
6355
|
-
class
|
|
6473
|
+
new fa();
|
|
6474
|
+
class ha extends MessageType {
|
|
6356
6475
|
constructor() {
|
|
6357
6476
|
super("socket.preset.BulkUpdatePeerPresetResponse", [
|
|
6358
|
-
{ no: 2, name: "patch", kind: "message", T: () =>
|
|
6477
|
+
{ no: 2, name: "patch", kind: "message", T: () => Ze }
|
|
6359
6478
|
]);
|
|
6360
6479
|
}
|
|
6361
6480
|
}
|
|
6362
|
-
new
|
|
6363
|
-
class
|
|
6481
|
+
new ha();
|
|
6482
|
+
class ka extends MessageType {
|
|
6364
6483
|
constructor() {
|
|
6365
6484
|
super("socket.chat.ChatMessage", [
|
|
6366
6485
|
{
|
|
@@ -6450,8 +6569,8 @@ class Qo extends MessageType {
|
|
|
6450
6569
|
]);
|
|
6451
6570
|
}
|
|
6452
6571
|
}
|
|
6453
|
-
const
|
|
6454
|
-
class
|
|
6572
|
+
const F = new ka();
|
|
6573
|
+
class ga extends MessageType {
|
|
6455
6574
|
constructor() {
|
|
6456
6575
|
super("socket.chat.GetPaginatedChatMessageRoomRequest", [
|
|
6457
6576
|
{
|
|
@@ -6489,11 +6608,11 @@ class Xo extends MessageType {
|
|
|
6489
6608
|
]);
|
|
6490
6609
|
}
|
|
6491
6610
|
}
|
|
6492
|
-
new
|
|
6493
|
-
class
|
|
6611
|
+
new ga();
|
|
6612
|
+
class ya extends MessageType {
|
|
6494
6613
|
constructor() {
|
|
6495
6614
|
super("socket.chat.GetPaginatedChatMessageRoomResponse", [
|
|
6496
|
-
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () =>
|
|
6615
|
+
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => F },
|
|
6497
6616
|
{
|
|
6498
6617
|
no: 2,
|
|
6499
6618
|
name: "next",
|
|
@@ -6503,16 +6622,16 @@ class ea extends MessageType {
|
|
|
6503
6622
|
]);
|
|
6504
6623
|
}
|
|
6505
6624
|
}
|
|
6506
|
-
new
|
|
6507
|
-
class
|
|
6625
|
+
new ya();
|
|
6626
|
+
class va extends MessageType {
|
|
6508
6627
|
constructor() {
|
|
6509
6628
|
super("socket.chat.GetChatMessagesResponse", [
|
|
6510
|
-
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () =>
|
|
6629
|
+
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => F }
|
|
6511
6630
|
]);
|
|
6512
6631
|
}
|
|
6513
6632
|
}
|
|
6514
|
-
new
|
|
6515
|
-
class
|
|
6633
|
+
new va();
|
|
6634
|
+
class Ra extends MessageType {
|
|
6516
6635
|
constructor() {
|
|
6517
6636
|
super("socket.chat.SendChatMessageToRoomRequest", [
|
|
6518
6637
|
{
|
|
@@ -6530,16 +6649,16 @@ class ta extends MessageType {
|
|
|
6530
6649
|
]);
|
|
6531
6650
|
}
|
|
6532
6651
|
}
|
|
6533
|
-
new
|
|
6534
|
-
class
|
|
6652
|
+
new Ra();
|
|
6653
|
+
class _a extends MessageType {
|
|
6535
6654
|
constructor() {
|
|
6536
6655
|
super("socket.chat.SendChatMessageToRoomResponse", [
|
|
6537
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6656
|
+
{ no: 1, name: "message", kind: "message", T: () => F }
|
|
6538
6657
|
]);
|
|
6539
6658
|
}
|
|
6540
6659
|
}
|
|
6541
|
-
new
|
|
6542
|
-
class
|
|
6660
|
+
new _a();
|
|
6661
|
+
class wa extends MessageType {
|
|
6543
6662
|
constructor() {
|
|
6544
6663
|
super("socket.chat.SendChatMessageToPeersRequest", [
|
|
6545
6664
|
{
|
|
@@ -6564,16 +6683,16 @@ class ra extends MessageType {
|
|
|
6564
6683
|
]);
|
|
6565
6684
|
}
|
|
6566
6685
|
}
|
|
6567
|
-
new
|
|
6568
|
-
class
|
|
6686
|
+
new wa();
|
|
6687
|
+
class Pa extends MessageType {
|
|
6569
6688
|
constructor() {
|
|
6570
6689
|
super("socket.chat.SendChatMessageToPeersResponse", [
|
|
6571
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6690
|
+
{ no: 1, name: "message", kind: "message", T: () => F }
|
|
6572
6691
|
]);
|
|
6573
6692
|
}
|
|
6574
6693
|
}
|
|
6575
|
-
new
|
|
6576
|
-
class
|
|
6694
|
+
new Pa();
|
|
6695
|
+
class Ca extends MessageType {
|
|
6577
6696
|
constructor() {
|
|
6578
6697
|
super("socket.chat.SendChatMessageToChannelRequest", [
|
|
6579
6698
|
{
|
|
@@ -6597,16 +6716,16 @@ class aa extends MessageType {
|
|
|
6597
6716
|
]);
|
|
6598
6717
|
}
|
|
6599
6718
|
}
|
|
6600
|
-
new
|
|
6601
|
-
class
|
|
6719
|
+
new Ca();
|
|
6720
|
+
class Ea extends MessageType {
|
|
6602
6721
|
constructor() {
|
|
6603
6722
|
super("socket.chat.SendChatMessageToChannelResponse", [
|
|
6604
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6723
|
+
{ no: 1, name: "message", kind: "message", T: () => F }
|
|
6605
6724
|
]);
|
|
6606
6725
|
}
|
|
6607
6726
|
}
|
|
6608
|
-
new
|
|
6609
|
-
class
|
|
6727
|
+
new Ea();
|
|
6728
|
+
class Sa extends MessageType {
|
|
6610
6729
|
constructor() {
|
|
6611
6730
|
super("socket.chat.EditChatMessageRequest", [
|
|
6612
6731
|
{
|
|
@@ -6646,8 +6765,8 @@ class ca extends MessageType {
|
|
|
6646
6765
|
]);
|
|
6647
6766
|
}
|
|
6648
6767
|
}
|
|
6649
|
-
new
|
|
6650
|
-
class
|
|
6768
|
+
new Sa();
|
|
6769
|
+
class ba extends MessageType {
|
|
6651
6770
|
constructor() {
|
|
6652
6771
|
super("socket.chat.PinChatMessageRequest", [
|
|
6653
6772
|
{
|
|
@@ -6672,8 +6791,8 @@ class da extends MessageType {
|
|
|
6672
6791
|
]);
|
|
6673
6792
|
}
|
|
6674
6793
|
}
|
|
6675
|
-
new
|
|
6676
|
-
class
|
|
6794
|
+
new ba();
|
|
6795
|
+
class La extends MessageType {
|
|
6677
6796
|
constructor() {
|
|
6678
6797
|
super("socket.chat.PinChatMessageResponse", [
|
|
6679
6798
|
{
|
|
@@ -6698,16 +6817,16 @@ class ua extends MessageType {
|
|
|
6698
6817
|
]);
|
|
6699
6818
|
}
|
|
6700
6819
|
}
|
|
6701
|
-
new
|
|
6702
|
-
class
|
|
6820
|
+
new La();
|
|
6821
|
+
class xa extends MessageType {
|
|
6703
6822
|
constructor() {
|
|
6704
6823
|
super("socket.chat.EditChatMessageResponse", [
|
|
6705
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6824
|
+
{ no: 1, name: "message", kind: "message", T: () => F }
|
|
6706
6825
|
]);
|
|
6707
6826
|
}
|
|
6708
6827
|
}
|
|
6709
|
-
new
|
|
6710
|
-
class
|
|
6828
|
+
new xa();
|
|
6829
|
+
class Oa extends MessageType {
|
|
6711
6830
|
constructor() {
|
|
6712
6831
|
super("socket.chat.DeleteChatMessageRequest", [
|
|
6713
6832
|
{
|
|
@@ -6726,8 +6845,8 @@ class la extends MessageType {
|
|
|
6726
6845
|
]);
|
|
6727
6846
|
}
|
|
6728
6847
|
}
|
|
6729
|
-
new
|
|
6730
|
-
class
|
|
6848
|
+
new Oa();
|
|
6849
|
+
class Ma extends MessageType {
|
|
6731
6850
|
constructor() {
|
|
6732
6851
|
super("socket.chat.DeleteChatMessageResponse", [
|
|
6733
6852
|
{
|
|
@@ -6746,8 +6865,8 @@ class ma extends MessageType {
|
|
|
6746
6865
|
]);
|
|
6747
6866
|
}
|
|
6748
6867
|
}
|
|
6749
|
-
new
|
|
6750
|
-
class
|
|
6868
|
+
new Ma();
|
|
6869
|
+
class qa extends MessageType {
|
|
6751
6870
|
constructor() {
|
|
6752
6871
|
super("socket.chat.SearchChatMessagesRequest", [
|
|
6753
6872
|
{
|
|
@@ -6791,8 +6910,8 @@ class Ta extends MessageType {
|
|
|
6791
6910
|
]);
|
|
6792
6911
|
}
|
|
6793
6912
|
}
|
|
6794
|
-
new
|
|
6795
|
-
class
|
|
6913
|
+
new qa();
|
|
6914
|
+
class $a extends MessageType {
|
|
6796
6915
|
constructor() {
|
|
6797
6916
|
super("socket.chat.MarkChannelIndexAsReadRequest", [
|
|
6798
6917
|
{
|
|
@@ -6816,8 +6935,8 @@ class fa extends MessageType {
|
|
|
6816
6935
|
]);
|
|
6817
6936
|
}
|
|
6818
6937
|
}
|
|
6819
|
-
new
|
|
6820
|
-
class
|
|
6938
|
+
new $a();
|
|
6939
|
+
class Na extends MessageType {
|
|
6821
6940
|
constructor() {
|
|
6822
6941
|
super("socket.chat.MarkChannelIndexAsReadResponse", [
|
|
6823
6942
|
{
|
|
@@ -6829,8 +6948,8 @@ class ha extends MessageType {
|
|
|
6829
6948
|
]);
|
|
6830
6949
|
}
|
|
6831
6950
|
}
|
|
6832
|
-
new
|
|
6833
|
-
class
|
|
6951
|
+
new Na();
|
|
6952
|
+
class Aa extends MessageType {
|
|
6834
6953
|
constructor() {
|
|
6835
6954
|
super("socket.chat.CreateChatChannelRequest", [
|
|
6836
6955
|
{
|
|
@@ -6868,8 +6987,8 @@ class ka extends MessageType {
|
|
|
6868
6987
|
]);
|
|
6869
6988
|
}
|
|
6870
6989
|
}
|
|
6871
|
-
new
|
|
6872
|
-
class
|
|
6990
|
+
new Aa();
|
|
6991
|
+
class Ia extends MessageType {
|
|
6873
6992
|
constructor() {
|
|
6874
6993
|
super("socket.chat.UpdateChatChannelRequest", [
|
|
6875
6994
|
{
|
|
@@ -6916,8 +7035,8 @@ class ga extends MessageType {
|
|
|
6916
7035
|
]);
|
|
6917
7036
|
}
|
|
6918
7037
|
}
|
|
6919
|
-
new
|
|
6920
|
-
class
|
|
7038
|
+
new Ia();
|
|
7039
|
+
class Da extends MessageType {
|
|
6921
7040
|
constructor() {
|
|
6922
7041
|
super("socket.chat.CreateChatChannelResponse", [
|
|
6923
7042
|
{
|
|
@@ -6929,8 +7048,8 @@ class ya extends MessageType {
|
|
|
6929
7048
|
]);
|
|
6930
7049
|
}
|
|
6931
7050
|
}
|
|
6932
|
-
new
|
|
6933
|
-
class
|
|
7051
|
+
new Da();
|
|
7052
|
+
class Ua extends MessageType {
|
|
6934
7053
|
constructor() {
|
|
6935
7054
|
super("socket.chat.GetChatChannelRequest", [
|
|
6936
7055
|
{
|
|
@@ -6942,11 +7061,11 @@ class Ra extends MessageType {
|
|
|
6942
7061
|
]);
|
|
6943
7062
|
}
|
|
6944
7063
|
}
|
|
6945
|
-
new
|
|
6946
|
-
class
|
|
7064
|
+
new Ua();
|
|
7065
|
+
class Ba extends MessageType {
|
|
6947
7066
|
constructor() {
|
|
6948
7067
|
super("socket.chat.LatestMessageAndUnreadCount", [
|
|
6949
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
7068
|
+
{ no: 1, name: "message", kind: "message", T: () => F },
|
|
6950
7069
|
{
|
|
6951
7070
|
no: 2,
|
|
6952
7071
|
name: "unread_count",
|
|
@@ -6957,8 +7076,8 @@ class va extends MessageType {
|
|
|
6957
7076
|
]);
|
|
6958
7077
|
}
|
|
6959
7078
|
}
|
|
6960
|
-
const
|
|
6961
|
-
class
|
|
7079
|
+
const Ga = new Ba();
|
|
7080
|
+
class ja extends MessageType {
|
|
6962
7081
|
constructor() {
|
|
6963
7082
|
super("socket.chat.ChatChannel", [
|
|
6964
7083
|
{
|
|
@@ -6992,7 +7111,7 @@ class Pa extends MessageType {
|
|
|
6992
7111
|
kind: "scalar",
|
|
6993
7112
|
T: 8
|
|
6994
7113
|
},
|
|
6995
|
-
{ no: 6, name: "latest_message_and_unread_count", kind: "message", T: () =>
|
|
7114
|
+
{ no: 6, name: "latest_message_and_unread_count", kind: "message", T: () => Ga },
|
|
6996
7115
|
{
|
|
6997
7116
|
no: 7,
|
|
6998
7117
|
name: "target_user_ids",
|
|
@@ -7003,16 +7122,16 @@ class Pa extends MessageType {
|
|
|
7003
7122
|
]);
|
|
7004
7123
|
}
|
|
7005
7124
|
}
|
|
7006
|
-
const
|
|
7007
|
-
class
|
|
7125
|
+
const Wa = new ja();
|
|
7126
|
+
class Fa extends MessageType {
|
|
7008
7127
|
constructor() {
|
|
7009
7128
|
super("socket.chat.GetChatChannelResponse", [
|
|
7010
|
-
{ no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () =>
|
|
7129
|
+
{ no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => Wa }
|
|
7011
7130
|
]);
|
|
7012
7131
|
}
|
|
7013
7132
|
}
|
|
7014
|
-
new
|
|
7015
|
-
class
|
|
7133
|
+
new Fa();
|
|
7134
|
+
class Ka extends MessageType {
|
|
7016
7135
|
constructor() {
|
|
7017
7136
|
super("socket.chat.ChannelMember", [
|
|
7018
7137
|
{
|
|
@@ -7044,16 +7163,16 @@ class Ea extends MessageType {
|
|
|
7044
7163
|
]);
|
|
7045
7164
|
}
|
|
7046
7165
|
}
|
|
7047
|
-
const
|
|
7048
|
-
class
|
|
7166
|
+
const Va = new Ka();
|
|
7167
|
+
class Ha extends MessageType {
|
|
7049
7168
|
constructor() {
|
|
7050
7169
|
super("socket.chat.GetChatChannelMembersResponse", [
|
|
7051
|
-
{ no: 1, name: "channel_members", kind: "message", repeat: 1, T: () =>
|
|
7170
|
+
{ no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => Va }
|
|
7052
7171
|
]);
|
|
7053
7172
|
}
|
|
7054
7173
|
}
|
|
7055
|
-
new
|
|
7056
|
-
class
|
|
7174
|
+
new Ha();
|
|
7175
|
+
class Ja extends MessageType {
|
|
7057
7176
|
constructor() {
|
|
7058
7177
|
super("socket.plugin.AddPluginRequest", [
|
|
7059
7178
|
{
|
|
@@ -7071,8 +7190,8 @@ class La extends MessageType {
|
|
|
7071
7190
|
]);
|
|
7072
7191
|
}
|
|
7073
7192
|
}
|
|
7074
|
-
new
|
|
7075
|
-
class
|
|
7193
|
+
new Ja();
|
|
7194
|
+
class Za extends MessageType {
|
|
7076
7195
|
constructor() {
|
|
7077
7196
|
super("socket.plugin.RemovePluginRequest", [
|
|
7078
7197
|
{
|
|
@@ -7090,8 +7209,8 @@ class xa extends MessageType {
|
|
|
7090
7209
|
]);
|
|
7091
7210
|
}
|
|
7092
7211
|
}
|
|
7093
|
-
new
|
|
7094
|
-
class
|
|
7212
|
+
new Za();
|
|
7213
|
+
class za extends MessageType {
|
|
7095
7214
|
constructor() {
|
|
7096
7215
|
super("socket.plugin.EnablePluginForRoomRequest", [
|
|
7097
7216
|
{
|
|
@@ -7103,8 +7222,8 @@ class Oa extends MessageType {
|
|
|
7103
7222
|
]);
|
|
7104
7223
|
}
|
|
7105
7224
|
}
|
|
7106
|
-
new
|
|
7107
|
-
class
|
|
7225
|
+
new za();
|
|
7226
|
+
class Ya extends MessageType {
|
|
7108
7227
|
constructor() {
|
|
7109
7228
|
super("socket.plugin.DisablePluginForRoomRequest", [
|
|
7110
7229
|
{
|
|
@@ -7116,8 +7235,8 @@ class Ma extends MessageType {
|
|
|
7116
7235
|
]);
|
|
7117
7236
|
}
|
|
7118
7237
|
}
|
|
7119
|
-
new
|
|
7120
|
-
class
|
|
7238
|
+
new Ya();
|
|
7239
|
+
class Qa extends MessageType {
|
|
7121
7240
|
constructor() {
|
|
7122
7241
|
super("socket.plugin.EnablePluginForPeersRequest", [
|
|
7123
7242
|
{
|
|
@@ -7136,8 +7255,8 @@ class qa extends MessageType {
|
|
|
7136
7255
|
]);
|
|
7137
7256
|
}
|
|
7138
7257
|
}
|
|
7139
|
-
new
|
|
7140
|
-
class
|
|
7258
|
+
new Qa();
|
|
7259
|
+
class Xa extends MessageType {
|
|
7141
7260
|
constructor() {
|
|
7142
7261
|
super("socket.plugin.DisablePluginForPeersRequest", [
|
|
7143
7262
|
{
|
|
@@ -7156,8 +7275,8 @@ class $a extends MessageType {
|
|
|
7156
7275
|
]);
|
|
7157
7276
|
}
|
|
7158
7277
|
}
|
|
7159
|
-
new
|
|
7160
|
-
class
|
|
7278
|
+
new Xa();
|
|
7279
|
+
class ei extends MessageType {
|
|
7161
7280
|
constructor() {
|
|
7162
7281
|
super("socket.plugin.PluginEventToRoomRequest", [
|
|
7163
7282
|
{
|
|
@@ -7175,8 +7294,8 @@ class Na extends MessageType {
|
|
|
7175
7294
|
]);
|
|
7176
7295
|
}
|
|
7177
7296
|
}
|
|
7178
|
-
new
|
|
7179
|
-
class
|
|
7297
|
+
new ei();
|
|
7298
|
+
class ni extends MessageType {
|
|
7180
7299
|
constructor() {
|
|
7181
7300
|
super("socket.plugin.PluginEventToPeersRequest", [
|
|
7182
7301
|
{
|
|
@@ -7201,8 +7320,8 @@ class Aa extends MessageType {
|
|
|
7201
7320
|
]);
|
|
7202
7321
|
}
|
|
7203
7322
|
}
|
|
7204
|
-
new
|
|
7205
|
-
class
|
|
7323
|
+
new ni();
|
|
7324
|
+
class ti extends MessageType {
|
|
7206
7325
|
constructor() {
|
|
7207
7326
|
super("socket.plugin.StoreKeys", [
|
|
7208
7327
|
{
|
|
@@ -7221,8 +7340,8 @@ class Ia extends MessageType {
|
|
|
7221
7340
|
]);
|
|
7222
7341
|
}
|
|
7223
7342
|
}
|
|
7224
|
-
const
|
|
7225
|
-
class
|
|
7343
|
+
const ze = new ti();
|
|
7344
|
+
class si extends MessageType {
|
|
7226
7345
|
constructor() {
|
|
7227
7346
|
super("socket.plugin.PluginStoreInsertKeysRequest", [
|
|
7228
7347
|
{
|
|
@@ -7237,12 +7356,12 @@ class Da extends MessageType {
|
|
|
7237
7356
|
kind: "scalar",
|
|
7238
7357
|
T: 9
|
|
7239
7358
|
},
|
|
7240
|
-
{ no: 3, name: "insert_keys", kind: "message", repeat: 1, T: () =>
|
|
7359
|
+
{ no: 3, name: "insert_keys", kind: "message", repeat: 1, T: () => ze }
|
|
7241
7360
|
]);
|
|
7242
7361
|
}
|
|
7243
7362
|
}
|
|
7244
|
-
new
|
|
7245
|
-
class
|
|
7363
|
+
new si();
|
|
7364
|
+
class ri extends MessageType {
|
|
7246
7365
|
constructor() {
|
|
7247
7366
|
super("socket.plugin.PluginStoreGetKeysRequest", [
|
|
7248
7367
|
{
|
|
@@ -7257,12 +7376,12 @@ class Ua extends MessageType {
|
|
|
7257
7376
|
kind: "scalar",
|
|
7258
7377
|
T: 9
|
|
7259
7378
|
},
|
|
7260
|
-
{ no: 3, name: "get_keys", kind: "message", repeat: 1, T: () =>
|
|
7379
|
+
{ no: 3, name: "get_keys", kind: "message", repeat: 1, T: () => ze }
|
|
7261
7380
|
]);
|
|
7262
7381
|
}
|
|
7263
7382
|
}
|
|
7264
|
-
new
|
|
7265
|
-
class
|
|
7383
|
+
new ri();
|
|
7384
|
+
class oi extends MessageType {
|
|
7266
7385
|
constructor() {
|
|
7267
7386
|
super("socket.plugin.PluginStoreDeleteKeysRequest", [
|
|
7268
7387
|
{
|
|
@@ -7277,12 +7396,12 @@ class Ba extends MessageType {
|
|
|
7277
7396
|
kind: "scalar",
|
|
7278
7397
|
T: 9
|
|
7279
7398
|
},
|
|
7280
|
-
{ no: 3, name: "delete_keys", kind: "message", repeat: 1, T: () =>
|
|
7399
|
+
{ no: 3, name: "delete_keys", kind: "message", repeat: 1, T: () => ze }
|
|
7281
7400
|
]);
|
|
7282
7401
|
}
|
|
7283
7402
|
}
|
|
7284
|
-
new
|
|
7285
|
-
class
|
|
7403
|
+
new oi();
|
|
7404
|
+
class ai extends MessageType {
|
|
7286
7405
|
constructor() {
|
|
7287
7406
|
super("socket.plugin.PluginStoreDeleteRequest", [
|
|
7288
7407
|
{
|
|
@@ -7300,8 +7419,8 @@ class Ga extends MessageType {
|
|
|
7300
7419
|
]);
|
|
7301
7420
|
}
|
|
7302
7421
|
}
|
|
7303
|
-
new
|
|
7304
|
-
class
|
|
7422
|
+
new ai();
|
|
7423
|
+
class ii extends MessageType {
|
|
7305
7424
|
constructor() {
|
|
7306
7425
|
super("socket.plugin.EnablePluginResponse", [
|
|
7307
7426
|
{
|
|
@@ -7319,16 +7438,16 @@ class ja extends MessageType {
|
|
|
7319
7438
|
]);
|
|
7320
7439
|
}
|
|
7321
7440
|
}
|
|
7322
|
-
const
|
|
7323
|
-
class
|
|
7441
|
+
const ci = new ii();
|
|
7442
|
+
class di extends MessageType {
|
|
7324
7443
|
constructor() {
|
|
7325
7444
|
super("socket.plugin.EnablePluginsResponse", [
|
|
7326
|
-
{ no: 1, name: "plugins", kind: "message", repeat: 1, T: () =>
|
|
7445
|
+
{ no: 1, name: "plugins", kind: "message", repeat: 1, T: () => ci }
|
|
7327
7446
|
]);
|
|
7328
7447
|
}
|
|
7329
7448
|
}
|
|
7330
|
-
new
|
|
7331
|
-
class
|
|
7449
|
+
new di();
|
|
7450
|
+
class ui extends MessageType {
|
|
7332
7451
|
constructor() {
|
|
7333
7452
|
super("socket.plugin.DisablePluginResponse", [
|
|
7334
7453
|
{
|
|
@@ -7346,8 +7465,8 @@ class Ka extends MessageType {
|
|
|
7346
7465
|
]);
|
|
7347
7466
|
}
|
|
7348
7467
|
}
|
|
7349
|
-
new
|
|
7350
|
-
class
|
|
7468
|
+
new ui();
|
|
7469
|
+
class pi extends MessageType {
|
|
7351
7470
|
constructor() {
|
|
7352
7471
|
super("socket.plugin.PluginStoreItem", [
|
|
7353
7472
|
{
|
|
@@ -7377,8 +7496,8 @@ class Va extends MessageType {
|
|
|
7377
7496
|
]);
|
|
7378
7497
|
}
|
|
7379
7498
|
}
|
|
7380
|
-
const
|
|
7381
|
-
class
|
|
7499
|
+
const li = new pi();
|
|
7500
|
+
class mi extends MessageType {
|
|
7382
7501
|
constructor() {
|
|
7383
7502
|
super("socket.plugin.PluginStoreResponse", [
|
|
7384
7503
|
{
|
|
@@ -7393,12 +7512,12 @@ class Ja extends MessageType {
|
|
|
7393
7512
|
kind: "scalar",
|
|
7394
7513
|
T: 9
|
|
7395
7514
|
},
|
|
7396
|
-
{ no: 3, name: "store_items", kind: "message", repeat: 1, T: () =>
|
|
7515
|
+
{ no: 3, name: "store_items", kind: "message", repeat: 1, T: () => li }
|
|
7397
7516
|
]);
|
|
7398
7517
|
}
|
|
7399
7518
|
}
|
|
7400
|
-
new
|
|
7401
|
-
class
|
|
7519
|
+
new mi();
|
|
7520
|
+
class Ti extends MessageType {
|
|
7402
7521
|
constructor() {
|
|
7403
7522
|
super("socket.plugin.PluginEventResponse", [
|
|
7404
7523
|
{
|
|
@@ -7416,8 +7535,8 @@ class Za extends MessageType {
|
|
|
7416
7535
|
]);
|
|
7417
7536
|
}
|
|
7418
7537
|
}
|
|
7419
|
-
new
|
|
7420
|
-
class
|
|
7538
|
+
new Ti();
|
|
7539
|
+
class fi extends MessageType {
|
|
7421
7540
|
constructor() {
|
|
7422
7541
|
super("socket.livestreaming.LiveStreamingEvent", [
|
|
7423
7542
|
{
|
|
@@ -7484,8 +7603,8 @@ class za extends MessageType {
|
|
|
7484
7603
|
]);
|
|
7485
7604
|
}
|
|
7486
7605
|
}
|
|
7487
|
-
new
|
|
7488
|
-
class
|
|
7606
|
+
new fi();
|
|
7607
|
+
class hi extends MessageType {
|
|
7489
7608
|
constructor() {
|
|
7490
7609
|
super("socket.livestreaming.GetStagePeersResponse", [
|
|
7491
7610
|
{
|
|
@@ -7498,8 +7617,8 @@ class Ya extends MessageType {
|
|
|
7498
7617
|
]);
|
|
7499
7618
|
}
|
|
7500
7619
|
}
|
|
7501
|
-
new
|
|
7502
|
-
class
|
|
7620
|
+
new hi();
|
|
7621
|
+
class ki extends MessageType {
|
|
7503
7622
|
constructor() {
|
|
7504
7623
|
super("socket.livestreaming.StageRequest", [
|
|
7505
7624
|
{
|
|
@@ -7523,16 +7642,16 @@ class Qa extends MessageType {
|
|
|
7523
7642
|
]);
|
|
7524
7643
|
}
|
|
7525
7644
|
}
|
|
7526
|
-
const
|
|
7527
|
-
class
|
|
7645
|
+
const gi = new ki();
|
|
7646
|
+
class yi extends MessageType {
|
|
7528
7647
|
constructor() {
|
|
7529
7648
|
super("socket.livestreaming.GetStageRequestsResponse", [
|
|
7530
|
-
{ no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () =>
|
|
7649
|
+
{ no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => gi }
|
|
7531
7650
|
]);
|
|
7532
7651
|
}
|
|
7533
7652
|
}
|
|
7534
|
-
new
|
|
7535
|
-
class
|
|
7653
|
+
new yi();
|
|
7654
|
+
class vi extends MessageType {
|
|
7536
7655
|
constructor() {
|
|
7537
7656
|
super("socket.livestreaming.GrantStageAccessRequest", [
|
|
7538
7657
|
{
|
|
@@ -7545,8 +7664,8 @@ class ni extends MessageType {
|
|
|
7545
7664
|
]);
|
|
7546
7665
|
}
|
|
7547
7666
|
}
|
|
7548
|
-
new
|
|
7549
|
-
class
|
|
7667
|
+
new vi();
|
|
7668
|
+
class Ri extends MessageType {
|
|
7550
7669
|
constructor() {
|
|
7551
7670
|
super("socket.livestreaming.DenyStageAccessRequest", [
|
|
7552
7671
|
{
|
|
@@ -7559,8 +7678,8 @@ class ti extends MessageType {
|
|
|
7559
7678
|
]);
|
|
7560
7679
|
}
|
|
7561
7680
|
}
|
|
7562
|
-
new
|
|
7563
|
-
class
|
|
7681
|
+
new Ri();
|
|
7682
|
+
class _i extends MessageType {
|
|
7564
7683
|
constructor() {
|
|
7565
7684
|
super("socket.livestreaming.LeaveStageRequest", [
|
|
7566
7685
|
{
|
|
@@ -7573,8 +7692,8 @@ class si extends MessageType {
|
|
|
7573
7692
|
]);
|
|
7574
7693
|
}
|
|
7575
7694
|
}
|
|
7576
|
-
new
|
|
7577
|
-
class
|
|
7695
|
+
new _i();
|
|
7696
|
+
class wi extends MessageType {
|
|
7578
7697
|
constructor() {
|
|
7579
7698
|
super("socket.polls.Poll", [
|
|
7580
7699
|
{
|
|
@@ -7601,7 +7720,7 @@ class ri extends MessageType {
|
|
|
7601
7720
|
kind: "scalar",
|
|
7602
7721
|
T: 9
|
|
7603
7722
|
},
|
|
7604
|
-
{ no: 5, name: "options", kind: "message", repeat: 1, T: () =>
|
|
7723
|
+
{ no: 5, name: "options", kind: "message", repeat: 1, T: () => Ci },
|
|
7605
7724
|
{
|
|
7606
7725
|
no: 6,
|
|
7607
7726
|
name: "hide_votes",
|
|
@@ -7624,8 +7743,8 @@ class ri extends MessageType {
|
|
|
7624
7743
|
]);
|
|
7625
7744
|
}
|
|
7626
7745
|
}
|
|
7627
|
-
const
|
|
7628
|
-
class
|
|
7746
|
+
const Jn = new wi();
|
|
7747
|
+
class Pi extends MessageType {
|
|
7629
7748
|
constructor() {
|
|
7630
7749
|
super("socket.polls.PollOption", [
|
|
7631
7750
|
{
|
|
@@ -7642,12 +7761,12 @@ class oi extends MessageType {
|
|
|
7642
7761
|
T: 4,
|
|
7643
7762
|
L: 2
|
|
7644
7763
|
},
|
|
7645
|
-
{ no: 3, name: "votes", kind: "message", repeat: 1, T: () =>
|
|
7764
|
+
{ no: 3, name: "votes", kind: "message", repeat: 1, T: () => Si }
|
|
7646
7765
|
]);
|
|
7647
7766
|
}
|
|
7648
7767
|
}
|
|
7649
|
-
const
|
|
7650
|
-
class
|
|
7768
|
+
const Ci = new Pi();
|
|
7769
|
+
class Ei extends MessageType {
|
|
7651
7770
|
constructor() {
|
|
7652
7771
|
super("socket.polls.PollVote", [
|
|
7653
7772
|
{
|
|
@@ -7665,8 +7784,8 @@ class ii extends MessageType {
|
|
|
7665
7784
|
]);
|
|
7666
7785
|
}
|
|
7667
7786
|
}
|
|
7668
|
-
const
|
|
7669
|
-
class
|
|
7787
|
+
const Si = new Ei();
|
|
7788
|
+
class bi extends MessageType {
|
|
7670
7789
|
constructor() {
|
|
7671
7790
|
super("socket.polls.NewPollRequest", [
|
|
7672
7791
|
{
|
|
@@ -7711,8 +7830,8 @@ class di extends MessageType {
|
|
|
7711
7830
|
]);
|
|
7712
7831
|
}
|
|
7713
7832
|
}
|
|
7714
|
-
new
|
|
7715
|
-
class
|
|
7833
|
+
new bi();
|
|
7834
|
+
class Li extends MessageType {
|
|
7716
7835
|
constructor() {
|
|
7717
7836
|
super("socket.polls.VotePollRequest", [
|
|
7718
7837
|
{
|
|
@@ -7731,24 +7850,24 @@ class ui extends MessageType {
|
|
|
7731
7850
|
]);
|
|
7732
7851
|
}
|
|
7733
7852
|
}
|
|
7734
|
-
new
|
|
7735
|
-
class
|
|
7853
|
+
new Li();
|
|
7854
|
+
class xi extends MessageType {
|
|
7736
7855
|
constructor() {
|
|
7737
7856
|
super("socket.polls.UpdatePollResponse", [
|
|
7738
|
-
{ no: 1, name: "poll", kind: "message", T: () =>
|
|
7857
|
+
{ no: 1, name: "poll", kind: "message", T: () => Jn }
|
|
7739
7858
|
]);
|
|
7740
7859
|
}
|
|
7741
7860
|
}
|
|
7742
|
-
new
|
|
7743
|
-
class
|
|
7861
|
+
new xi();
|
|
7862
|
+
class Oi extends MessageType {
|
|
7744
7863
|
constructor() {
|
|
7745
7864
|
super("socket.polls.GetPollsResponse", [
|
|
7746
|
-
{ no: 1, name: "polls", kind: "message", repeat: 1, T: () =>
|
|
7865
|
+
{ no: 1, name: "polls", kind: "message", repeat: 1, T: () => Jn }
|
|
7747
7866
|
]);
|
|
7748
7867
|
}
|
|
7749
7868
|
}
|
|
7750
|
-
new
|
|
7751
|
-
class
|
|
7869
|
+
new Oi();
|
|
7870
|
+
class Mi extends MessageType {
|
|
7752
7871
|
constructor() {
|
|
7753
7872
|
super("socket.recording.RecordingEvent", [
|
|
7754
7873
|
{
|
|
@@ -7763,12 +7882,12 @@ class mi extends MessageType {
|
|
|
7763
7882
|
kind: "scalar",
|
|
7764
7883
|
T: 9
|
|
7765
7884
|
},
|
|
7766
|
-
{ no: 3, name: "recording_type", kind: "enum", T: () => ["common.RecordingType",
|
|
7885
|
+
{ no: 3, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", ke] }
|
|
7767
7886
|
]);
|
|
7768
7887
|
}
|
|
7769
7888
|
}
|
|
7770
|
-
new
|
|
7771
|
-
class
|
|
7889
|
+
new Mi();
|
|
7890
|
+
class qi extends MessageType {
|
|
7772
7891
|
constructor() {
|
|
7773
7892
|
super("google.protobuf.Timestamp", [
|
|
7774
7893
|
{
|
|
@@ -7824,8 +7943,8 @@ class Ti extends MessageType {
|
|
|
7824
7943
|
return d || (d = this.create()), d.seconds = PbLong.from(m / 1e3).toBigInt(), d.nanos = 0, p[7] && (d.nanos = parseInt("1" + p[7] + "0".repeat(9 - p[7].length)) - 1e9), d;
|
|
7825
7944
|
}
|
|
7826
7945
|
}
|
|
7827
|
-
new
|
|
7828
|
-
class
|
|
7946
|
+
new qi();
|
|
7947
|
+
class $i extends MessageType {
|
|
7829
7948
|
constructor() {
|
|
7830
7949
|
super("common.BaseHubMessage", [
|
|
7831
7950
|
{
|
|
@@ -7895,25 +8014,25 @@ class fi extends MessageType {
|
|
|
7895
8014
|
]);
|
|
7896
8015
|
}
|
|
7897
8016
|
}
|
|
7898
|
-
const
|
|
7899
|
-
class
|
|
8017
|
+
const He = new $i();
|
|
8018
|
+
class Ni extends MessageType {
|
|
7900
8019
|
constructor() {
|
|
7901
8020
|
super("common.BulkedHubMessage", [
|
|
7902
|
-
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () =>
|
|
8021
|
+
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => He }
|
|
7903
8022
|
]);
|
|
7904
8023
|
}
|
|
7905
8024
|
}
|
|
7906
|
-
new
|
|
7907
|
-
class
|
|
8025
|
+
new Ni();
|
|
8026
|
+
class Ai extends MessageType {
|
|
7908
8027
|
constructor() {
|
|
7909
8028
|
super("common.CFWorkersResponse", [
|
|
7910
|
-
{ no: 1, name: "
|
|
7911
|
-
{ no: 2, name: "broadcast_responses", kind: "message", repeat: 1, T: () =>
|
|
8029
|
+
{ no: 1, name: "responses", kind: "message", repeat: 1, T: () => He },
|
|
8030
|
+
{ no: 2, name: "broadcast_responses", kind: "message", repeat: 1, T: () => He }
|
|
7912
8031
|
]);
|
|
7913
8032
|
}
|
|
7914
8033
|
}
|
|
7915
|
-
new
|
|
7916
|
-
const
|
|
8034
|
+
new Ai();
|
|
8035
|
+
const Ii = 0, Di = 1, Ui = 2, Bi = 3, Gi = 4, ji = 5, Wi = {
|
|
7917
8036
|
getPeerInfo: 0,
|
|
7918
8037
|
updatePeerInfo: 1,
|
|
7919
8038
|
getRoomPeersInfo: 2,
|
|
@@ -7959,7 +8078,7 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
|
|
|
7959
8078
|
recordingPaused: 42,
|
|
7960
8079
|
getRoomStageState: 43,
|
|
7961
8080
|
livestreamingInvoked: 44
|
|
7962
|
-
},
|
|
8081
|
+
}, Fi = {
|
|
7963
8082
|
getMessages: 0,
|
|
7964
8083
|
sendMessageToRoom: 1,
|
|
7965
8084
|
sendMessageToPeers: 2,
|
|
@@ -7971,7 +8090,7 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
|
|
|
7971
8090
|
getAllChatChannels: 8,
|
|
7972
8091
|
markChannelIndexAsRead: 9,
|
|
7973
8092
|
pinMessage: 10
|
|
7974
|
-
},
|
|
8093
|
+
}, Ki = {
|
|
7975
8094
|
getPlugins: 0,
|
|
7976
8095
|
addPlugin: 1,
|
|
7977
8096
|
enablePluginForRoom: 2,
|
|
@@ -7985,12 +8104,12 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
|
|
|
7985
8104
|
storeGetKeys: 10,
|
|
7986
8105
|
storeDeleteKeys: 11,
|
|
7987
8106
|
storeDelete: 12
|
|
7988
|
-
},
|
|
8107
|
+
}, Vi = {
|
|
7989
8108
|
createPoll: 0,
|
|
7990
8109
|
getPolls: 1,
|
|
7991
8110
|
votePoll: 2,
|
|
7992
8111
|
updatePoll: 3
|
|
7993
|
-
},
|
|
8112
|
+
}, Zn = {
|
|
7994
8113
|
unknown: 0,
|
|
7995
8114
|
createWebRTCTransport: 1,
|
|
7996
8115
|
produce: 2,
|
|
@@ -8023,100 +8142,100 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
|
|
|
8023
8142
|
hostControlPeer: 93,
|
|
8024
8143
|
hostControlAllPeers: 94,
|
|
8025
8144
|
audioActivity: 100
|
|
8026
|
-
},
|
|
8145
|
+
}, Hi = {
|
|
8027
8146
|
createChatChannel: 0,
|
|
8028
8147
|
getChatChannel: 1,
|
|
8029
8148
|
deprecatedGetAllChatChannels: 2,
|
|
8030
8149
|
getChannelMembers: 3,
|
|
8031
8150
|
updateChatChannel: 4
|
|
8032
|
-
},
|
|
8151
|
+
}, Ji = {
|
|
8033
8152
|
getUserPresets: 0,
|
|
8034
8153
|
updateUserPreset: 1
|
|
8035
8154
|
};
|
|
8036
|
-
function
|
|
8155
|
+
function X(e, s) {
|
|
8037
8156
|
return Object.keys(s).reduce((a, d) => (a[d] = (e << 16) + s[d], a), {});
|
|
8038
8157
|
}
|
|
8039
|
-
function
|
|
8158
|
+
function zn(e, s) {
|
|
8040
8159
|
return Object.keys(e).reduce((a, d) => (a[d] = s | e[d], a), {});
|
|
8041
8160
|
}
|
|
8042
|
-
const
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8161
|
+
const pe = X(Ii, Wi);
|
|
8162
|
+
X(Di, Fi);
|
|
8163
|
+
X(
|
|
8164
|
+
Ui,
|
|
8165
|
+
Ki
|
|
8047
8166
|
);
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8167
|
+
X(Bi, Vi);
|
|
8168
|
+
X(
|
|
8169
|
+
Gi,
|
|
8170
|
+
Hi
|
|
8052
8171
|
);
|
|
8053
|
-
const
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8172
|
+
const De = zn(Zn, 16777216);
|
|
8173
|
+
zn(Zn, 50331648);
|
|
8174
|
+
X(
|
|
8175
|
+
ji,
|
|
8176
|
+
Ji
|
|
8058
8177
|
);
|
|
8059
|
-
const
|
|
8060
|
-
class
|
|
8178
|
+
const Yn = "ws://localhost:8080/ws";
|
|
8179
|
+
class Zi extends oe.WebSocket {
|
|
8061
8180
|
constructor(s, a) {
|
|
8062
|
-
super(
|
|
8181
|
+
super(Yn, a);
|
|
8063
8182
|
}
|
|
8064
8183
|
}
|
|
8065
|
-
var
|
|
8066
|
-
class
|
|
8184
|
+
var Y, ye, Q, ve;
|
|
8185
|
+
class zi {
|
|
8067
8186
|
constructor() {
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8187
|
+
te(this, Y, void 0);
|
|
8188
|
+
te(this, ye, []);
|
|
8189
|
+
te(this, Q, void 0);
|
|
8190
|
+
te(this, ve, 15e3);
|
|
8072
8191
|
y(this, "roomId", "roomId");
|
|
8073
8192
|
y(this, "roomUuid", "roomUuid");
|
|
8074
8193
|
y(this, "cleanBuffer", (s) => s.buffer.slice(s.byteOffset, s.byteOffset + s.byteLength));
|
|
8075
8194
|
}
|
|
8076
8195
|
init({ peerId: s, mockParticipants: a }) {
|
|
8077
|
-
|
|
8196
|
+
Ne(this, Q, s), window.WebSocket = Zi, Ne(this, Y, a);
|
|
8078
8197
|
const { RTK_MOCK_SERVER: d } = window;
|
|
8079
8198
|
if (d)
|
|
8080
8199
|
try {
|
|
8081
8200
|
d.close();
|
|
8082
8201
|
} catch (m) {
|
|
8083
8202
|
}
|
|
8084
|
-
const p = new
|
|
8203
|
+
const p = new oe.Server(Yn, { mock: false });
|
|
8085
8204
|
window.RTK_MOCK_SERVER = p, p.on("connection", (m) => {
|
|
8086
|
-
|
|
8205
|
+
j(this, ye).push(m), this.addConnectionListeners(m);
|
|
8087
8206
|
});
|
|
8088
8207
|
}
|
|
8089
8208
|
addConnectionListeners(s) {
|
|
8090
8209
|
s.on("message", (a) => {
|
|
8091
8210
|
if (a === "3")
|
|
8092
8211
|
return;
|
|
8093
|
-
const d =
|
|
8212
|
+
const d = fn.fromBinary(a);
|
|
8094
8213
|
let p;
|
|
8095
8214
|
switch (d.event) {
|
|
8096
|
-
case
|
|
8097
|
-
p =
|
|
8215
|
+
case pe.joinRoom: {
|
|
8216
|
+
p = yn.toBinary(yn.fromJson({
|
|
8098
8217
|
peer: {
|
|
8099
|
-
peerId:
|
|
8218
|
+
peerId: j(this, Q),
|
|
8100
8219
|
userId: "self-userId",
|
|
8101
8220
|
displayName: "name",
|
|
8102
8221
|
waitlisted: false,
|
|
8103
|
-
stageType:
|
|
8222
|
+
stageType: ae.ON_STAGE
|
|
8104
8223
|
}
|
|
8105
8224
|
}));
|
|
8106
8225
|
break;
|
|
8107
8226
|
}
|
|
8108
|
-
case
|
|
8109
|
-
p =
|
|
8110
|
-
peers:
|
|
8111
|
-
userId:
|
|
8227
|
+
case pe.getRoomPeersInfo: {
|
|
8228
|
+
p = Kr.toBinary({
|
|
8229
|
+
peers: j(this, Y).map((w) => an($e({}, w), {
|
|
8230
|
+
userId: w.peerId,
|
|
8112
8231
|
waitlisted: false,
|
|
8113
8232
|
stageType: 1
|
|
8114
8233
|
}))
|
|
8115
8234
|
});
|
|
8116
8235
|
break;
|
|
8117
8236
|
}
|
|
8118
|
-
case
|
|
8119
|
-
p =
|
|
8237
|
+
case pe.getRoomInfo: {
|
|
8238
|
+
p = Yr.toBinary({
|
|
8120
8239
|
room: {
|
|
8121
8240
|
roomId: this.roomId,
|
|
8122
8241
|
title: "title",
|
|
@@ -8127,25 +8246,25 @@ class Oi {
|
|
|
8127
8246
|
});
|
|
8128
8247
|
break;
|
|
8129
8248
|
}
|
|
8130
|
-
case
|
|
8131
|
-
p =
|
|
8249
|
+
case De.createWebRTCTransport: {
|
|
8250
|
+
p = jn.toBinary({
|
|
8132
8251
|
transportId: "transportId",
|
|
8133
8252
|
description: {
|
|
8134
8253
|
type: "answer",
|
|
8135
8254
|
sdp: "sdp",
|
|
8136
|
-
target:
|
|
8255
|
+
target: he.PUBLISHER
|
|
8137
8256
|
},
|
|
8138
8257
|
producerIds: []
|
|
8139
8258
|
});
|
|
8140
8259
|
break;
|
|
8141
8260
|
}
|
|
8142
|
-
case
|
|
8143
|
-
const
|
|
8261
|
+
case De.selfJoinComplete: {
|
|
8262
|
+
const w = j(this, Y).map((L) => $e({
|
|
8144
8263
|
producerStates: []
|
|
8145
|
-
},
|
|
8146
|
-
p =
|
|
8264
|
+
}, L));
|
|
8265
|
+
p = er.toBinary({
|
|
8147
8266
|
maxPreferredStreams: 6,
|
|
8148
|
-
participants:
|
|
8267
|
+
participants: w,
|
|
8149
8268
|
selectedPeers: {
|
|
8150
8269
|
audioPeers: [],
|
|
8151
8270
|
compulsoryPeers: []
|
|
@@ -8155,14 +8274,14 @@ class Oi {
|
|
|
8155
8274
|
lockedMode: false,
|
|
8156
8275
|
roomUuid: this.roomUuid,
|
|
8157
8276
|
roomName: this.roomUuid,
|
|
8158
|
-
currentPeerId:
|
|
8277
|
+
currentPeerId: j(this, Q),
|
|
8159
8278
|
pinnedPeerIds: []
|
|
8160
8279
|
}
|
|
8161
8280
|
});
|
|
8162
8281
|
break;
|
|
8163
8282
|
}
|
|
8164
|
-
case
|
|
8165
|
-
p =
|
|
8283
|
+
case pe.getConnectedRoomsDump: {
|
|
8284
|
+
p = uo.toBinary({
|
|
8166
8285
|
parentMeeting: {
|
|
8167
8286
|
participants: []
|
|
8168
8287
|
},
|
|
@@ -8170,8 +8289,8 @@ class Oi {
|
|
|
8170
8289
|
});
|
|
8171
8290
|
break;
|
|
8172
8291
|
}
|
|
8173
|
-
case
|
|
8174
|
-
p =
|
|
8292
|
+
case De.produce: {
|
|
8293
|
+
p = or.toBinary({
|
|
8175
8294
|
status: true,
|
|
8176
8295
|
producerId: "producer-id"
|
|
8177
8296
|
});
|
|
@@ -8182,16 +8301,16 @@ class Oi {
|
|
|
8182
8301
|
event: d.event,
|
|
8183
8302
|
id: d.id,
|
|
8184
8303
|
payload: p
|
|
8185
|
-
}, f =
|
|
8304
|
+
}, f = fn.toBinary(m), g = this.cleanBuffer(f);
|
|
8186
8305
|
s.send(g);
|
|
8187
8306
|
}), setInterval(() => {
|
|
8188
8307
|
s.send("2");
|
|
8189
|
-
},
|
|
8308
|
+
}, j(this, ve));
|
|
8190
8309
|
}
|
|
8191
8310
|
}
|
|
8192
|
-
|
|
8193
|
-
function
|
|
8194
|
-
new
|
|
8311
|
+
Y = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), ve = /* @__PURE__ */ new WeakMap();
|
|
8312
|
+
function Xi(e) {
|
|
8313
|
+
new zi().init(e), window.RTCPeerConnection = qt, window.fetch = () => dn(this, null, function* () {
|
|
8195
8314
|
const a = new window.Response(JSON.stringify({}), {
|
|
8196
8315
|
status: 200,
|
|
8197
8316
|
headers: {
|
|
@@ -8201,4 +8320,4 @@ function $i(e) {
|
|
|
8201
8320
|
return Promise.resolve(a);
|
|
8202
8321
|
});
|
|
8203
8322
|
}
|
|
8204
|
-
export {
|
|
8323
|
+
export { Xi as setupStubs };
|