@cloudflare/realtimekit 0.5.0-staging.71 → 0.5.0-staging.72
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 -15
- package/dist/index.cjs.js +15 -15
- package/dist/index.d.ts +15 -3
- package/dist/index.es.js +4597 -4596
- package/dist/mock.cjs.js +3 -3
- package/dist/mock.es.js +1004 -980
- package/dist/react.cjs.js +15 -15
- package/dist/react.d.ts +15 -3
- package/dist/react.es.js +4597 -4596
- package/dist/ts3.4/dist/index.d.ts +15 -3
- package/dist/ts3.4/dist/react.d.ts +15 -3
- package/package.json +1 -1
package/dist/mock.es.js
CHANGED
|
@@ -2050,195 +2050,195 @@ class MessageType {
|
|
|
2050
2050
|
return message;
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
|
-
var
|
|
2054
|
-
var
|
|
2055
|
-
var
|
|
2056
|
-
var
|
|
2057
|
-
var
|
|
2053
|
+
var rt = Object.defineProperty, ot = Object.defineProperties;
|
|
2054
|
+
var at = Object.getOwnPropertyDescriptors;
|
|
2055
|
+
var Je = Object.getOwnPropertySymbols;
|
|
2056
|
+
var it = Object.prototype.hasOwnProperty, ct = Object.prototype.propertyIsEnumerable;
|
|
2057
|
+
var Ce = (e, s, a) => s in e ? rt(e, s, { enumerable: true, configurable: true, writable: true, value: a }) : e[s] = a, Ee = (e, s) => {
|
|
2058
2058
|
for (var a in s || (s = {}))
|
|
2059
|
-
|
|
2060
|
-
if (
|
|
2061
|
-
for (var a of
|
|
2062
|
-
|
|
2059
|
+
it.call(s, a) && Ce(e, a, s[a]);
|
|
2060
|
+
if (Je)
|
|
2061
|
+
for (var a of Je(s))
|
|
2062
|
+
ct.call(s, a) && Ce(e, a, s[a]);
|
|
2063
2063
|
return e;
|
|
2064
|
-
},
|
|
2065
|
-
var y = (e, s, a) => (
|
|
2064
|
+
}, Ze = (e, s) => ot(e, at(s));
|
|
2065
|
+
var y = (e, s, a) => (Ce(e, typeof s != "symbol" ? s + "" : s, a), a), ze = (e, s, a) => {
|
|
2066
2066
|
if (!s.has(e))
|
|
2067
2067
|
throw TypeError("Cannot " + a);
|
|
2068
2068
|
};
|
|
2069
|
-
var
|
|
2069
|
+
var I = (e, s, a) => (ze(e, s, "read from private field"), a ? a.call(e) : s.get(e)), Z = (e, s, a) => {
|
|
2070
2070
|
if (s.has(e))
|
|
2071
2071
|
throw TypeError("Cannot add the same private member more than once");
|
|
2072
2072
|
s instanceof WeakSet ? s.add(e) : s.set(e, a);
|
|
2073
|
-
},
|
|
2074
|
-
var
|
|
2075
|
-
var
|
|
2073
|
+
}, Se = (e, s, a, d) => (ze(e, s, "write to private field"), d ? d.call(e, a) : s.set(e, a), a);
|
|
2074
|
+
var Ye = (e, s, a) => new Promise((d, u) => {
|
|
2075
|
+
var m = (w) => {
|
|
2076
2076
|
try {
|
|
2077
2077
|
g(a.next(w));
|
|
2078
2078
|
} catch (b) {
|
|
2079
2079
|
u(b);
|
|
2080
2080
|
}
|
|
2081
|
-
},
|
|
2081
|
+
}, h = (w) => {
|
|
2082
2082
|
try {
|
|
2083
2083
|
g(a.throw(w));
|
|
2084
2084
|
} catch (b) {
|
|
2085
2085
|
u(b);
|
|
2086
2086
|
}
|
|
2087
|
-
}, g = (w) => w.done ? d(w.value) : Promise.resolve(w.value).then(
|
|
2087
|
+
}, g = (w) => w.done ? d(w.value) : Promise.resolve(w.value).then(m, h);
|
|
2088
2088
|
g((a = a.apply(e, s)).next());
|
|
2089
2089
|
});
|
|
2090
|
-
var
|
|
2090
|
+
var Y = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ie = {}, pt = {
|
|
2091
2091
|
get exports() {
|
|
2092
|
-
return
|
|
2092
|
+
return ie;
|
|
2093
2093
|
},
|
|
2094
2094
|
set exports(e) {
|
|
2095
|
-
|
|
2095
|
+
ie = e;
|
|
2096
2096
|
}
|
|
2097
|
-
},
|
|
2097
|
+
}, j = typeof Reflect == "object" ? Reflect : null, Qe = j && typeof j.apply == "function" ? j.apply : function(s, a, d) {
|
|
2098
2098
|
return Function.prototype.apply.call(s, a, d);
|
|
2099
|
-
},
|
|
2100
|
-
|
|
2099
|
+
}, oe;
|
|
2100
|
+
j && typeof j.ownKeys == "function" ? oe = j.ownKeys : Object.getOwnPropertySymbols ? oe = function(s) {
|
|
2101
2101
|
return Object.getOwnPropertyNames(s).concat(Object.getOwnPropertySymbols(s));
|
|
2102
|
-
} :
|
|
2102
|
+
} : oe = function(s) {
|
|
2103
2103
|
return Object.getOwnPropertyNames(s);
|
|
2104
2104
|
};
|
|
2105
|
-
function
|
|
2105
|
+
function ut(e) {
|
|
2106
2106
|
console && console.warn && console.warn(e);
|
|
2107
2107
|
}
|
|
2108
|
-
var
|
|
2108
|
+
var pn = Number.isNaN || function(s) {
|
|
2109
2109
|
return s !== s;
|
|
2110
2110
|
};
|
|
2111
|
-
function
|
|
2112
|
-
|
|
2111
|
+
function R() {
|
|
2112
|
+
R.init.call(this);
|
|
2113
2113
|
}
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
var
|
|
2121
|
-
function
|
|
2114
|
+
pt.exports = R;
|
|
2115
|
+
ie.once = ht;
|
|
2116
|
+
R.EventEmitter = R;
|
|
2117
|
+
R.prototype._events = void 0;
|
|
2118
|
+
R.prototype._eventsCount = 0;
|
|
2119
|
+
R.prototype._maxListeners = void 0;
|
|
2120
|
+
var Xe = 10;
|
|
2121
|
+
function me(e) {
|
|
2122
2122
|
if (typeof e != "function")
|
|
2123
2123
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
2124
2124
|
}
|
|
2125
|
-
Object.defineProperty(
|
|
2125
|
+
Object.defineProperty(R, "defaultMaxListeners", {
|
|
2126
2126
|
enumerable: true,
|
|
2127
2127
|
get: function() {
|
|
2128
|
-
return
|
|
2128
|
+
return Xe;
|
|
2129
2129
|
},
|
|
2130
2130
|
set: function(e) {
|
|
2131
|
-
if (typeof e != "number" || e < 0 ||
|
|
2131
|
+
if (typeof e != "number" || e < 0 || pn(e))
|
|
2132
2132
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
2133
|
-
|
|
2133
|
+
Xe = e;
|
|
2134
2134
|
}
|
|
2135
2135
|
});
|
|
2136
|
-
|
|
2136
|
+
R.init = function() {
|
|
2137
2137
|
(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
2138
|
};
|
|
2139
|
-
|
|
2140
|
-
if (typeof s != "number" || s < 0 ||
|
|
2139
|
+
R.prototype.setMaxListeners = function(s) {
|
|
2140
|
+
if (typeof s != "number" || s < 0 || pn(s))
|
|
2141
2141
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + s + ".");
|
|
2142
2142
|
return this._maxListeners = s, this;
|
|
2143
2143
|
};
|
|
2144
|
-
function
|
|
2145
|
-
return e._maxListeners === void 0 ?
|
|
2144
|
+
function un(e) {
|
|
2145
|
+
return e._maxListeners === void 0 ? R.defaultMaxListeners : e._maxListeners;
|
|
2146
2146
|
}
|
|
2147
|
-
|
|
2148
|
-
return
|
|
2147
|
+
R.prototype.getMaxListeners = function() {
|
|
2148
|
+
return un(this);
|
|
2149
2149
|
};
|
|
2150
|
-
|
|
2150
|
+
R.prototype.emit = function(s) {
|
|
2151
2151
|
for (var a = [], d = 1; d < arguments.length; d++)
|
|
2152
2152
|
a.push(arguments[d]);
|
|
2153
|
-
var u = s === "error",
|
|
2154
|
-
if (
|
|
2155
|
-
u = u &&
|
|
2153
|
+
var u = s === "error", m = this._events;
|
|
2154
|
+
if (m !== void 0)
|
|
2155
|
+
u = u && m.error === void 0;
|
|
2156
2156
|
else if (!u)
|
|
2157
2157
|
return false;
|
|
2158
2158
|
if (u) {
|
|
2159
|
-
var
|
|
2160
|
-
if (a.length > 0 && (
|
|
2161
|
-
throw
|
|
2162
|
-
var g = new Error("Unhandled error." + (
|
|
2163
|
-
throw g.context =
|
|
2159
|
+
var h;
|
|
2160
|
+
if (a.length > 0 && (h = a[0]), h instanceof Error)
|
|
2161
|
+
throw h;
|
|
2162
|
+
var g = new Error("Unhandled error." + (h ? " (" + h.message + ")" : ""));
|
|
2163
|
+
throw g.context = h, g;
|
|
2164
2164
|
}
|
|
2165
|
-
var w =
|
|
2165
|
+
var w = m[s];
|
|
2166
2166
|
if (w === void 0)
|
|
2167
2167
|
return false;
|
|
2168
2168
|
if (typeof w == "function")
|
|
2169
|
-
|
|
2169
|
+
Qe(w, this, a);
|
|
2170
2170
|
else
|
|
2171
2171
|
for (var b = w.length, fe = fn(w, b), d = 0; d < b; ++d)
|
|
2172
|
-
|
|
2172
|
+
Qe(fe[d], this, a);
|
|
2173
2173
|
return true;
|
|
2174
2174
|
};
|
|
2175
|
-
function
|
|
2176
|
-
var u,
|
|
2177
|
-
if (
|
|
2175
|
+
function ln(e, s, a, d) {
|
|
2176
|
+
var u, m, h;
|
|
2177
|
+
if (me(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
|
|
2178
2178
|
"newListener",
|
|
2179
2179
|
s,
|
|
2180
2180
|
a.listener ? a.listener : a
|
|
2181
|
-
),
|
|
2182
|
-
|
|
2183
|
-
else if (typeof
|
|
2184
|
-
|
|
2185
|
-
var g = new Error("Possible EventEmitter memory leak detected. " +
|
|
2186
|
-
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count =
|
|
2181
|
+
), m = e._events), h = m[s]), h === void 0)
|
|
2182
|
+
h = m[s] = a, ++e._eventsCount;
|
|
2183
|
+
else if (typeof h == "function" ? h = m[s] = d ? [a, h] : [h, a] : d ? h.unshift(a) : h.push(a), u = un(e), u > 0 && h.length > u && !h.warned) {
|
|
2184
|
+
h.warned = true;
|
|
2185
|
+
var g = new Error("Possible EventEmitter memory leak detected. " + h.length + " " + String(s) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
2186
|
+
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = h.length, ut(g);
|
|
2187
2187
|
}
|
|
2188
2188
|
return e;
|
|
2189
2189
|
}
|
|
2190
|
-
|
|
2191
|
-
return
|
|
2190
|
+
R.prototype.addListener = function(s, a) {
|
|
2191
|
+
return ln(this, s, a, false);
|
|
2192
2192
|
};
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
return
|
|
2193
|
+
R.prototype.on = R.prototype.addListener;
|
|
2194
|
+
R.prototype.prependListener = function(s, a) {
|
|
2195
|
+
return ln(this, s, a, true);
|
|
2196
2196
|
};
|
|
2197
|
-
function
|
|
2197
|
+
function lt() {
|
|
2198
2198
|
if (!this.fired)
|
|
2199
2199
|
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
2200
|
}
|
|
2201
|
-
function
|
|
2202
|
-
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, u =
|
|
2201
|
+
function mn(e, s, a) {
|
|
2202
|
+
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, u = lt.bind(d);
|
|
2203
2203
|
return u.listener = a, d.wrapFn = u, u;
|
|
2204
2204
|
}
|
|
2205
|
-
|
|
2206
|
-
return
|
|
2205
|
+
R.prototype.once = function(s, a) {
|
|
2206
|
+
return me(a), this.on(s, mn(this, s, a)), this;
|
|
2207
2207
|
};
|
|
2208
|
-
|
|
2209
|
-
return
|
|
2208
|
+
R.prototype.prependOnceListener = function(s, a) {
|
|
2209
|
+
return me(a), this.prependListener(s, mn(this, s, a)), this;
|
|
2210
2210
|
};
|
|
2211
|
-
|
|
2212
|
-
var d, u,
|
|
2213
|
-
if (
|
|
2211
|
+
R.prototype.removeListener = function(s, a) {
|
|
2212
|
+
var d, u, m, h, g;
|
|
2213
|
+
if (me(a), u = this._events, u === void 0)
|
|
2214
2214
|
return this;
|
|
2215
2215
|
if (d = u[s], d === void 0)
|
|
2216
2216
|
return this;
|
|
2217
2217
|
if (d === a || d.listener === a)
|
|
2218
2218
|
--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete u[s], u.removeListener && this.emit("removeListener", s, d.listener || a));
|
|
2219
2219
|
else if (typeof d != "function") {
|
|
2220
|
-
for (
|
|
2221
|
-
if (d[
|
|
2222
|
-
g = d[
|
|
2220
|
+
for (m = -1, h = d.length - 1; h >= 0; h--)
|
|
2221
|
+
if (d[h] === a || d[h].listener === a) {
|
|
2222
|
+
g = d[h].listener, m = h;
|
|
2223
2223
|
break;
|
|
2224
2224
|
}
|
|
2225
|
-
if (
|
|
2225
|
+
if (m < 0)
|
|
2226
2226
|
return this;
|
|
2227
|
-
|
|
2227
|
+
m === 0 ? d.shift() : mt(d, m), d.length === 1 && (u[s] = d[0]), u.removeListener !== void 0 && this.emit("removeListener", s, g || a);
|
|
2228
2228
|
}
|
|
2229
2229
|
return this;
|
|
2230
2230
|
};
|
|
2231
|
-
|
|
2232
|
-
|
|
2231
|
+
R.prototype.off = R.prototype.removeListener;
|
|
2232
|
+
R.prototype.removeAllListeners = function(s) {
|
|
2233
2233
|
var a, d, u;
|
|
2234
2234
|
if (d = this._events, d === void 0)
|
|
2235
2235
|
return this;
|
|
2236
2236
|
if (d.removeListener === void 0)
|
|
2237
2237
|
return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : d[s] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete d[s]), this;
|
|
2238
2238
|
if (arguments.length === 0) {
|
|
2239
|
-
var
|
|
2240
|
-
for (u = 0; u <
|
|
2241
|
-
|
|
2239
|
+
var m = Object.keys(d), h;
|
|
2240
|
+
for (u = 0; u < m.length; ++u)
|
|
2241
|
+
h = m[u], h !== "removeListener" && this.removeAllListeners(h);
|
|
2242
2242
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
|
2243
2243
|
}
|
|
2244
2244
|
if (a = d[s], typeof a == "function")
|
|
@@ -2248,24 +2248,24 @@ v.prototype.removeAllListeners = function(s) {
|
|
|
2248
2248
|
this.removeListener(s, a[u]);
|
|
2249
2249
|
return this;
|
|
2250
2250
|
};
|
|
2251
|
-
function
|
|
2251
|
+
function Tn(e, s, a) {
|
|
2252
2252
|
var d = e._events;
|
|
2253
2253
|
if (d === void 0)
|
|
2254
2254
|
return [];
|
|
2255
2255
|
var u = d[s];
|
|
2256
|
-
return u === void 0 ? [] : typeof u == "function" ? a ? [u.listener || u] : [u] : a ?
|
|
2256
|
+
return u === void 0 ? [] : typeof u == "function" ? a ? [u.listener || u] : [u] : a ? Tt(u) : fn(u, u.length);
|
|
2257
2257
|
}
|
|
2258
|
-
|
|
2259
|
-
return
|
|
2258
|
+
R.prototype.listeners = function(s) {
|
|
2259
|
+
return Tn(this, s, true);
|
|
2260
2260
|
};
|
|
2261
|
-
|
|
2262
|
-
return
|
|
2261
|
+
R.prototype.rawListeners = function(s) {
|
|
2262
|
+
return Tn(this, s, false);
|
|
2263
2263
|
};
|
|
2264
|
-
|
|
2265
|
-
return typeof e.listenerCount == "function" ? e.listenerCount(s) :
|
|
2264
|
+
R.listenerCount = function(e, s) {
|
|
2265
|
+
return typeof e.listenerCount == "function" ? e.listenerCount(s) : hn.call(e, s);
|
|
2266
2266
|
};
|
|
2267
|
-
|
|
2268
|
-
function
|
|
2267
|
+
R.prototype.listenerCount = hn;
|
|
2268
|
+
function hn(e) {
|
|
2269
2269
|
var s = this._events;
|
|
2270
2270
|
if (s !== void 0) {
|
|
2271
2271
|
var a = s[e];
|
|
@@ -2276,49 +2276,49 @@ function Tn(e) {
|
|
|
2276
2276
|
}
|
|
2277
2277
|
return 0;
|
|
2278
2278
|
}
|
|
2279
|
-
|
|
2280
|
-
return this._eventsCount > 0 ?
|
|
2279
|
+
R.prototype.eventNames = function() {
|
|
2280
|
+
return this._eventsCount > 0 ? oe(this._events) : [];
|
|
2281
2281
|
};
|
|
2282
2282
|
function fn(e, s) {
|
|
2283
2283
|
for (var a = new Array(s), d = 0; d < s; ++d)
|
|
2284
2284
|
a[d] = e[d];
|
|
2285
2285
|
return a;
|
|
2286
2286
|
}
|
|
2287
|
-
function
|
|
2287
|
+
function mt(e, s) {
|
|
2288
2288
|
for (; s + 1 < e.length; s++)
|
|
2289
2289
|
e[s] = e[s + 1];
|
|
2290
2290
|
e.pop();
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2292
|
+
function Tt(e) {
|
|
2293
2293
|
for (var s = new Array(e.length), a = 0; a < s.length; ++a)
|
|
2294
2294
|
s[a] = e[a].listener || e[a];
|
|
2295
2295
|
return s;
|
|
2296
2296
|
}
|
|
2297
|
-
function
|
|
2297
|
+
function ht(e, s) {
|
|
2298
2298
|
return new Promise(function(a, d) {
|
|
2299
|
-
function u(
|
|
2300
|
-
e.removeListener(s,
|
|
2299
|
+
function u(h) {
|
|
2300
|
+
e.removeListener(s, m), d(h);
|
|
2301
2301
|
}
|
|
2302
|
-
function
|
|
2302
|
+
function m() {
|
|
2303
2303
|
typeof e.removeListener == "function" && e.removeListener("error", u), a([].slice.call(arguments));
|
|
2304
2304
|
}
|
|
2305
|
-
|
|
2305
|
+
kn(e, s, m, { once: true }), s !== "error" && ft(e, u, { once: true });
|
|
2306
2306
|
});
|
|
2307
2307
|
}
|
|
2308
|
-
function
|
|
2309
|
-
typeof e.on == "function" &&
|
|
2308
|
+
function ft(e, s, a) {
|
|
2309
|
+
typeof e.on == "function" && kn(e, "error", s, a);
|
|
2310
2310
|
}
|
|
2311
|
-
function
|
|
2311
|
+
function kn(e, s, a, d) {
|
|
2312
2312
|
if (typeof e.on == "function")
|
|
2313
2313
|
d.once ? e.once(s, a) : e.on(s, a);
|
|
2314
2314
|
else if (typeof e.addEventListener == "function")
|
|
2315
|
-
e.addEventListener(s, function u(
|
|
2316
|
-
d.once && e.removeEventListener(s, u), a(
|
|
2315
|
+
e.addEventListener(s, function u(m) {
|
|
2316
|
+
d.once && e.removeEventListener(s, u), a(m);
|
|
2317
2317
|
});
|
|
2318
2318
|
else
|
|
2319
2319
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
2320
2320
|
}
|
|
2321
|
-
const
|
|
2321
|
+
const kt = `
|
|
2322
2322
|
v=0
|
|
2323
2323
|
o=- 0000000000000000000 0 IN IP4 127.0.0.1
|
|
2324
2324
|
s=-
|
|
@@ -2382,7 +2382,7 @@ a=rtcp-fb:96 nack pli
|
|
|
2382
2382
|
a=rid:q send
|
|
2383
2383
|
a=rid:h send
|
|
2384
2384
|
a=simulcast:send q;h
|
|
2385
|
-
`,
|
|
2385
|
+
`, en = {
|
|
2386
2386
|
track: null,
|
|
2387
2387
|
transport: null,
|
|
2388
2388
|
rtcpTransport: null,
|
|
@@ -2408,7 +2408,7 @@ a=simulcast:send q;h
|
|
|
2408
2408
|
},
|
|
2409
2409
|
setTransform: () => Promise.resolve()
|
|
2410
2410
|
};
|
|
2411
|
-
class
|
|
2411
|
+
class gt extends ie {
|
|
2412
2412
|
constructor() {
|
|
2413
2413
|
super();
|
|
2414
2414
|
y(this, "localDescription", null);
|
|
@@ -2441,7 +2441,7 @@ class ht extends ae {
|
|
|
2441
2441
|
}
|
|
2442
2442
|
createOffer() {
|
|
2443
2443
|
return Promise.resolve({
|
|
2444
|
-
sdp:
|
|
2444
|
+
sdp: kt,
|
|
2445
2445
|
type: "offer"
|
|
2446
2446
|
});
|
|
2447
2447
|
}
|
|
@@ -2476,7 +2476,7 @@ class ht extends ae {
|
|
|
2476
2476
|
};
|
|
2477
2477
|
}
|
|
2478
2478
|
addTrack() {
|
|
2479
|
-
return
|
|
2479
|
+
return en;
|
|
2480
2480
|
}
|
|
2481
2481
|
removeTrack() {
|
|
2482
2482
|
}
|
|
@@ -2488,7 +2488,7 @@ class ht extends ae {
|
|
|
2488
2488
|
},
|
|
2489
2489
|
setCodecPreferences: () => {
|
|
2490
2490
|
},
|
|
2491
|
-
sender:
|
|
2491
|
+
sender: en
|
|
2492
2492
|
};
|
|
2493
2493
|
}
|
|
2494
2494
|
getTransceivers() {
|
|
@@ -2509,22 +2509,22 @@ class ht extends ae {
|
|
|
2509
2509
|
});
|
|
2510
2510
|
}
|
|
2511
2511
|
}
|
|
2512
|
-
function
|
|
2512
|
+
function yt(e) {
|
|
2513
2513
|
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.');
|
|
2514
2514
|
}
|
|
2515
|
-
var
|
|
2515
|
+
var Q = {}, Rt = {
|
|
2516
2516
|
get exports() {
|
|
2517
|
-
return
|
|
2517
|
+
return Q;
|
|
2518
2518
|
},
|
|
2519
2519
|
set exports(e) {
|
|
2520
|
-
|
|
2520
|
+
Q = e;
|
|
2521
2521
|
}
|
|
2522
2522
|
};
|
|
2523
2523
|
(function(e, s) {
|
|
2524
2524
|
(function(a, d) {
|
|
2525
2525
|
d(s);
|
|
2526
|
-
})(
|
|
2527
|
-
var d = typeof window != "undefined" ? window : typeof
|
|
2526
|
+
})(Y, function(a) {
|
|
2527
|
+
var d = typeof window != "undefined" ? window : typeof Y != "undefined" ? Y : typeof self != "undefined" ? self : {}, u = function(t, c) {
|
|
2528
2528
|
if (c = c.split(":")[0], t = +t, !t)
|
|
2529
2529
|
return false;
|
|
2530
2530
|
switch (c) {
|
|
@@ -2542,7 +2542,7 @@ var z = {}, gt = {
|
|
|
2542
2542
|
return false;
|
|
2543
2543
|
}
|
|
2544
2544
|
return t !== 0;
|
|
2545
|
-
},
|
|
2545
|
+
}, m = Object.prototype.hasOwnProperty, h;
|
|
2546
2546
|
function g(r) {
|
|
2547
2547
|
try {
|
|
2548
2548
|
return decodeURIComponent(r.replace(/\+/g, " "));
|
|
@@ -2569,21 +2569,21 @@ var z = {}, gt = {
|
|
|
2569
2569
|
var c = [], n, i;
|
|
2570
2570
|
typeof t != "string" && (t = "?");
|
|
2571
2571
|
for (i in r)
|
|
2572
|
-
if (
|
|
2573
|
-
if (n = r[i], !n && (n === null || n ===
|
|
2572
|
+
if (m.call(r, i)) {
|
|
2573
|
+
if (n = r[i], !n && (n === null || n === h || isNaN(n)) && (n = ""), i = w(i), n = w(n), i === null || n === null)
|
|
2574
2574
|
continue;
|
|
2575
2575
|
c.push(i + "=" + n);
|
|
2576
2576
|
}
|
|
2577
2577
|
return c.length ? t + c.join("&") : "";
|
|
2578
2578
|
}
|
|
2579
|
-
var
|
|
2580
|
-
stringify:
|
|
2581
|
-
parse:
|
|
2582
|
-
},
|
|
2583
|
-
function
|
|
2584
|
-
return (r || "").toString().replace(
|
|
2579
|
+
var In = fe, Dn = b, ne = {
|
|
2580
|
+
stringify: In,
|
|
2581
|
+
parse: Dn
|
|
2582
|
+
}, Be = /[\n\r\t]/g, Un = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, Bn = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, Gn = /^[a-zA-Z]:/, jn = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/;
|
|
2583
|
+
function ke(r) {
|
|
2584
|
+
return (r || "").toString().replace(jn, "");
|
|
2585
2585
|
}
|
|
2586
|
-
var
|
|
2586
|
+
var ge = [
|
|
2587
2587
|
["#", "hash"],
|
|
2588
2588
|
["?", "query"],
|
|
2589
2589
|
function(t, c) {
|
|
@@ -2594,8 +2594,8 @@ var z = {}, gt = {
|
|
|
2594
2594
|
[NaN, "host", void 0, 1, 1],
|
|
2595
2595
|
[/:(\d*)$/, "port", void 0, 1],
|
|
2596
2596
|
[NaN, "hostname", void 0, 1, 1]
|
|
2597
|
-
],
|
|
2598
|
-
function
|
|
2597
|
+
], Ge = { hash: 1, query: 1 };
|
|
2598
|
+
function je(r) {
|
|
2599
2599
|
var t;
|
|
2600
2600
|
typeof window != "undefined" ? t = window : typeof d != "undefined" ? t = d : typeof self != "undefined" ? t = self : t = {};
|
|
2601
2601
|
var c = t.location || {};
|
|
@@ -2605,29 +2605,29 @@ var z = {}, gt = {
|
|
|
2605
2605
|
n = new $(unescape(r.pathname), {});
|
|
2606
2606
|
else if (i === "string") {
|
|
2607
2607
|
n = new $(r, {});
|
|
2608
|
-
for (p in
|
|
2608
|
+
for (p in Ge)
|
|
2609
2609
|
delete n[p];
|
|
2610
2610
|
} else if (i === "object") {
|
|
2611
2611
|
for (p in r)
|
|
2612
|
-
p in
|
|
2613
|
-
n.slashes === void 0 && (n.slashes =
|
|
2612
|
+
p in Ge || (n[p] = r[p]);
|
|
2613
|
+
n.slashes === void 0 && (n.slashes = Un.test(r.href));
|
|
2614
2614
|
}
|
|
2615
2615
|
return n;
|
|
2616
2616
|
}
|
|
2617
2617
|
function q(r) {
|
|
2618
2618
|
return r === "file:" || r === "ftp:" || r === "http:" || r === "https:" || r === "ws:" || r === "wss:";
|
|
2619
2619
|
}
|
|
2620
|
-
function
|
|
2621
|
-
r =
|
|
2622
|
-
var c =
|
|
2623
|
-
return i ? p ? (
|
|
2620
|
+
function We(r, t) {
|
|
2621
|
+
r = ke(r), r = r.replace(Be, ""), t = t || {};
|
|
2622
|
+
var c = Bn.exec(r), n = c[1] ? c[1].toLowerCase() : "", i = !!c[2], p = !!c[3], l = 0, T;
|
|
2623
|
+
return i ? p ? (T = c[2] + c[3] + c[4], l = c[2].length + c[3].length) : (T = c[2] + c[4], l = c[2].length) : p ? (T = c[3] + c[4], l = c[3].length) : T = c[4], n === "file:" ? l >= 2 && (T = T.slice(2)) : q(n) ? T = c[4] : n ? i && (T = T.slice(2)) : l >= 2 && q(t.protocol) && (T = c[4]), {
|
|
2624
2624
|
protocol: n,
|
|
2625
2625
|
slashes: i || q(n),
|
|
2626
2626
|
slashesCount: l,
|
|
2627
|
-
rest:
|
|
2627
|
+
rest: T
|
|
2628
2628
|
};
|
|
2629
2629
|
}
|
|
2630
|
-
function
|
|
2630
|
+
function Wn(r, t) {
|
|
2631
2631
|
if (r === "")
|
|
2632
2632
|
return t;
|
|
2633
2633
|
for (var c = (t || "/").split("/").slice(0, -1).concat(r.split("/")), n = c.length, i = c[n - 1], p = false, l = 0; n--; )
|
|
@@ -2635,23 +2635,23 @@ var z = {}, gt = {
|
|
|
2635
2635
|
return p && c.unshift(""), (i === "." || i === "..") && c.push(""), c.join("/");
|
|
2636
2636
|
}
|
|
2637
2637
|
function $(r, t, c) {
|
|
2638
|
-
if (r =
|
|
2638
|
+
if (r = ke(r), r = r.replace(Be, ""), !(this instanceof $))
|
|
2639
2639
|
return new $(r, t, c);
|
|
2640
|
-
var n, i, p, l,
|
|
2641
|
-
for (E !== "object" && E !== "string" && (c = t, t = null), c && typeof c != "function" && (c =
|
|
2642
|
-
if (l = _[
|
|
2643
|
-
r = l(r,
|
|
2640
|
+
var n, i, p, l, T, k, _ = ge.slice(), E = typeof t, f = this, Pe = 0;
|
|
2641
|
+
for (E !== "object" && E !== "string" && (c = t, t = null), c && typeof c != "function" && (c = ne.parse), t = je(t), i = We(r || "", t), n = !i.protocol && !i.slashes, f.slashes = i.slashes || n && t.slashes, f.protocol = i.protocol || t.protocol || "", r = i.rest, (i.protocol === "file:" && (i.slashesCount !== 2 || Gn.test(r)) || !i.slashes && (i.protocol || i.slashesCount < 2 || !q(f.protocol))) && (_[3] = [/(.*)/, "pathname"]); Pe < _.length; Pe++) {
|
|
2642
|
+
if (l = _[Pe], typeof l == "function") {
|
|
2643
|
+
r = l(r, f);
|
|
2644
2644
|
continue;
|
|
2645
2645
|
}
|
|
2646
|
-
p = l[0], k = l[1], p !== p ?
|
|
2646
|
+
p = l[0], k = l[1], p !== p ? f[k] = r : typeof p == "string" ? (T = p === "@" ? r.lastIndexOf(p) : r.indexOf(p), ~T && (typeof l[2] == "number" ? (f[k] = r.slice(0, T), r = r.slice(T + l[2])) : (f[k] = r.slice(T), r = r.slice(0, T)))) : (T = p.exec(r)) && (f[k] = T[1], r = r.slice(0, T.index)), f[k] = f[k] || n && l[3] && t[k] || "", l[4] && (f[k] = f[k].toLowerCase());
|
|
2647
2647
|
}
|
|
2648
|
-
c && (
|
|
2648
|
+
c && (f.query = c(f.query)), n && t.slashes && f.pathname.charAt(0) !== "/" && (f.pathname !== "" || t.pathname !== "") && (f.pathname = Wn(f.pathname, t.pathname)), f.pathname.charAt(0) !== "/" && q(f.protocol) && (f.pathname = "/" + f.pathname), u(f.port, f.protocol) || (f.host = f.hostname, f.port = ""), f.username = f.password = "", f.auth && (T = f.auth.indexOf(":"), ~T ? (f.username = f.auth.slice(0, T), f.username = encodeURIComponent(decodeURIComponent(f.username)), f.password = f.auth.slice(T + 1), f.password = encodeURIComponent(decodeURIComponent(f.password))) : f.username = encodeURIComponent(decodeURIComponent(f.auth)), f.auth = f.password ? f.username + ":" + f.password : f.username), f.origin = f.protocol !== "file:" && q(f.protocol) && f.host ? f.protocol + "//" + f.host : "null", f.href = f.toString();
|
|
2649
2649
|
}
|
|
2650
|
-
function
|
|
2650
|
+
function Fn(r, t, c) {
|
|
2651
2651
|
var n = this;
|
|
2652
2652
|
switch (r) {
|
|
2653
2653
|
case "query":
|
|
2654
|
-
typeof t == "string" && t.length && (t = (c ||
|
|
2654
|
+
typeof t == "string" && t.length && (t = (c || ne.parse)(t)), n[r] = t;
|
|
2655
2655
|
break;
|
|
2656
2656
|
case "port":
|
|
2657
2657
|
n[r] = t, u(t, n.protocol) ? t && (n.host = n.hostname + ":" + t) : (n.host = n.hostname, n[r] = "");
|
|
@@ -2681,61 +2681,61 @@ var z = {}, gt = {
|
|
|
2681
2681
|
var p = t.indexOf(":");
|
|
2682
2682
|
~p ? (n.username = t.slice(0, p), n.username = encodeURIComponent(decodeURIComponent(n.username)), n.password = t.slice(p + 1), n.password = encodeURIComponent(decodeURIComponent(n.password))) : n.username = encodeURIComponent(decodeURIComponent(t));
|
|
2683
2683
|
}
|
|
2684
|
-
for (var l = 0; l <
|
|
2685
|
-
var
|
|
2686
|
-
|
|
2684
|
+
for (var l = 0; l < ge.length; l++) {
|
|
2685
|
+
var T = ge[l];
|
|
2686
|
+
T[4] && (n[T[1]] = n[T[1]].toLowerCase());
|
|
2687
2687
|
}
|
|
2688
2688
|
return n.auth = n.password ? n.username + ":" + n.password : n.username, n.origin = n.protocol !== "file:" && q(n.protocol) && n.host ? n.protocol + "//" + n.host : "null", n.href = n.toString(), n;
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2691
|
-
(!r || typeof r != "function") && (r =
|
|
2690
|
+
function Kn(r) {
|
|
2691
|
+
(!r || typeof r != "function") && (r = ne.stringify);
|
|
2692
2692
|
var t, c = this, n = c.host, i = c.protocol;
|
|
2693
2693
|
i && i.charAt(i.length - 1) !== ":" && (i += ":");
|
|
2694
2694
|
var p = i + (c.protocol && c.slashes || q(c.protocol) ? "//" : "");
|
|
2695
2695
|
return c.username ? (p += c.username, c.password && (p += ":" + c.password), p += "@") : c.password ? (p += ":" + c.password, p += "@") : c.protocol !== "file:" && q(c.protocol) && !n && c.pathname !== "/" && (p += "@"), n[n.length - 1] === ":" && (n += ":"), p += n + c.pathname, t = typeof c.query == "object" ? r(c.query) : c.query, t && (p += t.charAt(0) !== "?" ? "?" + t : t), c.hash && (p += c.hash), p;
|
|
2696
2696
|
}
|
|
2697
|
-
$.prototype = { set:
|
|
2698
|
-
var
|
|
2699
|
-
function
|
|
2697
|
+
$.prototype = { set: Fn, toString: Kn }, $.extractProtocol = We, $.location = je, $.trimLeft = ke, $.qs = ne;
|
|
2698
|
+
var ye = $;
|
|
2699
|
+
function H(r, t) {
|
|
2700
2700
|
setTimeout(function(c) {
|
|
2701
2701
|
return r.call(c);
|
|
2702
2702
|
}, 4, t);
|
|
2703
2703
|
}
|
|
2704
|
-
function
|
|
2704
|
+
function te(r, t) {
|
|
2705
2705
|
typeof process != "undefined" && true && console[r].call(null, t);
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function Re(r, t) {
|
|
2708
2708
|
r === void 0 && (r = []);
|
|
2709
2709
|
var c = [];
|
|
2710
2710
|
return r.forEach(function(n) {
|
|
2711
2711
|
t(n) || c.push(n);
|
|
2712
2712
|
}), c;
|
|
2713
2713
|
}
|
|
2714
|
-
function
|
|
2714
|
+
function Vn(r, t) {
|
|
2715
2715
|
r === void 0 && (r = []);
|
|
2716
2716
|
var c = [];
|
|
2717
2717
|
return r.forEach(function(n) {
|
|
2718
2718
|
t(n) && c.push(n);
|
|
2719
2719
|
}), c;
|
|
2720
2720
|
}
|
|
2721
|
-
var
|
|
2721
|
+
var U = function() {
|
|
2722
2722
|
this.listeners = {};
|
|
2723
2723
|
};
|
|
2724
|
-
|
|
2725
|
-
typeof c == "function" && (Array.isArray(this.listeners[t]) || (this.listeners[t] = []),
|
|
2724
|
+
U.prototype.addEventListener = function(t, c) {
|
|
2725
|
+
typeof c == "function" && (Array.isArray(this.listeners[t]) || (this.listeners[t] = []), Vn(this.listeners[t], function(n) {
|
|
2726
2726
|
return n === c;
|
|
2727
2727
|
}).length === 0 && this.listeners[t].push(c));
|
|
2728
|
-
},
|
|
2728
|
+
}, U.prototype.removeEventListener = function(t, c) {
|
|
2729
2729
|
var n = this.listeners[t];
|
|
2730
|
-
this.listeners[t] =
|
|
2730
|
+
this.listeners[t] = Re(n, function(i) {
|
|
2731
2731
|
return i === c;
|
|
2732
2732
|
});
|
|
2733
|
-
},
|
|
2733
|
+
}, U.prototype.dispatchEvent = function(t) {
|
|
2734
2734
|
for (var c = this, n = [], i = arguments.length - 1; i-- > 0; )
|
|
2735
2735
|
n[i] = arguments[i + 1];
|
|
2736
2736
|
var p = t.type, l = this.listeners[p];
|
|
2737
|
-
return Array.isArray(l) ? (l.forEach(function(
|
|
2738
|
-
n.length > 0 ?
|
|
2737
|
+
return Array.isArray(l) ? (l.forEach(function(T) {
|
|
2738
|
+
n.length > 0 ? T.apply(c, n) : T.call(c, t);
|
|
2739
2739
|
}), true) : false;
|
|
2740
2740
|
};
|
|
2741
2741
|
function A(r) {
|
|
@@ -2767,8 +2767,8 @@ var z = {}, gt = {
|
|
|
2767
2767
|
}, N.prototype.websocketsLookup = function(t, c, n) {
|
|
2768
2768
|
var i = A(t), p, l = this.urlMap[i];
|
|
2769
2769
|
if (p = l ? l.websockets : [], c) {
|
|
2770
|
-
var
|
|
2771
|
-
p =
|
|
2770
|
+
var T = l.roomMemberships[c];
|
|
2771
|
+
p = T || [];
|
|
2772
2772
|
}
|
|
2773
2773
|
return n ? p.filter(function(k) {
|
|
2774
2774
|
return k !== n;
|
|
@@ -2777,12 +2777,12 @@ var z = {}, gt = {
|
|
|
2777
2777
|
delete this.urlMap[A(t)];
|
|
2778
2778
|
}, N.prototype.removeWebSocket = function(t, c) {
|
|
2779
2779
|
var n = A(c), i = this.urlMap[n];
|
|
2780
|
-
i && (i.websockets =
|
|
2780
|
+
i && (i.websockets = Re(i.websockets, function(p) {
|
|
2781
2781
|
return p === t;
|
|
2782
2782
|
}));
|
|
2783
2783
|
}, N.prototype.removeMembershipFromRoom = function(t, c) {
|
|
2784
2784
|
var n = this.urlMap[A(t.url)], i = n.roomMemberships[c];
|
|
2785
|
-
n && i !== null && (n.roomMemberships[c] =
|
|
2785
|
+
n && i !== null && (n.roomMemberships[c] = Re(i, function(p) {
|
|
2786
2786
|
return p === t;
|
|
2787
2787
|
}));
|
|
2788
2788
|
};
|
|
@@ -2809,14 +2809,14 @@ var z = {}, gt = {
|
|
|
2809
2809
|
MESSAGE: "Failed to construct 'MessageEvent':",
|
|
2810
2810
|
CLOSE: "Failed to construct 'CloseEvent':"
|
|
2811
2811
|
}
|
|
2812
|
-
},
|
|
2812
|
+
}, B = function() {
|
|
2813
2813
|
};
|
|
2814
|
-
|
|
2815
|
-
},
|
|
2816
|
-
},
|
|
2814
|
+
B.prototype.stopPropagation = function() {
|
|
2815
|
+
}, B.prototype.stopImmediatePropagation = function() {
|
|
2816
|
+
}, B.prototype.initEvent = function(t, c, n) {
|
|
2817
2817
|
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);
|
|
2818
2818
|
};
|
|
2819
|
-
var
|
|
2819
|
+
var Hn = function(r) {
|
|
2820
2820
|
function t(c, n) {
|
|
2821
2821
|
if (n === void 0 && (n = {}), r.call(this), !c)
|
|
2822
2822
|
throw new TypeError(S.EVENT_ERROR + " 1 argument required, but only 0 present.");
|
|
@@ -2826,33 +2826,33 @@ var z = {}, gt = {
|
|
|
2826
2826
|
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 = p ? Boolean(p) : false, this.cancelBubble = false, this.bubbles = i ? Boolean(i) : false;
|
|
2827
2827
|
}
|
|
2828
2828
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
|
|
2829
|
-
}(
|
|
2829
|
+
}(B), Jn = function(r) {
|
|
2830
2830
|
function t(c, n) {
|
|
2831
2831
|
if (n === void 0 && (n = {}), r.call(this), !c)
|
|
2832
2832
|
throw new TypeError(S.EVENT.MESSAGE + " 1 argument required, but only 0 present.");
|
|
2833
2833
|
if (typeof n != "object")
|
|
2834
2834
|
throw new TypeError(S.EVENT.MESSAGE + " parameter 2 ('eventInitDict') is not an object");
|
|
2835
|
-
var i = n.bubbles, p = n.cancelable, l = n.data,
|
|
2836
|
-
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 = p ? Boolean(p) : false, this.canncelBubble = false, this.bubbles = i ? Boolean(i) : false, this.origin = "" +
|
|
2835
|
+
var i = n.bubbles, p = n.cancelable, l = n.data, T = n.origin, k = n.lastEventId, _ = n.ports;
|
|
2836
|
+
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 = p ? Boolean(p) : 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 || "");
|
|
2837
2837
|
}
|
|
2838
2838
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
|
|
2839
|
-
}(
|
|
2839
|
+
}(B), Zn = function(r) {
|
|
2840
2840
|
function t(c, n) {
|
|
2841
2841
|
if (n === void 0 && (n = {}), r.call(this), !c)
|
|
2842
2842
|
throw new TypeError(S.EVENT.CLOSE + " 1 argument required, but only 0 present.");
|
|
2843
2843
|
if (typeof n != "object")
|
|
2844
2844
|
throw new TypeError(S.EVENT.CLOSE + " parameter 2 ('eventInitDict') is not an object");
|
|
2845
|
-
var i = n.bubbles, p = n.cancelable, l = n.code,
|
|
2846
|
-
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 = p ? Boolean(p) : false, this.cancelBubble = false, this.bubbles = i ? Boolean(i) : false, this.code = typeof l == "number" ? parseInt(l, 10) : 0, this.reason = "" + (
|
|
2845
|
+
var i = n.bubbles, p = n.cancelable, l = n.code, T = n.reason, k = n.wasClean;
|
|
2846
|
+
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 = p ? Boolean(p) : 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;
|
|
2847
2847
|
}
|
|
2848
2848
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
|
|
2849
|
-
}(
|
|
2849
|
+
}(B);
|
|
2850
2850
|
function L(r) {
|
|
2851
|
-
var t = r.type, c = r.target, n = new
|
|
2851
|
+
var t = r.type, c = r.target, n = new Hn(t);
|
|
2852
2852
|
return c && (n.target = c, n.srcElement = c, n.currentTarget = c), n;
|
|
2853
2853
|
}
|
|
2854
|
-
function
|
|
2855
|
-
var t = r.type, c = r.origin, n = r.data, i = r.target, p = new
|
|
2854
|
+
function J(r) {
|
|
2855
|
+
var t = r.type, c = r.origin, n = r.data, i = r.target, p = new Jn(t, {
|
|
2856
2856
|
data: n,
|
|
2857
2857
|
origin: c
|
|
2858
2858
|
});
|
|
@@ -2861,14 +2861,14 @@ var z = {}, gt = {
|
|
|
2861
2861
|
function O(r) {
|
|
2862
2862
|
var t = r.code, c = r.reason, n = r.type, i = r.target, p = r.wasClean;
|
|
2863
2863
|
p || (p = t === x.CLOSE_NORMAL || t === x.CLOSE_NO_STATUS);
|
|
2864
|
-
var l = new
|
|
2864
|
+
var l = new Zn(n, {
|
|
2865
2865
|
code: t,
|
|
2866
2866
|
reason: c,
|
|
2867
2867
|
wasClean: p
|
|
2868
2868
|
});
|
|
2869
2869
|
return i && (l.target = i, l.srcElement = i, l.currentTarget = i), l;
|
|
2870
2870
|
}
|
|
2871
|
-
function
|
|
2871
|
+
function Fe(r, t, c) {
|
|
2872
2872
|
r.readyState = C.CLOSING;
|
|
2873
2873
|
var n = P.serverLookup(r.url), i = O({
|
|
2874
2874
|
type: "close",
|
|
@@ -2876,11 +2876,11 @@ var z = {}, gt = {
|
|
|
2876
2876
|
code: t,
|
|
2877
2877
|
reason: c
|
|
2878
2878
|
});
|
|
2879
|
-
|
|
2879
|
+
H(function() {
|
|
2880
2880
|
P.removeWebSocket(r, r.url), r.readyState = C.CLOSED, r.dispatchEvent(i), n && n.dispatchEvent(i, n);
|
|
2881
2881
|
}, r);
|
|
2882
2882
|
}
|
|
2883
|
-
function
|
|
2883
|
+
function zn(r, t, c) {
|
|
2884
2884
|
r.readyState = C.CLOSING;
|
|
2885
2885
|
var n = P.serverLookup(r.url), i = O({
|
|
2886
2886
|
type: "close",
|
|
@@ -2892,31 +2892,31 @@ var z = {}, gt = {
|
|
|
2892
2892
|
type: "error",
|
|
2893
2893
|
target: r.target
|
|
2894
2894
|
});
|
|
2895
|
-
|
|
2895
|
+
H(function() {
|
|
2896
2896
|
P.removeWebSocket(r, r.url), r.readyState = C.CLOSED, r.dispatchEvent(p), r.dispatchEvent(i), n && n.dispatchEvent(i, n);
|
|
2897
2897
|
}, r);
|
|
2898
2898
|
}
|
|
2899
|
-
function
|
|
2899
|
+
function se(r) {
|
|
2900
2900
|
return Object.prototype.toString.call(r) !== "[object Blob]" && !(r instanceof ArrayBuffer) && (r = String(r)), r;
|
|
2901
2901
|
}
|
|
2902
2902
|
var ve = /* @__PURE__ */ new WeakMap();
|
|
2903
|
-
function
|
|
2903
|
+
function Ke(r) {
|
|
2904
2904
|
if (ve.has(r))
|
|
2905
2905
|
return ve.get(r);
|
|
2906
2906
|
var t = new Proxy(r, {
|
|
2907
2907
|
get: function(n, i) {
|
|
2908
2908
|
if (i === "close")
|
|
2909
|
-
return function(
|
|
2910
|
-
|
|
2911
|
-
var k =
|
|
2912
|
-
|
|
2909
|
+
return function(T) {
|
|
2910
|
+
T === void 0 && (T = {});
|
|
2911
|
+
var k = T.code || x.CLOSE_NORMAL, _ = T.reason || "";
|
|
2912
|
+
Fe(t, k, _);
|
|
2913
2913
|
};
|
|
2914
2914
|
if (i === "send")
|
|
2915
|
-
return function(
|
|
2916
|
-
|
|
2917
|
-
|
|
2915
|
+
return function(T) {
|
|
2916
|
+
T = se(T), r.dispatchEvent(
|
|
2917
|
+
J({
|
|
2918
2918
|
type: "message",
|
|
2919
|
-
data:
|
|
2919
|
+
data: T,
|
|
2920
2920
|
origin: this.url,
|
|
2921
2921
|
target: r
|
|
2922
2922
|
})
|
|
@@ -2925,21 +2925,21 @@ var z = {}, gt = {
|
|
|
2925
2925
|
var p = function(l) {
|
|
2926
2926
|
return l === "message" ? "server::" + l : l;
|
|
2927
2927
|
};
|
|
2928
|
-
return i === "on" ? function(
|
|
2929
|
-
r.addEventListener(p(
|
|
2930
|
-
} : i === "off" ? function(
|
|
2931
|
-
r.removeEventListener(p(
|
|
2928
|
+
return i === "on" ? function(T, k) {
|
|
2929
|
+
r.addEventListener(p(T), k);
|
|
2930
|
+
} : i === "off" ? function(T, k) {
|
|
2931
|
+
r.removeEventListener(p(T), k);
|
|
2932
2932
|
} : i === "target" ? r : n[i];
|
|
2933
2933
|
}
|
|
2934
2934
|
});
|
|
2935
2935
|
return ve.set(r, t), t;
|
|
2936
2936
|
}
|
|
2937
|
-
function
|
|
2937
|
+
function Yn(r) {
|
|
2938
2938
|
var t = encodeURIComponent(r).match(/%[89ABab]/g);
|
|
2939
2939
|
return r.length + (t ? t.length : 0);
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2942
|
-
var t = new
|
|
2941
|
+
function Qn(r) {
|
|
2942
|
+
var t = new ye(r), c = t.pathname, n = t.protocol, i = t.hash;
|
|
2943
2943
|
if (!r)
|
|
2944
2944
|
throw new TypeError(S.CONSTRUCTOR_ERROR + " 1 argument required, but only 0 present.");
|
|
2945
2945
|
if (c || (t.pathname = "/"), n === "")
|
|
@@ -2954,7 +2954,7 @@ var z = {}, gt = {
|
|
|
2954
2954
|
);
|
|
2955
2955
|
return t.toString();
|
|
2956
2956
|
}
|
|
2957
|
-
function
|
|
2957
|
+
function Xn(r) {
|
|
2958
2958
|
if (r === void 0 && (r = []), !Array.isArray(r) && typeof r != "string")
|
|
2959
2959
|
throw new SyntaxError(S.CONSTRUCTOR_ERROR + " The subprotocol '" + r.toString() + "' is invalid.");
|
|
2960
2960
|
typeof r == "string" && (r = [r]);
|
|
@@ -2971,13 +2971,13 @@ var z = {}, gt = {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
var C = function(r) {
|
|
2973
2973
|
function t(n, i) {
|
|
2974
|
-
r.call(this), this._onopen = null, this._onmessage = null, this._onerror = null, this._onclose = null, this.url =
|
|
2975
|
-
var p =
|
|
2976
|
-
|
|
2974
|
+
r.call(this), this._onopen = null, this._onmessage = null, this._onerror = null, this._onclose = null, this.url = Qn(n), i = Xn(i), this.protocol = i[0] || "", this.binaryType = "blob", this.readyState = t.CONNECTING;
|
|
2975
|
+
var p = Ke(this), l = P.attachWebSocket(p, this.url);
|
|
2976
|
+
H(function() {
|
|
2977
2977
|
if (this.readyState === t.CONNECTING)
|
|
2978
2978
|
if (l)
|
|
2979
2979
|
if (l.options.verifyClient && typeof l.options.verifyClient == "function" && !l.options.verifyClient())
|
|
2980
|
-
this.readyState = t.CLOSED,
|
|
2980
|
+
this.readyState = t.CLOSED, te(
|
|
2981
2981
|
"error",
|
|
2982
2982
|
"WebSocket connection to '" + this.url + "' failed: HTTP Authentication failed; no valid credentials available"
|
|
2983
2983
|
), P.removeWebSocket(p, this.url), this.dispatchEvent(L({ type: "error", target: this })), this.dispatchEvent(O({ type: "close", target: this, code: x.CLOSE_NORMAL }));
|
|
@@ -2985,7 +2985,7 @@ var z = {}, gt = {
|
|
|
2985
2985
|
if (l.options.selectProtocol && typeof l.options.selectProtocol == "function") {
|
|
2986
2986
|
var k = l.options.selectProtocol(i), _ = k !== "", E = i.indexOf(k) !== -1;
|
|
2987
2987
|
if (_ && !E) {
|
|
2988
|
-
this.readyState = t.CLOSED,
|
|
2988
|
+
this.readyState = t.CLOSED, te("error", "WebSocket connection to '" + this.url + "' failed: Invalid Sub-Protocol"), P.removeWebSocket(p, this.url), this.dispatchEvent(L({ type: "error", target: this })), this.dispatchEvent(O({ type: "close", target: this, code: x.CLOSE_NORMAL }));
|
|
2989
2989
|
return;
|
|
2990
2990
|
}
|
|
2991
2991
|
this.protocol = k;
|
|
@@ -2993,7 +2993,7 @@ var z = {}, gt = {
|
|
|
2993
2993
|
this.readyState = t.OPEN, this.dispatchEvent(L({ type: "open", target: this })), l.dispatchEvent(L({ type: "connection" }), p);
|
|
2994
2994
|
}
|
|
2995
2995
|
else
|
|
2996
|
-
this.readyState = t.CLOSED, this.dispatchEvent(L({ type: "error", target: this })), this.dispatchEvent(O({ type: "close", target: this, code: x.CLOSE_NORMAL })),
|
|
2996
|
+
this.readyState = t.CLOSED, this.dispatchEvent(L({ type: "error", target: this })), this.dispatchEvent(O({ type: "close", target: this, code: x.CLOSE_NORMAL })), te("error", "WebSocket connection to '" + this.url + "' failed");
|
|
2997
2997
|
}, this);
|
|
2998
2998
|
}
|
|
2999
2999
|
r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t;
|
|
@@ -3018,46 +3018,46 @@ var z = {}, gt = {
|
|
|
3018
3018
|
var p = this;
|
|
3019
3019
|
if (this.readyState === t.CONNECTING)
|
|
3020
3020
|
throw new Error("Failed to execute 'send' on 'WebSocket': Still in CONNECTING state");
|
|
3021
|
-
var l =
|
|
3021
|
+
var l = J({
|
|
3022
3022
|
type: "server::message",
|
|
3023
3023
|
origin: this.url,
|
|
3024
|
-
data:
|
|
3025
|
-
}),
|
|
3026
|
-
|
|
3024
|
+
data: se(i)
|
|
3025
|
+
}), T = P.serverLookup(this.url);
|
|
3026
|
+
T && H(function() {
|
|
3027
3027
|
p.dispatchEvent(l, i);
|
|
3028
|
-
},
|
|
3028
|
+
}, T);
|
|
3029
3029
|
}, t.prototype.close = function(i, p) {
|
|
3030
3030
|
if (i !== void 0 && (typeof i != "number" || i !== 1e3 && (i < 3e3 || i > 4999)))
|
|
3031
3031
|
throw new TypeError(
|
|
3032
3032
|
S.CLOSE_ERROR + " The code must be either 1000, or between 3000 and 4999. " + i + " is neither."
|
|
3033
3033
|
);
|
|
3034
3034
|
if (p !== void 0) {
|
|
3035
|
-
var l =
|
|
3035
|
+
var l = Yn(p);
|
|
3036
3036
|
if (l > 123)
|
|
3037
3037
|
throw new SyntaxError(S.CLOSE_ERROR + " The message must not be greater than 123 bytes.");
|
|
3038
3038
|
}
|
|
3039
3039
|
if (!(this.readyState === t.CLOSING || this.readyState === t.CLOSED)) {
|
|
3040
|
-
var
|
|
3041
|
-
this.readyState === t.CONNECTING ?
|
|
3040
|
+
var T = Ke(this);
|
|
3041
|
+
this.readyState === t.CONNECTING ? zn(T, i || x.CLOSE_ABNORMAL, p) : Fe(T, i || x.CLOSE_NO_STATUS, p);
|
|
3042
3042
|
}
|
|
3043
3043
|
}, Object.defineProperties(t.prototype, c), t;
|
|
3044
|
-
}(
|
|
3044
|
+
}(U);
|
|
3045
3045
|
C.CONNECTING = 0, C.prototype.CONNECTING = C.CONNECTING, C.OPEN = 1, C.prototype.OPEN = C.OPEN, C.CLOSING = 2, C.prototype.CLOSING = C.CLOSING, C.CLOSED = 3, C.prototype.CLOSED = C.CLOSED;
|
|
3046
|
-
var
|
|
3046
|
+
var G = function(r) {
|
|
3047
3047
|
function t(n, i) {
|
|
3048
3048
|
var p = this;
|
|
3049
3049
|
n === void 0 && (n = "socket.io"), i === void 0 && (i = ""), r.call(this), this.binaryType = "blob";
|
|
3050
|
-
var l = new
|
|
3050
|
+
var l = new ye(n);
|
|
3051
3051
|
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]);
|
|
3052
|
-
var
|
|
3053
|
-
|
|
3054
|
-
|
|
3052
|
+
var T = P.attachWebSocket(this, this.url);
|
|
3053
|
+
H(function() {
|
|
3054
|
+
T ? (this.readyState = t.OPEN, T.dispatchEvent(L({ type: "connection" }), T, this), T.dispatchEvent(L({ type: "connect" }), T, this), this.dispatchEvent(L({ type: "connect", target: this }))) : (this.readyState = t.CLOSED, this.dispatchEvent(L({ type: "error", target: this })), this.dispatchEvent(
|
|
3055
3055
|
O({
|
|
3056
3056
|
type: "close",
|
|
3057
3057
|
target: this,
|
|
3058
3058
|
code: x.CLOSE_NORMAL
|
|
3059
3059
|
})
|
|
3060
|
-
),
|
|
3060
|
+
), te("error", "Socket.io connection to '" + this.url + "' failed"));
|
|
3061
3061
|
}, this), this.addEventListener("close", function(k) {
|
|
3062
3062
|
p.dispatchEvent(
|
|
3063
3063
|
O({
|
|
@@ -3095,12 +3095,12 @@ var z = {}, gt = {
|
|
|
3095
3095
|
p[l] = arguments[l + 1];
|
|
3096
3096
|
if (this.readyState !== t.OPEN)
|
|
3097
3097
|
throw new Error("SocketIO is already in CLOSING or CLOSED state");
|
|
3098
|
-
var
|
|
3098
|
+
var T = J({
|
|
3099
3099
|
type: i,
|
|
3100
3100
|
origin: this.url,
|
|
3101
3101
|
data: p
|
|
3102
3102
|
}), k = P.serverLookup(this.url);
|
|
3103
|
-
return k && k.dispatchEvent.apply(k, [
|
|
3103
|
+
return k && k.dispatchEvent.apply(k, [T].concat(p)), this;
|
|
3104
3104
|
}, t.prototype.send = function(i) {
|
|
3105
3105
|
return this.emit("message", i), this;
|
|
3106
3106
|
}, c.broadcast.get = function() {
|
|
@@ -3110,8 +3110,8 @@ var z = {}, gt = {
|
|
|
3110
3110
|
if (!i)
|
|
3111
3111
|
throw new Error("SocketIO can not find a server at the specified URL (" + this.url + ")");
|
|
3112
3112
|
return {
|
|
3113
|
-
emit: function(l,
|
|
3114
|
-
return i.emit(l,
|
|
3113
|
+
emit: function(l, T) {
|
|
3114
|
+
return i.emit(l, T, { websockets: P.websocketsLookup(n.url, null, n) }), n;
|
|
3115
3115
|
},
|
|
3116
3116
|
to: function(l) {
|
|
3117
3117
|
return i.to(l, n);
|
|
@@ -3136,8 +3136,8 @@ var z = {}, gt = {
|
|
|
3136
3136
|
}, t.prototype.in = function() {
|
|
3137
3137
|
return this.to.apply(null, arguments);
|
|
3138
3138
|
}, t.prototype.dispatchEvent = function(i) {
|
|
3139
|
-
for (var p = this, l = [],
|
|
3140
|
-
l[
|
|
3139
|
+
for (var p = this, l = [], T = arguments.length - 1; T-- > 0; )
|
|
3140
|
+
l[T] = arguments[T + 1];
|
|
3141
3141
|
var k = i.type, _ = this.listeners[k];
|
|
3142
3142
|
if (!Array.isArray(_))
|
|
3143
3143
|
return false;
|
|
@@ -3145,41 +3145,41 @@ var z = {}, gt = {
|
|
|
3145
3145
|
l.length > 0 ? E.apply(p, l) : E.call(p, i.data ? i.data : i);
|
|
3146
3146
|
});
|
|
3147
3147
|
}, Object.defineProperties(t.prototype, c), t;
|
|
3148
|
-
}(
|
|
3149
|
-
|
|
3150
|
-
var
|
|
3151
|
-
return new
|
|
3148
|
+
}(U);
|
|
3149
|
+
G.CONNECTING = 0, G.OPEN = 1, G.CLOSING = 2, G.CLOSED = 3;
|
|
3150
|
+
var _e = function(t, c) {
|
|
3151
|
+
return new G(t, c);
|
|
3152
3152
|
};
|
|
3153
|
-
|
|
3154
|
-
return
|
|
3153
|
+
_e.connect = function(t, c) {
|
|
3154
|
+
return _e(t, c);
|
|
3155
3155
|
};
|
|
3156
|
-
var
|
|
3156
|
+
var et = function(r) {
|
|
3157
3157
|
return r.reduce(function(t, c) {
|
|
3158
3158
|
return t.indexOf(c) > -1 ? t : t.concat(c);
|
|
3159
3159
|
}, []);
|
|
3160
3160
|
};
|
|
3161
|
-
function
|
|
3162
|
-
return typeof window != "undefined" ? window : typeof process == "object" && typeof
|
|
3161
|
+
function Ve() {
|
|
3162
|
+
return typeof window != "undefined" ? window : typeof process == "object" && typeof yt == "function" && typeof Y == "object" ? Y : this;
|
|
3163
3163
|
}
|
|
3164
|
-
var
|
|
3164
|
+
var He = {
|
|
3165
3165
|
mock: true,
|
|
3166
3166
|
verifyClient: null,
|
|
3167
3167
|
selectProtocol: null
|
|
3168
|
-
},
|
|
3168
|
+
}, we = function(r) {
|
|
3169
3169
|
function t(c, n) {
|
|
3170
|
-
n === void 0 && (n =
|
|
3171
|
-
var i = new
|
|
3170
|
+
n === void 0 && (n = He), r.call(this);
|
|
3171
|
+
var i = new ye(c);
|
|
3172
3172
|
i.pathname || (i.pathname = "/"), this.url = i.toString(), this.originalWebSocket = null;
|
|
3173
3173
|
var p = P.attachServer(this, this.url);
|
|
3174
3174
|
if (!p)
|
|
3175
3175
|
throw this.dispatchEvent(L({ type: "error" })), new Error("A mock server is already listening on this url");
|
|
3176
|
-
this.options = Object.assign({},
|
|
3176
|
+
this.options = Object.assign({}, He, n), this.options.mock && this.mockWebsocket();
|
|
3177
3177
|
}
|
|
3178
3178
|
return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.mockWebsocket = function() {
|
|
3179
|
-
var n =
|
|
3179
|
+
var n = Ve();
|
|
3180
3180
|
this.originalWebSocket = n.WebSocket, n.WebSocket = C;
|
|
3181
3181
|
}, t.prototype.restoreWebsocket = function() {
|
|
3182
|
-
var n =
|
|
3182
|
+
var n = Ve();
|
|
3183
3183
|
this.originalWebSocket !== null && (n.WebSocket = this.originalWebSocket), this.originalWebSocket = null;
|
|
3184
3184
|
}, t.prototype.stop = function(n) {
|
|
3185
3185
|
n === void 0 && (n = function() {
|
|
@@ -3190,8 +3190,8 @@ var z = {}, gt = {
|
|
|
3190
3190
|
this.removeEventListener(n, i);
|
|
3191
3191
|
}, t.prototype.close = function(n) {
|
|
3192
3192
|
n === void 0 && (n = {});
|
|
3193
|
-
var i = n.code, p = n.reason, l = n.wasClean,
|
|
3194
|
-
P.removeServer(this.url),
|
|
3193
|
+
var i = n.code, p = n.reason, l = n.wasClean, T = P.websocketsLookup(this.url);
|
|
3194
|
+
P.removeServer(this.url), T.forEach(function(k) {
|
|
3195
3195
|
k.readyState = C.CLOSED, k.dispatchEvent(
|
|
3196
3196
|
O({
|
|
3197
3197
|
type: "close",
|
|
@@ -3205,23 +3205,23 @@ var z = {}, gt = {
|
|
|
3205
3205
|
}, t.prototype.emit = function(n, i, p) {
|
|
3206
3206
|
var l = this;
|
|
3207
3207
|
p === void 0 && (p = {});
|
|
3208
|
-
var
|
|
3209
|
-
|
|
3208
|
+
var T = p.websockets;
|
|
3209
|
+
T || (T = P.websocketsLookup(this.url));
|
|
3210
3210
|
var k;
|
|
3211
3211
|
typeof p != "object" || arguments.length > 3 ? (i = Array.prototype.slice.call(arguments, 1, arguments.length), k = i.map(function(_) {
|
|
3212
|
-
return
|
|
3213
|
-
})) : k =
|
|
3214
|
-
var E = _ instanceof
|
|
3212
|
+
return se(_);
|
|
3213
|
+
})) : k = se(i), T.forEach(function(_) {
|
|
3214
|
+
var E = _ instanceof G ? i : k;
|
|
3215
3215
|
Array.isArray(E) ? _.dispatchEvent.apply(
|
|
3216
3216
|
_,
|
|
3217
|
-
[
|
|
3217
|
+
[J({
|
|
3218
3218
|
type: n,
|
|
3219
3219
|
data: E,
|
|
3220
3220
|
origin: l.url,
|
|
3221
3221
|
target: _.target
|
|
3222
3222
|
})].concat(E)
|
|
3223
3223
|
) : _.dispatchEvent(
|
|
3224
|
-
|
|
3224
|
+
J({
|
|
3225
3225
|
type: n,
|
|
3226
3226
|
data: E,
|
|
3227
3227
|
origin: l.url,
|
|
@@ -3234,13 +3234,13 @@ var z = {}, gt = {
|
|
|
3234
3234
|
}, t.prototype.to = function(n, i, p) {
|
|
3235
3235
|
var l = this;
|
|
3236
3236
|
p === void 0 && (p = []);
|
|
3237
|
-
var
|
|
3237
|
+
var T = this, k = et(p.concat(P.websocketsLookup(this.url, n, i)));
|
|
3238
3238
|
return {
|
|
3239
3239
|
to: function(_, E) {
|
|
3240
3240
|
return l.to.call(l, _, E, k);
|
|
3241
3241
|
},
|
|
3242
|
-
emit: function(E,
|
|
3243
|
-
|
|
3242
|
+
emit: function(E, f) {
|
|
3243
|
+
T.emit(E, f, { websockets: k });
|
|
3244
3244
|
}
|
|
3245
3245
|
};
|
|
3246
3246
|
}, t.prototype.in = function() {
|
|
@@ -3253,75 +3253,75 @@ var z = {}, gt = {
|
|
|
3253
3253
|
p.readyState = C.CLOSED, p.dispatchEvent(L({ type: "error", target: p.target }));
|
|
3254
3254
|
});
|
|
3255
3255
|
}, t;
|
|
3256
|
-
}(
|
|
3257
|
-
|
|
3258
|
-
return new
|
|
3256
|
+
}(U);
|
|
3257
|
+
we.of = function(t) {
|
|
3258
|
+
return new we(t);
|
|
3259
3259
|
};
|
|
3260
|
-
var
|
|
3261
|
-
a.Server =
|
|
3260
|
+
var nt = we, tt = C, st = _e;
|
|
3261
|
+
a.Server = nt, a.WebSocket = tt, a.SocketIO = st, Object.defineProperty(a, "__esModule", { value: true });
|
|
3262
3262
|
});
|
|
3263
|
-
})(
|
|
3264
|
-
var
|
|
3263
|
+
})(Rt, Q);
|
|
3264
|
+
var Le = {}, vt = {
|
|
3265
3265
|
get exports() {
|
|
3266
|
-
return
|
|
3266
|
+
return Le;
|
|
3267
3267
|
},
|
|
3268
3268
|
set exports(e) {
|
|
3269
|
-
|
|
3269
|
+
Le = e;
|
|
3270
3270
|
}
|
|
3271
|
-
},
|
|
3271
|
+
}, W = typeof Reflect == "object" ? Reflect : null, nn = W && typeof W.apply == "function" ? W.apply : function(e, s, a) {
|
|
3272
3272
|
return Function.prototype.apply.call(e, s, a);
|
|
3273
|
-
},
|
|
3274
|
-
|
|
3273
|
+
}, ae;
|
|
3274
|
+
W && typeof W.ownKeys == "function" ? ae = W.ownKeys : Object.getOwnPropertySymbols ? ae = function(e) {
|
|
3275
3275
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
3276
|
-
} :
|
|
3276
|
+
} : ae = function(e) {
|
|
3277
3277
|
return Object.getOwnPropertyNames(e);
|
|
3278
3278
|
};
|
|
3279
|
-
function
|
|
3279
|
+
function _t(e) {
|
|
3280
3280
|
console && console.warn && console.warn(e);
|
|
3281
3281
|
}
|
|
3282
|
-
var
|
|
3282
|
+
var gn = Number.isNaN || function(e) {
|
|
3283
3283
|
return e !== e;
|
|
3284
3284
|
};
|
|
3285
|
-
function
|
|
3286
|
-
|
|
3285
|
+
function v() {
|
|
3286
|
+
v.init.call(this);
|
|
3287
3287
|
}
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
var
|
|
3295
|
-
function
|
|
3288
|
+
vt.exports = v;
|
|
3289
|
+
Le.once = Et;
|
|
3290
|
+
v.EventEmitter = v;
|
|
3291
|
+
v.prototype._events = void 0;
|
|
3292
|
+
v.prototype._eventsCount = 0;
|
|
3293
|
+
v.prototype._maxListeners = void 0;
|
|
3294
|
+
var tn = 10;
|
|
3295
|
+
function Te(e) {
|
|
3296
3296
|
if (typeof e != "function")
|
|
3297
3297
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
3298
3298
|
}
|
|
3299
|
-
Object.defineProperty(
|
|
3299
|
+
Object.defineProperty(v, "defaultMaxListeners", {
|
|
3300
3300
|
enumerable: true,
|
|
3301
3301
|
get: function() {
|
|
3302
|
-
return
|
|
3302
|
+
return tn;
|
|
3303
3303
|
},
|
|
3304
3304
|
set: function(e) {
|
|
3305
|
-
if (typeof e != "number" || e < 0 ||
|
|
3305
|
+
if (typeof e != "number" || e < 0 || gn(e))
|
|
3306
3306
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
3307
|
-
|
|
3307
|
+
tn = e;
|
|
3308
3308
|
}
|
|
3309
3309
|
});
|
|
3310
|
-
|
|
3310
|
+
v.init = function() {
|
|
3311
3311
|
(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;
|
|
3312
3312
|
};
|
|
3313
|
-
|
|
3314
|
-
if (typeof e != "number" || e < 0 ||
|
|
3313
|
+
v.prototype.setMaxListeners = function(e) {
|
|
3314
|
+
if (typeof e != "number" || e < 0 || gn(e))
|
|
3315
3315
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
3316
3316
|
return this._maxListeners = e, this;
|
|
3317
3317
|
};
|
|
3318
|
-
function
|
|
3319
|
-
return e._maxListeners === void 0 ?
|
|
3318
|
+
function yn(e) {
|
|
3319
|
+
return e._maxListeners === void 0 ? v.defaultMaxListeners : e._maxListeners;
|
|
3320
3320
|
}
|
|
3321
|
-
|
|
3322
|
-
return
|
|
3321
|
+
v.prototype.getMaxListeners = function() {
|
|
3322
|
+
return yn(this);
|
|
3323
3323
|
};
|
|
3324
|
-
|
|
3324
|
+
v.prototype.emit = function(e) {
|
|
3325
3325
|
for (var s = [], a = 1; a < arguments.length; a++)
|
|
3326
3326
|
s.push(arguments[a]);
|
|
3327
3327
|
var d = e === "error", u = this._events;
|
|
@@ -3330,89 +3330,89 @@ R.prototype.emit = function(e) {
|
|
|
3330
3330
|
else if (!d)
|
|
3331
3331
|
return false;
|
|
3332
3332
|
if (d) {
|
|
3333
|
-
var
|
|
3334
|
-
if (s.length > 0 && (
|
|
3335
|
-
throw
|
|
3336
|
-
var
|
|
3337
|
-
throw
|
|
3333
|
+
var m;
|
|
3334
|
+
if (s.length > 0 && (m = s[0]), m instanceof Error)
|
|
3335
|
+
throw m;
|
|
3336
|
+
var h = new Error("Unhandled error." + (m ? " (" + m.message + ")" : ""));
|
|
3337
|
+
throw h.context = m, h;
|
|
3338
3338
|
}
|
|
3339
3339
|
var g = u[e];
|
|
3340
3340
|
if (g === void 0)
|
|
3341
3341
|
return false;
|
|
3342
3342
|
if (typeof g == "function")
|
|
3343
|
-
|
|
3343
|
+
nn(g, this, s);
|
|
3344
3344
|
else
|
|
3345
|
-
for (var w = g.length, b =
|
|
3346
|
-
|
|
3345
|
+
for (var w = g.length, b = Pn(g, w), a = 0; a < w; ++a)
|
|
3346
|
+
nn(b[a], this, s);
|
|
3347
3347
|
return true;
|
|
3348
3348
|
};
|
|
3349
|
-
function
|
|
3350
|
-
var u,
|
|
3351
|
-
if (
|
|
3349
|
+
function Rn(e, s, a, d) {
|
|
3350
|
+
var u, m, h;
|
|
3351
|
+
if (Te(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
|
|
3352
3352
|
"newListener",
|
|
3353
3353
|
s,
|
|
3354
3354
|
a.listener ? a.listener : a
|
|
3355
|
-
),
|
|
3356
|
-
|
|
3357
|
-
else if (typeof
|
|
3358
|
-
|
|
3359
|
-
var g = new Error("Possible EventEmitter memory leak detected. " +
|
|
3360
|
-
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count =
|
|
3355
|
+
), m = e._events), h = m[s]), h === void 0)
|
|
3356
|
+
h = m[s] = a, ++e._eventsCount;
|
|
3357
|
+
else if (typeof h == "function" ? h = m[s] = d ? [a, h] : [h, a] : d ? h.unshift(a) : h.push(a), u = yn(e), u > 0 && h.length > u && !h.warned) {
|
|
3358
|
+
h.warned = true;
|
|
3359
|
+
var g = new Error("Possible EventEmitter memory leak detected. " + h.length + " " + String(s) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
3360
|
+
g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = h.length, _t(g);
|
|
3361
3361
|
}
|
|
3362
3362
|
return e;
|
|
3363
3363
|
}
|
|
3364
|
-
|
|
3365
|
-
return
|
|
3364
|
+
v.prototype.addListener = function(e, s) {
|
|
3365
|
+
return Rn(this, e, s, false);
|
|
3366
3366
|
};
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
return
|
|
3367
|
+
v.prototype.on = v.prototype.addListener;
|
|
3368
|
+
v.prototype.prependListener = function(e, s) {
|
|
3369
|
+
return Rn(this, e, s, true);
|
|
3370
3370
|
};
|
|
3371
|
-
function
|
|
3371
|
+
function wt() {
|
|
3372
3372
|
if (!this.fired)
|
|
3373
3373
|
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);
|
|
3374
3374
|
}
|
|
3375
3375
|
function vn(e, s, a) {
|
|
3376
|
-
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, u =
|
|
3376
|
+
var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, u = wt.bind(d);
|
|
3377
3377
|
return u.listener = a, d.wrapFn = u, u;
|
|
3378
3378
|
}
|
|
3379
|
-
|
|
3380
|
-
return
|
|
3379
|
+
v.prototype.once = function(e, s) {
|
|
3380
|
+
return Te(s), this.on(e, vn(this, e, s)), this;
|
|
3381
3381
|
};
|
|
3382
|
-
|
|
3383
|
-
return
|
|
3382
|
+
v.prototype.prependOnceListener = function(e, s) {
|
|
3383
|
+
return Te(s), this.prependListener(e, vn(this, e, s)), this;
|
|
3384
3384
|
};
|
|
3385
|
-
|
|
3386
|
-
var a, d, u,
|
|
3387
|
-
if (
|
|
3385
|
+
v.prototype.removeListener = function(e, s) {
|
|
3386
|
+
var a, d, u, m, h;
|
|
3387
|
+
if (Te(s), d = this._events, d === void 0)
|
|
3388
3388
|
return this;
|
|
3389
3389
|
if (a = d[e], a === void 0)
|
|
3390
3390
|
return this;
|
|
3391
3391
|
if (a === s || a.listener === s)
|
|
3392
3392
|
--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete d[e], d.removeListener && this.emit("removeListener", e, a.listener || s));
|
|
3393
3393
|
else if (typeof a != "function") {
|
|
3394
|
-
for (u = -1,
|
|
3395
|
-
if (a[
|
|
3396
|
-
|
|
3394
|
+
for (u = -1, m = a.length - 1; m >= 0; m--)
|
|
3395
|
+
if (a[m] === s || a[m].listener === s) {
|
|
3396
|
+
h = a[m].listener, u = m;
|
|
3397
3397
|
break;
|
|
3398
3398
|
}
|
|
3399
3399
|
if (u < 0)
|
|
3400
3400
|
return this;
|
|
3401
|
-
u === 0 ? a.shift() :
|
|
3401
|
+
u === 0 ? a.shift() : Pt(a, u), a.length === 1 && (d[e] = a[0]), d.removeListener !== void 0 && this.emit("removeListener", e, h || s);
|
|
3402
3402
|
}
|
|
3403
3403
|
return this;
|
|
3404
3404
|
};
|
|
3405
|
-
|
|
3406
|
-
|
|
3405
|
+
v.prototype.off = v.prototype.removeListener;
|
|
3406
|
+
v.prototype.removeAllListeners = function(e) {
|
|
3407
3407
|
var s, a, d;
|
|
3408
3408
|
if (a = this._events, a === void 0)
|
|
3409
3409
|
return this;
|
|
3410
3410
|
if (a.removeListener === void 0)
|
|
3411
3411
|
return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : a[e] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete a[e]), this;
|
|
3412
3412
|
if (arguments.length === 0) {
|
|
3413
|
-
var u = Object.keys(a),
|
|
3413
|
+
var u = Object.keys(a), m;
|
|
3414
3414
|
for (d = 0; d < u.length; ++d)
|
|
3415
|
-
|
|
3415
|
+
m = u[d], m !== "removeListener" && this.removeAllListeners(m);
|
|
3416
3416
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
|
3417
3417
|
}
|
|
3418
3418
|
if (s = a[e], typeof s == "function")
|
|
@@ -3422,24 +3422,24 @@ R.prototype.removeAllListeners = function(e) {
|
|
|
3422
3422
|
this.removeListener(e, s[d]);
|
|
3423
3423
|
return this;
|
|
3424
3424
|
};
|
|
3425
|
-
function
|
|
3425
|
+
function _n(e, s, a) {
|
|
3426
3426
|
var d = e._events;
|
|
3427
3427
|
if (d === void 0)
|
|
3428
3428
|
return [];
|
|
3429
3429
|
var u = d[s];
|
|
3430
|
-
return u === void 0 ? [] : typeof u == "function" ? a ? [u.listener || u] : [u] : a ?
|
|
3430
|
+
return u === void 0 ? [] : typeof u == "function" ? a ? [u.listener || u] : [u] : a ? Ct(u) : Pn(u, u.length);
|
|
3431
3431
|
}
|
|
3432
|
-
|
|
3433
|
-
return
|
|
3432
|
+
v.prototype.listeners = function(e) {
|
|
3433
|
+
return _n(this, e, true);
|
|
3434
3434
|
};
|
|
3435
|
-
|
|
3436
|
-
return
|
|
3435
|
+
v.prototype.rawListeners = function(e) {
|
|
3436
|
+
return _n(this, e, false);
|
|
3437
3437
|
};
|
|
3438
|
-
|
|
3439
|
-
return typeof e.listenerCount == "function" ? e.listenerCount(s) :
|
|
3438
|
+
v.listenerCount = function(e, s) {
|
|
3439
|
+
return typeof e.listenerCount == "function" ? e.listenerCount(s) : wn.call(e, s);
|
|
3440
3440
|
};
|
|
3441
|
-
|
|
3442
|
-
function
|
|
3441
|
+
v.prototype.listenerCount = wn;
|
|
3442
|
+
function wn(e) {
|
|
3443
3443
|
var s = this._events;
|
|
3444
3444
|
if (s !== void 0) {
|
|
3445
3445
|
var a = s[e];
|
|
@@ -3450,49 +3450,49 @@ function _n(e) {
|
|
|
3450
3450
|
}
|
|
3451
3451
|
return 0;
|
|
3452
3452
|
}
|
|
3453
|
-
|
|
3454
|
-
return this._eventsCount > 0 ?
|
|
3453
|
+
v.prototype.eventNames = function() {
|
|
3454
|
+
return this._eventsCount > 0 ? ae(this._events) : [];
|
|
3455
3455
|
};
|
|
3456
|
-
function
|
|
3456
|
+
function Pn(e, s) {
|
|
3457
3457
|
for (var a = new Array(s), d = 0; d < s; ++d)
|
|
3458
3458
|
a[d] = e[d];
|
|
3459
3459
|
return a;
|
|
3460
3460
|
}
|
|
3461
|
-
function
|
|
3461
|
+
function Pt(e, s) {
|
|
3462
3462
|
for (; s + 1 < e.length; s++)
|
|
3463
3463
|
e[s] = e[s + 1];
|
|
3464
3464
|
e.pop();
|
|
3465
3465
|
}
|
|
3466
|
-
function
|
|
3466
|
+
function Ct(e) {
|
|
3467
3467
|
for (var s = new Array(e.length), a = 0; a < s.length; ++a)
|
|
3468
3468
|
s[a] = e[a].listener || e[a];
|
|
3469
3469
|
return s;
|
|
3470
3470
|
}
|
|
3471
|
-
function
|
|
3471
|
+
function Et(e, s) {
|
|
3472
3472
|
return new Promise(function(a, d) {
|
|
3473
|
-
function u(
|
|
3474
|
-
e.removeListener(s,
|
|
3473
|
+
function u(h) {
|
|
3474
|
+
e.removeListener(s, m), d(h);
|
|
3475
3475
|
}
|
|
3476
|
-
function
|
|
3476
|
+
function m() {
|
|
3477
3477
|
typeof e.removeListener == "function" && e.removeListener("error", u), a([].slice.call(arguments));
|
|
3478
3478
|
}
|
|
3479
|
-
|
|
3479
|
+
Cn(e, s, m, { once: true }), s !== "error" && St(e, u, { once: true });
|
|
3480
3480
|
});
|
|
3481
3481
|
}
|
|
3482
|
-
function
|
|
3483
|
-
typeof e.on == "function" &&
|
|
3482
|
+
function St(e, s, a) {
|
|
3483
|
+
typeof e.on == "function" && Cn(e, "error", s, a);
|
|
3484
3484
|
}
|
|
3485
|
-
function
|
|
3485
|
+
function Cn(e, s, a, d) {
|
|
3486
3486
|
if (typeof e.on == "function")
|
|
3487
3487
|
d.once ? e.once(s, a) : e.on(s, a);
|
|
3488
3488
|
else if (typeof e.addEventListener == "function")
|
|
3489
|
-
e.addEventListener(s, function u(
|
|
3490
|
-
d.once && e.removeEventListener(s, u), a(
|
|
3489
|
+
e.addEventListener(s, function u(m) {
|
|
3490
|
+
d.once && e.removeEventListener(s, u), a(m);
|
|
3491
3491
|
});
|
|
3492
3492
|
else
|
|
3493
3493
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
3494
3494
|
}
|
|
3495
|
-
class
|
|
3495
|
+
class bt extends MessageType {
|
|
3496
3496
|
constructor() {
|
|
3497
3497
|
super("message.v1.SocketMessage", [
|
|
3498
3498
|
{
|
|
@@ -3525,16 +3525,16 @@ class Et extends MessageType {
|
|
|
3525
3525
|
]);
|
|
3526
3526
|
}
|
|
3527
3527
|
}
|
|
3528
|
-
const
|
|
3529
|
-
var
|
|
3528
|
+
const sn = new bt();
|
|
3529
|
+
var ce;
|
|
3530
3530
|
(function(e) {
|
|
3531
3531
|
e[e.PUBLISHER = 0] = "PUBLISHER", e[e.SUBSCRIBER = 1] = "SUBSCRIBER";
|
|
3532
|
-
})(
|
|
3533
|
-
var
|
|
3532
|
+
})(ce || (ce = {}));
|
|
3533
|
+
var Oe;
|
|
3534
3534
|
(function(e) {
|
|
3535
3535
|
e[e.AUDIO = 0] = "AUDIO", e[e.VIDEO = 1] = "VIDEO";
|
|
3536
|
-
})(
|
|
3537
|
-
class
|
|
3536
|
+
})(Oe || (Oe = {}));
|
|
3537
|
+
class xt extends MessageType {
|
|
3538
3538
|
constructor() {
|
|
3539
3539
|
super("media.Codec", [
|
|
3540
3540
|
{
|
|
@@ -3562,12 +3562,19 @@ class St extends MessageType {
|
|
|
3562
3562
|
kind: "scalar",
|
|
3563
3563
|
opt: true,
|
|
3564
3564
|
T: 9
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
no: 5,
|
|
3568
|
+
name: "payload_type",
|
|
3569
|
+
kind: "scalar",
|
|
3570
|
+
opt: true,
|
|
3571
|
+
T: 13
|
|
3565
3572
|
}
|
|
3566
3573
|
]);
|
|
3567
3574
|
}
|
|
3568
3575
|
}
|
|
3569
|
-
const
|
|
3570
|
-
class
|
|
3576
|
+
const En = new xt();
|
|
3577
|
+
class Lt extends MessageType {
|
|
3571
3578
|
constructor() {
|
|
3572
3579
|
super("media.HeaderExtension", [
|
|
3573
3580
|
{
|
|
@@ -3586,8 +3593,8 @@ class xt extends MessageType {
|
|
|
3586
3593
|
]);
|
|
3587
3594
|
}
|
|
3588
3595
|
}
|
|
3589
|
-
const
|
|
3590
|
-
class
|
|
3596
|
+
const Ot = new Lt();
|
|
3597
|
+
class Mt extends MessageType {
|
|
3591
3598
|
constructor() {
|
|
3592
3599
|
super("media.Fingerprint", [
|
|
3593
3600
|
{
|
|
@@ -3605,11 +3612,11 @@ class Ot extends MessageType {
|
|
|
3605
3612
|
]);
|
|
3606
3613
|
}
|
|
3607
3614
|
}
|
|
3608
|
-
new
|
|
3609
|
-
class
|
|
3615
|
+
new Mt();
|
|
3616
|
+
class qt extends MessageType {
|
|
3610
3617
|
constructor() {
|
|
3611
3618
|
super("media.SessionDescription", [
|
|
3612
|
-
{ no: 1, name: "target", kind: "enum", T: () => ["media.Target",
|
|
3619
|
+
{ no: 1, name: "target", kind: "enum", T: () => ["media.Target", ce] },
|
|
3613
3620
|
{
|
|
3614
3621
|
no: 2,
|
|
3615
3622
|
name: "type",
|
|
@@ -3625,8 +3632,8 @@ class Mt extends MessageType {
|
|
|
3625
3632
|
]);
|
|
3626
3633
|
}
|
|
3627
3634
|
}
|
|
3628
|
-
const M = new
|
|
3629
|
-
class
|
|
3635
|
+
const M = new qt();
|
|
3636
|
+
class $t extends MessageType {
|
|
3630
3637
|
constructor() {
|
|
3631
3638
|
super("media.ProducerPayload", [
|
|
3632
3639
|
{
|
|
@@ -3670,8 +3677,8 @@ class qt extends MessageType {
|
|
|
3670
3677
|
]);
|
|
3671
3678
|
}
|
|
3672
3679
|
}
|
|
3673
|
-
const
|
|
3674
|
-
class
|
|
3680
|
+
const Nt = new $t();
|
|
3681
|
+
class At extends MessageType {
|
|
3675
3682
|
constructor() {
|
|
3676
3683
|
super("media.CreateTransportRequest", [
|
|
3677
3684
|
{
|
|
@@ -3695,12 +3702,12 @@ class Nt extends MessageType {
|
|
|
3695
3702
|
opt: true,
|
|
3696
3703
|
T: 8
|
|
3697
3704
|
},
|
|
3698
|
-
{ no: 5, name: "producers", kind: "message", repeat: 1, T: () =>
|
|
3705
|
+
{ no: 5, name: "producers", kind: "message", repeat: 1, T: () => Nt }
|
|
3699
3706
|
]);
|
|
3700
3707
|
}
|
|
3701
3708
|
}
|
|
3702
|
-
new
|
|
3703
|
-
class
|
|
3709
|
+
new At();
|
|
3710
|
+
class It extends MessageType {
|
|
3704
3711
|
constructor() {
|
|
3705
3712
|
super("media.AudioActivityRequest", [
|
|
3706
3713
|
{
|
|
@@ -3724,8 +3731,8 @@ class At extends MessageType {
|
|
|
3724
3731
|
]);
|
|
3725
3732
|
}
|
|
3726
3733
|
}
|
|
3727
|
-
new
|
|
3728
|
-
class
|
|
3734
|
+
new It();
|
|
3735
|
+
class Dt extends MessageType {
|
|
3729
3736
|
constructor() {
|
|
3730
3737
|
super("media.CreateTransportResponse", [
|
|
3731
3738
|
{
|
|
@@ -3752,8 +3759,8 @@ class It extends MessageType {
|
|
|
3752
3759
|
]);
|
|
3753
3760
|
}
|
|
3754
3761
|
}
|
|
3755
|
-
const
|
|
3756
|
-
class
|
|
3762
|
+
const Sn = new Dt();
|
|
3763
|
+
class Ut extends MessageType {
|
|
3757
3764
|
constructor() {
|
|
3758
3765
|
super("media.RenegotiateRequest", [
|
|
3759
3766
|
{
|
|
@@ -3766,8 +3773,8 @@ class Dt extends MessageType {
|
|
|
3766
3773
|
]);
|
|
3767
3774
|
}
|
|
3768
3775
|
}
|
|
3769
|
-
new
|
|
3770
|
-
class
|
|
3776
|
+
new Ut();
|
|
3777
|
+
class Bt extends MessageType {
|
|
3771
3778
|
constructor() {
|
|
3772
3779
|
super("media.RenegotiateResponse", [
|
|
3773
3780
|
{
|
|
@@ -3780,8 +3787,8 @@ class Ut extends MessageType {
|
|
|
3780
3787
|
]);
|
|
3781
3788
|
}
|
|
3782
3789
|
}
|
|
3783
|
-
new
|
|
3784
|
-
class
|
|
3790
|
+
new Bt();
|
|
3791
|
+
class Gt extends MessageType {
|
|
3785
3792
|
constructor() {
|
|
3786
3793
|
super("media.NestedScore", [
|
|
3787
3794
|
{
|
|
@@ -3812,8 +3819,8 @@ class Bt extends MessageType {
|
|
|
3812
3819
|
]);
|
|
3813
3820
|
}
|
|
3814
3821
|
}
|
|
3815
|
-
const
|
|
3816
|
-
class
|
|
3822
|
+
const jt = new Gt();
|
|
3823
|
+
class Wt extends MessageType {
|
|
3817
3824
|
constructor() {
|
|
3818
3825
|
super("media.ProducerTrack", [
|
|
3819
3826
|
{
|
|
@@ -3837,8 +3844,8 @@ class jt extends MessageType {
|
|
|
3837
3844
|
]);
|
|
3838
3845
|
}
|
|
3839
3846
|
}
|
|
3840
|
-
const
|
|
3841
|
-
class
|
|
3847
|
+
const Ft = new Wt();
|
|
3848
|
+
class Kt extends MessageType {
|
|
3842
3849
|
constructor() {
|
|
3843
3850
|
super("media.ProducerEntry", [
|
|
3844
3851
|
{
|
|
@@ -3856,8 +3863,8 @@ class Ft extends MessageType {
|
|
|
3856
3863
|
]);
|
|
3857
3864
|
}
|
|
3858
3865
|
}
|
|
3859
|
-
new
|
|
3860
|
-
class
|
|
3866
|
+
new Kt();
|
|
3867
|
+
class Vt extends MessageType {
|
|
3861
3868
|
constructor() {
|
|
3862
3869
|
super("media.ConsumerEntry", [
|
|
3863
3870
|
{
|
|
@@ -3875,8 +3882,8 @@ class Kt extends MessageType {
|
|
|
3875
3882
|
]);
|
|
3876
3883
|
}
|
|
3877
3884
|
}
|
|
3878
|
-
new
|
|
3879
|
-
class
|
|
3885
|
+
new Vt();
|
|
3886
|
+
class Ht extends MessageType {
|
|
3880
3887
|
constructor() {
|
|
3881
3888
|
super("media.ProducerState", [
|
|
3882
3889
|
{
|
|
@@ -3885,7 +3892,7 @@ class Vt extends MessageType {
|
|
|
3885
3892
|
kind: "scalar",
|
|
3886
3893
|
T: 9
|
|
3887
3894
|
},
|
|
3888
|
-
{ no: 2, name: "kind", kind: "enum", T: () => ["media.ProducerKind",
|
|
3895
|
+
{ no: 2, name: "kind", kind: "enum", T: () => ["media.ProducerKind", Oe] },
|
|
3889
3896
|
{
|
|
3890
3897
|
no: 3,
|
|
3891
3898
|
name: "pause",
|
|
@@ -3918,12 +3925,13 @@ class Vt extends MessageType {
|
|
|
3918
3925
|
kind: "scalar",
|
|
3919
3926
|
opt: true,
|
|
3920
3927
|
T: 9
|
|
3921
|
-
}
|
|
3928
|
+
},
|
|
3929
|
+
{ no: 8, name: "codec", kind: "message", T: () => En }
|
|
3922
3930
|
]);
|
|
3923
3931
|
}
|
|
3924
3932
|
}
|
|
3925
|
-
const
|
|
3926
|
-
class
|
|
3933
|
+
const ee = new Ht();
|
|
3934
|
+
class Jt extends MessageType {
|
|
3927
3935
|
constructor() {
|
|
3928
3936
|
super("media.ConsumerState", [
|
|
3929
3937
|
{
|
|
@@ -3932,48 +3940,55 @@ class Ht extends MessageType {
|
|
|
3932
3940
|
kind: "scalar",
|
|
3933
3941
|
T: 9
|
|
3934
3942
|
},
|
|
3935
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
3936
|
-
{ no: 3, name: "producer_track", kind: "message", T: () =>
|
|
3943
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ee },
|
|
3944
|
+
{ no: 3, name: "producer_track", kind: "message", T: () => Ft },
|
|
3945
|
+
{
|
|
3946
|
+
no: 4,
|
|
3947
|
+
name: "error_code",
|
|
3948
|
+
kind: "scalar",
|
|
3949
|
+
opt: true,
|
|
3950
|
+
T: 9
|
|
3951
|
+
}
|
|
3937
3952
|
]);
|
|
3938
3953
|
}
|
|
3939
3954
|
}
|
|
3940
|
-
const
|
|
3941
|
-
class
|
|
3955
|
+
const Zt = new Jt();
|
|
3956
|
+
class zt extends MessageType {
|
|
3942
3957
|
constructor() {
|
|
3943
3958
|
super("media.ProducerIdToConsumerMap", [
|
|
3944
|
-
{ no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: () =>
|
|
3959
|
+
{ no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: () => Zt } }
|
|
3945
3960
|
]);
|
|
3946
3961
|
}
|
|
3947
3962
|
}
|
|
3948
|
-
const
|
|
3949
|
-
class
|
|
3963
|
+
const bn = new zt();
|
|
3964
|
+
class Yt extends MessageType {
|
|
3950
3965
|
constructor() {
|
|
3951
3966
|
super("media.PeerRtpCapabilitites", [
|
|
3952
|
-
{ no: 1, name: "sender", kind: "message", T: () =>
|
|
3953
|
-
{ no: 2, name: "receiver", kind: "message", T: () =>
|
|
3967
|
+
{ no: 1, name: "sender", kind: "message", T: () => on },
|
|
3968
|
+
{ no: 2, name: "receiver", kind: "message", T: () => on }
|
|
3954
3969
|
]);
|
|
3955
3970
|
}
|
|
3956
3971
|
}
|
|
3957
|
-
const
|
|
3958
|
-
class
|
|
3972
|
+
const xn = new Yt();
|
|
3973
|
+
class Qt extends MessageType {
|
|
3959
3974
|
constructor() {
|
|
3960
3975
|
super("media.RtpCapability", [
|
|
3961
|
-
{ no: 1, name: "codecs", kind: "message", repeat: 1, T: () =>
|
|
3962
|
-
{ no: 2, name: "header_extensions", kind: "message", repeat: 1, T: () =>
|
|
3976
|
+
{ no: 1, name: "codecs", kind: "message", repeat: 1, T: () => En },
|
|
3977
|
+
{ no: 2, name: "header_extensions", kind: "message", repeat: 1, T: () => Ot }
|
|
3963
3978
|
]);
|
|
3964
3979
|
}
|
|
3965
3980
|
}
|
|
3966
|
-
const
|
|
3967
|
-
class
|
|
3981
|
+
const rn = new Qt();
|
|
3982
|
+
class Xt extends MessageType {
|
|
3968
3983
|
constructor() {
|
|
3969
3984
|
super("media.RtpCapabilitites", [
|
|
3970
|
-
{ no: 1, name: "audio", kind: "message", T: () =>
|
|
3971
|
-
{ no: 2, name: "video", kind: "message", T: () =>
|
|
3985
|
+
{ no: 1, name: "audio", kind: "message", T: () => rn },
|
|
3986
|
+
{ no: 2, name: "video", kind: "message", T: () => rn }
|
|
3972
3987
|
]);
|
|
3973
3988
|
}
|
|
3974
3989
|
}
|
|
3975
|
-
const
|
|
3976
|
-
class
|
|
3990
|
+
const on = new Xt();
|
|
3991
|
+
class es extends MessageType {
|
|
3977
3992
|
constructor() {
|
|
3978
3993
|
super("media.PreferredCodec", [
|
|
3979
3994
|
{
|
|
@@ -3993,8 +4008,8 @@ class Xt extends MessageType {
|
|
|
3993
4008
|
]);
|
|
3994
4009
|
}
|
|
3995
4010
|
}
|
|
3996
|
-
const
|
|
3997
|
-
class
|
|
4011
|
+
const ns = new es();
|
|
4012
|
+
class ts extends MessageType {
|
|
3998
4013
|
constructor() {
|
|
3999
4014
|
super("media.edge.GeoLocation", [
|
|
4000
4015
|
{
|
|
@@ -4019,8 +4034,8 @@ class ns extends MessageType {
|
|
|
4019
4034
|
]);
|
|
4020
4035
|
}
|
|
4021
4036
|
}
|
|
4022
|
-
const
|
|
4023
|
-
class
|
|
4037
|
+
const ss = new ts();
|
|
4038
|
+
class rs extends MessageType {
|
|
4024
4039
|
constructor() {
|
|
4025
4040
|
super("media.edge.PeerJoinRequest", [
|
|
4026
4041
|
{
|
|
@@ -4070,19 +4085,19 @@ class ss extends MessageType {
|
|
|
4070
4085
|
opt: true,
|
|
4071
4086
|
T: 9
|
|
4072
4087
|
},
|
|
4073
|
-
{ no: 8, name: "location", kind: "message", T: () =>
|
|
4074
|
-
{ no: 9, name: "capabilities", kind: "message", T: () =>
|
|
4088
|
+
{ no: 8, name: "location", kind: "message", T: () => ss },
|
|
4089
|
+
{ no: 9, name: "capabilities", kind: "message", T: () => xn }
|
|
4075
4090
|
]);
|
|
4076
4091
|
}
|
|
4077
4092
|
}
|
|
4078
|
-
new
|
|
4079
|
-
class
|
|
4093
|
+
new rs();
|
|
4094
|
+
class os extends MessageType {
|
|
4080
4095
|
constructor() {
|
|
4081
4096
|
super("media.edge.PeerJoinCompleteRequest", []);
|
|
4082
4097
|
}
|
|
4083
4098
|
}
|
|
4084
|
-
new
|
|
4085
|
-
class
|
|
4099
|
+
new os();
|
|
4100
|
+
class as extends MessageType {
|
|
4086
4101
|
constructor() {
|
|
4087
4102
|
super("media.edge.PeerLeaveRequest", [
|
|
4088
4103
|
{
|
|
@@ -4094,8 +4109,8 @@ class os extends MessageType {
|
|
|
4094
4109
|
]);
|
|
4095
4110
|
}
|
|
4096
4111
|
}
|
|
4097
|
-
new
|
|
4098
|
-
class
|
|
4112
|
+
new as();
|
|
4113
|
+
class is extends MessageType {
|
|
4099
4114
|
constructor() {
|
|
4100
4115
|
super("media.edge.ConsumeMultipleProducerRequest", [
|
|
4101
4116
|
{
|
|
@@ -4115,8 +4130,8 @@ class as extends MessageType {
|
|
|
4115
4130
|
]);
|
|
4116
4131
|
}
|
|
4117
4132
|
}
|
|
4118
|
-
new
|
|
4119
|
-
class
|
|
4133
|
+
new is();
|
|
4134
|
+
class cs extends MessageType {
|
|
4120
4135
|
constructor() {
|
|
4121
4136
|
super("media.edge.ConsumePeerRequest", [
|
|
4122
4137
|
{
|
|
@@ -4139,7 +4154,7 @@ class is extends MessageType {
|
|
|
4139
4154
|
opt: true,
|
|
4140
4155
|
T: 9
|
|
4141
4156
|
},
|
|
4142
|
-
{ no: 4, name: "preferred_codec", kind: "message", T: () =>
|
|
4157
|
+
{ no: 4, name: "preferred_codec", kind: "message", T: () => ns },
|
|
4143
4158
|
{
|
|
4144
4159
|
no: 5,
|
|
4145
4160
|
name: "producing_transport_id",
|
|
@@ -4150,11 +4165,11 @@ class is extends MessageType {
|
|
|
4150
4165
|
]);
|
|
4151
4166
|
}
|
|
4152
4167
|
}
|
|
4153
|
-
const
|
|
4154
|
-
class
|
|
4168
|
+
const ds = new cs();
|
|
4169
|
+
class ps extends MessageType {
|
|
4155
4170
|
constructor() {
|
|
4156
4171
|
super("media.edge.ConsumePeersRequest", [
|
|
4157
|
-
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () =>
|
|
4172
|
+
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () => ds },
|
|
4158
4173
|
{
|
|
4159
4174
|
no: 2,
|
|
4160
4175
|
name: "consuming_transport_id",
|
|
@@ -4165,8 +4180,8 @@ class ds extends MessageType {
|
|
|
4165
4180
|
]);
|
|
4166
4181
|
}
|
|
4167
4182
|
}
|
|
4168
|
-
new
|
|
4169
|
-
class
|
|
4183
|
+
new ps();
|
|
4184
|
+
class us extends MessageType {
|
|
4170
4185
|
constructor() {
|
|
4171
4186
|
super("media.edge.ProducerCreateRequest", [
|
|
4172
4187
|
{
|
|
@@ -4218,14 +4233,14 @@ class ps extends MessageType {
|
|
|
4218
4233
|
]);
|
|
4219
4234
|
}
|
|
4220
4235
|
}
|
|
4221
|
-
new
|
|
4222
|
-
class
|
|
4236
|
+
new us();
|
|
4237
|
+
class ls extends MessageType {
|
|
4223
4238
|
constructor() {
|
|
4224
4239
|
super("media.edge.SelectedPeersRequest", []);
|
|
4225
4240
|
}
|
|
4226
4241
|
}
|
|
4227
|
-
new
|
|
4228
|
-
class
|
|
4242
|
+
new ls();
|
|
4243
|
+
class ms extends MessageType {
|
|
4229
4244
|
constructor() {
|
|
4230
4245
|
super("media.edge.GlobalPeerPinningRequest", [
|
|
4231
4246
|
{
|
|
@@ -4237,8 +4252,8 @@ class ls extends MessageType {
|
|
|
4237
4252
|
]);
|
|
4238
4253
|
}
|
|
4239
4254
|
}
|
|
4240
|
-
new
|
|
4241
|
-
class
|
|
4255
|
+
new ms();
|
|
4256
|
+
class Ts extends MessageType {
|
|
4242
4257
|
constructor() {
|
|
4243
4258
|
super("media.edge.ProducerToggleRequest", [
|
|
4244
4259
|
{
|
|
@@ -4256,8 +4271,8 @@ class ms extends MessageType {
|
|
|
4256
4271
|
]);
|
|
4257
4272
|
}
|
|
4258
4273
|
}
|
|
4259
|
-
new
|
|
4260
|
-
class
|
|
4274
|
+
new Ts();
|
|
4275
|
+
class hs extends MessageType {
|
|
4261
4276
|
constructor() {
|
|
4262
4277
|
super("media.edge.ConsumerToggleRequest", [
|
|
4263
4278
|
{
|
|
@@ -4275,7 +4290,7 @@ class Ts extends MessageType {
|
|
|
4275
4290
|
]);
|
|
4276
4291
|
}
|
|
4277
4292
|
}
|
|
4278
|
-
new
|
|
4293
|
+
new hs();
|
|
4279
4294
|
class fs extends MessageType {
|
|
4280
4295
|
constructor() {
|
|
4281
4296
|
super("media.edge.ProducerCloseRequest", [
|
|
@@ -4297,7 +4312,7 @@ class fs extends MessageType {
|
|
|
4297
4312
|
}
|
|
4298
4313
|
}
|
|
4299
4314
|
new fs();
|
|
4300
|
-
class
|
|
4315
|
+
class ks extends MessageType {
|
|
4301
4316
|
constructor() {
|
|
4302
4317
|
super("media.edge.ConsumerCloseRequest", [
|
|
4303
4318
|
{
|
|
@@ -4318,8 +4333,8 @@ class hs extends MessageType {
|
|
|
4318
4333
|
]);
|
|
4319
4334
|
}
|
|
4320
4335
|
}
|
|
4321
|
-
new
|
|
4322
|
-
class
|
|
4336
|
+
new ks();
|
|
4337
|
+
class gs extends MessageType {
|
|
4323
4338
|
constructor() {
|
|
4324
4339
|
super("media.edge.KickPeerRequest", [
|
|
4325
4340
|
{
|
|
@@ -4331,8 +4346,8 @@ class ks extends MessageType {
|
|
|
4331
4346
|
]);
|
|
4332
4347
|
}
|
|
4333
4348
|
}
|
|
4334
|
-
new
|
|
4335
|
-
class
|
|
4349
|
+
new gs();
|
|
4350
|
+
class ys extends MessageType {
|
|
4336
4351
|
constructor() {
|
|
4337
4352
|
super("media.edge.KickAllPeersRequest", [
|
|
4338
4353
|
{
|
|
@@ -4344,8 +4359,8 @@ class gs extends MessageType {
|
|
|
4344
4359
|
]);
|
|
4345
4360
|
}
|
|
4346
4361
|
}
|
|
4347
|
-
new
|
|
4348
|
-
class
|
|
4362
|
+
new ys();
|
|
4363
|
+
class Rs extends MessageType {
|
|
4349
4364
|
constructor() {
|
|
4350
4365
|
super("media.edge.PeerDisplayNameEditRequest", [
|
|
4351
4366
|
{
|
|
@@ -4363,7 +4378,7 @@ class ys extends MessageType {
|
|
|
4363
4378
|
]);
|
|
4364
4379
|
}
|
|
4365
4380
|
}
|
|
4366
|
-
new
|
|
4381
|
+
new Rs();
|
|
4367
4382
|
class vs extends MessageType {
|
|
4368
4383
|
constructor() {
|
|
4369
4384
|
super("media.edge.HostMediaControlForPeerRequest", [
|
|
@@ -4395,7 +4410,7 @@ class vs extends MessageType {
|
|
|
4395
4410
|
}
|
|
4396
4411
|
}
|
|
4397
4412
|
new vs();
|
|
4398
|
-
class
|
|
4413
|
+
class _s extends MessageType {
|
|
4399
4414
|
constructor() {
|
|
4400
4415
|
super("media.edge.HostMediaControlForAllPeerRequest", [
|
|
4401
4416
|
{
|
|
@@ -4419,8 +4434,8 @@ class Rs extends MessageType {
|
|
|
4419
4434
|
]);
|
|
4420
4435
|
}
|
|
4421
4436
|
}
|
|
4422
|
-
new
|
|
4423
|
-
class
|
|
4437
|
+
new _s();
|
|
4438
|
+
class ws extends MessageType {
|
|
4424
4439
|
constructor() {
|
|
4425
4440
|
super("media.edge.GetRoomStateResponse", [
|
|
4426
4441
|
{
|
|
@@ -4477,8 +4492,8 @@ class _s extends MessageType {
|
|
|
4477
4492
|
]);
|
|
4478
4493
|
}
|
|
4479
4494
|
}
|
|
4480
|
-
const
|
|
4481
|
-
class
|
|
4495
|
+
const Ps = new ws();
|
|
4496
|
+
class Cs extends MessageType {
|
|
4482
4497
|
constructor() {
|
|
4483
4498
|
super("media.edge.ErrorResponse", [
|
|
4484
4499
|
{
|
|
@@ -4496,14 +4511,14 @@ class Ps extends MessageType {
|
|
|
4496
4511
|
]);
|
|
4497
4512
|
}
|
|
4498
4513
|
}
|
|
4499
|
-
new
|
|
4500
|
-
class
|
|
4514
|
+
new Cs();
|
|
4515
|
+
class Es extends MessageType {
|
|
4501
4516
|
constructor() {
|
|
4502
4517
|
super("media.edge.EmptyResponse", []);
|
|
4503
4518
|
}
|
|
4504
4519
|
}
|
|
4505
|
-
new
|
|
4506
|
-
class
|
|
4520
|
+
new Es();
|
|
4521
|
+
class Ss extends MessageType {
|
|
4507
4522
|
constructor() {
|
|
4508
4523
|
super("media.edge.RoomParticipants", [
|
|
4509
4524
|
{
|
|
@@ -4512,7 +4527,7 @@ class Es extends MessageType {
|
|
|
4512
4527
|
kind: "scalar",
|
|
4513
4528
|
T: 9
|
|
4514
4529
|
},
|
|
4515
|
-
{ no: 2, name: "producer_states", kind: "message", repeat: 1, T: () =>
|
|
4530
|
+
{ no: 2, name: "producer_states", kind: "message", repeat: 1, T: () => ee },
|
|
4516
4531
|
{
|
|
4517
4532
|
no: 3,
|
|
4518
4533
|
name: "display_name",
|
|
@@ -4526,12 +4541,12 @@ class Es extends MessageType {
|
|
|
4526
4541
|
opt: true,
|
|
4527
4542
|
T: 9
|
|
4528
4543
|
},
|
|
4529
|
-
{ no: 5, name: "capabilities", kind: "message", T: () =>
|
|
4544
|
+
{ no: 5, name: "capabilities", kind: "message", T: () => xn }
|
|
4530
4545
|
]);
|
|
4531
4546
|
}
|
|
4532
4547
|
}
|
|
4533
|
-
const
|
|
4534
|
-
class
|
|
4548
|
+
const Ln = new Ss();
|
|
4549
|
+
class bs extends MessageType {
|
|
4535
4550
|
constructor() {
|
|
4536
4551
|
super("media.edge.SelectedPeersResponse", [
|
|
4537
4552
|
{
|
|
@@ -4551,8 +4566,8 @@ class Ss extends MessageType {
|
|
|
4551
4566
|
]);
|
|
4552
4567
|
}
|
|
4553
4568
|
}
|
|
4554
|
-
const
|
|
4555
|
-
class
|
|
4569
|
+
const xs = new bs();
|
|
4570
|
+
class Ls extends MessageType {
|
|
4556
4571
|
constructor() {
|
|
4557
4572
|
super("media.edge.SelectedPeersDiffEntry", [
|
|
4558
4573
|
{
|
|
@@ -4570,27 +4585,27 @@ class xs extends MessageType {
|
|
|
4570
4585
|
]);
|
|
4571
4586
|
}
|
|
4572
4587
|
}
|
|
4573
|
-
const
|
|
4574
|
-
class
|
|
4588
|
+
const Os = new Ls();
|
|
4589
|
+
class Ms extends MessageType {
|
|
4575
4590
|
constructor() {
|
|
4576
4591
|
super("media.edge.SelectedPeersDiffResponse", [
|
|
4577
|
-
{ no: 1, name: "entries", kind: "message", repeat: 1, T: () =>
|
|
4592
|
+
{ no: 1, name: "entries", kind: "message", repeat: 1, T: () => Os }
|
|
4578
4593
|
]);
|
|
4579
4594
|
}
|
|
4580
4595
|
}
|
|
4581
|
-
new
|
|
4582
|
-
class
|
|
4596
|
+
new Ms();
|
|
4597
|
+
class qs extends MessageType {
|
|
4583
4598
|
constructor() {
|
|
4584
4599
|
super("media.edge.PeerJoinResponse", []);
|
|
4585
4600
|
}
|
|
4586
4601
|
}
|
|
4587
|
-
new
|
|
4588
|
-
class
|
|
4602
|
+
new qs();
|
|
4603
|
+
class $s extends MessageType {
|
|
4589
4604
|
constructor() {
|
|
4590
4605
|
super("media.edge.PeerJoinCompleteResponse", [
|
|
4591
|
-
{ no: 1, name: "room_state", kind: "message", T: () =>
|
|
4592
|
-
{ no: 2, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
4593
|
-
{ no: 3, name: "selected_peers", kind: "message", T: () =>
|
|
4606
|
+
{ no: 1, name: "room_state", kind: "message", T: () => Ps },
|
|
4607
|
+
{ no: 2, name: "participants", kind: "message", repeat: 1, T: () => Ln },
|
|
4608
|
+
{ no: 3, name: "selected_peers", kind: "message", T: () => xs },
|
|
4594
4609
|
{
|
|
4595
4610
|
no: 4,
|
|
4596
4611
|
name: "max_preferred_streams",
|
|
@@ -4600,8 +4615,8 @@ class qs extends MessageType {
|
|
|
4600
4615
|
]);
|
|
4601
4616
|
}
|
|
4602
4617
|
}
|
|
4603
|
-
const
|
|
4604
|
-
class
|
|
4618
|
+
const Ns = new $s();
|
|
4619
|
+
class As extends MessageType {
|
|
4605
4620
|
constructor() {
|
|
4606
4621
|
super("media.edge.PeerLeaveResponse", [
|
|
4607
4622
|
{
|
|
@@ -4613,8 +4628,8 @@ class Ns extends MessageType {
|
|
|
4613
4628
|
]);
|
|
4614
4629
|
}
|
|
4615
4630
|
}
|
|
4616
|
-
new
|
|
4617
|
-
class
|
|
4631
|
+
new As();
|
|
4632
|
+
class Is extends MessageType {
|
|
4618
4633
|
constructor() {
|
|
4619
4634
|
super("media.edge.ConsumeMultipleProducerResponse", [
|
|
4620
4635
|
{
|
|
@@ -4623,12 +4638,12 @@ class As extends MessageType {
|
|
|
4623
4638
|
kind: "scalar",
|
|
4624
4639
|
T: 8
|
|
4625
4640
|
},
|
|
4626
|
-
{ no: 2, name: "consumer_ids_map", kind: "message", T: () =>
|
|
4641
|
+
{ no: 2, name: "consumer_ids_map", kind: "message", T: () => bn }
|
|
4627
4642
|
]);
|
|
4628
4643
|
}
|
|
4629
4644
|
}
|
|
4630
|
-
new
|
|
4631
|
-
class
|
|
4645
|
+
new Is();
|
|
4646
|
+
class Ds extends MessageType {
|
|
4632
4647
|
constructor() {
|
|
4633
4648
|
super("media.edge.ConsumePeerResponse", [
|
|
4634
4649
|
{
|
|
@@ -4637,13 +4652,13 @@ class Is extends MessageType {
|
|
|
4637
4652
|
kind: "scalar",
|
|
4638
4653
|
T: 8
|
|
4639
4654
|
},
|
|
4640
|
-
{ no: 2, name: "consumer_ids_map", kind: "message", T: () =>
|
|
4655
|
+
{ no: 2, name: "consumer_ids_map", kind: "message", T: () => bn },
|
|
4641
4656
|
{ no: 3, name: "description", kind: "message", T: () => M }
|
|
4642
4657
|
]);
|
|
4643
4658
|
}
|
|
4644
4659
|
}
|
|
4645
|
-
new
|
|
4646
|
-
class
|
|
4660
|
+
new Ds();
|
|
4661
|
+
class Us extends MessageType {
|
|
4647
4662
|
constructor() {
|
|
4648
4663
|
super("media.edge.ProducerCreateResponse", [
|
|
4649
4664
|
{
|
|
@@ -4662,8 +4677,8 @@ class Ds extends MessageType {
|
|
|
4662
4677
|
]);
|
|
4663
4678
|
}
|
|
4664
4679
|
}
|
|
4665
|
-
const
|
|
4666
|
-
class
|
|
4680
|
+
const Bs = new Us();
|
|
4681
|
+
class Gs extends MessageType {
|
|
4667
4682
|
constructor() {
|
|
4668
4683
|
super("media.edge.ProducerScoreResponse", [
|
|
4669
4684
|
{
|
|
@@ -4672,12 +4687,12 @@ class Bs extends MessageType {
|
|
|
4672
4687
|
kind: "scalar",
|
|
4673
4688
|
T: 9
|
|
4674
4689
|
},
|
|
4675
|
-
{ no: 2, name: "score", kind: "message", T: () =>
|
|
4690
|
+
{ no: 2, name: "score", kind: "message", T: () => jt }
|
|
4676
4691
|
]);
|
|
4677
4692
|
}
|
|
4678
4693
|
}
|
|
4679
|
-
new
|
|
4680
|
-
class
|
|
4694
|
+
new Gs();
|
|
4695
|
+
class js extends MessageType {
|
|
4681
4696
|
constructor() {
|
|
4682
4697
|
super("media.edge.ActiveSpeakerResponse", [
|
|
4683
4698
|
{
|
|
@@ -4695,36 +4710,28 @@ class Gs extends MessageType {
|
|
|
4695
4710
|
]);
|
|
4696
4711
|
}
|
|
4697
4712
|
}
|
|
4698
|
-
new Gs();
|
|
4699
|
-
class js extends MessageType {
|
|
4700
|
-
constructor() {
|
|
4701
|
-
super("media.edge.NoActiveSpeakerResponse", []);
|
|
4702
|
-
}
|
|
4703
|
-
}
|
|
4704
4713
|
new js();
|
|
4705
4714
|
class Ws extends MessageType {
|
|
4706
4715
|
constructor() {
|
|
4707
|
-
super("media.edge.
|
|
4716
|
+
super("media.edge.NoActiveSpeakerResponse", []);
|
|
4708
4717
|
}
|
|
4709
4718
|
}
|
|
4710
4719
|
new Ws();
|
|
4711
4720
|
class Fs extends MessageType {
|
|
4712
4721
|
constructor() {
|
|
4713
|
-
super("media.edge.
|
|
4722
|
+
super("media.edge.ProducerToggleResponse", []);
|
|
4714
4723
|
}
|
|
4715
4724
|
}
|
|
4716
4725
|
new Fs();
|
|
4717
4726
|
class Ks extends MessageType {
|
|
4718
4727
|
constructor() {
|
|
4719
|
-
super("media.edge.
|
|
4720
|
-
{ no: 1, name: "description", kind: "message", T: () => M }
|
|
4721
|
-
]);
|
|
4728
|
+
super("media.edge.ConsumerToggleResponse", []);
|
|
4722
4729
|
}
|
|
4723
4730
|
}
|
|
4724
4731
|
new Ks();
|
|
4725
4732
|
class Vs extends MessageType {
|
|
4726
4733
|
constructor() {
|
|
4727
|
-
super("media.edge.
|
|
4734
|
+
super("media.edge.ProducerClosingResponse", [
|
|
4728
4735
|
{ no: 1, name: "description", kind: "message", T: () => M }
|
|
4729
4736
|
]);
|
|
4730
4737
|
}
|
|
@@ -4732,26 +4739,21 @@ class Vs extends MessageType {
|
|
|
4732
4739
|
new Vs();
|
|
4733
4740
|
class Hs extends MessageType {
|
|
4734
4741
|
constructor() {
|
|
4735
|
-
super("media.edge.
|
|
4742
|
+
super("media.edge.ConsumerClosingResponse", [
|
|
4743
|
+
{ no: 1, name: "description", kind: "message", T: () => M }
|
|
4744
|
+
]);
|
|
4736
4745
|
}
|
|
4737
4746
|
}
|
|
4738
4747
|
new Hs();
|
|
4739
4748
|
class Js extends MessageType {
|
|
4740
4749
|
constructor() {
|
|
4741
|
-
super("media.edge.
|
|
4742
|
-
{
|
|
4743
|
-
no: 1,
|
|
4744
|
-
name: "status",
|
|
4745
|
-
kind: "scalar",
|
|
4746
|
-
T: 9
|
|
4747
|
-
}
|
|
4748
|
-
]);
|
|
4750
|
+
super("media.edge.GlobalPeerPinningResponse", []);
|
|
4749
4751
|
}
|
|
4750
4752
|
}
|
|
4751
4753
|
new Js();
|
|
4752
4754
|
class Zs extends MessageType {
|
|
4753
4755
|
constructor() {
|
|
4754
|
-
super("media.edge.
|
|
4756
|
+
super("media.edge.KickPeerResponse", [
|
|
4755
4757
|
{
|
|
4756
4758
|
no: 1,
|
|
4757
4759
|
name: "status",
|
|
@@ -4764,7 +4766,7 @@ class Zs extends MessageType {
|
|
|
4764
4766
|
new Zs();
|
|
4765
4767
|
class zs extends MessageType {
|
|
4766
4768
|
constructor() {
|
|
4767
|
-
super("media.edge.
|
|
4769
|
+
super("media.edge.KickAllPeersResponse", [
|
|
4768
4770
|
{
|
|
4769
4771
|
no: 1,
|
|
4770
4772
|
name: "status",
|
|
@@ -4777,7 +4779,7 @@ class zs extends MessageType {
|
|
|
4777
4779
|
new zs();
|
|
4778
4780
|
class Ys extends MessageType {
|
|
4779
4781
|
constructor() {
|
|
4780
|
-
super("media.edge.
|
|
4782
|
+
super("media.edge.HostMediaControlForPeerResponse", [
|
|
4781
4783
|
{
|
|
4782
4784
|
no: 1,
|
|
4783
4785
|
name: "status",
|
|
@@ -4790,7 +4792,7 @@ class Ys extends MessageType {
|
|
|
4790
4792
|
new Ys();
|
|
4791
4793
|
class Qs extends MessageType {
|
|
4792
4794
|
constructor() {
|
|
4793
|
-
super("media.edge.
|
|
4795
|
+
super("media.edge.HostMediaControlForAllPeerResponse", [
|
|
4794
4796
|
{
|
|
4795
4797
|
no: 1,
|
|
4796
4798
|
name: "status",
|
|
@@ -4803,13 +4805,26 @@ class Qs extends MessageType {
|
|
|
4803
4805
|
new Qs();
|
|
4804
4806
|
class Xs extends MessageType {
|
|
4805
4807
|
constructor() {
|
|
4806
|
-
super("media.edge.
|
|
4807
|
-
{
|
|
4808
|
-
|
|
4808
|
+
super("media.edge.PeerDisplayNameEditResponse", [
|
|
4809
|
+
{
|
|
4810
|
+
no: 1,
|
|
4811
|
+
name: "status",
|
|
4812
|
+
kind: "scalar",
|
|
4813
|
+
T: 9
|
|
4814
|
+
}
|
|
4815
|
+
]);
|
|
4809
4816
|
}
|
|
4810
4817
|
}
|
|
4811
4818
|
new Xs();
|
|
4812
4819
|
class er extends MessageType {
|
|
4820
|
+
constructor() {
|
|
4821
|
+
super("media.edge.PeerJoinBroadcastResponse", [
|
|
4822
|
+
{ no: 1, name: "participant", kind: "message", T: () => Ln }
|
|
4823
|
+
]);
|
|
4824
|
+
}
|
|
4825
|
+
}
|
|
4826
|
+
new er();
|
|
4827
|
+
class nr extends MessageType {
|
|
4813
4828
|
constructor() {
|
|
4814
4829
|
super("media.edge.TrackSubscriptionKind", [
|
|
4815
4830
|
{
|
|
@@ -4827,8 +4842,8 @@ class er extends MessageType {
|
|
|
4827
4842
|
]);
|
|
4828
4843
|
}
|
|
4829
4844
|
}
|
|
4830
|
-
const
|
|
4831
|
-
class
|
|
4845
|
+
const an = new nr();
|
|
4846
|
+
class tr extends MessageType {
|
|
4832
4847
|
constructor() {
|
|
4833
4848
|
super("media.edge.TrackSubscription", [
|
|
4834
4849
|
{
|
|
@@ -4837,13 +4852,13 @@ class nr extends MessageType {
|
|
|
4837
4852
|
kind: "scalar",
|
|
4838
4853
|
T: 9
|
|
4839
4854
|
},
|
|
4840
|
-
{ no: 2, name: "webcam", kind: "message", T: () =>
|
|
4841
|
-
{ no: 3, name: "screenshare", kind: "message", T: () =>
|
|
4855
|
+
{ no: 2, name: "webcam", kind: "message", T: () => an },
|
|
4856
|
+
{ no: 3, name: "screenshare", kind: "message", T: () => an }
|
|
4842
4857
|
]);
|
|
4843
4858
|
}
|
|
4844
4859
|
}
|
|
4845
|
-
const
|
|
4846
|
-
class
|
|
4860
|
+
const sr = new tr();
|
|
4861
|
+
class rr extends MessageType {
|
|
4847
4862
|
constructor() {
|
|
4848
4863
|
super("media.edge.PeerProducingTransportCreateBroadcastResponse", [
|
|
4849
4864
|
{
|
|
@@ -4852,13 +4867,13 @@ class sr extends MessageType {
|
|
|
4852
4867
|
kind: "scalar",
|
|
4853
4868
|
T: 9
|
|
4854
4869
|
},
|
|
4855
|
-
{ no: 2, name: "transport_details", kind: "message", T: () =>
|
|
4856
|
-
{ no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () =>
|
|
4870
|
+
{ no: 2, name: "transport_details", kind: "message", T: () => Sn },
|
|
4871
|
+
{ no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () => sr }
|
|
4857
4872
|
]);
|
|
4858
4873
|
}
|
|
4859
4874
|
}
|
|
4860
|
-
new
|
|
4861
|
-
class
|
|
4875
|
+
new rr();
|
|
4876
|
+
class or extends MessageType {
|
|
4862
4877
|
constructor() {
|
|
4863
4878
|
super("media.edge.PeerProducerCreateBroadcastResponse", [
|
|
4864
4879
|
{
|
|
@@ -4867,12 +4882,12 @@ class rr extends MessageType {
|
|
|
4867
4882
|
kind: "scalar",
|
|
4868
4883
|
T: 9
|
|
4869
4884
|
},
|
|
4870
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
4885
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ee }
|
|
4871
4886
|
]);
|
|
4872
4887
|
}
|
|
4873
4888
|
}
|
|
4874
|
-
new
|
|
4875
|
-
class
|
|
4889
|
+
new or();
|
|
4890
|
+
class ar extends MessageType {
|
|
4876
4891
|
constructor() {
|
|
4877
4892
|
super("media.edge.PeerProducerToggleBroadcastResponse", [
|
|
4878
4893
|
{
|
|
@@ -4881,7 +4896,7 @@ class or extends MessageType {
|
|
|
4881
4896
|
kind: "scalar",
|
|
4882
4897
|
T: 9
|
|
4883
4898
|
},
|
|
4884
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
4899
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ee },
|
|
4885
4900
|
{
|
|
4886
4901
|
no: 3,
|
|
4887
4902
|
name: "initiator_participant_id",
|
|
@@ -4892,8 +4907,8 @@ class or extends MessageType {
|
|
|
4892
4907
|
]);
|
|
4893
4908
|
}
|
|
4894
4909
|
}
|
|
4895
|
-
new
|
|
4896
|
-
class
|
|
4910
|
+
new ar();
|
|
4911
|
+
class ir extends MessageType {
|
|
4897
4912
|
constructor() {
|
|
4898
4913
|
super("media.edge.PeerProducerCloseBroadcastResponse", [
|
|
4899
4914
|
{
|
|
@@ -4902,12 +4917,12 @@ class ar extends MessageType {
|
|
|
4902
4917
|
kind: "scalar",
|
|
4903
4918
|
T: 9
|
|
4904
4919
|
},
|
|
4905
|
-
{ no: 2, name: "producer_state", kind: "message", T: () =>
|
|
4920
|
+
{ no: 2, name: "producer_state", kind: "message", T: () => ee }
|
|
4906
4921
|
]);
|
|
4907
4922
|
}
|
|
4908
4923
|
}
|
|
4909
|
-
new
|
|
4910
|
-
class
|
|
4924
|
+
new ir();
|
|
4925
|
+
class cr extends MessageType {
|
|
4911
4926
|
constructor() {
|
|
4912
4927
|
super("media.edge.PeerLeaveBroadcastResponse", [
|
|
4913
4928
|
{
|
|
@@ -4919,8 +4934,8 @@ class ir extends MessageType {
|
|
|
4919
4934
|
]);
|
|
4920
4935
|
}
|
|
4921
4936
|
}
|
|
4922
|
-
new
|
|
4923
|
-
class
|
|
4937
|
+
new cr();
|
|
4938
|
+
class dr extends MessageType {
|
|
4924
4939
|
constructor() {
|
|
4925
4940
|
super("media.edge.GlobalPeerPinningBroadcastResponse", [
|
|
4926
4941
|
{
|
|
@@ -4932,8 +4947,8 @@ class cr extends MessageType {
|
|
|
4932
4947
|
]);
|
|
4933
4948
|
}
|
|
4934
4949
|
}
|
|
4935
|
-
new
|
|
4936
|
-
class
|
|
4950
|
+
new dr();
|
|
4951
|
+
class pr extends MessageType {
|
|
4937
4952
|
constructor() {
|
|
4938
4953
|
super("media.edge.GlobalPeerUnPinningBroadcastResponse", [
|
|
4939
4954
|
{
|
|
@@ -4945,8 +4960,8 @@ class dr extends MessageType {
|
|
|
4945
4960
|
]);
|
|
4946
4961
|
}
|
|
4947
4962
|
}
|
|
4948
|
-
new
|
|
4949
|
-
class
|
|
4963
|
+
new pr();
|
|
4964
|
+
class ur extends MessageType {
|
|
4950
4965
|
constructor() {
|
|
4951
4966
|
super("media.edge.RecordingStartedBroadcastResponse", [
|
|
4952
4967
|
{
|
|
@@ -4958,8 +4973,8 @@ class pr extends MessageType {
|
|
|
4958
4973
|
]);
|
|
4959
4974
|
}
|
|
4960
4975
|
}
|
|
4961
|
-
new
|
|
4962
|
-
class
|
|
4976
|
+
new ur();
|
|
4977
|
+
class lr extends MessageType {
|
|
4963
4978
|
constructor() {
|
|
4964
4979
|
super("media.edge.RecordingStoppedBroadcastResponse", [
|
|
4965
4980
|
{
|
|
@@ -4971,8 +4986,8 @@ class ur extends MessageType {
|
|
|
4971
4986
|
]);
|
|
4972
4987
|
}
|
|
4973
4988
|
}
|
|
4974
|
-
new
|
|
4975
|
-
class
|
|
4989
|
+
new lr();
|
|
4990
|
+
class mr extends MessageType {
|
|
4976
4991
|
constructor() {
|
|
4977
4992
|
super("media.edge.PeerDisplayNameEditBroadcastResponse", [
|
|
4978
4993
|
{
|
|
@@ -4990,8 +5005,8 @@ class lr extends MessageType {
|
|
|
4990
5005
|
]);
|
|
4991
5006
|
}
|
|
4992
5007
|
}
|
|
4993
|
-
new
|
|
4994
|
-
class
|
|
5008
|
+
new mr();
|
|
5009
|
+
class Tr extends MessageType {
|
|
4995
5010
|
constructor() {
|
|
4996
5011
|
super("media.edge.PeerPingRequestBroadcastResponse", [
|
|
4997
5012
|
{
|
|
@@ -5003,8 +5018,8 @@ class mr extends MessageType {
|
|
|
5003
5018
|
]);
|
|
5004
5019
|
}
|
|
5005
5020
|
}
|
|
5006
|
-
new
|
|
5007
|
-
class
|
|
5021
|
+
new Tr();
|
|
5022
|
+
class hr extends MessageType {
|
|
5008
5023
|
constructor() {
|
|
5009
5024
|
super("media.edge.MediaRoomTerminationBroadcastResponse", [
|
|
5010
5025
|
{
|
|
@@ -5016,7 +5031,7 @@ class Tr extends MessageType {
|
|
|
5016
5031
|
]);
|
|
5017
5032
|
}
|
|
5018
5033
|
}
|
|
5019
|
-
new
|
|
5034
|
+
new hr();
|
|
5020
5035
|
class fr extends MessageType {
|
|
5021
5036
|
constructor() {
|
|
5022
5037
|
super("socket.ai.MeetingTranscript", [
|
|
@@ -5042,7 +5057,7 @@ class fr extends MessageType {
|
|
|
5042
5057
|
}
|
|
5043
5058
|
}
|
|
5044
5059
|
new fr();
|
|
5045
|
-
class
|
|
5060
|
+
class kr extends MessageType {
|
|
5046
5061
|
constructor() {
|
|
5047
5062
|
super("socket.api.BaseSocketHubMessage", [
|
|
5048
5063
|
{
|
|
@@ -5098,8 +5113,8 @@ class hr extends MessageType {
|
|
|
5098
5113
|
]);
|
|
5099
5114
|
}
|
|
5100
5115
|
}
|
|
5101
|
-
new
|
|
5102
|
-
class
|
|
5116
|
+
new kr();
|
|
5117
|
+
class gr extends MessageType {
|
|
5103
5118
|
constructor() {
|
|
5104
5119
|
super("socket.api.ErrorMessage", [
|
|
5105
5120
|
{
|
|
@@ -5118,28 +5133,28 @@ class kr extends MessageType {
|
|
|
5118
5133
|
]);
|
|
5119
5134
|
}
|
|
5120
5135
|
}
|
|
5121
|
-
new
|
|
5122
|
-
var
|
|
5136
|
+
new gr();
|
|
5137
|
+
var de;
|
|
5123
5138
|
(function(e) {
|
|
5124
5139
|
e[e.BROWSER = 0] = "BROWSER", e[e.TRACK = 1] = "TRACK", e[e.COMPOSITE = 2] = "COMPOSITE";
|
|
5125
|
-
})(
|
|
5126
|
-
var
|
|
5140
|
+
})(de || (de = {}));
|
|
5141
|
+
var X;
|
|
5127
5142
|
(function(e) {
|
|
5128
5143
|
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";
|
|
5129
|
-
})(
|
|
5130
|
-
var
|
|
5144
|
+
})(X || (X = {}));
|
|
5145
|
+
var Me;
|
|
5131
5146
|
(function(e) {
|
|
5132
5147
|
e[e.NONE = 0] = "NONE", e[e.RECORDER = 1] = "RECORDER", e[e.LIVESTREAMER = 2] = "LIVESTREAMER";
|
|
5133
|
-
})(
|
|
5134
|
-
var
|
|
5148
|
+
})(Me || (Me = {}));
|
|
5149
|
+
var qe;
|
|
5135
5150
|
(function(e) {
|
|
5136
5151
|
e[e.PEERS = 0] = "PEERS", e[e.ROOMS = 1] = "ROOMS";
|
|
5137
|
-
})(
|
|
5138
|
-
var
|
|
5152
|
+
})(qe || (qe = {}));
|
|
5153
|
+
var $e;
|
|
5139
5154
|
(function(e) {
|
|
5140
5155
|
e[e.HIVE = 0] = "HIVE", e[e.CHAT = 1] = "CHAT", e[e.PING = 2] = "PING";
|
|
5141
|
-
})(
|
|
5142
|
-
class
|
|
5156
|
+
})($e || ($e = {}));
|
|
5157
|
+
class yr extends MessageType {
|
|
5143
5158
|
constructor() {
|
|
5144
5159
|
super("socket.room.PeerFlags", [
|
|
5145
5160
|
{
|
|
@@ -5163,7 +5178,7 @@ class gr extends MessageType {
|
|
|
5163
5178
|
]);
|
|
5164
5179
|
}
|
|
5165
5180
|
}
|
|
5166
|
-
const
|
|
5181
|
+
const Rr = new yr();
|
|
5167
5182
|
class vr extends MessageType {
|
|
5168
5183
|
constructor() {
|
|
5169
5184
|
super("socket.room.Peer", [
|
|
@@ -5185,7 +5200,7 @@ class vr extends MessageType {
|
|
|
5185
5200
|
kind: "scalar",
|
|
5186
5201
|
T: 9
|
|
5187
5202
|
},
|
|
5188
|
-
{ no: 4, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType",
|
|
5203
|
+
{ no: 4, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", X, "STAGE_TYPE_"] },
|
|
5189
5204
|
{
|
|
5190
5205
|
no: 5,
|
|
5191
5206
|
name: "custom_participant_id",
|
|
@@ -5213,20 +5228,20 @@ class vr extends MessageType {
|
|
|
5213
5228
|
kind: "scalar",
|
|
5214
5229
|
T: 8
|
|
5215
5230
|
},
|
|
5216
|
-
{ no: 9, name: "flags", kind: "message", T: () =>
|
|
5231
|
+
{ no: 9, name: "flags", kind: "message", T: () => Rr }
|
|
5217
5232
|
]);
|
|
5218
5233
|
}
|
|
5219
5234
|
}
|
|
5220
|
-
const
|
|
5221
|
-
class
|
|
5235
|
+
const he = new vr();
|
|
5236
|
+
class _r extends MessageType {
|
|
5222
5237
|
constructor() {
|
|
5223
5238
|
super("socket.room.PeerInfoResponse", [
|
|
5224
|
-
{ no: 1, name: "peer", kind: "message", T: () =>
|
|
5239
|
+
{ no: 1, name: "peer", kind: "message", T: () => he }
|
|
5225
5240
|
]);
|
|
5226
5241
|
}
|
|
5227
5242
|
}
|
|
5228
|
-
const
|
|
5229
|
-
class
|
|
5243
|
+
const cn = new _r();
|
|
5244
|
+
class wr extends MessageType {
|
|
5230
5245
|
constructor() {
|
|
5231
5246
|
super("socket.room.PeerStatusUpdate", [
|
|
5232
5247
|
{
|
|
@@ -5241,12 +5256,12 @@ class _r extends MessageType {
|
|
|
5241
5256
|
kind: "scalar",
|
|
5242
5257
|
T: 9
|
|
5243
5258
|
},
|
|
5244
|
-
{ no: 3, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType",
|
|
5259
|
+
{ no: 3, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", X, "STAGE_TYPE_"] }
|
|
5245
5260
|
]);
|
|
5246
5261
|
}
|
|
5247
5262
|
}
|
|
5248
|
-
new
|
|
5249
|
-
class
|
|
5263
|
+
new wr();
|
|
5264
|
+
class Pr extends MessageType {
|
|
5250
5265
|
constructor() {
|
|
5251
5266
|
super("socket.room.RoomPeersInfoRequest", [
|
|
5252
5267
|
{
|
|
@@ -5270,16 +5285,16 @@ class wr extends MessageType {
|
|
|
5270
5285
|
]);
|
|
5271
5286
|
}
|
|
5272
5287
|
}
|
|
5273
|
-
new
|
|
5274
|
-
class
|
|
5288
|
+
new Pr();
|
|
5289
|
+
class Cr extends MessageType {
|
|
5275
5290
|
constructor() {
|
|
5276
5291
|
super("socket.room.RoomPeersInfoResponse", [
|
|
5277
|
-
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () =>
|
|
5292
|
+
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () => he }
|
|
5278
5293
|
]);
|
|
5279
5294
|
}
|
|
5280
5295
|
}
|
|
5281
|
-
const
|
|
5282
|
-
class
|
|
5296
|
+
const Er = new Cr();
|
|
5297
|
+
class Sr extends MessageType {
|
|
5283
5298
|
constructor() {
|
|
5284
5299
|
super("socket.room.RoomPeerCountResponse", [
|
|
5285
5300
|
{
|
|
@@ -5292,8 +5307,8 @@ class Er extends MessageType {
|
|
|
5292
5307
|
]);
|
|
5293
5308
|
}
|
|
5294
5309
|
}
|
|
5295
|
-
new
|
|
5296
|
-
class
|
|
5310
|
+
new Sr();
|
|
5311
|
+
class br extends MessageType {
|
|
5297
5312
|
constructor() {
|
|
5298
5313
|
super("socket.room.Room", [
|
|
5299
5314
|
{
|
|
@@ -5315,7 +5330,7 @@ class Sr extends MessageType {
|
|
|
5315
5330
|
T: 4,
|
|
5316
5331
|
L: 2
|
|
5317
5332
|
},
|
|
5318
|
-
{ no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () =>
|
|
5333
|
+
{ no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () => Lr },
|
|
5319
5334
|
{
|
|
5320
5335
|
no: 6,
|
|
5321
5336
|
name: "room_uuid",
|
|
@@ -5326,8 +5341,8 @@ class Sr extends MessageType {
|
|
|
5326
5341
|
]);
|
|
5327
5342
|
}
|
|
5328
5343
|
}
|
|
5329
|
-
const
|
|
5330
|
-
class
|
|
5344
|
+
const On = new br();
|
|
5345
|
+
class xr extends MessageType {
|
|
5331
5346
|
constructor() {
|
|
5332
5347
|
super("socket.room.ActiveRecording", [
|
|
5333
5348
|
{
|
|
@@ -5336,7 +5351,7 @@ class br extends MessageType {
|
|
|
5336
5351
|
kind: "scalar",
|
|
5337
5352
|
T: 9
|
|
5338
5353
|
},
|
|
5339
|
-
{ no: 2, name: "recording_type", kind: "enum", T: () => ["common.RecordingType",
|
|
5354
|
+
{ no: 2, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", de] },
|
|
5340
5355
|
{
|
|
5341
5356
|
no: 3,
|
|
5342
5357
|
name: "recording_status",
|
|
@@ -5346,16 +5361,16 @@ class br extends MessageType {
|
|
|
5346
5361
|
]);
|
|
5347
5362
|
}
|
|
5348
5363
|
}
|
|
5349
|
-
const
|
|
5350
|
-
class
|
|
5364
|
+
const Lr = new xr();
|
|
5365
|
+
class Or extends MessageType {
|
|
5351
5366
|
constructor() {
|
|
5352
5367
|
super("socket.room.RoomInfoResponse", [
|
|
5353
|
-
{ no: 1, name: "room", kind: "message", T: () =>
|
|
5368
|
+
{ no: 1, name: "room", kind: "message", T: () => On }
|
|
5354
5369
|
]);
|
|
5355
5370
|
}
|
|
5356
5371
|
}
|
|
5357
|
-
const
|
|
5358
|
-
class
|
|
5372
|
+
const Mr = new Or();
|
|
5373
|
+
class qr extends MessageType {
|
|
5359
5374
|
constructor() {
|
|
5360
5375
|
super("socket.room.GetPeerInfoRequest", [
|
|
5361
5376
|
{
|
|
@@ -5367,8 +5382,8 @@ class Mr extends MessageType {
|
|
|
5367
5382
|
]);
|
|
5368
5383
|
}
|
|
5369
5384
|
}
|
|
5370
|
-
new
|
|
5371
|
-
class
|
|
5385
|
+
new qr();
|
|
5386
|
+
class $r extends MessageType {
|
|
5372
5387
|
constructor() {
|
|
5373
5388
|
super("socket.room.UpdatePeerInfoRequest", [
|
|
5374
5389
|
{
|
|
@@ -5387,11 +5402,11 @@ class qr extends MessageType {
|
|
|
5387
5402
|
]);
|
|
5388
5403
|
}
|
|
5389
5404
|
}
|
|
5390
|
-
new
|
|
5391
|
-
class
|
|
5405
|
+
new $r();
|
|
5406
|
+
class Nr extends MessageType {
|
|
5392
5407
|
constructor() {
|
|
5393
5408
|
super("socket.room.JoinRoomRequest", [
|
|
5394
|
-
{ no: 1, name: "peer", kind: "message", T: () =>
|
|
5409
|
+
{ no: 1, name: "peer", kind: "message", T: () => he },
|
|
5395
5410
|
{
|
|
5396
5411
|
no: 3,
|
|
5397
5412
|
name: "room_uuid",
|
|
@@ -5419,7 +5434,7 @@ class $r extends MessageType {
|
|
|
5419
5434
|
opt: true,
|
|
5420
5435
|
T: 12
|
|
5421
5436
|
},
|
|
5422
|
-
{ no: 7, name: "capabilities", kind: "enum", repeat: 1, T: () => ["socket.room.Capabilities",
|
|
5437
|
+
{ no: 7, name: "capabilities", kind: "enum", repeat: 1, T: () => ["socket.room.Capabilities", $e, "CAPABILITIES_"] },
|
|
5423
5438
|
{
|
|
5424
5439
|
no: 8,
|
|
5425
5440
|
name: "timestamp",
|
|
@@ -5431,11 +5446,11 @@ class $r extends MessageType {
|
|
|
5431
5446
|
]);
|
|
5432
5447
|
}
|
|
5433
5448
|
}
|
|
5434
|
-
new
|
|
5435
|
-
class
|
|
5449
|
+
new Nr();
|
|
5450
|
+
class Ar extends MessageType {
|
|
5436
5451
|
constructor() {
|
|
5437
5452
|
super("socket.room.LeaveRoomRequest", [
|
|
5438
|
-
{ no: 1, name: "peer", kind: "message", T: () =>
|
|
5453
|
+
{ no: 1, name: "peer", kind: "message", T: () => he },
|
|
5439
5454
|
{
|
|
5440
5455
|
no: 2,
|
|
5441
5456
|
name: "timestamp",
|
|
@@ -5447,22 +5462,22 @@ class Nr extends MessageType {
|
|
|
5447
5462
|
]);
|
|
5448
5463
|
}
|
|
5449
5464
|
}
|
|
5450
|
-
new
|
|
5451
|
-
class
|
|
5465
|
+
new Ar();
|
|
5466
|
+
class Ir extends MessageType {
|
|
5452
5467
|
constructor() {
|
|
5453
5468
|
super("socket.room.UpdateRoomInfoRequest", [
|
|
5454
|
-
{ no: 1, name: "room", kind: "message", T: () =>
|
|
5469
|
+
{ no: 1, name: "room", kind: "message", T: () => On }
|
|
5455
5470
|
]);
|
|
5456
5471
|
}
|
|
5457
5472
|
}
|
|
5458
|
-
new
|
|
5459
|
-
class
|
|
5473
|
+
new Ir();
|
|
5474
|
+
class Dr extends MessageType {
|
|
5460
5475
|
constructor() {
|
|
5461
5476
|
super("socket.room.GetConnectedRoomsDumpRequest", []);
|
|
5462
5477
|
}
|
|
5463
5478
|
}
|
|
5464
|
-
new
|
|
5465
|
-
class
|
|
5479
|
+
new Dr();
|
|
5480
|
+
class Ur extends MessageType {
|
|
5466
5481
|
constructor() {
|
|
5467
5482
|
super("socket.room.ServiceError", [
|
|
5468
5483
|
{
|
|
@@ -5482,8 +5497,8 @@ class Dr extends MessageType {
|
|
|
5482
5497
|
]);
|
|
5483
5498
|
}
|
|
5484
5499
|
}
|
|
5485
|
-
const
|
|
5486
|
-
class
|
|
5500
|
+
const Ie = new Ur();
|
|
5501
|
+
class Br extends MessageType {
|
|
5487
5502
|
constructor() {
|
|
5488
5503
|
super("socket.room.ConnectedMeetingPeer", [
|
|
5489
5504
|
{
|
|
@@ -5524,8 +5539,8 @@ class Ur extends MessageType {
|
|
|
5524
5539
|
]);
|
|
5525
5540
|
}
|
|
5526
5541
|
}
|
|
5527
|
-
const
|
|
5528
|
-
class
|
|
5542
|
+
const Gr = new Br();
|
|
5543
|
+
class jr extends MessageType {
|
|
5529
5544
|
constructor() {
|
|
5530
5545
|
super("socket.room.ConnectedMeetingDump", [
|
|
5531
5546
|
{
|
|
@@ -5542,21 +5557,21 @@ class Gr extends MessageType {
|
|
|
5542
5557
|
opt: true,
|
|
5543
5558
|
T: 9
|
|
5544
5559
|
},
|
|
5545
|
-
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
5560
|
+
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () => Gr }
|
|
5546
5561
|
]);
|
|
5547
5562
|
}
|
|
5548
5563
|
}
|
|
5549
|
-
const
|
|
5550
|
-
class
|
|
5564
|
+
const dn = new jr();
|
|
5565
|
+
class Wr extends MessageType {
|
|
5551
5566
|
constructor() {
|
|
5552
5567
|
super("socket.room.GetConnectedRoomsDumpResponse", [
|
|
5553
|
-
{ no: 1, name: "parent_meeting", kind: "message", T: () =>
|
|
5554
|
-
{ no: 2, name: "meetings", kind: "message", repeat: 1, T: () =>
|
|
5568
|
+
{ no: 1, name: "parent_meeting", kind: "message", T: () => dn },
|
|
5569
|
+
{ no: 2, name: "meetings", kind: "message", repeat: 1, T: () => dn }
|
|
5555
5570
|
]);
|
|
5556
5571
|
}
|
|
5557
5572
|
}
|
|
5558
|
-
const
|
|
5559
|
-
class
|
|
5573
|
+
const Fr = new Wr();
|
|
5574
|
+
class Kr extends MessageType {
|
|
5560
5575
|
constructor() {
|
|
5561
5576
|
super("socket.room.CreateRoomRequestPayload", [
|
|
5562
5577
|
{
|
|
@@ -5569,16 +5584,16 @@ class Fr extends MessageType {
|
|
|
5569
5584
|
]);
|
|
5570
5585
|
}
|
|
5571
5586
|
}
|
|
5572
|
-
const
|
|
5573
|
-
class
|
|
5587
|
+
const Vr = new Kr();
|
|
5588
|
+
class Hr extends MessageType {
|
|
5574
5589
|
constructor() {
|
|
5575
5590
|
super("socket.room.CreateConnectedRoomsRequest", [
|
|
5576
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5591
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Vr }
|
|
5577
5592
|
]);
|
|
5578
5593
|
}
|
|
5579
5594
|
}
|
|
5580
|
-
new
|
|
5581
|
-
class
|
|
5595
|
+
new Hr();
|
|
5596
|
+
class Jr extends MessageType {
|
|
5582
5597
|
constructor() {
|
|
5583
5598
|
super("socket.room.CreateRoomResponsePayload", [
|
|
5584
5599
|
{
|
|
@@ -5595,20 +5610,20 @@ class Hr extends MessageType {
|
|
|
5595
5610
|
opt: true,
|
|
5596
5611
|
T: 9
|
|
5597
5612
|
},
|
|
5598
|
-
{ no: 3, name: "error", kind: "message", T: () =>
|
|
5613
|
+
{ no: 3, name: "error", kind: "message", T: () => Ie }
|
|
5599
5614
|
]);
|
|
5600
5615
|
}
|
|
5601
5616
|
}
|
|
5602
|
-
const
|
|
5603
|
-
class
|
|
5617
|
+
const Zr = new Jr();
|
|
5618
|
+
class zr extends MessageType {
|
|
5604
5619
|
constructor() {
|
|
5605
5620
|
super("socket.room.CreateConnectedRoomsResponse", [
|
|
5606
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5621
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Zr }
|
|
5607
5622
|
]);
|
|
5608
5623
|
}
|
|
5609
5624
|
}
|
|
5610
|
-
new
|
|
5611
|
-
class
|
|
5625
|
+
new zr();
|
|
5626
|
+
class Yr extends MessageType {
|
|
5612
5627
|
constructor() {
|
|
5613
5628
|
super("socket.room.UpdateRoomRequestPayload", [
|
|
5614
5629
|
{
|
|
@@ -5628,16 +5643,16 @@ class zr extends MessageType {
|
|
|
5628
5643
|
]);
|
|
5629
5644
|
}
|
|
5630
5645
|
}
|
|
5631
|
-
const
|
|
5632
|
-
class
|
|
5646
|
+
const Qr = new Yr();
|
|
5647
|
+
class Xr extends MessageType {
|
|
5633
5648
|
constructor() {
|
|
5634
5649
|
super("socket.room.UpdateConnectedRoomsRequest", [
|
|
5635
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5650
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Qr }
|
|
5636
5651
|
]);
|
|
5637
5652
|
}
|
|
5638
5653
|
}
|
|
5639
|
-
new
|
|
5640
|
-
class
|
|
5654
|
+
new Xr();
|
|
5655
|
+
class eo extends MessageType {
|
|
5641
5656
|
constructor() {
|
|
5642
5657
|
super("socket.room.DisableRoomPayload", [
|
|
5643
5658
|
{
|
|
@@ -5650,24 +5665,24 @@ class Xr extends MessageType {
|
|
|
5650
5665
|
]);
|
|
5651
5666
|
}
|
|
5652
5667
|
}
|
|
5653
|
-
const
|
|
5654
|
-
class
|
|
5668
|
+
const no = new eo();
|
|
5669
|
+
class to extends MessageType {
|
|
5655
5670
|
constructor() {
|
|
5656
5671
|
super("socket.room.DisableConnectedRoomsRequest", [
|
|
5657
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5672
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => no }
|
|
5658
5673
|
]);
|
|
5659
5674
|
}
|
|
5660
5675
|
}
|
|
5661
|
-
new
|
|
5662
|
-
class
|
|
5676
|
+
new to();
|
|
5677
|
+
class so extends MessageType {
|
|
5663
5678
|
constructor() {
|
|
5664
5679
|
super("socket.room.DisableConnectedRoomsResponse", [
|
|
5665
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5680
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => oo }
|
|
5666
5681
|
]);
|
|
5667
5682
|
}
|
|
5668
5683
|
}
|
|
5669
|
-
new
|
|
5670
|
-
class
|
|
5684
|
+
new so();
|
|
5685
|
+
class ro extends MessageType {
|
|
5671
5686
|
constructor() {
|
|
5672
5687
|
super("socket.room.DisableConnectedRoomPayload", [
|
|
5673
5688
|
{
|
|
@@ -5691,12 +5706,12 @@ class so extends MessageType {
|
|
|
5691
5706
|
opt: true,
|
|
5692
5707
|
T: 9
|
|
5693
5708
|
},
|
|
5694
|
-
{ no: 4, name: "error", kind: "message", T: () =>
|
|
5709
|
+
{ no: 4, name: "error", kind: "message", T: () => Ie }
|
|
5695
5710
|
]);
|
|
5696
5711
|
}
|
|
5697
5712
|
}
|
|
5698
|
-
const
|
|
5699
|
-
class
|
|
5713
|
+
const oo = new ro();
|
|
5714
|
+
class ao extends MessageType {
|
|
5700
5715
|
constructor() {
|
|
5701
5716
|
super("socket.room.MovePeerPayload", [
|
|
5702
5717
|
{
|
|
@@ -5716,8 +5731,8 @@ class oo extends MessageType {
|
|
|
5716
5731
|
]);
|
|
5717
5732
|
}
|
|
5718
5733
|
}
|
|
5719
|
-
const
|
|
5720
|
-
class
|
|
5734
|
+
const io = new ao();
|
|
5735
|
+
class co extends MessageType {
|
|
5721
5736
|
constructor() {
|
|
5722
5737
|
super("socket.room.MovePeersBetweenRoomsRequest", [
|
|
5723
5738
|
{
|
|
@@ -5734,12 +5749,12 @@ class io extends MessageType {
|
|
|
5734
5749
|
opt: true,
|
|
5735
5750
|
T: 9
|
|
5736
5751
|
},
|
|
5737
|
-
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () =>
|
|
5752
|
+
{ no: 3, name: "participants", kind: "message", repeat: 1, T: () => io }
|
|
5738
5753
|
]);
|
|
5739
5754
|
}
|
|
5740
5755
|
}
|
|
5741
|
-
new
|
|
5742
|
-
class
|
|
5756
|
+
new co();
|
|
5757
|
+
class po extends MessageType {
|
|
5743
5758
|
constructor() {
|
|
5744
5759
|
super("socket.room.MovedPeer", [
|
|
5745
5760
|
{
|
|
@@ -5756,20 +5771,20 @@ class co extends MessageType {
|
|
|
5756
5771
|
opt: true,
|
|
5757
5772
|
T: 9
|
|
5758
5773
|
},
|
|
5759
|
-
{ no: 3, name: "error", kind: "message", T: () =>
|
|
5774
|
+
{ no: 3, name: "error", kind: "message", T: () => Ie }
|
|
5760
5775
|
]);
|
|
5761
5776
|
}
|
|
5762
5777
|
}
|
|
5763
|
-
const
|
|
5764
|
-
class
|
|
5778
|
+
const uo = new po();
|
|
5779
|
+
class lo extends MessageType {
|
|
5765
5780
|
constructor() {
|
|
5766
5781
|
super("socket.room.MovePeersBetweenRoomsResponse", [
|
|
5767
|
-
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () =>
|
|
5782
|
+
{ no: 1, name: "payloads", kind: "message", repeat: 1, T: () => uo }
|
|
5768
5783
|
]);
|
|
5769
5784
|
}
|
|
5770
5785
|
}
|
|
5771
|
-
new
|
|
5772
|
-
class
|
|
5786
|
+
new lo();
|
|
5787
|
+
class mo extends MessageType {
|
|
5773
5788
|
constructor() {
|
|
5774
5789
|
super("socket.room.TransferPeer", [
|
|
5775
5790
|
{
|
|
@@ -5789,16 +5804,16 @@ class lo extends MessageType {
|
|
|
5789
5804
|
]);
|
|
5790
5805
|
}
|
|
5791
5806
|
}
|
|
5792
|
-
new
|
|
5793
|
-
class
|
|
5807
|
+
new mo();
|
|
5808
|
+
class To extends MessageType {
|
|
5794
5809
|
constructor() {
|
|
5795
5810
|
super("socket.room.GetAllAddedParticipantsResponse", [
|
|
5796
5811
|
{ no: 1, name: "participants", kind: "message", repeat: 1, T: () => fo }
|
|
5797
5812
|
]);
|
|
5798
5813
|
}
|
|
5799
5814
|
}
|
|
5800
|
-
new
|
|
5801
|
-
class
|
|
5815
|
+
new To();
|
|
5816
|
+
class ho extends MessageType {
|
|
5802
5817
|
constructor() {
|
|
5803
5818
|
super("socket.room.AddedParticipant", [
|
|
5804
5819
|
{
|
|
@@ -5830,8 +5845,8 @@ class To extends MessageType {
|
|
|
5830
5845
|
]);
|
|
5831
5846
|
}
|
|
5832
5847
|
}
|
|
5833
|
-
const fo = new
|
|
5834
|
-
class
|
|
5848
|
+
const fo = new ho();
|
|
5849
|
+
class ko extends MessageType {
|
|
5835
5850
|
constructor() {
|
|
5836
5851
|
super("socket.room.RemoveParticipantsRequest", [
|
|
5837
5852
|
{
|
|
@@ -5844,8 +5859,8 @@ class ho extends MessageType {
|
|
|
5844
5859
|
]);
|
|
5845
5860
|
}
|
|
5846
5861
|
}
|
|
5847
|
-
new
|
|
5848
|
-
class
|
|
5862
|
+
new ko();
|
|
5863
|
+
class go extends MessageType {
|
|
5849
5864
|
constructor() {
|
|
5850
5865
|
super("socket.room.BroadcastMessage", [
|
|
5851
5866
|
{
|
|
@@ -5874,12 +5889,12 @@ class ko extends MessageType {
|
|
|
5874
5889
|
repeat: 2,
|
|
5875
5890
|
T: 9
|
|
5876
5891
|
},
|
|
5877
|
-
{ no: 5, name: "broadcast_type", kind: "enum", opt: true, T: () => ["socket.room.BroadcastType",
|
|
5892
|
+
{ no: 5, name: "broadcast_type", kind: "enum", opt: true, T: () => ["socket.room.BroadcastType", qe, "BROADCAST_TYPE_"] }
|
|
5878
5893
|
]);
|
|
5879
5894
|
}
|
|
5880
5895
|
}
|
|
5881
|
-
new
|
|
5882
|
-
class
|
|
5896
|
+
new go();
|
|
5897
|
+
class yo extends MessageType {
|
|
5883
5898
|
constructor() {
|
|
5884
5899
|
super("socket.room.AcceptWaitingRoomRequests", [
|
|
5885
5900
|
{
|
|
@@ -5892,8 +5907,8 @@ class go extends MessageType {
|
|
|
5892
5907
|
]);
|
|
5893
5908
|
}
|
|
5894
5909
|
}
|
|
5895
|
-
new
|
|
5896
|
-
class
|
|
5910
|
+
new yo();
|
|
5911
|
+
class Ro extends MessageType {
|
|
5897
5912
|
constructor() {
|
|
5898
5913
|
super("socket.room.DenyWaitingRoomRequests", [
|
|
5899
5914
|
{
|
|
@@ -5906,7 +5921,7 @@ class yo extends MessageType {
|
|
|
5906
5921
|
]);
|
|
5907
5922
|
}
|
|
5908
5923
|
}
|
|
5909
|
-
new
|
|
5924
|
+
new Ro();
|
|
5910
5925
|
class vo extends MessageType {
|
|
5911
5926
|
constructor() {
|
|
5912
5927
|
super("socket.room.WaitingRoomRequest", [
|
|
@@ -5952,16 +5967,16 @@ class vo extends MessageType {
|
|
|
5952
5967
|
]);
|
|
5953
5968
|
}
|
|
5954
5969
|
}
|
|
5955
|
-
const
|
|
5956
|
-
class
|
|
5970
|
+
const _o = new vo();
|
|
5971
|
+
class wo extends MessageType {
|
|
5957
5972
|
constructor() {
|
|
5958
5973
|
super("socket.room.GetWaitingRoomRequests", [
|
|
5959
|
-
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () =>
|
|
5974
|
+
{ no: 1, name: "requests", kind: "message", repeat: 1, T: () => _o }
|
|
5960
5975
|
]);
|
|
5961
5976
|
}
|
|
5962
5977
|
}
|
|
5963
|
-
new
|
|
5964
|
-
class
|
|
5978
|
+
new wo();
|
|
5979
|
+
class Po extends MessageType {
|
|
5965
5980
|
constructor() {
|
|
5966
5981
|
super("socket.room.GetRoomStageStateResponse", [
|
|
5967
5982
|
{
|
|
@@ -5988,16 +6003,16 @@ class wo extends MessageType {
|
|
|
5988
6003
|
]);
|
|
5989
6004
|
}
|
|
5990
6005
|
}
|
|
5991
|
-
new
|
|
5992
|
-
var
|
|
6006
|
+
new Po();
|
|
6007
|
+
var Ne;
|
|
5993
6008
|
(function(e) {
|
|
5994
6009
|
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";
|
|
5995
|
-
})(
|
|
5996
|
-
var
|
|
6010
|
+
})(Ne || (Ne = {}));
|
|
6011
|
+
var pe;
|
|
5997
6012
|
(function(e) {
|
|
5998
6013
|
e[e.NONE = 0] = "NONE", e[e.ALLOWED = 1] = "ALLOWED", e[e.NOT_ALLOWED = 2] = "NOT_ALLOWED", e[e.CAN_REQUEST = 3] = "CAN_REQUEST";
|
|
5999
|
-
})(
|
|
6000
|
-
class
|
|
6014
|
+
})(pe || (pe = {}));
|
|
6015
|
+
class Co extends MessageType {
|
|
6001
6016
|
constructor() {
|
|
6002
6017
|
super("socket.preset.PollsPermissionUpdate", [
|
|
6003
6018
|
{
|
|
@@ -6024,8 +6039,8 @@ class Po extends MessageType {
|
|
|
6024
6039
|
]);
|
|
6025
6040
|
}
|
|
6026
6041
|
}
|
|
6027
|
-
const
|
|
6028
|
-
class
|
|
6042
|
+
const Eo = new Co();
|
|
6043
|
+
class So extends MessageType {
|
|
6029
6044
|
constructor() {
|
|
6030
6045
|
super("socket.preset.PluginsPermissionsUpdate", [
|
|
6031
6046
|
{
|
|
@@ -6045,8 +6060,8 @@ class Eo extends MessageType {
|
|
|
6045
6060
|
]);
|
|
6046
6061
|
}
|
|
6047
6062
|
}
|
|
6048
|
-
const
|
|
6049
|
-
class
|
|
6063
|
+
const bo = new So();
|
|
6064
|
+
class xo extends MessageType {
|
|
6050
6065
|
constructor() {
|
|
6051
6066
|
super("socket.preset.PublicChatPermission", [
|
|
6052
6067
|
{
|
|
@@ -6073,8 +6088,8 @@ class bo extends MessageType {
|
|
|
6073
6088
|
]);
|
|
6074
6089
|
}
|
|
6075
6090
|
}
|
|
6076
|
-
const
|
|
6077
|
-
class
|
|
6091
|
+
const Lo = new xo();
|
|
6092
|
+
class Oo extends MessageType {
|
|
6078
6093
|
constructor() {
|
|
6079
6094
|
super("socket.preset.PrivateChatPermission", [
|
|
6080
6095
|
{
|
|
@@ -6108,17 +6123,17 @@ class Lo extends MessageType {
|
|
|
6108
6123
|
]);
|
|
6109
6124
|
}
|
|
6110
6125
|
}
|
|
6111
|
-
const
|
|
6112
|
-
class
|
|
6126
|
+
const Mo = new Oo();
|
|
6127
|
+
class qo extends MessageType {
|
|
6113
6128
|
constructor() {
|
|
6114
6129
|
super("socket.preset.ChatPermissionUpdate", [
|
|
6115
|
-
{ no: 1, name: "public", kind: "message", T: () =>
|
|
6116
|
-
{ no: 2, name: "private", kind: "message", T: () =>
|
|
6130
|
+
{ no: 1, name: "public", kind: "message", T: () => Lo },
|
|
6131
|
+
{ no: 2, name: "private", kind: "message", T: () => Mo }
|
|
6117
6132
|
]);
|
|
6118
6133
|
}
|
|
6119
6134
|
}
|
|
6120
|
-
const
|
|
6121
|
-
class
|
|
6135
|
+
const $o = new qo();
|
|
6136
|
+
class No extends MessageType {
|
|
6122
6137
|
constructor() {
|
|
6123
6138
|
super("socket.preset.ConnectedMeetingPermissionUpdate", [
|
|
6124
6139
|
{
|
|
@@ -6145,32 +6160,32 @@ class $o extends MessageType {
|
|
|
6145
6160
|
]);
|
|
6146
6161
|
}
|
|
6147
6162
|
}
|
|
6148
|
-
const
|
|
6149
|
-
class
|
|
6163
|
+
const Ao = new No();
|
|
6164
|
+
class Io extends MessageType {
|
|
6150
6165
|
constructor() {
|
|
6151
6166
|
super("socket.preset.StreamPermission", [
|
|
6152
|
-
{ no: 1, name: "can_produce", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType",
|
|
6153
|
-
{ no: 2, name: "can_consume", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType",
|
|
6167
|
+
{ no: 1, name: "can_produce", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", pe, "STREAM_PERMISSION_TYPE_"] },
|
|
6168
|
+
{ no: 2, name: "can_consume", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", pe, "STREAM_PERMISSION_TYPE_"] }
|
|
6154
6169
|
]);
|
|
6155
6170
|
}
|
|
6156
6171
|
}
|
|
6157
|
-
const
|
|
6158
|
-
class
|
|
6172
|
+
const be = new Io();
|
|
6173
|
+
class Do extends MessageType {
|
|
6159
6174
|
constructor() {
|
|
6160
6175
|
super("socket.preset.MediaPermissionUpdate", [
|
|
6161
|
-
{ no: 1, name: "video", kind: "message", T: () =>
|
|
6162
|
-
{ no: 2, name: "audio", kind: "message", T: () =>
|
|
6163
|
-
{ no: 3, name: "screenshare", kind: "message", T: () =>
|
|
6176
|
+
{ no: 1, name: "video", kind: "message", T: () => be },
|
|
6177
|
+
{ no: 2, name: "audio", kind: "message", T: () => be },
|
|
6178
|
+
{ no: 3, name: "screenshare", kind: "message", T: () => be }
|
|
6164
6179
|
]);
|
|
6165
6180
|
}
|
|
6166
6181
|
}
|
|
6167
|
-
const
|
|
6168
|
-
class
|
|
6182
|
+
const Uo = new Do();
|
|
6183
|
+
class Bo extends MessageType {
|
|
6169
6184
|
constructor() {
|
|
6170
6185
|
super("socket.preset.PresetUpdates", [
|
|
6171
|
-
{ no: 1, name: "polls", kind: "message", T: () =>
|
|
6172
|
-
{ no: 2, name: "plugins", kind: "message", T: () =>
|
|
6173
|
-
{ no: 3, name: "chat", kind: "message", T: () =>
|
|
6186
|
+
{ no: 1, name: "polls", kind: "message", T: () => Eo },
|
|
6187
|
+
{ no: 2, name: "plugins", kind: "message", T: () => bo },
|
|
6188
|
+
{ no: 3, name: "chat", kind: "message", T: () => $o },
|
|
6174
6189
|
{
|
|
6175
6190
|
no: 4,
|
|
6176
6191
|
name: "accept_waiting_requests",
|
|
@@ -6255,7 +6270,7 @@ class Uo extends MessageType {
|
|
|
6255
6270
|
opt: true,
|
|
6256
6271
|
T: 8
|
|
6257
6272
|
},
|
|
6258
|
-
{ no: 16, name: "waiting_room_type", kind: "enum", opt: true, T: () => ["socket.preset.WaitingRoomType",
|
|
6273
|
+
{ no: 16, name: "waiting_room_type", kind: "enum", opt: true, T: () => ["socket.preset.WaitingRoomType", Ne, "WAITING_ROOM_TYPE_"] },
|
|
6259
6274
|
{
|
|
6260
6275
|
no: 17,
|
|
6261
6276
|
name: "is_recorder",
|
|
@@ -6263,7 +6278,7 @@ class Uo extends MessageType {
|
|
|
6263
6278
|
opt: true,
|
|
6264
6279
|
T: 8
|
|
6265
6280
|
},
|
|
6266
|
-
{ no: 18, name: "recorder_type", kind: "enum", opt: true, T: () => ["socket.room.RecorderType",
|
|
6281
|
+
{ no: 18, name: "recorder_type", kind: "enum", opt: true, T: () => ["socket.room.RecorderType", Me, "RECORDER_TYPE_"] },
|
|
6267
6282
|
{
|
|
6268
6283
|
no: 19,
|
|
6269
6284
|
name: "hidden_participant",
|
|
@@ -6285,13 +6300,13 @@ class Uo extends MessageType {
|
|
|
6285
6300
|
opt: true,
|
|
6286
6301
|
T: 8
|
|
6287
6302
|
},
|
|
6288
|
-
{ no: 22, name: "connected_meetings", kind: "message", T: () =>
|
|
6289
|
-
{ no: 23, name: "media", kind: "message", T: () =>
|
|
6303
|
+
{ no: 22, name: "connected_meetings", kind: "message", T: () => Ao },
|
|
6304
|
+
{ no: 23, name: "media", kind: "message", T: () => Uo }
|
|
6290
6305
|
]);
|
|
6291
6306
|
}
|
|
6292
6307
|
}
|
|
6293
|
-
const
|
|
6294
|
-
class
|
|
6308
|
+
const De = new Bo();
|
|
6309
|
+
class Go extends MessageType {
|
|
6295
6310
|
constructor() {
|
|
6296
6311
|
super("socket.preset.ReadPeersPresetRequest", [
|
|
6297
6312
|
{
|
|
@@ -6304,8 +6319,8 @@ class Bo extends MessageType {
|
|
|
6304
6319
|
]);
|
|
6305
6320
|
}
|
|
6306
6321
|
}
|
|
6307
|
-
new
|
|
6308
|
-
class
|
|
6322
|
+
new Go();
|
|
6323
|
+
class jo extends MessageType {
|
|
6309
6324
|
constructor() {
|
|
6310
6325
|
super("socket.preset.PeerPreset", [
|
|
6311
6326
|
{
|
|
@@ -6329,16 +6344,16 @@ class Go extends MessageType {
|
|
|
6329
6344
|
]);
|
|
6330
6345
|
}
|
|
6331
6346
|
}
|
|
6332
|
-
const
|
|
6333
|
-
class
|
|
6347
|
+
const Wo = new jo();
|
|
6348
|
+
class Fo extends MessageType {
|
|
6334
6349
|
constructor() {
|
|
6335
6350
|
super("socket.preset.ReadPeersPresetResponse", [
|
|
6336
|
-
{ no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () =>
|
|
6351
|
+
{ no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => Wo }
|
|
6337
6352
|
]);
|
|
6338
6353
|
}
|
|
6339
6354
|
}
|
|
6340
|
-
new
|
|
6341
|
-
class
|
|
6355
|
+
new Fo();
|
|
6356
|
+
class Ko extends MessageType {
|
|
6342
6357
|
constructor() {
|
|
6343
6358
|
super("socket.preset.UpdatePeerPreset", [
|
|
6344
6359
|
{
|
|
@@ -6347,28 +6362,28 @@ class Fo extends MessageType {
|
|
|
6347
6362
|
kind: "scalar",
|
|
6348
6363
|
T: 9
|
|
6349
6364
|
},
|
|
6350
|
-
{ no: 2, name: "patch", kind: "message", T: () =>
|
|
6365
|
+
{ no: 2, name: "patch", kind: "message", T: () => De }
|
|
6351
6366
|
]);
|
|
6352
6367
|
}
|
|
6353
6368
|
}
|
|
6354
|
-
const
|
|
6355
|
-
class
|
|
6369
|
+
const Mn = new Ko();
|
|
6370
|
+
class Vo extends MessageType {
|
|
6356
6371
|
constructor() {
|
|
6357
6372
|
super("socket.preset.UpdatePeersPresetRequest", [
|
|
6358
|
-
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () =>
|
|
6373
|
+
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Mn }
|
|
6359
6374
|
]);
|
|
6360
6375
|
}
|
|
6361
6376
|
}
|
|
6362
|
-
new
|
|
6363
|
-
class
|
|
6377
|
+
new Vo();
|
|
6378
|
+
class Ho extends MessageType {
|
|
6364
6379
|
constructor() {
|
|
6365
6380
|
super("socket.preset.UpdatePeersPresetResponse", [
|
|
6366
|
-
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () =>
|
|
6381
|
+
{ no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Mn }
|
|
6367
6382
|
]);
|
|
6368
6383
|
}
|
|
6369
6384
|
}
|
|
6370
|
-
new
|
|
6371
|
-
class
|
|
6385
|
+
new Ho();
|
|
6386
|
+
class Jo extends MessageType {
|
|
6372
6387
|
constructor() {
|
|
6373
6388
|
super("socket.preset.PeerUserIDMap", [
|
|
6374
6389
|
{
|
|
@@ -6386,25 +6401,25 @@ class Ho extends MessageType {
|
|
|
6386
6401
|
]);
|
|
6387
6402
|
}
|
|
6388
6403
|
}
|
|
6389
|
-
const
|
|
6390
|
-
class
|
|
6404
|
+
const Zo = new Jo();
|
|
6405
|
+
class zo extends MessageType {
|
|
6391
6406
|
constructor() {
|
|
6392
6407
|
super("socket.preset.BulkUpdatePeerPresetRequest", [
|
|
6393
|
-
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () =>
|
|
6394
|
-
{ no: 2, name: "patch", kind: "message", T: () =>
|
|
6408
|
+
{ no: 1, name: "peers", kind: "message", repeat: 1, T: () => Zo },
|
|
6409
|
+
{ no: 2, name: "patch", kind: "message", T: () => De }
|
|
6395
6410
|
]);
|
|
6396
6411
|
}
|
|
6397
6412
|
}
|
|
6398
|
-
new
|
|
6399
|
-
class
|
|
6413
|
+
new zo();
|
|
6414
|
+
class Yo extends MessageType {
|
|
6400
6415
|
constructor() {
|
|
6401
6416
|
super("socket.preset.BulkUpdatePeerPresetResponse", [
|
|
6402
|
-
{ no: 2, name: "patch", kind: "message", T: () =>
|
|
6417
|
+
{ no: 2, name: "patch", kind: "message", T: () => De }
|
|
6403
6418
|
]);
|
|
6404
6419
|
}
|
|
6405
6420
|
}
|
|
6406
|
-
new
|
|
6407
|
-
class
|
|
6421
|
+
new Yo();
|
|
6422
|
+
class Qo extends MessageType {
|
|
6408
6423
|
constructor() {
|
|
6409
6424
|
super("socket.chat.ChatMessage", [
|
|
6410
6425
|
{
|
|
@@ -6494,8 +6509,8 @@ class Yo extends MessageType {
|
|
|
6494
6509
|
]);
|
|
6495
6510
|
}
|
|
6496
6511
|
}
|
|
6497
|
-
const
|
|
6498
|
-
class
|
|
6512
|
+
const D = new Qo();
|
|
6513
|
+
class Xo extends MessageType {
|
|
6499
6514
|
constructor() {
|
|
6500
6515
|
super("socket.chat.GetPaginatedChatMessageRoomRequest", [
|
|
6501
6516
|
{
|
|
@@ -6533,11 +6548,11 @@ class Qo extends MessageType {
|
|
|
6533
6548
|
]);
|
|
6534
6549
|
}
|
|
6535
6550
|
}
|
|
6536
|
-
new
|
|
6537
|
-
class
|
|
6551
|
+
new Xo();
|
|
6552
|
+
class ea extends MessageType {
|
|
6538
6553
|
constructor() {
|
|
6539
6554
|
super("socket.chat.GetPaginatedChatMessageRoomResponse", [
|
|
6540
|
-
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () =>
|
|
6555
|
+
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => D },
|
|
6541
6556
|
{
|
|
6542
6557
|
no: 2,
|
|
6543
6558
|
name: "next",
|
|
@@ -6547,16 +6562,16 @@ class Xo extends MessageType {
|
|
|
6547
6562
|
]);
|
|
6548
6563
|
}
|
|
6549
6564
|
}
|
|
6550
|
-
new
|
|
6551
|
-
class
|
|
6565
|
+
new ea();
|
|
6566
|
+
class na extends MessageType {
|
|
6552
6567
|
constructor() {
|
|
6553
6568
|
super("socket.chat.GetChatMessagesResponse", [
|
|
6554
|
-
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () =>
|
|
6569
|
+
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => D }
|
|
6555
6570
|
]);
|
|
6556
6571
|
}
|
|
6557
6572
|
}
|
|
6558
|
-
new
|
|
6559
|
-
class
|
|
6573
|
+
new na();
|
|
6574
|
+
class ta extends MessageType {
|
|
6560
6575
|
constructor() {
|
|
6561
6576
|
super("socket.chat.SendChatMessageToRoomRequest", [
|
|
6562
6577
|
{
|
|
@@ -6574,16 +6589,16 @@ class na extends MessageType {
|
|
|
6574
6589
|
]);
|
|
6575
6590
|
}
|
|
6576
6591
|
}
|
|
6577
|
-
new
|
|
6578
|
-
class
|
|
6592
|
+
new ta();
|
|
6593
|
+
class sa extends MessageType {
|
|
6579
6594
|
constructor() {
|
|
6580
6595
|
super("socket.chat.SendChatMessageToRoomResponse", [
|
|
6581
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6596
|
+
{ no: 1, name: "message", kind: "message", T: () => D }
|
|
6582
6597
|
]);
|
|
6583
6598
|
}
|
|
6584
6599
|
}
|
|
6585
|
-
new
|
|
6586
|
-
class
|
|
6600
|
+
new sa();
|
|
6601
|
+
class ra extends MessageType {
|
|
6587
6602
|
constructor() {
|
|
6588
6603
|
super("socket.chat.SendChatMessageToPeersRequest", [
|
|
6589
6604
|
{
|
|
@@ -6608,16 +6623,16 @@ class sa extends MessageType {
|
|
|
6608
6623
|
]);
|
|
6609
6624
|
}
|
|
6610
6625
|
}
|
|
6611
|
-
new
|
|
6612
|
-
class
|
|
6626
|
+
new ra();
|
|
6627
|
+
class oa extends MessageType {
|
|
6613
6628
|
constructor() {
|
|
6614
6629
|
super("socket.chat.SendChatMessageToPeersResponse", [
|
|
6615
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6630
|
+
{ no: 1, name: "message", kind: "message", T: () => D }
|
|
6616
6631
|
]);
|
|
6617
6632
|
}
|
|
6618
6633
|
}
|
|
6619
|
-
new
|
|
6620
|
-
class
|
|
6634
|
+
new oa();
|
|
6635
|
+
class aa extends MessageType {
|
|
6621
6636
|
constructor() {
|
|
6622
6637
|
super("socket.chat.SendChatMessageToChannelRequest", [
|
|
6623
6638
|
{
|
|
@@ -6641,16 +6656,16 @@ class oa extends MessageType {
|
|
|
6641
6656
|
]);
|
|
6642
6657
|
}
|
|
6643
6658
|
}
|
|
6644
|
-
new
|
|
6645
|
-
class
|
|
6659
|
+
new aa();
|
|
6660
|
+
class ia extends MessageType {
|
|
6646
6661
|
constructor() {
|
|
6647
6662
|
super("socket.chat.SendChatMessageToChannelResponse", [
|
|
6648
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6663
|
+
{ no: 1, name: "message", kind: "message", T: () => D }
|
|
6649
6664
|
]);
|
|
6650
6665
|
}
|
|
6651
6666
|
}
|
|
6652
|
-
new
|
|
6653
|
-
class
|
|
6667
|
+
new ia();
|
|
6668
|
+
class ca extends MessageType {
|
|
6654
6669
|
constructor() {
|
|
6655
6670
|
super("socket.chat.EditChatMessageRequest", [
|
|
6656
6671
|
{
|
|
@@ -6690,8 +6705,8 @@ class ia extends MessageType {
|
|
|
6690
6705
|
]);
|
|
6691
6706
|
}
|
|
6692
6707
|
}
|
|
6693
|
-
new
|
|
6694
|
-
class
|
|
6708
|
+
new ca();
|
|
6709
|
+
class da extends MessageType {
|
|
6695
6710
|
constructor() {
|
|
6696
6711
|
super("socket.chat.PinChatMessageRequest", [
|
|
6697
6712
|
{
|
|
@@ -6716,8 +6731,8 @@ class ca extends MessageType {
|
|
|
6716
6731
|
]);
|
|
6717
6732
|
}
|
|
6718
6733
|
}
|
|
6719
|
-
new
|
|
6720
|
-
class
|
|
6734
|
+
new da();
|
|
6735
|
+
class pa extends MessageType {
|
|
6721
6736
|
constructor() {
|
|
6722
6737
|
super("socket.chat.PinChatMessageResponse", [
|
|
6723
6738
|
{
|
|
@@ -6742,16 +6757,16 @@ class da extends MessageType {
|
|
|
6742
6757
|
]);
|
|
6743
6758
|
}
|
|
6744
6759
|
}
|
|
6745
|
-
new
|
|
6746
|
-
class
|
|
6760
|
+
new pa();
|
|
6761
|
+
class ua extends MessageType {
|
|
6747
6762
|
constructor() {
|
|
6748
6763
|
super("socket.chat.EditChatMessageResponse", [
|
|
6749
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
6764
|
+
{ no: 1, name: "message", kind: "message", T: () => D }
|
|
6750
6765
|
]);
|
|
6751
6766
|
}
|
|
6752
6767
|
}
|
|
6753
|
-
new
|
|
6754
|
-
class
|
|
6768
|
+
new ua();
|
|
6769
|
+
class la extends MessageType {
|
|
6755
6770
|
constructor() {
|
|
6756
6771
|
super("socket.chat.DeleteChatMessageRequest", [
|
|
6757
6772
|
{
|
|
@@ -6770,8 +6785,8 @@ class ua extends MessageType {
|
|
|
6770
6785
|
]);
|
|
6771
6786
|
}
|
|
6772
6787
|
}
|
|
6773
|
-
new
|
|
6774
|
-
class
|
|
6788
|
+
new la();
|
|
6789
|
+
class ma extends MessageType {
|
|
6775
6790
|
constructor() {
|
|
6776
6791
|
super("socket.chat.DeleteChatMessageResponse", [
|
|
6777
6792
|
{
|
|
@@ -6790,8 +6805,8 @@ class la extends MessageType {
|
|
|
6790
6805
|
]);
|
|
6791
6806
|
}
|
|
6792
6807
|
}
|
|
6793
|
-
new
|
|
6794
|
-
class
|
|
6808
|
+
new ma();
|
|
6809
|
+
class Ta extends MessageType {
|
|
6795
6810
|
constructor() {
|
|
6796
6811
|
super("socket.chat.SearchChatMessagesRequest", [
|
|
6797
6812
|
{
|
|
@@ -6835,8 +6850,8 @@ class ma extends MessageType {
|
|
|
6835
6850
|
]);
|
|
6836
6851
|
}
|
|
6837
6852
|
}
|
|
6838
|
-
new
|
|
6839
|
-
class
|
|
6853
|
+
new Ta();
|
|
6854
|
+
class ha extends MessageType {
|
|
6840
6855
|
constructor() {
|
|
6841
6856
|
super("socket.chat.MarkChannelIndexAsReadRequest", [
|
|
6842
6857
|
{
|
|
@@ -6860,7 +6875,7 @@ class Ta extends MessageType {
|
|
|
6860
6875
|
]);
|
|
6861
6876
|
}
|
|
6862
6877
|
}
|
|
6863
|
-
new
|
|
6878
|
+
new ha();
|
|
6864
6879
|
class fa extends MessageType {
|
|
6865
6880
|
constructor() {
|
|
6866
6881
|
super("socket.chat.MarkChannelIndexAsReadResponse", [
|
|
@@ -6874,7 +6889,7 @@ class fa extends MessageType {
|
|
|
6874
6889
|
}
|
|
6875
6890
|
}
|
|
6876
6891
|
new fa();
|
|
6877
|
-
class
|
|
6892
|
+
class ka extends MessageType {
|
|
6878
6893
|
constructor() {
|
|
6879
6894
|
super("socket.chat.CreateChatChannelRequest", [
|
|
6880
6895
|
{
|
|
@@ -6912,8 +6927,8 @@ class ha extends MessageType {
|
|
|
6912
6927
|
]);
|
|
6913
6928
|
}
|
|
6914
6929
|
}
|
|
6915
|
-
new
|
|
6916
|
-
class
|
|
6930
|
+
new ka();
|
|
6931
|
+
class ga extends MessageType {
|
|
6917
6932
|
constructor() {
|
|
6918
6933
|
super("socket.chat.UpdateChatChannelRequest", [
|
|
6919
6934
|
{
|
|
@@ -6960,8 +6975,8 @@ class ka extends MessageType {
|
|
|
6960
6975
|
]);
|
|
6961
6976
|
}
|
|
6962
6977
|
}
|
|
6963
|
-
new
|
|
6964
|
-
class
|
|
6978
|
+
new ga();
|
|
6979
|
+
class ya extends MessageType {
|
|
6965
6980
|
constructor() {
|
|
6966
6981
|
super("socket.chat.CreateChatChannelResponse", [
|
|
6967
6982
|
{
|
|
@@ -6973,8 +6988,8 @@ class ga extends MessageType {
|
|
|
6973
6988
|
]);
|
|
6974
6989
|
}
|
|
6975
6990
|
}
|
|
6976
|
-
new
|
|
6977
|
-
class
|
|
6991
|
+
new ya();
|
|
6992
|
+
class Ra extends MessageType {
|
|
6978
6993
|
constructor() {
|
|
6979
6994
|
super("socket.chat.GetChatChannelRequest", [
|
|
6980
6995
|
{
|
|
@@ -6986,11 +7001,11 @@ class ya extends MessageType {
|
|
|
6986
7001
|
]);
|
|
6987
7002
|
}
|
|
6988
7003
|
}
|
|
6989
|
-
new
|
|
7004
|
+
new Ra();
|
|
6990
7005
|
class va extends MessageType {
|
|
6991
7006
|
constructor() {
|
|
6992
7007
|
super("socket.chat.LatestMessageAndUnreadCount", [
|
|
6993
|
-
{ no: 1, name: "message", kind: "message", T: () =>
|
|
7008
|
+
{ no: 1, name: "message", kind: "message", T: () => D },
|
|
6994
7009
|
{
|
|
6995
7010
|
no: 2,
|
|
6996
7011
|
name: "unread_count",
|
|
@@ -7001,8 +7016,8 @@ class va extends MessageType {
|
|
|
7001
7016
|
]);
|
|
7002
7017
|
}
|
|
7003
7018
|
}
|
|
7004
|
-
const
|
|
7005
|
-
class
|
|
7019
|
+
const _a = new va();
|
|
7020
|
+
class wa extends MessageType {
|
|
7006
7021
|
constructor() {
|
|
7007
7022
|
super("socket.chat.ChatChannel", [
|
|
7008
7023
|
{
|
|
@@ -7036,7 +7051,7 @@ class _a extends MessageType {
|
|
|
7036
7051
|
kind: "scalar",
|
|
7037
7052
|
T: 8
|
|
7038
7053
|
},
|
|
7039
|
-
{ no: 6, name: "latest_message_and_unread_count", kind: "message", T: () =>
|
|
7054
|
+
{ no: 6, name: "latest_message_and_unread_count", kind: "message", T: () => _a },
|
|
7040
7055
|
{
|
|
7041
7056
|
no: 7,
|
|
7042
7057
|
name: "target_user_ids",
|
|
@@ -7047,16 +7062,16 @@ class _a extends MessageType {
|
|
|
7047
7062
|
]);
|
|
7048
7063
|
}
|
|
7049
7064
|
}
|
|
7050
|
-
const
|
|
7051
|
-
class
|
|
7065
|
+
const Pa = new wa();
|
|
7066
|
+
class Ca extends MessageType {
|
|
7052
7067
|
constructor() {
|
|
7053
7068
|
super("socket.chat.GetChatChannelResponse", [
|
|
7054
|
-
{ no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () =>
|
|
7069
|
+
{ no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => Pa }
|
|
7055
7070
|
]);
|
|
7056
7071
|
}
|
|
7057
7072
|
}
|
|
7058
|
-
new
|
|
7059
|
-
class
|
|
7073
|
+
new Ca();
|
|
7074
|
+
class Ea extends MessageType {
|
|
7060
7075
|
constructor() {
|
|
7061
7076
|
super("socket.chat.ChannelMember", [
|
|
7062
7077
|
{
|
|
@@ -7088,16 +7103,16 @@ class Ca extends MessageType {
|
|
|
7088
7103
|
]);
|
|
7089
7104
|
}
|
|
7090
7105
|
}
|
|
7091
|
-
const
|
|
7092
|
-
class
|
|
7106
|
+
const Sa = new Ea();
|
|
7107
|
+
class ba extends MessageType {
|
|
7093
7108
|
constructor() {
|
|
7094
7109
|
super("socket.chat.GetChatChannelMembersResponse", [
|
|
7095
|
-
{ no: 1, name: "channel_members", kind: "message", repeat: 1, T: () =>
|
|
7110
|
+
{ no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => Sa }
|
|
7096
7111
|
]);
|
|
7097
7112
|
}
|
|
7098
7113
|
}
|
|
7099
|
-
new
|
|
7100
|
-
class
|
|
7114
|
+
new ba();
|
|
7115
|
+
class xa extends MessageType {
|
|
7101
7116
|
constructor() {
|
|
7102
7117
|
super("socket.plugin.AddPluginRequest", [
|
|
7103
7118
|
{
|
|
@@ -7115,8 +7130,8 @@ class ba extends MessageType {
|
|
|
7115
7130
|
]);
|
|
7116
7131
|
}
|
|
7117
7132
|
}
|
|
7118
|
-
new
|
|
7119
|
-
class
|
|
7133
|
+
new xa();
|
|
7134
|
+
class La extends MessageType {
|
|
7120
7135
|
constructor() {
|
|
7121
7136
|
super("socket.plugin.RemovePluginRequest", [
|
|
7122
7137
|
{
|
|
@@ -7134,8 +7149,8 @@ class xa extends MessageType {
|
|
|
7134
7149
|
]);
|
|
7135
7150
|
}
|
|
7136
7151
|
}
|
|
7137
|
-
new
|
|
7138
|
-
class
|
|
7152
|
+
new La();
|
|
7153
|
+
class Oa extends MessageType {
|
|
7139
7154
|
constructor() {
|
|
7140
7155
|
super("socket.plugin.EnablePluginForRoomRequest", [
|
|
7141
7156
|
{
|
|
@@ -7147,8 +7162,8 @@ class La extends MessageType {
|
|
|
7147
7162
|
]);
|
|
7148
7163
|
}
|
|
7149
7164
|
}
|
|
7150
|
-
new
|
|
7151
|
-
class
|
|
7165
|
+
new Oa();
|
|
7166
|
+
class Ma extends MessageType {
|
|
7152
7167
|
constructor() {
|
|
7153
7168
|
super("socket.plugin.DisablePluginForRoomRequest", [
|
|
7154
7169
|
{
|
|
@@ -7160,8 +7175,8 @@ class Oa extends MessageType {
|
|
|
7160
7175
|
]);
|
|
7161
7176
|
}
|
|
7162
7177
|
}
|
|
7163
|
-
new
|
|
7164
|
-
class
|
|
7178
|
+
new Ma();
|
|
7179
|
+
class qa extends MessageType {
|
|
7165
7180
|
constructor() {
|
|
7166
7181
|
super("socket.plugin.EnablePluginForPeersRequest", [
|
|
7167
7182
|
{
|
|
@@ -7180,8 +7195,8 @@ class Ma extends MessageType {
|
|
|
7180
7195
|
]);
|
|
7181
7196
|
}
|
|
7182
7197
|
}
|
|
7183
|
-
new
|
|
7184
|
-
class
|
|
7198
|
+
new qa();
|
|
7199
|
+
class $a extends MessageType {
|
|
7185
7200
|
constructor() {
|
|
7186
7201
|
super("socket.plugin.DisablePluginForPeersRequest", [
|
|
7187
7202
|
{
|
|
@@ -7200,8 +7215,8 @@ class qa extends MessageType {
|
|
|
7200
7215
|
]);
|
|
7201
7216
|
}
|
|
7202
7217
|
}
|
|
7203
|
-
new
|
|
7204
|
-
class
|
|
7218
|
+
new $a();
|
|
7219
|
+
class Na extends MessageType {
|
|
7205
7220
|
constructor() {
|
|
7206
7221
|
super("socket.plugin.PluginEventToRoomRequest", [
|
|
7207
7222
|
{
|
|
@@ -7219,8 +7234,8 @@ class $a extends MessageType {
|
|
|
7219
7234
|
]);
|
|
7220
7235
|
}
|
|
7221
7236
|
}
|
|
7222
|
-
new
|
|
7223
|
-
class
|
|
7237
|
+
new Na();
|
|
7238
|
+
class Aa extends MessageType {
|
|
7224
7239
|
constructor() {
|
|
7225
7240
|
super("socket.plugin.PluginEventToPeersRequest", [
|
|
7226
7241
|
{
|
|
@@ -7245,8 +7260,8 @@ class Na extends MessageType {
|
|
|
7245
7260
|
]);
|
|
7246
7261
|
}
|
|
7247
7262
|
}
|
|
7248
|
-
new
|
|
7249
|
-
class
|
|
7263
|
+
new Aa();
|
|
7264
|
+
class Ia extends MessageType {
|
|
7250
7265
|
constructor() {
|
|
7251
7266
|
super("socket.plugin.StoreKeys", [
|
|
7252
7267
|
{
|
|
@@ -7265,8 +7280,8 @@ class Aa extends MessageType {
|
|
|
7265
7280
|
]);
|
|
7266
7281
|
}
|
|
7267
7282
|
}
|
|
7268
|
-
const
|
|
7269
|
-
class
|
|
7283
|
+
const Ue = new Ia();
|
|
7284
|
+
class Da extends MessageType {
|
|
7270
7285
|
constructor() {
|
|
7271
7286
|
super("socket.plugin.PluginStoreInsertKeysRequest", [
|
|
7272
7287
|
{
|
|
@@ -7281,12 +7296,12 @@ class Ia extends MessageType {
|
|
|
7281
7296
|
kind: "scalar",
|
|
7282
7297
|
T: 9
|
|
7283
7298
|
},
|
|
7284
|
-
{ no: 3, name: "insert_keys", kind: "message", repeat: 1, T: () =>
|
|
7299
|
+
{ no: 3, name: "insert_keys", kind: "message", repeat: 1, T: () => Ue }
|
|
7285
7300
|
]);
|
|
7286
7301
|
}
|
|
7287
7302
|
}
|
|
7288
|
-
new
|
|
7289
|
-
class
|
|
7303
|
+
new Da();
|
|
7304
|
+
class Ua extends MessageType {
|
|
7290
7305
|
constructor() {
|
|
7291
7306
|
super("socket.plugin.PluginStoreGetKeysRequest", [
|
|
7292
7307
|
{
|
|
@@ -7301,12 +7316,12 @@ class Da extends MessageType {
|
|
|
7301
7316
|
kind: "scalar",
|
|
7302
7317
|
T: 9
|
|
7303
7318
|
},
|
|
7304
|
-
{ no: 3, name: "get_keys", kind: "message", repeat: 1, T: () =>
|
|
7319
|
+
{ no: 3, name: "get_keys", kind: "message", repeat: 1, T: () => Ue }
|
|
7305
7320
|
]);
|
|
7306
7321
|
}
|
|
7307
7322
|
}
|
|
7308
|
-
new
|
|
7309
|
-
class
|
|
7323
|
+
new Ua();
|
|
7324
|
+
class Ba extends MessageType {
|
|
7310
7325
|
constructor() {
|
|
7311
7326
|
super("socket.plugin.PluginStoreDeleteKeysRequest", [
|
|
7312
7327
|
{
|
|
@@ -7321,12 +7336,12 @@ class Ua extends MessageType {
|
|
|
7321
7336
|
kind: "scalar",
|
|
7322
7337
|
T: 9
|
|
7323
7338
|
},
|
|
7324
|
-
{ no: 3, name: "delete_keys", kind: "message", repeat: 1, T: () =>
|
|
7339
|
+
{ no: 3, name: "delete_keys", kind: "message", repeat: 1, T: () => Ue }
|
|
7325
7340
|
]);
|
|
7326
7341
|
}
|
|
7327
7342
|
}
|
|
7328
|
-
new
|
|
7329
|
-
class
|
|
7343
|
+
new Ba();
|
|
7344
|
+
class Ga extends MessageType {
|
|
7330
7345
|
constructor() {
|
|
7331
7346
|
super("socket.plugin.PluginStoreDeleteRequest", [
|
|
7332
7347
|
{
|
|
@@ -7344,8 +7359,8 @@ class Ba extends MessageType {
|
|
|
7344
7359
|
]);
|
|
7345
7360
|
}
|
|
7346
7361
|
}
|
|
7347
|
-
new
|
|
7348
|
-
class
|
|
7362
|
+
new Ga();
|
|
7363
|
+
class ja extends MessageType {
|
|
7349
7364
|
constructor() {
|
|
7350
7365
|
super("socket.plugin.EnablePluginResponse", [
|
|
7351
7366
|
{
|
|
@@ -7363,16 +7378,16 @@ class Ga extends MessageType {
|
|
|
7363
7378
|
]);
|
|
7364
7379
|
}
|
|
7365
7380
|
}
|
|
7366
|
-
const
|
|
7367
|
-
class
|
|
7381
|
+
const Wa = new ja();
|
|
7382
|
+
class Fa extends MessageType {
|
|
7368
7383
|
constructor() {
|
|
7369
7384
|
super("socket.plugin.EnablePluginsResponse", [
|
|
7370
|
-
{ no: 1, name: "plugins", kind: "message", repeat: 1, T: () =>
|
|
7385
|
+
{ no: 1, name: "plugins", kind: "message", repeat: 1, T: () => Wa }
|
|
7371
7386
|
]);
|
|
7372
7387
|
}
|
|
7373
7388
|
}
|
|
7374
|
-
new
|
|
7375
|
-
class
|
|
7389
|
+
new Fa();
|
|
7390
|
+
class Ka extends MessageType {
|
|
7376
7391
|
constructor() {
|
|
7377
7392
|
super("socket.plugin.DisablePluginResponse", [
|
|
7378
7393
|
{
|
|
@@ -7390,8 +7405,8 @@ class Fa extends MessageType {
|
|
|
7390
7405
|
]);
|
|
7391
7406
|
}
|
|
7392
7407
|
}
|
|
7393
|
-
new
|
|
7394
|
-
class
|
|
7408
|
+
new Ka();
|
|
7409
|
+
class Va extends MessageType {
|
|
7395
7410
|
constructor() {
|
|
7396
7411
|
super("socket.plugin.PluginStoreItem", [
|
|
7397
7412
|
{
|
|
@@ -7421,8 +7436,8 @@ class Ka extends MessageType {
|
|
|
7421
7436
|
]);
|
|
7422
7437
|
}
|
|
7423
7438
|
}
|
|
7424
|
-
const
|
|
7425
|
-
class
|
|
7439
|
+
const Ha = new Va();
|
|
7440
|
+
class Ja extends MessageType {
|
|
7426
7441
|
constructor() {
|
|
7427
7442
|
super("socket.plugin.PluginStoreResponse", [
|
|
7428
7443
|
{
|
|
@@ -7437,12 +7452,12 @@ class Ha extends MessageType {
|
|
|
7437
7452
|
kind: "scalar",
|
|
7438
7453
|
T: 9
|
|
7439
7454
|
},
|
|
7440
|
-
{ no: 3, name: "store_items", kind: "message", repeat: 1, T: () =>
|
|
7455
|
+
{ no: 3, name: "store_items", kind: "message", repeat: 1, T: () => Ha }
|
|
7441
7456
|
]);
|
|
7442
7457
|
}
|
|
7443
7458
|
}
|
|
7444
|
-
new
|
|
7445
|
-
class
|
|
7459
|
+
new Ja();
|
|
7460
|
+
class Za extends MessageType {
|
|
7446
7461
|
constructor() {
|
|
7447
7462
|
super("socket.plugin.PluginEventResponse", [
|
|
7448
7463
|
{
|
|
@@ -7460,8 +7475,8 @@ class Ja extends MessageType {
|
|
|
7460
7475
|
]);
|
|
7461
7476
|
}
|
|
7462
7477
|
}
|
|
7463
|
-
new
|
|
7464
|
-
class
|
|
7478
|
+
new Za();
|
|
7479
|
+
class za extends MessageType {
|
|
7465
7480
|
constructor() {
|
|
7466
7481
|
super("socket.livestreaming.LiveStreamingEvent", [
|
|
7467
7482
|
{
|
|
@@ -7528,8 +7543,8 @@ class Za extends MessageType {
|
|
|
7528
7543
|
]);
|
|
7529
7544
|
}
|
|
7530
7545
|
}
|
|
7531
|
-
new
|
|
7532
|
-
class
|
|
7546
|
+
new za();
|
|
7547
|
+
class Ya extends MessageType {
|
|
7533
7548
|
constructor() {
|
|
7534
7549
|
super("socket.livestreaming.GetStagePeersResponse", [
|
|
7535
7550
|
{
|
|
@@ -7542,8 +7557,8 @@ class za extends MessageType {
|
|
|
7542
7557
|
]);
|
|
7543
7558
|
}
|
|
7544
7559
|
}
|
|
7545
|
-
new
|
|
7546
|
-
class
|
|
7560
|
+
new Ya();
|
|
7561
|
+
class Qa extends MessageType {
|
|
7547
7562
|
constructor() {
|
|
7548
7563
|
super("socket.livestreaming.StageRequest", [
|
|
7549
7564
|
{
|
|
@@ -7567,16 +7582,16 @@ class Ya extends MessageType {
|
|
|
7567
7582
|
]);
|
|
7568
7583
|
}
|
|
7569
7584
|
}
|
|
7570
|
-
const
|
|
7571
|
-
class
|
|
7585
|
+
const Xa = new Qa();
|
|
7586
|
+
class ei extends MessageType {
|
|
7572
7587
|
constructor() {
|
|
7573
7588
|
super("socket.livestreaming.GetStageRequestsResponse", [
|
|
7574
|
-
{ no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () =>
|
|
7589
|
+
{ no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => Xa }
|
|
7575
7590
|
]);
|
|
7576
7591
|
}
|
|
7577
7592
|
}
|
|
7578
|
-
new
|
|
7579
|
-
class
|
|
7593
|
+
new ei();
|
|
7594
|
+
class ni extends MessageType {
|
|
7580
7595
|
constructor() {
|
|
7581
7596
|
super("socket.livestreaming.GrantStageAccessRequest", [
|
|
7582
7597
|
{
|
|
@@ -7589,8 +7604,8 @@ class ei extends MessageType {
|
|
|
7589
7604
|
]);
|
|
7590
7605
|
}
|
|
7591
7606
|
}
|
|
7592
|
-
new
|
|
7593
|
-
class
|
|
7607
|
+
new ni();
|
|
7608
|
+
class ti extends MessageType {
|
|
7594
7609
|
constructor() {
|
|
7595
7610
|
super("socket.livestreaming.DenyStageAccessRequest", [
|
|
7596
7611
|
{
|
|
@@ -7603,8 +7618,8 @@ class ni extends MessageType {
|
|
|
7603
7618
|
]);
|
|
7604
7619
|
}
|
|
7605
7620
|
}
|
|
7606
|
-
new
|
|
7607
|
-
class
|
|
7621
|
+
new ti();
|
|
7622
|
+
class si extends MessageType {
|
|
7608
7623
|
constructor() {
|
|
7609
7624
|
super("socket.livestreaming.LeaveStageRequest", [
|
|
7610
7625
|
{
|
|
@@ -7617,8 +7632,8 @@ class ti extends MessageType {
|
|
|
7617
7632
|
]);
|
|
7618
7633
|
}
|
|
7619
7634
|
}
|
|
7620
|
-
new
|
|
7621
|
-
class
|
|
7635
|
+
new si();
|
|
7636
|
+
class ri extends MessageType {
|
|
7622
7637
|
constructor() {
|
|
7623
7638
|
super("socket.polls.Poll", [
|
|
7624
7639
|
{
|
|
@@ -7645,7 +7660,7 @@ class si extends MessageType {
|
|
|
7645
7660
|
kind: "scalar",
|
|
7646
7661
|
T: 9
|
|
7647
7662
|
},
|
|
7648
|
-
{ no: 5, name: "options", kind: "message", repeat: 1, T: () =>
|
|
7663
|
+
{ no: 5, name: "options", kind: "message", repeat: 1, T: () => ai },
|
|
7649
7664
|
{
|
|
7650
7665
|
no: 6,
|
|
7651
7666
|
name: "hide_votes",
|
|
@@ -7668,8 +7683,8 @@ class si extends MessageType {
|
|
|
7668
7683
|
]);
|
|
7669
7684
|
}
|
|
7670
7685
|
}
|
|
7671
|
-
const
|
|
7672
|
-
class
|
|
7686
|
+
const qn = new ri();
|
|
7687
|
+
class oi extends MessageType {
|
|
7673
7688
|
constructor() {
|
|
7674
7689
|
super("socket.polls.PollOption", [
|
|
7675
7690
|
{
|
|
@@ -7686,12 +7701,12 @@ class ri extends MessageType {
|
|
|
7686
7701
|
T: 4,
|
|
7687
7702
|
L: 2
|
|
7688
7703
|
},
|
|
7689
|
-
{ no: 3, name: "votes", kind: "message", repeat: 1, T: () =>
|
|
7704
|
+
{ no: 3, name: "votes", kind: "message", repeat: 1, T: () => ci }
|
|
7690
7705
|
]);
|
|
7691
7706
|
}
|
|
7692
7707
|
}
|
|
7693
|
-
const
|
|
7694
|
-
class
|
|
7708
|
+
const ai = new oi();
|
|
7709
|
+
class ii extends MessageType {
|
|
7695
7710
|
constructor() {
|
|
7696
7711
|
super("socket.polls.PollVote", [
|
|
7697
7712
|
{
|
|
@@ -7709,8 +7724,8 @@ class ai extends MessageType {
|
|
|
7709
7724
|
]);
|
|
7710
7725
|
}
|
|
7711
7726
|
}
|
|
7712
|
-
const
|
|
7713
|
-
class
|
|
7727
|
+
const ci = new ii();
|
|
7728
|
+
class di extends MessageType {
|
|
7714
7729
|
constructor() {
|
|
7715
7730
|
super("socket.polls.NewPollRequest", [
|
|
7716
7731
|
{
|
|
@@ -7755,8 +7770,8 @@ class ci extends MessageType {
|
|
|
7755
7770
|
]);
|
|
7756
7771
|
}
|
|
7757
7772
|
}
|
|
7758
|
-
new
|
|
7759
|
-
class
|
|
7773
|
+
new di();
|
|
7774
|
+
class pi extends MessageType {
|
|
7760
7775
|
constructor() {
|
|
7761
7776
|
super("socket.polls.VotePollRequest", [
|
|
7762
7777
|
{
|
|
@@ -7775,24 +7790,24 @@ class di extends MessageType {
|
|
|
7775
7790
|
]);
|
|
7776
7791
|
}
|
|
7777
7792
|
}
|
|
7778
|
-
new
|
|
7779
|
-
class
|
|
7793
|
+
new pi();
|
|
7794
|
+
class ui extends MessageType {
|
|
7780
7795
|
constructor() {
|
|
7781
7796
|
super("socket.polls.UpdatePollResponse", [
|
|
7782
|
-
{ no: 1, name: "poll", kind: "message", T: () =>
|
|
7797
|
+
{ no: 1, name: "poll", kind: "message", T: () => qn }
|
|
7783
7798
|
]);
|
|
7784
7799
|
}
|
|
7785
7800
|
}
|
|
7786
|
-
new
|
|
7787
|
-
class
|
|
7801
|
+
new ui();
|
|
7802
|
+
class li extends MessageType {
|
|
7788
7803
|
constructor() {
|
|
7789
7804
|
super("socket.polls.GetPollsResponse", [
|
|
7790
|
-
{ no: 1, name: "polls", kind: "message", repeat: 1, T: () =>
|
|
7805
|
+
{ no: 1, name: "polls", kind: "message", repeat: 1, T: () => qn }
|
|
7791
7806
|
]);
|
|
7792
7807
|
}
|
|
7793
7808
|
}
|
|
7794
|
-
new
|
|
7795
|
-
class
|
|
7809
|
+
new li();
|
|
7810
|
+
class mi extends MessageType {
|
|
7796
7811
|
constructor() {
|
|
7797
7812
|
super("socket.recording.RecordingEvent", [
|
|
7798
7813
|
{
|
|
@@ -7807,12 +7822,12 @@ class li extends MessageType {
|
|
|
7807
7822
|
kind: "scalar",
|
|
7808
7823
|
T: 9
|
|
7809
7824
|
},
|
|
7810
|
-
{ no: 3, name: "recording_type", kind: "enum", T: () => ["common.RecordingType",
|
|
7825
|
+
{ no: 3, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", de] }
|
|
7811
7826
|
]);
|
|
7812
7827
|
}
|
|
7813
7828
|
}
|
|
7814
|
-
new
|
|
7815
|
-
class
|
|
7829
|
+
new mi();
|
|
7830
|
+
class Ti extends MessageType {
|
|
7816
7831
|
constructor() {
|
|
7817
7832
|
super("google.protobuf.Timestamp", [
|
|
7818
7833
|
{
|
|
@@ -7849,8 +7864,8 @@ class mi extends MessageType {
|
|
|
7849
7864
|
throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");
|
|
7850
7865
|
let u = "Z";
|
|
7851
7866
|
if (s.nanos > 0) {
|
|
7852
|
-
let
|
|
7853
|
-
|
|
7867
|
+
let m = (s.nanos + 1e9).toString().substring(1);
|
|
7868
|
+
m.substring(3) === "000000" ? u = "." + m.substring(0, 3) + "Z" : m.substring(6) === "000" ? u = "." + m.substring(0, 6) + "Z" : u = "." + m + "Z";
|
|
7854
7869
|
}
|
|
7855
7870
|
return new Date(d).toISOString().replace(".000Z", u);
|
|
7856
7871
|
}
|
|
@@ -7860,16 +7875,16 @@ class mi extends MessageType {
|
|
|
7860
7875
|
let u = s.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);
|
|
7861
7876
|
if (!u)
|
|
7862
7877
|
throw new Error("Unable to parse Timestamp from JSON. Invalid format.");
|
|
7863
|
-
let
|
|
7864
|
-
if (Number.isNaN(
|
|
7878
|
+
let m = Date.parse(u[1] + "-" + u[2] + "-" + u[3] + "T" + u[4] + ":" + u[5] + ":" + u[6] + (u[8] ? u[8] : "Z"));
|
|
7879
|
+
if (Number.isNaN(m))
|
|
7865
7880
|
throw new Error("Unable to parse Timestamp from JSON. Invalid value.");
|
|
7866
|
-
if (
|
|
7881
|
+
if (m < Date.parse("0001-01-01T00:00:00Z") || m > Date.parse("9999-12-31T23:59:59Z"))
|
|
7867
7882
|
throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");
|
|
7868
|
-
return d || (d = this.create()), d.seconds = PbLong.from(
|
|
7883
|
+
return d || (d = this.create()), d.seconds = PbLong.from(m / 1e3).toBigInt(), d.nanos = 0, u[7] && (d.nanos = parseInt("1" + u[7] + "0".repeat(9 - u[7].length)) - 1e9), d;
|
|
7869
7884
|
}
|
|
7870
7885
|
}
|
|
7871
|
-
new
|
|
7872
|
-
class
|
|
7886
|
+
new Ti();
|
|
7887
|
+
class hi extends MessageType {
|
|
7873
7888
|
constructor() {
|
|
7874
7889
|
super("common.BaseHubMessage", [
|
|
7875
7890
|
{
|
|
@@ -7939,25 +7954,25 @@ class Ti extends MessageType {
|
|
|
7939
7954
|
]);
|
|
7940
7955
|
}
|
|
7941
7956
|
}
|
|
7942
|
-
const
|
|
7957
|
+
const Ae = new hi();
|
|
7943
7958
|
class fi extends MessageType {
|
|
7944
7959
|
constructor() {
|
|
7945
7960
|
super("common.BulkedHubMessage", [
|
|
7946
|
-
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () =>
|
|
7961
|
+
{ no: 1, name: "messages", kind: "message", repeat: 1, T: () => Ae }
|
|
7947
7962
|
]);
|
|
7948
7963
|
}
|
|
7949
7964
|
}
|
|
7950
7965
|
new fi();
|
|
7951
|
-
class
|
|
7966
|
+
class ki extends MessageType {
|
|
7952
7967
|
constructor() {
|
|
7953
7968
|
super("common.CFWorkersResponse", [
|
|
7954
|
-
{ no: 1, name: "response", kind: "message", T: () =>
|
|
7955
|
-
{ no: 2, name: "broadcast_responses", kind: "message", repeat: 1, T: () =>
|
|
7969
|
+
{ no: 1, name: "response", kind: "message", T: () => Ae },
|
|
7970
|
+
{ no: 2, name: "broadcast_responses", kind: "message", repeat: 1, T: () => Ae }
|
|
7956
7971
|
]);
|
|
7957
7972
|
}
|
|
7958
7973
|
}
|
|
7959
|
-
new
|
|
7960
|
-
const
|
|
7974
|
+
new ki();
|
|
7975
|
+
const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, wi = 5, Pi = {
|
|
7961
7976
|
getPeerInfo: 0,
|
|
7962
7977
|
updatePeerInfo: 1,
|
|
7963
7978
|
getRoomPeersInfo: 2,
|
|
@@ -8003,7 +8018,7 @@ const ki = 0, gi = 1, yi = 2, vi = 3, Ri = 4, _i = 5, wi = {
|
|
|
8003
8018
|
recordingPaused: 42,
|
|
8004
8019
|
getRoomStageState: 43,
|
|
8005
8020
|
livestreamingInvoked: 44
|
|
8006
|
-
},
|
|
8021
|
+
}, Ci = {
|
|
8007
8022
|
getMessages: 0,
|
|
8008
8023
|
sendMessageToRoom: 1,
|
|
8009
8024
|
sendMessageToPeers: 2,
|
|
@@ -8015,7 +8030,7 @@ const ki = 0, gi = 1, yi = 2, vi = 3, Ri = 4, _i = 5, wi = {
|
|
|
8015
8030
|
getAllChatChannels: 8,
|
|
8016
8031
|
markChannelIndexAsRead: 9,
|
|
8017
8032
|
pinMessage: 10
|
|
8018
|
-
},
|
|
8033
|
+
}, Ei = {
|
|
8019
8034
|
getPlugins: 0,
|
|
8020
8035
|
addPlugin: 1,
|
|
8021
8036
|
enablePluginForRoom: 2,
|
|
@@ -8029,12 +8044,12 @@ const ki = 0, gi = 1, yi = 2, vi = 3, Ri = 4, _i = 5, wi = {
|
|
|
8029
8044
|
storeGetKeys: 10,
|
|
8030
8045
|
storeDeleteKeys: 11,
|
|
8031
8046
|
storeDelete: 12
|
|
8032
|
-
},
|
|
8047
|
+
}, Si = {
|
|
8033
8048
|
createPoll: 0,
|
|
8034
8049
|
getPolls: 1,
|
|
8035
8050
|
votePoll: 2,
|
|
8036
8051
|
updatePoll: 3
|
|
8037
|
-
},
|
|
8052
|
+
}, $n = {
|
|
8038
8053
|
unknown: 0,
|
|
8039
8054
|
createWebRTCTransport: 1,
|
|
8040
8055
|
produce: 2,
|
|
@@ -8067,82 +8082,91 @@ const ki = 0, gi = 1, yi = 2, vi = 3, Ri = 4, _i = 5, wi = {
|
|
|
8067
8082
|
hostControlPeer: 93,
|
|
8068
8083
|
hostControlAllPeers: 94,
|
|
8069
8084
|
audioActivity: 100
|
|
8070
|
-
},
|
|
8085
|
+
}, bi = {
|
|
8071
8086
|
createChatChannel: 0,
|
|
8072
8087
|
getChatChannel: 1,
|
|
8073
8088
|
deprecatedGetAllChatChannels: 2,
|
|
8074
8089
|
getChannelMembers: 3,
|
|
8075
8090
|
updateChatChannel: 4
|
|
8076
|
-
},
|
|
8091
|
+
}, xi = {
|
|
8077
8092
|
getUserPresets: 0,
|
|
8078
8093
|
updateUserPreset: 1
|
|
8079
8094
|
};
|
|
8080
|
-
function
|
|
8095
|
+
function V(e, s) {
|
|
8081
8096
|
return Object.keys(s).reduce((a, d) => (a[d] = (e << 16) + s[d], a), {});
|
|
8082
8097
|
}
|
|
8083
|
-
function
|
|
8098
|
+
function Nn(e, s) {
|
|
8084
8099
|
return Object.keys(e).reduce((a, d) => (a[d] = s | e[d], a), {});
|
|
8085
8100
|
}
|
|
8086
|
-
const
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
yi,
|
|
8090
|
-
Ci
|
|
8091
|
-
);
|
|
8092
|
-
F(vi, Ei);
|
|
8093
|
-
F(
|
|
8101
|
+
const re = V(gi, Pi);
|
|
8102
|
+
V(yi, Ci);
|
|
8103
|
+
V(
|
|
8094
8104
|
Ri,
|
|
8095
|
-
|
|
8105
|
+
Ei
|
|
8096
8106
|
);
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
F(
|
|
8107
|
+
V(vi, Si);
|
|
8108
|
+
V(
|
|
8100
8109
|
_i,
|
|
8101
8110
|
bi
|
|
8102
8111
|
);
|
|
8103
|
-
const $n
|
|
8104
|
-
|
|
8112
|
+
const xe = Nn($n, 16777216);
|
|
8113
|
+
Nn($n, 50331648);
|
|
8114
|
+
V(
|
|
8115
|
+
wi,
|
|
8116
|
+
xi
|
|
8117
|
+
);
|
|
8118
|
+
const An = "ws://localhost:8080/ws";
|
|
8119
|
+
class Li extends Q.WebSocket {
|
|
8105
8120
|
constructor(s, a) {
|
|
8106
|
-
super(
|
|
8121
|
+
super(An, a);
|
|
8107
8122
|
}
|
|
8108
8123
|
}
|
|
8109
|
-
var
|
|
8110
|
-
class
|
|
8124
|
+
var F, ue, K, le;
|
|
8125
|
+
class Oi {
|
|
8111
8126
|
constructor() {
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8127
|
+
Z(this, F, void 0);
|
|
8128
|
+
Z(this, ue, []);
|
|
8129
|
+
Z(this, K, void 0);
|
|
8130
|
+
Z(this, le, 15e3);
|
|
8115
8131
|
y(this, "roomId", "roomId");
|
|
8116
8132
|
y(this, "roomUuid", "roomUuid");
|
|
8117
8133
|
y(this, "cleanBuffer", (s) => s.buffer.slice(s.byteOffset, s.byteOffset + s.byteLength));
|
|
8118
8134
|
}
|
|
8119
|
-
init(s) {
|
|
8120
|
-
|
|
8121
|
-
|
|
8135
|
+
init({ peerId: s, mockParticipants: a }) {
|
|
8136
|
+
Se(this, K, s), window.WebSocket = Li, Se(this, F, a);
|
|
8137
|
+
const { RTK_MOCK_SERVER: d } = window;
|
|
8138
|
+
if (d)
|
|
8139
|
+
try {
|
|
8140
|
+
d.close();
|
|
8141
|
+
} catch (m) {
|
|
8142
|
+
}
|
|
8143
|
+
const u = new Q.Server(An, { mock: false });
|
|
8144
|
+
window.RTK_MOCK_SERVER = u, u.on("connection", (m) => {
|
|
8145
|
+
I(this, ue).push(m), this.addConnectionListeners(m);
|
|
8122
8146
|
});
|
|
8123
8147
|
}
|
|
8124
8148
|
addConnectionListeners(s) {
|
|
8125
8149
|
s.on("message", (a) => {
|
|
8126
8150
|
if (a === "3")
|
|
8127
8151
|
return;
|
|
8128
|
-
const d =
|
|
8152
|
+
const d = sn.fromBinary(a);
|
|
8129
8153
|
let u;
|
|
8130
8154
|
switch (d.event) {
|
|
8131
|
-
case
|
|
8132
|
-
u =
|
|
8155
|
+
case re.joinRoom: {
|
|
8156
|
+
u = cn.toBinary(cn.fromJson({
|
|
8133
8157
|
peer: {
|
|
8134
|
-
peerId:
|
|
8158
|
+
peerId: I(this, K),
|
|
8135
8159
|
userId: "self-userId",
|
|
8136
8160
|
displayName: "name",
|
|
8137
8161
|
waitlisted: false,
|
|
8138
|
-
stageType:
|
|
8162
|
+
stageType: X.ON_STAGE
|
|
8139
8163
|
}
|
|
8140
8164
|
}));
|
|
8141
8165
|
break;
|
|
8142
8166
|
}
|
|
8143
|
-
case
|
|
8144
|
-
u =
|
|
8145
|
-
peers:
|
|
8167
|
+
case re.getRoomPeersInfo: {
|
|
8168
|
+
u = Er.toBinary({
|
|
8169
|
+
peers: I(this, F).map((w) => Ze(Ee({}, w), {
|
|
8146
8170
|
userId: w.peerId,
|
|
8147
8171
|
waitlisted: false,
|
|
8148
8172
|
stageType: 1
|
|
@@ -8150,8 +8174,8 @@ class Li {
|
|
|
8150
8174
|
});
|
|
8151
8175
|
break;
|
|
8152
8176
|
}
|
|
8153
|
-
case
|
|
8154
|
-
u =
|
|
8177
|
+
case re.getRoomInfo: {
|
|
8178
|
+
u = Mr.toBinary({
|
|
8155
8179
|
room: {
|
|
8156
8180
|
roomId: this.roomId,
|
|
8157
8181
|
title: "title",
|
|
@@ -8162,23 +8186,23 @@ class Li {
|
|
|
8162
8186
|
});
|
|
8163
8187
|
break;
|
|
8164
8188
|
}
|
|
8165
|
-
case
|
|
8166
|
-
u =
|
|
8189
|
+
case xe.createWebRTCTransport: {
|
|
8190
|
+
u = Sn.toBinary({
|
|
8167
8191
|
transportId: "transportId",
|
|
8168
8192
|
description: {
|
|
8169
8193
|
type: "answer",
|
|
8170
8194
|
sdp: "sdp",
|
|
8171
|
-
target:
|
|
8195
|
+
target: ce.PUBLISHER
|
|
8172
8196
|
},
|
|
8173
8197
|
producerIds: []
|
|
8174
8198
|
});
|
|
8175
8199
|
break;
|
|
8176
8200
|
}
|
|
8177
|
-
case
|
|
8178
|
-
const w =
|
|
8201
|
+
case xe.selfJoinComplete: {
|
|
8202
|
+
const w = I(this, F).map((b) => Ee({
|
|
8179
8203
|
producerStates: []
|
|
8180
8204
|
}, b));
|
|
8181
|
-
u =
|
|
8205
|
+
u = Ns.toBinary({
|
|
8182
8206
|
maxPreferredStreams: 6,
|
|
8183
8207
|
participants: w,
|
|
8184
8208
|
selectedPeers: {
|
|
@@ -8190,14 +8214,14 @@ class Li {
|
|
|
8190
8214
|
lockedMode: false,
|
|
8191
8215
|
roomUuid: this.roomUuid,
|
|
8192
8216
|
roomName: this.roomUuid,
|
|
8193
|
-
currentPeerId:
|
|
8217
|
+
currentPeerId: I(this, K),
|
|
8194
8218
|
pinnedPeerIds: []
|
|
8195
8219
|
}
|
|
8196
8220
|
});
|
|
8197
8221
|
break;
|
|
8198
8222
|
}
|
|
8199
|
-
case
|
|
8200
|
-
u =
|
|
8223
|
+
case re.getConnectedRoomsDump: {
|
|
8224
|
+
u = Fr.toBinary({
|
|
8201
8225
|
parentMeeting: {
|
|
8202
8226
|
participants: []
|
|
8203
8227
|
},
|
|
@@ -8205,28 +8229,28 @@ class Li {
|
|
|
8205
8229
|
});
|
|
8206
8230
|
break;
|
|
8207
8231
|
}
|
|
8208
|
-
case
|
|
8209
|
-
u =
|
|
8232
|
+
case xe.produce: {
|
|
8233
|
+
u = Bs.toBinary({
|
|
8210
8234
|
status: true,
|
|
8211
8235
|
producerId: "producer-id"
|
|
8212
8236
|
});
|
|
8213
8237
|
break;
|
|
8214
8238
|
}
|
|
8215
8239
|
}
|
|
8216
|
-
const
|
|
8240
|
+
const m = {
|
|
8217
8241
|
event: d.event,
|
|
8218
8242
|
id: d.id,
|
|
8219
8243
|
payload: u
|
|
8220
|
-
},
|
|
8244
|
+
}, h = sn.toBinary(m), g = this.cleanBuffer(h);
|
|
8221
8245
|
s.send(g);
|
|
8222
8246
|
}), setInterval(() => {
|
|
8223
8247
|
s.send("2");
|
|
8224
|
-
},
|
|
8248
|
+
}, I(this, le));
|
|
8225
8249
|
}
|
|
8226
8250
|
}
|
|
8227
|
-
|
|
8228
|
-
function
|
|
8229
|
-
new
|
|
8251
|
+
F = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap();
|
|
8252
|
+
function $i(e) {
|
|
8253
|
+
new Oi().init(e), window.RTCPeerConnection = gt, window.fetch = () => Ye(this, null, function* () {
|
|
8230
8254
|
const a = new window.Response(JSON.stringify({}), {
|
|
8231
8255
|
status: 200,
|
|
8232
8256
|
headers: {
|
|
@@ -8236,4 +8260,4 @@ function qi(e) {
|
|
|
8236
8260
|
return Promise.resolve(a);
|
|
8237
8261
|
});
|
|
8238
8262
|
}
|
|
8239
|
-
export {
|
|
8263
|
+
export { $i as setupStubs };
|