@huddle01/web-core
Version:
The Huddle01 Javascript SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.
1,599 lines (1,591 loc) • 56.1 kB
JavaScript
'use strict';
var chunkUM7UGER4_cjs = require('./chunk-UM7UGER4.cjs');
// ../protoc/dist/rtc/sctp_capabilities_pb.js
var ProtoNumSctpStreams = class _ProtoNumSctpStreams extends chunkUM7UGER4_cjs.Message {
/**
* Initially requested number of outgoing SCTP streams
*
* @generated from field: int32 OS = 1;
*/
OS = 0;
/**
* Maximum number of incoming SCTP streams
*
* @generated from field: int32 MIS = 2;
*/
MIS = 0;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoNumSctpStreams";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "OS",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 2,
name: "MIS",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
}
]);
static fromBinary(bytes, options) {
return new _ProtoNumSctpStreams().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoNumSctpStreams().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoNumSctpStreams().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoNumSctpStreams, a, b);
}
};
var ProtoSctpCapabilities = class _ProtoSctpCapabilities extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: ProtoNumSctpStreams numStreams = 1;
*/
numStreams;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoSctpCapabilities";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{ no: 1, name: "numStreams", kind: "message", T: ProtoNumSctpStreams }
]);
static fromBinary(bytes, options) {
return new _ProtoSctpCapabilities().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoSctpCapabilities().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoSctpCapabilities().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoSctpCapabilities, a, b);
}
};
// ../protoc/dist/rtc/sdp_info_pb.js
var ProtoDtlsFingerPrints = class _ProtoDtlsFingerPrints extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: string algorithm = 1;
*/
algorithm = "";
/**
* @generated from field: string value = 2;
*/
value = "";
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoDtlsFingerPrints";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "algorithm",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 2,
name: "value",
kind: "scalar",
T: 9
/* ScalarType.STRING */
}
]);
static fromBinary(bytes, options) {
return new _ProtoDtlsFingerPrints().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoDtlsFingerPrints().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoDtlsFingerPrints().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoDtlsFingerPrints, a, b);
}
};
var ProtoIceParameters = class _ProtoIceParameters extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: string usernameFragment = 1;
*/
usernameFragment = "";
/**
* @generated from field: string password = 2;
*/
password = "";
/**
* @generated from field: bool iceLite = 3;
*/
iceLite = false;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoIceParameters";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "usernameFragment",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 2,
name: "password",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 3,
name: "iceLite",
kind: "scalar",
T: 8
/* ScalarType.BOOL */
}
]);
static fromBinary(bytes, options) {
return new _ProtoIceParameters().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoIceParameters().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoIceParameters().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoIceParameters, a, b);
}
};
var ProtoIceCandidates = class _ProtoIceCandidates extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: string foundation = 1;
*/
foundation = "";
/**
* @generated from field: int32 priority = 2;
*/
priority = 0;
/**
* @generated from field: string ip = 3;
*/
ip = "";
/**
* @generated from field: int32 port = 4;
*/
port = 0;
/**
* @generated from field: string type = 5;
*/
type = "";
/**
* @generated from field: string protocol = 6;
*/
protocol = "";
/**
* @generated from field: string tcpType = 7;
*/
tcpType = "";
/**
* @generated from field: string address = 8;
*/
address = "";
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoIceCandidates";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "foundation",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 2,
name: "priority",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 3,
name: "ip",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 4,
name: "port",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 5,
name: "type",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 6,
name: "protocol",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 7,
name: "tcpType",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{
no: 8,
name: "address",
kind: "scalar",
T: 9
/* ScalarType.STRING */
}
]);
static fromBinary(bytes, options) {
return new _ProtoIceCandidates().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoIceCandidates().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoIceCandidates().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoIceCandidates, a, b);
}
};
var ProtoDtlsParameters = class _ProtoDtlsParameters extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: string role = 1;
*/
role = "";
/**
* @generated from field: repeated ProtoDtlsFingerPrints fingerprints = 2;
*/
fingerprints = [];
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoDtlsParameters";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "role",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{ no: 2, name: "fingerprints", kind: "message", T: ProtoDtlsFingerPrints, repeated: true }
]);
static fromBinary(bytes, options) {
return new _ProtoDtlsParameters().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoDtlsParameters().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoDtlsParameters().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoDtlsParameters, a, b);
}
};
var ProtoSctpParameters = class _ProtoSctpParameters extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: int32 port = 1;
*/
port = 0;
/**
* @generated from field: int32 OS = 2;
*/
OS = 0;
/**
* @generated from field: int32 MIS = 3;
*/
MIS = 0;
/**
* @generated from field: int32 maxMessageSize = 4;
*/
maxMessageSize = 0;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoSctpParameters";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "port",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 2,
name: "OS",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 3,
name: "MIS",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 4,
name: "maxMessageSize",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
}
]);
static fromBinary(bytes, options) {
return new _ProtoSctpParameters().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoSctpParameters().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoSctpParameters().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoSctpParameters, a, b);
}
};
var ProtoTransportSDPInfo = class _ProtoTransportSDPInfo extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: string id = 1;
*/
id = "";
/**
* @generated from field: repeated ProtoIceCandidates iceCandidates = 2;
*/
iceCandidates = [];
/**
* @generated from field: ProtoIceParameters iceParameters = 3;
*/
iceParameters;
/**
* @generated from field: ProtoDtlsParameters dtlsParameters = 4;
*/
dtlsParameters;
/**
* @generated from field: ProtoSctpParameters sctpParameters = 5;
*/
sctpParameters;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoTransportSDPInfo";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "id",
kind: "scalar",
T: 9
/* ScalarType.STRING */
},
{ no: 2, name: "iceCandidates", kind: "message", T: ProtoIceCandidates, repeated: true },
{ no: 3, name: "iceParameters", kind: "message", T: ProtoIceParameters },
{ no: 4, name: "dtlsParameters", kind: "message", T: ProtoDtlsParameters },
{ no: 5, name: "sctpParameters", kind: "message", T: ProtoSctpParameters }
]);
static fromBinary(bytes, options) {
return new _ProtoTransportSDPInfo().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoTransportSDPInfo().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoTransportSDPInfo().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoTransportSDPInfo, a, b);
}
};
// ../protoc/dist/client/app_data_pb.js
var Value = class _Value extends chunkUM7UGER4_cjs.Message {
/**
* @generated from oneof Value.value_type
*/
valueType = { case: void 0 };
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "Value";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "string_value", kind: "scalar", T: 9, oneof: "value_type" },
{ no: 2, name: "int_value", kind: "scalar", T: 5, oneof: "value_type" },
{ no: 3, name: "float_value", kind: "scalar", T: 2, oneof: "value_type" }
]);
static fromBinary(bytes, options) {
return new _Value().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _Value().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _Value().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_Value, a, b);
}
};
var AppData = class _AppData extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: map<string, Value> appData = 1;
*/
appData = {};
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "AppData";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "appData", kind: "map", K: 9, V: { kind: "message", T: Value } }
]);
static fromBinary(bytes, options) {
return new _AppData().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _AppData().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _AppData().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_AppData, a, b);
}
};
// ../protoc/dist/rtc/sctp_stream_parameters_pb.js
var ProtoSctpStreamParameters = class _ProtoSctpStreamParameters extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: int32 streamId = 1;
*/
streamId = 0;
/**
* @generated from field: bool ordered = 2;
*/
ordered = false;
/**
* @generated from field: int32 maxPacketLifeTime = 3;
*/
maxPacketLifeTime = 0;
/**
* @generated from field: int32 maxRetransmits = 4;
*/
maxRetransmits = 0;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto3.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto3;
static typeName = "ProtoSctpStreamParameters";
static fields = chunkUM7UGER4_cjs.proto3.util.newFieldList(() => [
{
no: 1,
name: "streamId",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 2,
name: "ordered",
kind: "scalar",
T: 8
/* ScalarType.BOOL */
},
{
no: 3,
name: "maxPacketLifeTime",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
},
{
no: 4,
name: "maxRetransmits",
kind: "scalar",
T: 5
/* ScalarType.INT32 */
}
]);
static fromBinary(bytes, options) {
return new _ProtoSctpStreamParameters().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProtoSctpStreamParameters().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProtoSctpStreamParameters().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto3.util.equals(_ProtoSctpStreamParameters, a, b);
}
};
// ../protoc/dist/client/room_control_pb.js
var ProduceSources = class _ProduceSources extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required bool mic = 1;
*/
mic;
/**
* @generated from field: required bool cam = 2;
*/
cam;
/**
* @generated from field: required bool screen = 3;
*/
screen;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ProduceSources";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "mic", kind: "scalar", T: 8, req: true },
{ no: 2, name: "cam", kind: "scalar", T: 8, req: true },
{ no: 3, name: "screen", kind: "scalar", T: 8, req: true }
]);
static fromBinary(bytes, options) {
return new _ProduceSources().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProduceSources().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProduceSources().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ProduceSources, a, b);
}
};
var RoomControlType = class _RoomControlType extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string type = 1;
*/
type;
/**
* @generated from field: required bool value = 5;
*/
value;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "RoomControlType";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "type", kind: "scalar", T: 9, req: true },
{ no: 5, name: "value", kind: "scalar", T: 8, req: true }
]);
static fromBinary(bytes, options) {
return new _RoomControlType().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _RoomControlType().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _RoomControlType().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_RoomControlType, a, b);
}
};
var ProduceSourcesControl = class _ProduceSourcesControl extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string type = 1;
*/
type;
/**
* @generated from field: required ProduceSources value = 2;
*/
value;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ProduceSourcesControl";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "type", kind: "scalar", T: 9, req: true },
{ no: 2, name: "value", kind: "message", T: ProduceSources, req: true }
]);
static fromBinary(bytes, options) {
return new _ProduceSourcesControl().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProduceSourcesControl().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProduceSourcesControl().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ProduceSourcesControl, a, b);
}
};
// ../protoc/dist/client/permissions_pb.js
var Permissions = class _Permissions extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required bool admin = 1;
*/
admin;
/**
* @generated from field: required bool canConsume = 2;
*/
canConsume;
/**
* @generated from field: required bool canProduce = 3;
*/
canProduce;
/**
* @generated from field: required Permissions.ProduceSources canProduceSources = 4;
*/
canProduceSources;
/**
* @generated from field: required bool canSendData = 5;
*/
canSendData;
/**
* @generated from field: required bool canRecvData = 6;
*/
canRecvData;
/**
* @generated from field: required bool canUpdateMetadata = 7;
*/
canUpdateMetadata;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "Permissions";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "admin", kind: "scalar", T: 8, req: true },
{ no: 2, name: "canConsume", kind: "scalar", T: 8, req: true },
{ no: 3, name: "canProduce", kind: "scalar", T: 8, req: true },
{ no: 4, name: "canProduceSources", kind: "message", T: Permissions_ProduceSources, req: true },
{ no: 5, name: "canSendData", kind: "scalar", T: 8, req: true },
{ no: 6, name: "canRecvData", kind: "scalar", T: 8, req: true },
{ no: 7, name: "canUpdateMetadata", kind: "scalar", T: 8, req: true }
]);
static fromBinary(bytes, options) {
return new _Permissions().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _Permissions().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _Permissions().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_Permissions, a, b);
}
};
var Permissions_ProduceSources = class _Permissions_ProduceSources extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required bool cam = 1;
*/
cam;
/**
* @generated from field: required bool mic = 2;
*/
mic;
/**
* @generated from field: required bool screen = 3;
*/
screen;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "Permissions.ProduceSources";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "cam", kind: "scalar", T: 8, req: true },
{ no: 2, name: "mic", kind: "scalar", T: 8, req: true },
{ no: 3, name: "screen", kind: "scalar", T: 8, req: true }
]);
static fromBinary(bytes, options) {
return new _Permissions_ProduceSources().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _Permissions_ProduceSources().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _Permissions_ProduceSources().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_Permissions_ProduceSources, a, b);
}
};
// ../protoc/dist/client/request_pb.js
(class _TestEvent extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string name = 1;
*/
name;
/**
* @generated from field: required string payload = 2;
*/
payload;
/**
* @generated from field: optional string from = 3;
*/
from;
/**
* @generated from field: optional string to = 4;
*/
to;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "TestEvent";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9, req: true },
{ no: 2, name: "payload", kind: "scalar", T: 9, req: true },
{ no: 3, name: "from", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "to", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new _TestEvent().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _TestEvent().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _TestEvent().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_TestEvent, a, b);
}
});
var ConnectRoom = class _ConnectRoom extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string roomId = 1;
*/
roomId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ConnectRoom";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "roomId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _ConnectRoom().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ConnectRoom().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ConnectRoom().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ConnectRoom, a, b);
}
};
var CreateTransport = class _CreateTransport extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required ProtoSctpCapabilities sctpCapabilities = 1;
*/
sctpCapabilities;
/**
* @generated from field: required string transportType = 2;
*/
transportType;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "CreateTransport";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "sctpCapabilities", kind: "message", T: ProtoSctpCapabilities, req: true },
{ no: 2, name: "transportType", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _CreateTransport().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _CreateTransport().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _CreateTransport().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_CreateTransport, a, b);
}
};
var ConnectTransport = class _ConnectTransport extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string transportType = 1;
*/
transportType;
/**
* @generated from field: required ProtoDtlsParameters dtlsParameters = 2;
*/
dtlsParameters;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ConnectTransport";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "transportType", kind: "scalar", T: 9, req: true },
{ no: 2, name: "dtlsParameters", kind: "message", T: ProtoDtlsParameters, req: true }
]);
static fromBinary(bytes, options) {
return new _ConnectTransport().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ConnectTransport().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ConnectTransport().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ConnectTransport, a, b);
}
};
var CreateDataConsumer = class _CreateDataConsumer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string label = 1;
*/
label;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "CreateDataConsumer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "label", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _CreateDataConsumer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _CreateDataConsumer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _CreateDataConsumer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_CreateDataConsumer, a, b);
}
};
var Produce = class _Produce extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string label = 1;
*/
label;
/**
* @generated from field: required string kind = 2;
*/
kind;
/**
* @generated from field: required ProtoRtpParameters rtpParameters = 3;
*/
rtpParameters;
/**
* @generated from field: required bool paused = 4;
*/
paused;
/**
* @generated from field: optional AppData appData = 5;
*/
appData;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "Produce";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "label", kind: "scalar", T: 9, req: true },
{ no: 2, name: "kind", kind: "scalar", T: 9, req: true },
{ no: 3, name: "rtpParameters", kind: "message", T: chunkUM7UGER4_cjs.ProtoRtpParameters, req: true },
{ no: 4, name: "paused", kind: "scalar", T: 8, req: true },
{ no: 5, name: "appData", kind: "message", T: AppData, opt: true }
]);
static fromBinary(bytes, options) {
return new _Produce().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _Produce().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _Produce().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_Produce, a, b);
}
};
var ProduceData = class _ProduceData extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string transportId = 1;
*/
transportId;
/**
* @generated from field: required ProtoSctpStreamParameters sctpStreamParameters = 2;
*/
sctpStreamParameters;
/**
* @generated from field: required string label = 3;
*/
label;
/**
* @generated from field: optional string protocol = 4;
*/
protocol;
/**
* @generated from field: optional AppData appData = 5;
*/
appData;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ProduceData";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "transportId", kind: "scalar", T: 9, req: true },
{ no: 2, name: "sctpStreamParameters", kind: "message", T: ProtoSctpStreamParameters, req: true },
{ no: 3, name: "label", kind: "scalar", T: 9, req: true },
{ no: 4, name: "protocol", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "appData", kind: "message", T: AppData, opt: true }
]);
static fromBinary(bytes, options) {
return new _ProduceData().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ProduceData().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ProduceData().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ProduceData, a, b);
}
};
var Consume = class _Consume extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string producerPeerId = 1;
*/
producerPeerId;
/**
* @generated from field: required string producerId = 2;
*/
producerId;
/**
* @generated from field: optional AppData appData = 3;
*/
appData;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "Consume";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "producerPeerId", kind: "scalar", T: 9, req: true },
{ no: 2, name: "producerId", kind: "scalar", T: 9, req: true },
{ no: 3, name: "appData", kind: "message", T: AppData, opt: true }
]);
static fromBinary(bytes, options) {
return new _Consume().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _Consume().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _Consume().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_Consume, a, b);
}
};
var CloseProducer = class _CloseProducer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string producerId = 1;
*/
producerId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "CloseProducer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "producerId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _CloseProducer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _CloseProducer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _CloseProducer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_CloseProducer, a, b);
}
};
var PauseProducer = class _PauseProducer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string producerId = 1;
*/
producerId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "PauseProducer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "producerId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _PauseProducer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _PauseProducer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _PauseProducer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_PauseProducer, a, b);
}
};
var ResumeProducer = class _ResumeProducer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string producerId = 1;
*/
producerId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ResumeProducer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "producerId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _ResumeProducer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ResumeProducer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ResumeProducer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ResumeProducer, a, b);
}
};
var CloseConsumer = class _CloseConsumer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string consumerId = 1;
*/
consumerId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "CloseConsumer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "consumerId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _CloseConsumer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _CloseConsumer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _CloseConsumer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_CloseConsumer, a, b);
}
};
var ResumeConsumer = class _ResumeConsumer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string consumerId = 1;
*/
consumerId;
/**
* @generated from field: required string producerPeerId = 2;
*/
producerPeerId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ResumeConsumer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "consumerId", kind: "scalar", T: 9, req: true },
{ no: 2, name: "producerPeerId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _ResumeConsumer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ResumeConsumer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ResumeConsumer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ResumeConsumer, a, b);
}
};
var SyncMeetingState = class _SyncMeetingState extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: repeated string localProducerIds = 1;
*/
localProducerIds = [];
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "SyncMeetingState";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "localProducerIds", kind: "scalar", T: 9, repeated: true }
]);
static fromBinary(bytes, options) {
return new _SyncMeetingState().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _SyncMeetingState().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _SyncMeetingState().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_SyncMeetingState, a, b);
}
};
var RestartTransportIce = class _RestartTransportIce extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string transportType = 1;
*/
transportType;
/**
* @generated from field: required string transportId = 2;
*/
transportId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "RestartTransportIce";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "transportType", kind: "scalar", T: 9, req: true },
{ no: 2, name: "transportId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _RestartTransportIce().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _RestartTransportIce().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _RestartTransportIce().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_RestartTransportIce, a, b);
}
};
var SendData = class _SendData extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: repeated string to = 1;
*/
to = [];
/**
* @generated from field: optional string label = 2;
*/
label;
/**
* @generated from field: required string payload = 3;
*/
payload;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "SendData";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "to", kind: "scalar", T: 9, repeated: true },
{ no: 2, name: "label", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "payload", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _SendData().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _SendData().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _SendData().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_SendData, a, b);
}
};
var UpdateRoomControls = class _UpdateRoomControls extends chunkUM7UGER4_cjs.Message {
/**
* @generated from oneof UpdateRoomControls.control
*/
control = { case: void 0 };
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "UpdateRoomControls";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "room_control", kind: "message", T: RoomControlType, oneof: "control" },
{ no: 2, name: "produce_sources_control", kind: "message", T: ProduceSourcesControl, oneof: "control" }
]);
static fromBinary(bytes, options) {
return new _UpdateRoomControls().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _UpdateRoomControls().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _UpdateRoomControls().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_UpdateRoomControls, a, b);
}
};
var UpdatePeerPermission = class _UpdatePeerPermission extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string peerId = 1;
*/
peerId;
/**
* @generated from field: optional Permissions permissions = 2;
*/
permissions;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "UpdatePeerPermission";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "peerId", kind: "scalar", T: 9, req: true },
{ no: 2, name: "permissions", kind: "message", T: Permissions, opt: true }
]);
static fromBinary(bytes, options) {
return new _UpdatePeerPermission().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _UpdatePeerPermission().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _UpdatePeerPermission().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_UpdatePeerPermission, a, b);
}
};
var ActivateSpeakerNotification = class _ActivateSpeakerNotification extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: optional int32 size = 1;
*/
size;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "ActivateSpeakerNotification";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "size", kind: "scalar", T: 5, opt: true }
]);
static fromBinary(bytes, options) {
return new _ActivateSpeakerNotification().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _ActivateSpeakerNotification().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _ActivateSpeakerNotification().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_ActivateSpeakerNotification, a, b);
}
};
var UpdatePeerRole = class _UpdatePeerRole extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string peerId = 1;
*/
peerId;
/**
* @generated from field: required string role = 2;
*/
role;
/**
* @generated from field: optional UpdatePeerRole.Options options = 3;
*/
options;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "UpdatePeerRole";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "peerId", kind: "scalar", T: 9, req: true },
{ no: 2, name: "role", kind: "scalar", T: 9, req: true },
{ no: 3, name: "options", kind: "message", T: UpdatePeerRole_Options, opt: true }
]);
static fromBinary(bytes, options) {
return new _UpdatePeerRole().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _UpdatePeerRole().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _UpdatePeerRole().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_UpdatePeerRole, a, b);
}
};
var UpdatePeerRole_Options = class _UpdatePeerRole_Options extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: optional Permissions custom = 1;
*/
custom;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "UpdatePeerRole.Options";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "custom", kind: "message", T: Permissions, opt: true }
]);
static fromBinary(bytes, options) {
return new _UpdatePeerRole_Options().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _UpdatePeerRole_Options().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _UpdatePeerRole_Options().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_UpdatePeerRole_Options, a, b);
}
};
var UpdatePeerMetadata = class _UpdatePeerMetadata extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string peerId = 1;
*/
peerId;
/**
* @generated from field: required string metadata = 2;
*/
metadata;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "UpdatePeerMetadata";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "peerId", kind: "scalar", T: 9, req: true },
{ no: 2, name: "metadata", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _UpdatePeerMetadata().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _UpdatePeerMetadata().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _UpdatePeerMetadata().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_UpdatePeerMetadata, a, b);
}
};
var UpdateRoomMetadata = class _UpdateRoomMetadata extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string metadata = 1;
*/
metadata;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "UpdateRoomMetadata";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "metadata", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _UpdateRoomMetadata().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _UpdateRoomMetadata().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _UpdateRoomMetadata().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_UpdateRoomMetadata, a, b);
}
};
var CloseStreamOfLabel = class _CloseStreamOfLabel extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string label = 1;
*/
label;
/**
* @generated from field: repeated string peerIds = 2;
*/
peerIds = [];
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "CloseStreamOfLabel";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "label", kind: "scalar", T: 9, req: true },
{ no: 2, name: "peerIds", kind: "scalar", T: 9, repeated: true }
]);
static fromBinary(bytes, options) {
return new _CloseStreamOfLabel().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _CloseStreamOfLabel().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _CloseStreamOfLabel().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_CloseStreamOfLabel, a, b);
}
};
var AcceptLobbyPeer = class _AcceptLobbyPeer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string peerId = 1;
*/
peerId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "AcceptLobbyPeer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "peerId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _AcceptLobbyPeer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _AcceptLobbyPeer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _AcceptLobbyPeer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_AcceptLobbyPeer, a, b);
}
};
var DenyLobbyPeer = class _DenyLobbyPeer extends chunkUM7UGER4_cjs.Message {
/**
* @generated from field: required string peerId = 1;
*/
peerId;
constructor(data) {
super();
chunkUM7UGER4_cjs.proto2.util.initPartial(data, this);
}
static runtime = chunkUM7UGER4_cjs.proto2;
static typeName = "DenyLobbyPeer";
static fields = chunkUM7UGER4_cjs.proto2.util.newFieldList(() => [
{ no: 1, name: "peerId", kind: "scalar", T: 9, req: true }
]);
static fromBinary(bytes, options) {
return new _DenyLobbyPeer().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new _DenyLobbyPeer().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new _DenyLobbyPeer().fromJsonString(jsonString, options);
}
static equals(a, b) {
return chunkUM7UGER4_cjs.proto2.util.equals(_DenyLobbyPeer, a, b);
}
};
var KickPeer = class _KickPeer extends chunkUM7U