@livekit/protocol 1.27.1 → 1.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/livekit_agent_dispatch_pb.cjs +385 -0
- package/dist/gen/livekit_agent_dispatch_pb.cjs.map +1 -0
- package/dist/gen/livekit_agent_dispatch_pb.d.ts +174 -0
- package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +1 -0
- package/dist/gen/livekit_agent_dispatch_pb.js +356 -0
- package/dist/gen/livekit_agent_dispatch_pb.js.map +1 -0
- package/dist/gen/livekit_agent_pb.cjs +881 -0
- package/dist/gen/livekit_agent_pb.cjs.map +1 -0
- package/dist/gen/livekit_agent_pb.d.ts +575 -0
- package/dist/gen/livekit_agent_pb.d.ts.map +1 -0
- package/dist/gen/livekit_agent_pb.js +840 -0
- package/dist/gen/livekit_agent_pb.js.map +1 -0
- package/dist/gen/livekit_analytics_pb.cjs +1087 -0
- package/dist/gen/livekit_analytics_pb.cjs.map +1 -0
- package/dist/gen/livekit_analytics_pb.d.ts +679 -0
- package/dist/gen/livekit_analytics_pb.d.ts.map +1 -0
- package/dist/gen/livekit_analytics_pb.js +1053 -0
- package/dist/gen/livekit_analytics_pb.js.map +1 -0
- package/dist/gen/livekit_egress_pb.cjs +2476 -0
- package/dist/gen/livekit_egress_pb.cjs.map +1 -0
- package/dist/gen/livekit_egress_pb.d.ts +1720 -0
- package/dist/gen/livekit_egress_pb.d.ts.map +1 -0
- package/dist/gen/livekit_egress_pb.js +2417 -0
- package/dist/gen/livekit_egress_pb.js.map +1 -0
- package/dist/gen/livekit_ingress_pb.cjs +1050 -0
- package/dist/gen/livekit_ingress_pb.cjs.map +1 -0
- package/dist/gen/livekit_ingress_pb.d.ts +660 -0
- package/dist/gen/livekit_ingress_pb.d.ts.map +1 -0
- package/dist/gen/livekit_ingress_pb.js +1011 -0
- package/dist/gen/livekit_ingress_pb.js.map +1 -0
- package/dist/gen/livekit_internal_pb.cjs +998 -0
- package/dist/gen/livekit_internal_pb.cjs.map +1 -0
- package/dist/gen/livekit_internal_pb.d.ts +481 -0
- package/dist/gen/livekit_internal_pb.d.ts.map +1 -0
- package/dist/gen/livekit_internal_pb.js +968 -0
- package/dist/gen/livekit_internal_pb.js.map +1 -0
- package/dist/gen/livekit_metrics_pb.cjs +371 -0
- package/dist/gen/livekit_metrics_pb.cjs.map +1 -0
- package/dist/gen/livekit_metrics_pb.d.ts +304 -0
- package/dist/gen/livekit_metrics_pb.d.ts.map +1 -0
- package/dist/gen/livekit_metrics_pb.js +344 -0
- package/dist/gen/livekit_metrics_pb.js.map +1 -0
- package/dist/gen/livekit_models_pb.cjs +3323 -0
- package/dist/gen/livekit_models_pb.cjs.map +1 -0
- package/dist/gen/livekit_models_pb.d.ts +2024 -0
- package/dist/gen/livekit_models_pb.d.ts.map +1 -0
- package/dist/gen/livekit_models_pb.js +3249 -0
- package/dist/gen/livekit_models_pb.js.map +1 -0
- package/dist/gen/livekit_room_pb.cjs +1080 -0
- package/dist/gen/livekit_room_pb.cjs.map +1 -0
- package/dist/gen/livekit_room_pb.d.ts +580 -0
- package/dist/gen/livekit_room_pb.d.ts.map +1 -0
- package/dist/gen/livekit_room_pb.js +1038 -0
- package/dist/gen/livekit_room_pb.js.map +1 -0
- package/dist/gen/livekit_rtc_pb.cjs +2261 -0
- package/dist/gen/livekit_rtc_pb.cjs.map +1 -0
- package/dist/gen/livekit_rtc_pb.d.ts +1602 -0
- package/dist/gen/livekit_rtc_pb.d.ts.map +1 -0
- package/dist/gen/livekit_rtc_pb.js +2192 -0
- package/dist/gen/livekit_rtc_pb.js.map +1 -0
- package/dist/gen/livekit_sip_pb.cjs +2118 -0
- package/dist/gen/livekit_sip_pb.cjs.map +1 -0
- package/dist/gen/livekit_sip_pb.d.ts +1226 -0
- package/dist/gen/livekit_sip_pb.d.ts.map +1 -0
- package/dist/gen/livekit_sip_pb.js +2061 -0
- package/dist/gen/livekit_sip_pb.js.map +1 -0
- package/dist/gen/livekit_webhook_pb.cjs +111 -0
- package/dist/gen/livekit_webhook_pb.cjs.map +1 -0
- package/dist/gen/livekit_webhook_pb.d.ts +71 -0
- package/dist/gen/livekit_webhook_pb.d.ts.map +1 -0
- package/dist/gen/livekit_webhook_pb.js +88 -0
- package/dist/gen/livekit_webhook_pb.js.map +1 -0
- package/dist/gen/version.cjs +28 -0
- package/dist/gen/version.cjs.map +1 -0
- package/dist/gen/version.d.ts +2 -0
- package/dist/gen/version.d.ts.map +1 -0
- package/dist/gen/version.js +5 -0
- package/dist/gen/version.js.map +1 -0
- package/dist/index.cjs +51 -0
- package/dist/index.cjs.map +1 -0
- package/{src → dist}/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/{src → dist}/index.js +5 -2
- package/dist/index.js.map +1 -0
- package/package.json +18 -12
- package/src/gen/livekit_agent_dispatch_pb.d.ts +0 -253
- package/src/gen/livekit_agent_dispatch_pb.js +0 -103
- package/src/gen/livekit_agent_pb.d.ts +0 -741
- package/src/gen/livekit_agent_pb.js +0 -266
- package/src/gen/livekit_analytics_pb.d.ts +0 -889
- package/src/gen/livekit_analytics_pb.js +0 -264
- package/src/gen/livekit_egress_pb.d.ts +0 -2056
- package/src/gen/livekit_egress_pb.js +0 -594
- package/src/gen/livekit_ingress_pb.d.ts +0 -843
- package/src/gen/livekit_ingress_pb.js +0 -269
- package/src/gen/livekit_internal_pb.d.ts +0 -622
- package/src/gen/livekit_internal_pb.js +0 -191
- package/src/gen/livekit_metrics_pb.d.ts +0 -355
- package/src/gen/livekit_metrics_pb.js +0 -94
- package/src/gen/livekit_models_pb.d.ts +0 -2539
- package/src/gen/livekit_models_pb.js +0 -819
- package/src/gen/livekit_room_pb.d.ts +0 -774
- package/src/gen/livekit_room_pb.js +0 -259
- package/src/gen/livekit_rtc_pb.d.ts +0 -2001
- package/src/gen/livekit_rtc_pb.js +0 -634
- package/src/gen/livekit_sip_pb.d.ts +0 -1508
- package/src/gen/livekit_sip_pb.js +0 -468
- package/src/gen/livekit_webhook_pb.d.ts +0 -105
- package/src/gen/livekit_webhook_pb.js +0 -42
- package/src/gen/version.d.ts +0 -1
- package/src/gen/version.js +0 -2
|
@@ -0,0 +1,1080 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var livekit_room_pb_exports = {};
|
|
19
|
+
__export(livekit_room_pb_exports, {
|
|
20
|
+
CreateRoomRequest: () => CreateRoomRequest,
|
|
21
|
+
DeleteRoomRequest: () => DeleteRoomRequest,
|
|
22
|
+
DeleteRoomResponse: () => DeleteRoomResponse,
|
|
23
|
+
ListParticipantsRequest: () => ListParticipantsRequest,
|
|
24
|
+
ListParticipantsResponse: () => ListParticipantsResponse,
|
|
25
|
+
ListRoomsRequest: () => ListRoomsRequest,
|
|
26
|
+
ListRoomsResponse: () => ListRoomsResponse,
|
|
27
|
+
MuteRoomTrackRequest: () => MuteRoomTrackRequest,
|
|
28
|
+
MuteRoomTrackResponse: () => MuteRoomTrackResponse,
|
|
29
|
+
RemoveParticipantResponse: () => RemoveParticipantResponse,
|
|
30
|
+
RoomAgent: () => RoomAgent,
|
|
31
|
+
RoomConfiguration: () => RoomConfiguration,
|
|
32
|
+
RoomEgress: () => RoomEgress,
|
|
33
|
+
RoomParticipantIdentity: () => RoomParticipantIdentity,
|
|
34
|
+
SendDataRequest: () => SendDataRequest,
|
|
35
|
+
SendDataResponse: () => SendDataResponse,
|
|
36
|
+
UpdateParticipantRequest: () => UpdateParticipantRequest,
|
|
37
|
+
UpdateRoomMetadataRequest: () => UpdateRoomMetadataRequest,
|
|
38
|
+
UpdateSubscriptionsRequest: () => UpdateSubscriptionsRequest,
|
|
39
|
+
UpdateSubscriptionsResponse: () => UpdateSubscriptionsResponse
|
|
40
|
+
});
|
|
41
|
+
module.exports = __toCommonJS(livekit_room_pb_exports);
|
|
42
|
+
var import_protobuf = require("@bufbuild/protobuf");
|
|
43
|
+
var import_livekit_agent_dispatch_pb = require("./livekit_agent_dispatch_pb.cjs");
|
|
44
|
+
var import_livekit_egress_pb = require("./livekit_egress_pb.cjs");
|
|
45
|
+
var import_livekit_models_pb = require("./livekit_models_pb.cjs");
|
|
46
|
+
const _CreateRoomRequest = class _CreateRoomRequest extends import_protobuf.Message {
|
|
47
|
+
constructor(data) {
|
|
48
|
+
super();
|
|
49
|
+
/**
|
|
50
|
+
* name of the room
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string name = 1;
|
|
53
|
+
*/
|
|
54
|
+
this.name = "";
|
|
55
|
+
/**
|
|
56
|
+
* configuration to use for this room parameters. Setting parameters below override the config defaults.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string room_preset = 12;
|
|
59
|
+
*/
|
|
60
|
+
this.roomPreset = "";
|
|
61
|
+
/**
|
|
62
|
+
* number of seconds to keep the room open if no one joins
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: uint32 empty_timeout = 2;
|
|
65
|
+
*/
|
|
66
|
+
this.emptyTimeout = 0;
|
|
67
|
+
/**
|
|
68
|
+
* number of seconds to keep the room open after everyone leaves
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: uint32 departure_timeout = 10;
|
|
71
|
+
*/
|
|
72
|
+
this.departureTimeout = 0;
|
|
73
|
+
/**
|
|
74
|
+
* limit number of participants that can be in a room
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: uint32 max_participants = 3;
|
|
77
|
+
*/
|
|
78
|
+
this.maxParticipants = 0;
|
|
79
|
+
/**
|
|
80
|
+
* override the node room is allocated to, for debugging
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string node_id = 4;
|
|
83
|
+
*/
|
|
84
|
+
this.nodeId = "";
|
|
85
|
+
/**
|
|
86
|
+
* metadata of room
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string metadata = 5;
|
|
89
|
+
*/
|
|
90
|
+
this.metadata = "";
|
|
91
|
+
/**
|
|
92
|
+
* playout delay of subscriber
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: uint32 min_playout_delay = 7;
|
|
95
|
+
*/
|
|
96
|
+
this.minPlayoutDelay = 0;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: uint32 max_playout_delay = 8;
|
|
99
|
+
*/
|
|
100
|
+
this.maxPlayoutDelay = 0;
|
|
101
|
+
/**
|
|
102
|
+
* improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
|
|
103
|
+
* so not recommended for rooms with frequent subscription changes
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: bool sync_streams = 9;
|
|
106
|
+
*/
|
|
107
|
+
this.syncStreams = false;
|
|
108
|
+
/**
|
|
109
|
+
* replay
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: bool replay_enabled = 13;
|
|
112
|
+
*/
|
|
113
|
+
this.replayEnabled = false;
|
|
114
|
+
/**
|
|
115
|
+
* Define agents that should be dispatched to this room
|
|
116
|
+
*
|
|
117
|
+
* NEXT-ID: 15
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: repeated livekit.RoomAgentDispatch agents = 14;
|
|
120
|
+
*/
|
|
121
|
+
this.agents = [];
|
|
122
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
123
|
+
}
|
|
124
|
+
static fromBinary(bytes, options) {
|
|
125
|
+
return new _CreateRoomRequest().fromBinary(bytes, options);
|
|
126
|
+
}
|
|
127
|
+
static fromJson(jsonValue, options) {
|
|
128
|
+
return new _CreateRoomRequest().fromJson(jsonValue, options);
|
|
129
|
+
}
|
|
130
|
+
static fromJsonString(jsonString, options) {
|
|
131
|
+
return new _CreateRoomRequest().fromJsonString(jsonString, options);
|
|
132
|
+
}
|
|
133
|
+
static equals(a, b) {
|
|
134
|
+
return import_protobuf.proto3.util.equals(_CreateRoomRequest, a, b);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
_CreateRoomRequest.runtime = import_protobuf.proto3;
|
|
138
|
+
_CreateRoomRequest.typeName = "livekit.CreateRoomRequest";
|
|
139
|
+
_CreateRoomRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
140
|
+
{
|
|
141
|
+
no: 1,
|
|
142
|
+
name: "name",
|
|
143
|
+
kind: "scalar",
|
|
144
|
+
T: 9
|
|
145
|
+
/* ScalarType.STRING */
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
no: 12,
|
|
149
|
+
name: "room_preset",
|
|
150
|
+
kind: "scalar",
|
|
151
|
+
T: 9
|
|
152
|
+
/* ScalarType.STRING */
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
no: 2,
|
|
156
|
+
name: "empty_timeout",
|
|
157
|
+
kind: "scalar",
|
|
158
|
+
T: 13
|
|
159
|
+
/* ScalarType.UINT32 */
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
no: 10,
|
|
163
|
+
name: "departure_timeout",
|
|
164
|
+
kind: "scalar",
|
|
165
|
+
T: 13
|
|
166
|
+
/* ScalarType.UINT32 */
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
no: 3,
|
|
170
|
+
name: "max_participants",
|
|
171
|
+
kind: "scalar",
|
|
172
|
+
T: 13
|
|
173
|
+
/* ScalarType.UINT32 */
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
no: 4,
|
|
177
|
+
name: "node_id",
|
|
178
|
+
kind: "scalar",
|
|
179
|
+
T: 9
|
|
180
|
+
/* ScalarType.STRING */
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
no: 5,
|
|
184
|
+
name: "metadata",
|
|
185
|
+
kind: "scalar",
|
|
186
|
+
T: 9
|
|
187
|
+
/* ScalarType.STRING */
|
|
188
|
+
},
|
|
189
|
+
{ no: 6, name: "egress", kind: "message", T: RoomEgress },
|
|
190
|
+
{
|
|
191
|
+
no: 7,
|
|
192
|
+
name: "min_playout_delay",
|
|
193
|
+
kind: "scalar",
|
|
194
|
+
T: 13
|
|
195
|
+
/* ScalarType.UINT32 */
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
no: 8,
|
|
199
|
+
name: "max_playout_delay",
|
|
200
|
+
kind: "scalar",
|
|
201
|
+
T: 13
|
|
202
|
+
/* ScalarType.UINT32 */
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
no: 9,
|
|
206
|
+
name: "sync_streams",
|
|
207
|
+
kind: "scalar",
|
|
208
|
+
T: 8
|
|
209
|
+
/* ScalarType.BOOL */
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
no: 13,
|
|
213
|
+
name: "replay_enabled",
|
|
214
|
+
kind: "scalar",
|
|
215
|
+
T: 8
|
|
216
|
+
/* ScalarType.BOOL */
|
|
217
|
+
},
|
|
218
|
+
{ no: 14, name: "agents", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true }
|
|
219
|
+
]);
|
|
220
|
+
let CreateRoomRequest = _CreateRoomRequest;
|
|
221
|
+
const _RoomEgress = class _RoomEgress extends import_protobuf.Message {
|
|
222
|
+
constructor(data) {
|
|
223
|
+
super();
|
|
224
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
225
|
+
}
|
|
226
|
+
static fromBinary(bytes, options) {
|
|
227
|
+
return new _RoomEgress().fromBinary(bytes, options);
|
|
228
|
+
}
|
|
229
|
+
static fromJson(jsonValue, options) {
|
|
230
|
+
return new _RoomEgress().fromJson(jsonValue, options);
|
|
231
|
+
}
|
|
232
|
+
static fromJsonString(jsonString, options) {
|
|
233
|
+
return new _RoomEgress().fromJsonString(jsonString, options);
|
|
234
|
+
}
|
|
235
|
+
static equals(a, b) {
|
|
236
|
+
return import_protobuf.proto3.util.equals(_RoomEgress, a, b);
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
_RoomEgress.runtime = import_protobuf.proto3;
|
|
240
|
+
_RoomEgress.typeName = "livekit.RoomEgress";
|
|
241
|
+
_RoomEgress.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
242
|
+
{ no: 1, name: "room", kind: "message", T: import_livekit_egress_pb.RoomCompositeEgressRequest },
|
|
243
|
+
{ no: 3, name: "participant", kind: "message", T: import_livekit_egress_pb.AutoParticipantEgress },
|
|
244
|
+
{ no: 2, name: "tracks", kind: "message", T: import_livekit_egress_pb.AutoTrackEgress }
|
|
245
|
+
]);
|
|
246
|
+
let RoomEgress = _RoomEgress;
|
|
247
|
+
const _RoomAgent = class _RoomAgent extends import_protobuf.Message {
|
|
248
|
+
constructor(data) {
|
|
249
|
+
super();
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1;
|
|
252
|
+
*/
|
|
253
|
+
this.dispatches = [];
|
|
254
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
255
|
+
}
|
|
256
|
+
static fromBinary(bytes, options) {
|
|
257
|
+
return new _RoomAgent().fromBinary(bytes, options);
|
|
258
|
+
}
|
|
259
|
+
static fromJson(jsonValue, options) {
|
|
260
|
+
return new _RoomAgent().fromJson(jsonValue, options);
|
|
261
|
+
}
|
|
262
|
+
static fromJsonString(jsonString, options) {
|
|
263
|
+
return new _RoomAgent().fromJsonString(jsonString, options);
|
|
264
|
+
}
|
|
265
|
+
static equals(a, b) {
|
|
266
|
+
return import_protobuf.proto3.util.equals(_RoomAgent, a, b);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
_RoomAgent.runtime = import_protobuf.proto3;
|
|
270
|
+
_RoomAgent.typeName = "livekit.RoomAgent";
|
|
271
|
+
_RoomAgent.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
272
|
+
{ no: 1, name: "dispatches", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true }
|
|
273
|
+
]);
|
|
274
|
+
let RoomAgent = _RoomAgent;
|
|
275
|
+
const _ListRoomsRequest = class _ListRoomsRequest extends import_protobuf.Message {
|
|
276
|
+
constructor(data) {
|
|
277
|
+
super();
|
|
278
|
+
/**
|
|
279
|
+
* when set, will only return rooms with name match
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: repeated string names = 1;
|
|
282
|
+
*/
|
|
283
|
+
this.names = [];
|
|
284
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
285
|
+
}
|
|
286
|
+
static fromBinary(bytes, options) {
|
|
287
|
+
return new _ListRoomsRequest().fromBinary(bytes, options);
|
|
288
|
+
}
|
|
289
|
+
static fromJson(jsonValue, options) {
|
|
290
|
+
return new _ListRoomsRequest().fromJson(jsonValue, options);
|
|
291
|
+
}
|
|
292
|
+
static fromJsonString(jsonString, options) {
|
|
293
|
+
return new _ListRoomsRequest().fromJsonString(jsonString, options);
|
|
294
|
+
}
|
|
295
|
+
static equals(a, b) {
|
|
296
|
+
return import_protobuf.proto3.util.equals(_ListRoomsRequest, a, b);
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
_ListRoomsRequest.runtime = import_protobuf.proto3;
|
|
300
|
+
_ListRoomsRequest.typeName = "livekit.ListRoomsRequest";
|
|
301
|
+
_ListRoomsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
302
|
+
{ no: 1, name: "names", kind: "scalar", T: 9, repeated: true }
|
|
303
|
+
]);
|
|
304
|
+
let ListRoomsRequest = _ListRoomsRequest;
|
|
305
|
+
const _ListRoomsResponse = class _ListRoomsResponse extends import_protobuf.Message {
|
|
306
|
+
constructor(data) {
|
|
307
|
+
super();
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: repeated livekit.Room rooms = 1;
|
|
310
|
+
*/
|
|
311
|
+
this.rooms = [];
|
|
312
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
313
|
+
}
|
|
314
|
+
static fromBinary(bytes, options) {
|
|
315
|
+
return new _ListRoomsResponse().fromBinary(bytes, options);
|
|
316
|
+
}
|
|
317
|
+
static fromJson(jsonValue, options) {
|
|
318
|
+
return new _ListRoomsResponse().fromJson(jsonValue, options);
|
|
319
|
+
}
|
|
320
|
+
static fromJsonString(jsonString, options) {
|
|
321
|
+
return new _ListRoomsResponse().fromJsonString(jsonString, options);
|
|
322
|
+
}
|
|
323
|
+
static equals(a, b) {
|
|
324
|
+
return import_protobuf.proto3.util.equals(_ListRoomsResponse, a, b);
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
_ListRoomsResponse.runtime = import_protobuf.proto3;
|
|
328
|
+
_ListRoomsResponse.typeName = "livekit.ListRoomsResponse";
|
|
329
|
+
_ListRoomsResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
330
|
+
{ no: 1, name: "rooms", kind: "message", T: import_livekit_models_pb.Room, repeated: true }
|
|
331
|
+
]);
|
|
332
|
+
let ListRoomsResponse = _ListRoomsResponse;
|
|
333
|
+
const _DeleteRoomRequest = class _DeleteRoomRequest extends import_protobuf.Message {
|
|
334
|
+
constructor(data) {
|
|
335
|
+
super();
|
|
336
|
+
/**
|
|
337
|
+
* name of the room
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: string room = 1;
|
|
340
|
+
*/
|
|
341
|
+
this.room = "";
|
|
342
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
343
|
+
}
|
|
344
|
+
static fromBinary(bytes, options) {
|
|
345
|
+
return new _DeleteRoomRequest().fromBinary(bytes, options);
|
|
346
|
+
}
|
|
347
|
+
static fromJson(jsonValue, options) {
|
|
348
|
+
return new _DeleteRoomRequest().fromJson(jsonValue, options);
|
|
349
|
+
}
|
|
350
|
+
static fromJsonString(jsonString, options) {
|
|
351
|
+
return new _DeleteRoomRequest().fromJsonString(jsonString, options);
|
|
352
|
+
}
|
|
353
|
+
static equals(a, b) {
|
|
354
|
+
return import_protobuf.proto3.util.equals(_DeleteRoomRequest, a, b);
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
_DeleteRoomRequest.runtime = import_protobuf.proto3;
|
|
358
|
+
_DeleteRoomRequest.typeName = "livekit.DeleteRoomRequest";
|
|
359
|
+
_DeleteRoomRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
360
|
+
{
|
|
361
|
+
no: 1,
|
|
362
|
+
name: "room",
|
|
363
|
+
kind: "scalar",
|
|
364
|
+
T: 9
|
|
365
|
+
/* ScalarType.STRING */
|
|
366
|
+
}
|
|
367
|
+
]);
|
|
368
|
+
let DeleteRoomRequest = _DeleteRoomRequest;
|
|
369
|
+
const _DeleteRoomResponse = class _DeleteRoomResponse extends import_protobuf.Message {
|
|
370
|
+
constructor(data) {
|
|
371
|
+
super();
|
|
372
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
373
|
+
}
|
|
374
|
+
static fromBinary(bytes, options) {
|
|
375
|
+
return new _DeleteRoomResponse().fromBinary(bytes, options);
|
|
376
|
+
}
|
|
377
|
+
static fromJson(jsonValue, options) {
|
|
378
|
+
return new _DeleteRoomResponse().fromJson(jsonValue, options);
|
|
379
|
+
}
|
|
380
|
+
static fromJsonString(jsonString, options) {
|
|
381
|
+
return new _DeleteRoomResponse().fromJsonString(jsonString, options);
|
|
382
|
+
}
|
|
383
|
+
static equals(a, b) {
|
|
384
|
+
return import_protobuf.proto3.util.equals(_DeleteRoomResponse, a, b);
|
|
385
|
+
}
|
|
386
|
+
};
|
|
387
|
+
_DeleteRoomResponse.runtime = import_protobuf.proto3;
|
|
388
|
+
_DeleteRoomResponse.typeName = "livekit.DeleteRoomResponse";
|
|
389
|
+
_DeleteRoomResponse.fields = import_protobuf.proto3.util.newFieldList(() => []);
|
|
390
|
+
let DeleteRoomResponse = _DeleteRoomResponse;
|
|
391
|
+
const _ListParticipantsRequest = class _ListParticipantsRequest extends import_protobuf.Message {
|
|
392
|
+
constructor(data) {
|
|
393
|
+
super();
|
|
394
|
+
/**
|
|
395
|
+
* name of the room
|
|
396
|
+
*
|
|
397
|
+
* @generated from field: string room = 1;
|
|
398
|
+
*/
|
|
399
|
+
this.room = "";
|
|
400
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
401
|
+
}
|
|
402
|
+
static fromBinary(bytes, options) {
|
|
403
|
+
return new _ListParticipantsRequest().fromBinary(bytes, options);
|
|
404
|
+
}
|
|
405
|
+
static fromJson(jsonValue, options) {
|
|
406
|
+
return new _ListParticipantsRequest().fromJson(jsonValue, options);
|
|
407
|
+
}
|
|
408
|
+
static fromJsonString(jsonString, options) {
|
|
409
|
+
return new _ListParticipantsRequest().fromJsonString(jsonString, options);
|
|
410
|
+
}
|
|
411
|
+
static equals(a, b) {
|
|
412
|
+
return import_protobuf.proto3.util.equals(_ListParticipantsRequest, a, b);
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
_ListParticipantsRequest.runtime = import_protobuf.proto3;
|
|
416
|
+
_ListParticipantsRequest.typeName = "livekit.ListParticipantsRequest";
|
|
417
|
+
_ListParticipantsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
418
|
+
{
|
|
419
|
+
no: 1,
|
|
420
|
+
name: "room",
|
|
421
|
+
kind: "scalar",
|
|
422
|
+
T: 9
|
|
423
|
+
/* ScalarType.STRING */
|
|
424
|
+
}
|
|
425
|
+
]);
|
|
426
|
+
let ListParticipantsRequest = _ListParticipantsRequest;
|
|
427
|
+
const _ListParticipantsResponse = class _ListParticipantsResponse extends import_protobuf.Message {
|
|
428
|
+
constructor(data) {
|
|
429
|
+
super();
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: repeated livekit.ParticipantInfo participants = 1;
|
|
432
|
+
*/
|
|
433
|
+
this.participants = [];
|
|
434
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
435
|
+
}
|
|
436
|
+
static fromBinary(bytes, options) {
|
|
437
|
+
return new _ListParticipantsResponse().fromBinary(bytes, options);
|
|
438
|
+
}
|
|
439
|
+
static fromJson(jsonValue, options) {
|
|
440
|
+
return new _ListParticipantsResponse().fromJson(jsonValue, options);
|
|
441
|
+
}
|
|
442
|
+
static fromJsonString(jsonString, options) {
|
|
443
|
+
return new _ListParticipantsResponse().fromJsonString(jsonString, options);
|
|
444
|
+
}
|
|
445
|
+
static equals(a, b) {
|
|
446
|
+
return import_protobuf.proto3.util.equals(_ListParticipantsResponse, a, b);
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
_ListParticipantsResponse.runtime = import_protobuf.proto3;
|
|
450
|
+
_ListParticipantsResponse.typeName = "livekit.ListParticipantsResponse";
|
|
451
|
+
_ListParticipantsResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
452
|
+
{ no: 1, name: "participants", kind: "message", T: import_livekit_models_pb.ParticipantInfo, repeated: true }
|
|
453
|
+
]);
|
|
454
|
+
let ListParticipantsResponse = _ListParticipantsResponse;
|
|
455
|
+
const _RoomParticipantIdentity = class _RoomParticipantIdentity extends import_protobuf.Message {
|
|
456
|
+
constructor(data) {
|
|
457
|
+
super();
|
|
458
|
+
/**
|
|
459
|
+
* name of the room
|
|
460
|
+
*
|
|
461
|
+
* @generated from field: string room = 1;
|
|
462
|
+
*/
|
|
463
|
+
this.room = "";
|
|
464
|
+
/**
|
|
465
|
+
* identity of the participant
|
|
466
|
+
*
|
|
467
|
+
* @generated from field: string identity = 2;
|
|
468
|
+
*/
|
|
469
|
+
this.identity = "";
|
|
470
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
471
|
+
}
|
|
472
|
+
static fromBinary(bytes, options) {
|
|
473
|
+
return new _RoomParticipantIdentity().fromBinary(bytes, options);
|
|
474
|
+
}
|
|
475
|
+
static fromJson(jsonValue, options) {
|
|
476
|
+
return new _RoomParticipantIdentity().fromJson(jsonValue, options);
|
|
477
|
+
}
|
|
478
|
+
static fromJsonString(jsonString, options) {
|
|
479
|
+
return new _RoomParticipantIdentity().fromJsonString(jsonString, options);
|
|
480
|
+
}
|
|
481
|
+
static equals(a, b) {
|
|
482
|
+
return import_protobuf.proto3.util.equals(_RoomParticipantIdentity, a, b);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
_RoomParticipantIdentity.runtime = import_protobuf.proto3;
|
|
486
|
+
_RoomParticipantIdentity.typeName = "livekit.RoomParticipantIdentity";
|
|
487
|
+
_RoomParticipantIdentity.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
488
|
+
{
|
|
489
|
+
no: 1,
|
|
490
|
+
name: "room",
|
|
491
|
+
kind: "scalar",
|
|
492
|
+
T: 9
|
|
493
|
+
/* ScalarType.STRING */
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
no: 2,
|
|
497
|
+
name: "identity",
|
|
498
|
+
kind: "scalar",
|
|
499
|
+
T: 9
|
|
500
|
+
/* ScalarType.STRING */
|
|
501
|
+
}
|
|
502
|
+
]);
|
|
503
|
+
let RoomParticipantIdentity = _RoomParticipantIdentity;
|
|
504
|
+
const _RemoveParticipantResponse = class _RemoveParticipantResponse extends import_protobuf.Message {
|
|
505
|
+
constructor(data) {
|
|
506
|
+
super();
|
|
507
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
508
|
+
}
|
|
509
|
+
static fromBinary(bytes, options) {
|
|
510
|
+
return new _RemoveParticipantResponse().fromBinary(bytes, options);
|
|
511
|
+
}
|
|
512
|
+
static fromJson(jsonValue, options) {
|
|
513
|
+
return new _RemoveParticipantResponse().fromJson(jsonValue, options);
|
|
514
|
+
}
|
|
515
|
+
static fromJsonString(jsonString, options) {
|
|
516
|
+
return new _RemoveParticipantResponse().fromJsonString(jsonString, options);
|
|
517
|
+
}
|
|
518
|
+
static equals(a, b) {
|
|
519
|
+
return import_protobuf.proto3.util.equals(_RemoveParticipantResponse, a, b);
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
_RemoveParticipantResponse.runtime = import_protobuf.proto3;
|
|
523
|
+
_RemoveParticipantResponse.typeName = "livekit.RemoveParticipantResponse";
|
|
524
|
+
_RemoveParticipantResponse.fields = import_protobuf.proto3.util.newFieldList(() => []);
|
|
525
|
+
let RemoveParticipantResponse = _RemoveParticipantResponse;
|
|
526
|
+
const _MuteRoomTrackRequest = class _MuteRoomTrackRequest extends import_protobuf.Message {
|
|
527
|
+
constructor(data) {
|
|
528
|
+
super();
|
|
529
|
+
/**
|
|
530
|
+
* name of the room
|
|
531
|
+
*
|
|
532
|
+
* @generated from field: string room = 1;
|
|
533
|
+
*/
|
|
534
|
+
this.room = "";
|
|
535
|
+
/**
|
|
536
|
+
* @generated from field: string identity = 2;
|
|
537
|
+
*/
|
|
538
|
+
this.identity = "";
|
|
539
|
+
/**
|
|
540
|
+
* sid of the track to mute
|
|
541
|
+
*
|
|
542
|
+
* @generated from field: string track_sid = 3;
|
|
543
|
+
*/
|
|
544
|
+
this.trackSid = "";
|
|
545
|
+
/**
|
|
546
|
+
* set to true to mute, false to unmute
|
|
547
|
+
*
|
|
548
|
+
* @generated from field: bool muted = 4;
|
|
549
|
+
*/
|
|
550
|
+
this.muted = false;
|
|
551
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
552
|
+
}
|
|
553
|
+
static fromBinary(bytes, options) {
|
|
554
|
+
return new _MuteRoomTrackRequest().fromBinary(bytes, options);
|
|
555
|
+
}
|
|
556
|
+
static fromJson(jsonValue, options) {
|
|
557
|
+
return new _MuteRoomTrackRequest().fromJson(jsonValue, options);
|
|
558
|
+
}
|
|
559
|
+
static fromJsonString(jsonString, options) {
|
|
560
|
+
return new _MuteRoomTrackRequest().fromJsonString(jsonString, options);
|
|
561
|
+
}
|
|
562
|
+
static equals(a, b) {
|
|
563
|
+
return import_protobuf.proto3.util.equals(_MuteRoomTrackRequest, a, b);
|
|
564
|
+
}
|
|
565
|
+
};
|
|
566
|
+
_MuteRoomTrackRequest.runtime = import_protobuf.proto3;
|
|
567
|
+
_MuteRoomTrackRequest.typeName = "livekit.MuteRoomTrackRequest";
|
|
568
|
+
_MuteRoomTrackRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
569
|
+
{
|
|
570
|
+
no: 1,
|
|
571
|
+
name: "room",
|
|
572
|
+
kind: "scalar",
|
|
573
|
+
T: 9
|
|
574
|
+
/* ScalarType.STRING */
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
no: 2,
|
|
578
|
+
name: "identity",
|
|
579
|
+
kind: "scalar",
|
|
580
|
+
T: 9
|
|
581
|
+
/* ScalarType.STRING */
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
no: 3,
|
|
585
|
+
name: "track_sid",
|
|
586
|
+
kind: "scalar",
|
|
587
|
+
T: 9
|
|
588
|
+
/* ScalarType.STRING */
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
no: 4,
|
|
592
|
+
name: "muted",
|
|
593
|
+
kind: "scalar",
|
|
594
|
+
T: 8
|
|
595
|
+
/* ScalarType.BOOL */
|
|
596
|
+
}
|
|
597
|
+
]);
|
|
598
|
+
let MuteRoomTrackRequest = _MuteRoomTrackRequest;
|
|
599
|
+
const _MuteRoomTrackResponse = class _MuteRoomTrackResponse extends import_protobuf.Message {
|
|
600
|
+
constructor(data) {
|
|
601
|
+
super();
|
|
602
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
603
|
+
}
|
|
604
|
+
static fromBinary(bytes, options) {
|
|
605
|
+
return new _MuteRoomTrackResponse().fromBinary(bytes, options);
|
|
606
|
+
}
|
|
607
|
+
static fromJson(jsonValue, options) {
|
|
608
|
+
return new _MuteRoomTrackResponse().fromJson(jsonValue, options);
|
|
609
|
+
}
|
|
610
|
+
static fromJsonString(jsonString, options) {
|
|
611
|
+
return new _MuteRoomTrackResponse().fromJsonString(jsonString, options);
|
|
612
|
+
}
|
|
613
|
+
static equals(a, b) {
|
|
614
|
+
return import_protobuf.proto3.util.equals(_MuteRoomTrackResponse, a, b);
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
_MuteRoomTrackResponse.runtime = import_protobuf.proto3;
|
|
618
|
+
_MuteRoomTrackResponse.typeName = "livekit.MuteRoomTrackResponse";
|
|
619
|
+
_MuteRoomTrackResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
620
|
+
{ no: 1, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo }
|
|
621
|
+
]);
|
|
622
|
+
let MuteRoomTrackResponse = _MuteRoomTrackResponse;
|
|
623
|
+
const _UpdateParticipantRequest = class _UpdateParticipantRequest extends import_protobuf.Message {
|
|
624
|
+
constructor(data) {
|
|
625
|
+
super();
|
|
626
|
+
/**
|
|
627
|
+
* @generated from field: string room = 1;
|
|
628
|
+
*/
|
|
629
|
+
this.room = "";
|
|
630
|
+
/**
|
|
631
|
+
* @generated from field: string identity = 2;
|
|
632
|
+
*/
|
|
633
|
+
this.identity = "";
|
|
634
|
+
/**
|
|
635
|
+
* metadata to update. skipping updates if left empty
|
|
636
|
+
*
|
|
637
|
+
* @generated from field: string metadata = 3;
|
|
638
|
+
*/
|
|
639
|
+
this.metadata = "";
|
|
640
|
+
/**
|
|
641
|
+
* display name to update
|
|
642
|
+
*
|
|
643
|
+
* @generated from field: string name = 5;
|
|
644
|
+
*/
|
|
645
|
+
this.name = "";
|
|
646
|
+
/**
|
|
647
|
+
* attributes to update. it only updates attributes that have been set
|
|
648
|
+
* to delete attributes, set the value to an empty string
|
|
649
|
+
*
|
|
650
|
+
* @generated from field: map<string, string> attributes = 6;
|
|
651
|
+
*/
|
|
652
|
+
this.attributes = {};
|
|
653
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
654
|
+
}
|
|
655
|
+
static fromBinary(bytes, options) {
|
|
656
|
+
return new _UpdateParticipantRequest().fromBinary(bytes, options);
|
|
657
|
+
}
|
|
658
|
+
static fromJson(jsonValue, options) {
|
|
659
|
+
return new _UpdateParticipantRequest().fromJson(jsonValue, options);
|
|
660
|
+
}
|
|
661
|
+
static fromJsonString(jsonString, options) {
|
|
662
|
+
return new _UpdateParticipantRequest().fromJsonString(jsonString, options);
|
|
663
|
+
}
|
|
664
|
+
static equals(a, b) {
|
|
665
|
+
return import_protobuf.proto3.util.equals(_UpdateParticipantRequest, a, b);
|
|
666
|
+
}
|
|
667
|
+
};
|
|
668
|
+
_UpdateParticipantRequest.runtime = import_protobuf.proto3;
|
|
669
|
+
_UpdateParticipantRequest.typeName = "livekit.UpdateParticipantRequest";
|
|
670
|
+
_UpdateParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
671
|
+
{
|
|
672
|
+
no: 1,
|
|
673
|
+
name: "room",
|
|
674
|
+
kind: "scalar",
|
|
675
|
+
T: 9
|
|
676
|
+
/* ScalarType.STRING */
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
no: 2,
|
|
680
|
+
name: "identity",
|
|
681
|
+
kind: "scalar",
|
|
682
|
+
T: 9
|
|
683
|
+
/* ScalarType.STRING */
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
no: 3,
|
|
687
|
+
name: "metadata",
|
|
688
|
+
kind: "scalar",
|
|
689
|
+
T: 9
|
|
690
|
+
/* ScalarType.STRING */
|
|
691
|
+
},
|
|
692
|
+
{ no: 4, name: "permission", kind: "message", T: import_livekit_models_pb.ParticipantPermission },
|
|
693
|
+
{
|
|
694
|
+
no: 5,
|
|
695
|
+
name: "name",
|
|
696
|
+
kind: "scalar",
|
|
697
|
+
T: 9
|
|
698
|
+
/* ScalarType.STRING */
|
|
699
|
+
},
|
|
700
|
+
{ no: 6, name: "attributes", kind: "map", K: 9, V: {
|
|
701
|
+
kind: "scalar",
|
|
702
|
+
T: 9
|
|
703
|
+
/* ScalarType.STRING */
|
|
704
|
+
} }
|
|
705
|
+
]);
|
|
706
|
+
let UpdateParticipantRequest = _UpdateParticipantRequest;
|
|
707
|
+
const _UpdateSubscriptionsRequest = class _UpdateSubscriptionsRequest extends import_protobuf.Message {
|
|
708
|
+
constructor(data) {
|
|
709
|
+
super();
|
|
710
|
+
/**
|
|
711
|
+
* @generated from field: string room = 1;
|
|
712
|
+
*/
|
|
713
|
+
this.room = "";
|
|
714
|
+
/**
|
|
715
|
+
* @generated from field: string identity = 2;
|
|
716
|
+
*/
|
|
717
|
+
this.identity = "";
|
|
718
|
+
/**
|
|
719
|
+
* list of sids of tracks
|
|
720
|
+
*
|
|
721
|
+
* @generated from field: repeated string track_sids = 3;
|
|
722
|
+
*/
|
|
723
|
+
this.trackSids = [];
|
|
724
|
+
/**
|
|
725
|
+
* set to true to subscribe, false to unsubscribe from tracks
|
|
726
|
+
*
|
|
727
|
+
* @generated from field: bool subscribe = 4;
|
|
728
|
+
*/
|
|
729
|
+
this.subscribe = false;
|
|
730
|
+
/**
|
|
731
|
+
* list of participants and their tracks
|
|
732
|
+
*
|
|
733
|
+
* @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5;
|
|
734
|
+
*/
|
|
735
|
+
this.participantTracks = [];
|
|
736
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
737
|
+
}
|
|
738
|
+
static fromBinary(bytes, options) {
|
|
739
|
+
return new _UpdateSubscriptionsRequest().fromBinary(bytes, options);
|
|
740
|
+
}
|
|
741
|
+
static fromJson(jsonValue, options) {
|
|
742
|
+
return new _UpdateSubscriptionsRequest().fromJson(jsonValue, options);
|
|
743
|
+
}
|
|
744
|
+
static fromJsonString(jsonString, options) {
|
|
745
|
+
return new _UpdateSubscriptionsRequest().fromJsonString(jsonString, options);
|
|
746
|
+
}
|
|
747
|
+
static equals(a, b) {
|
|
748
|
+
return import_protobuf.proto3.util.equals(_UpdateSubscriptionsRequest, a, b);
|
|
749
|
+
}
|
|
750
|
+
};
|
|
751
|
+
_UpdateSubscriptionsRequest.runtime = import_protobuf.proto3;
|
|
752
|
+
_UpdateSubscriptionsRequest.typeName = "livekit.UpdateSubscriptionsRequest";
|
|
753
|
+
_UpdateSubscriptionsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
754
|
+
{
|
|
755
|
+
no: 1,
|
|
756
|
+
name: "room",
|
|
757
|
+
kind: "scalar",
|
|
758
|
+
T: 9
|
|
759
|
+
/* ScalarType.STRING */
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
no: 2,
|
|
763
|
+
name: "identity",
|
|
764
|
+
kind: "scalar",
|
|
765
|
+
T: 9
|
|
766
|
+
/* ScalarType.STRING */
|
|
767
|
+
},
|
|
768
|
+
{ no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true },
|
|
769
|
+
{
|
|
770
|
+
no: 4,
|
|
771
|
+
name: "subscribe",
|
|
772
|
+
kind: "scalar",
|
|
773
|
+
T: 8
|
|
774
|
+
/* ScalarType.BOOL */
|
|
775
|
+
},
|
|
776
|
+
{ no: 5, name: "participant_tracks", kind: "message", T: import_livekit_models_pb.ParticipantTracks, repeated: true }
|
|
777
|
+
]);
|
|
778
|
+
let UpdateSubscriptionsRequest = _UpdateSubscriptionsRequest;
|
|
779
|
+
const _UpdateSubscriptionsResponse = class _UpdateSubscriptionsResponse extends import_protobuf.Message {
|
|
780
|
+
constructor(data) {
|
|
781
|
+
super();
|
|
782
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
783
|
+
}
|
|
784
|
+
static fromBinary(bytes, options) {
|
|
785
|
+
return new _UpdateSubscriptionsResponse().fromBinary(bytes, options);
|
|
786
|
+
}
|
|
787
|
+
static fromJson(jsonValue, options) {
|
|
788
|
+
return new _UpdateSubscriptionsResponse().fromJson(jsonValue, options);
|
|
789
|
+
}
|
|
790
|
+
static fromJsonString(jsonString, options) {
|
|
791
|
+
return new _UpdateSubscriptionsResponse().fromJsonString(jsonString, options);
|
|
792
|
+
}
|
|
793
|
+
static equals(a, b) {
|
|
794
|
+
return import_protobuf.proto3.util.equals(_UpdateSubscriptionsResponse, a, b);
|
|
795
|
+
}
|
|
796
|
+
};
|
|
797
|
+
_UpdateSubscriptionsResponse.runtime = import_protobuf.proto3;
|
|
798
|
+
_UpdateSubscriptionsResponse.typeName = "livekit.UpdateSubscriptionsResponse";
|
|
799
|
+
_UpdateSubscriptionsResponse.fields = import_protobuf.proto3.util.newFieldList(() => []);
|
|
800
|
+
let UpdateSubscriptionsResponse = _UpdateSubscriptionsResponse;
|
|
801
|
+
const _SendDataRequest = class _SendDataRequest extends import_protobuf.Message {
|
|
802
|
+
constructor(data) {
|
|
803
|
+
super();
|
|
804
|
+
/**
|
|
805
|
+
* @generated from field: string room = 1;
|
|
806
|
+
*/
|
|
807
|
+
this.room = "";
|
|
808
|
+
/**
|
|
809
|
+
* @generated from field: bytes data = 2;
|
|
810
|
+
*/
|
|
811
|
+
this.data = new Uint8Array(0);
|
|
812
|
+
/**
|
|
813
|
+
* @generated from field: livekit.DataPacket.Kind kind = 3;
|
|
814
|
+
*/
|
|
815
|
+
this.kind = import_livekit_models_pb.DataPacket_Kind.RELIABLE;
|
|
816
|
+
/**
|
|
817
|
+
* mark deprecated
|
|
818
|
+
*
|
|
819
|
+
* @generated from field: repeated string destination_sids = 4 [deprecated = true];
|
|
820
|
+
* @deprecated
|
|
821
|
+
*/
|
|
822
|
+
this.destinationSids = [];
|
|
823
|
+
/**
|
|
824
|
+
* when set, only forward to these identities
|
|
825
|
+
*
|
|
826
|
+
* @generated from field: repeated string destination_identities = 6;
|
|
827
|
+
*/
|
|
828
|
+
this.destinationIdentities = [];
|
|
829
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
830
|
+
}
|
|
831
|
+
static fromBinary(bytes, options) {
|
|
832
|
+
return new _SendDataRequest().fromBinary(bytes, options);
|
|
833
|
+
}
|
|
834
|
+
static fromJson(jsonValue, options) {
|
|
835
|
+
return new _SendDataRequest().fromJson(jsonValue, options);
|
|
836
|
+
}
|
|
837
|
+
static fromJsonString(jsonString, options) {
|
|
838
|
+
return new _SendDataRequest().fromJsonString(jsonString, options);
|
|
839
|
+
}
|
|
840
|
+
static equals(a, b) {
|
|
841
|
+
return import_protobuf.proto3.util.equals(_SendDataRequest, a, b);
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
_SendDataRequest.runtime = import_protobuf.proto3;
|
|
845
|
+
_SendDataRequest.typeName = "livekit.SendDataRequest";
|
|
846
|
+
_SendDataRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
847
|
+
{
|
|
848
|
+
no: 1,
|
|
849
|
+
name: "room",
|
|
850
|
+
kind: "scalar",
|
|
851
|
+
T: 9
|
|
852
|
+
/* ScalarType.STRING */
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
no: 2,
|
|
856
|
+
name: "data",
|
|
857
|
+
kind: "scalar",
|
|
858
|
+
T: 12
|
|
859
|
+
/* ScalarType.BYTES */
|
|
860
|
+
},
|
|
861
|
+
{ no: 3, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DataPacket_Kind) },
|
|
862
|
+
{ no: 4, name: "destination_sids", kind: "scalar", T: 9, repeated: true },
|
|
863
|
+
{ no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
864
|
+
{ no: 5, name: "topic", kind: "scalar", T: 9, opt: true }
|
|
865
|
+
]);
|
|
866
|
+
let SendDataRequest = _SendDataRequest;
|
|
867
|
+
const _SendDataResponse = class _SendDataResponse extends import_protobuf.Message {
|
|
868
|
+
constructor(data) {
|
|
869
|
+
super();
|
|
870
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
871
|
+
}
|
|
872
|
+
static fromBinary(bytes, options) {
|
|
873
|
+
return new _SendDataResponse().fromBinary(bytes, options);
|
|
874
|
+
}
|
|
875
|
+
static fromJson(jsonValue, options) {
|
|
876
|
+
return new _SendDataResponse().fromJson(jsonValue, options);
|
|
877
|
+
}
|
|
878
|
+
static fromJsonString(jsonString, options) {
|
|
879
|
+
return new _SendDataResponse().fromJsonString(jsonString, options);
|
|
880
|
+
}
|
|
881
|
+
static equals(a, b) {
|
|
882
|
+
return import_protobuf.proto3.util.equals(_SendDataResponse, a, b);
|
|
883
|
+
}
|
|
884
|
+
};
|
|
885
|
+
_SendDataResponse.runtime = import_protobuf.proto3;
|
|
886
|
+
_SendDataResponse.typeName = "livekit.SendDataResponse";
|
|
887
|
+
_SendDataResponse.fields = import_protobuf.proto3.util.newFieldList(() => []);
|
|
888
|
+
let SendDataResponse = _SendDataResponse;
|
|
889
|
+
const _UpdateRoomMetadataRequest = class _UpdateRoomMetadataRequest extends import_protobuf.Message {
|
|
890
|
+
constructor(data) {
|
|
891
|
+
super();
|
|
892
|
+
/**
|
|
893
|
+
* @generated from field: string room = 1;
|
|
894
|
+
*/
|
|
895
|
+
this.room = "";
|
|
896
|
+
/**
|
|
897
|
+
* metadata to update. skipping updates if left empty
|
|
898
|
+
*
|
|
899
|
+
* @generated from field: string metadata = 2;
|
|
900
|
+
*/
|
|
901
|
+
this.metadata = "";
|
|
902
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
903
|
+
}
|
|
904
|
+
static fromBinary(bytes, options) {
|
|
905
|
+
return new _UpdateRoomMetadataRequest().fromBinary(bytes, options);
|
|
906
|
+
}
|
|
907
|
+
static fromJson(jsonValue, options) {
|
|
908
|
+
return new _UpdateRoomMetadataRequest().fromJson(jsonValue, options);
|
|
909
|
+
}
|
|
910
|
+
static fromJsonString(jsonString, options) {
|
|
911
|
+
return new _UpdateRoomMetadataRequest().fromJsonString(jsonString, options);
|
|
912
|
+
}
|
|
913
|
+
static equals(a, b) {
|
|
914
|
+
return import_protobuf.proto3.util.equals(_UpdateRoomMetadataRequest, a, b);
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
_UpdateRoomMetadataRequest.runtime = import_protobuf.proto3;
|
|
918
|
+
_UpdateRoomMetadataRequest.typeName = "livekit.UpdateRoomMetadataRequest";
|
|
919
|
+
_UpdateRoomMetadataRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
920
|
+
{
|
|
921
|
+
no: 1,
|
|
922
|
+
name: "room",
|
|
923
|
+
kind: "scalar",
|
|
924
|
+
T: 9
|
|
925
|
+
/* ScalarType.STRING */
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
no: 2,
|
|
929
|
+
name: "metadata",
|
|
930
|
+
kind: "scalar",
|
|
931
|
+
T: 9
|
|
932
|
+
/* ScalarType.STRING */
|
|
933
|
+
}
|
|
934
|
+
]);
|
|
935
|
+
let UpdateRoomMetadataRequest = _UpdateRoomMetadataRequest;
|
|
936
|
+
const _RoomConfiguration = class _RoomConfiguration extends import_protobuf.Message {
|
|
937
|
+
constructor(data) {
|
|
938
|
+
super();
|
|
939
|
+
/**
|
|
940
|
+
* Used as ID, must be unique
|
|
941
|
+
*
|
|
942
|
+
* @generated from field: string name = 1;
|
|
943
|
+
*/
|
|
944
|
+
this.name = "";
|
|
945
|
+
/**
|
|
946
|
+
* number of seconds to keep the room open if no one joins
|
|
947
|
+
*
|
|
948
|
+
* @generated from field: uint32 empty_timeout = 2;
|
|
949
|
+
*/
|
|
950
|
+
this.emptyTimeout = 0;
|
|
951
|
+
/**
|
|
952
|
+
* number of seconds to keep the room open after everyone leaves
|
|
953
|
+
*
|
|
954
|
+
* @generated from field: uint32 departure_timeout = 3;
|
|
955
|
+
*/
|
|
956
|
+
this.departureTimeout = 0;
|
|
957
|
+
/**
|
|
958
|
+
* limit number of participants that can be in a room, excluding Egress and Ingress participants
|
|
959
|
+
*
|
|
960
|
+
* @generated from field: uint32 max_participants = 4;
|
|
961
|
+
*/
|
|
962
|
+
this.maxParticipants = 0;
|
|
963
|
+
/**
|
|
964
|
+
* playout delay of subscriber
|
|
965
|
+
*
|
|
966
|
+
* @generated from field: uint32 min_playout_delay = 7;
|
|
967
|
+
*/
|
|
968
|
+
this.minPlayoutDelay = 0;
|
|
969
|
+
/**
|
|
970
|
+
* @generated from field: uint32 max_playout_delay = 8;
|
|
971
|
+
*/
|
|
972
|
+
this.maxPlayoutDelay = 0;
|
|
973
|
+
/**
|
|
974
|
+
* improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
|
|
975
|
+
* so not recommended for rooms with frequent subscription changes
|
|
976
|
+
*
|
|
977
|
+
* @generated from field: bool sync_streams = 9;
|
|
978
|
+
*/
|
|
979
|
+
this.syncStreams = false;
|
|
980
|
+
/**
|
|
981
|
+
* Define agents that should be dispatched to this room
|
|
982
|
+
*
|
|
983
|
+
* @generated from field: repeated livekit.RoomAgentDispatch agents = 10;
|
|
984
|
+
*/
|
|
985
|
+
this.agents = [];
|
|
986
|
+
import_protobuf.proto3.util.initPartial(data, this);
|
|
987
|
+
}
|
|
988
|
+
static fromBinary(bytes, options) {
|
|
989
|
+
return new _RoomConfiguration().fromBinary(bytes, options);
|
|
990
|
+
}
|
|
991
|
+
static fromJson(jsonValue, options) {
|
|
992
|
+
return new _RoomConfiguration().fromJson(jsonValue, options);
|
|
993
|
+
}
|
|
994
|
+
static fromJsonString(jsonString, options) {
|
|
995
|
+
return new _RoomConfiguration().fromJsonString(jsonString, options);
|
|
996
|
+
}
|
|
997
|
+
static equals(a, b) {
|
|
998
|
+
return import_protobuf.proto3.util.equals(_RoomConfiguration, a, b);
|
|
999
|
+
}
|
|
1000
|
+
};
|
|
1001
|
+
_RoomConfiguration.runtime = import_protobuf.proto3;
|
|
1002
|
+
_RoomConfiguration.typeName = "livekit.RoomConfiguration";
|
|
1003
|
+
_RoomConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
1004
|
+
{
|
|
1005
|
+
no: 1,
|
|
1006
|
+
name: "name",
|
|
1007
|
+
kind: "scalar",
|
|
1008
|
+
T: 9
|
|
1009
|
+
/* ScalarType.STRING */
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
no: 2,
|
|
1013
|
+
name: "empty_timeout",
|
|
1014
|
+
kind: "scalar",
|
|
1015
|
+
T: 13
|
|
1016
|
+
/* ScalarType.UINT32 */
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
no: 3,
|
|
1020
|
+
name: "departure_timeout",
|
|
1021
|
+
kind: "scalar",
|
|
1022
|
+
T: 13
|
|
1023
|
+
/* ScalarType.UINT32 */
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
no: 4,
|
|
1027
|
+
name: "max_participants",
|
|
1028
|
+
kind: "scalar",
|
|
1029
|
+
T: 13
|
|
1030
|
+
/* ScalarType.UINT32 */
|
|
1031
|
+
},
|
|
1032
|
+
{ no: 5, name: "egress", kind: "message", T: RoomEgress },
|
|
1033
|
+
{
|
|
1034
|
+
no: 7,
|
|
1035
|
+
name: "min_playout_delay",
|
|
1036
|
+
kind: "scalar",
|
|
1037
|
+
T: 13
|
|
1038
|
+
/* ScalarType.UINT32 */
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
no: 8,
|
|
1042
|
+
name: "max_playout_delay",
|
|
1043
|
+
kind: "scalar",
|
|
1044
|
+
T: 13
|
|
1045
|
+
/* ScalarType.UINT32 */
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
no: 9,
|
|
1049
|
+
name: "sync_streams",
|
|
1050
|
+
kind: "scalar",
|
|
1051
|
+
T: 8
|
|
1052
|
+
/* ScalarType.BOOL */
|
|
1053
|
+
},
|
|
1054
|
+
{ no: 10, name: "agents", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true }
|
|
1055
|
+
]);
|
|
1056
|
+
let RoomConfiguration = _RoomConfiguration;
|
|
1057
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1058
|
+
0 && (module.exports = {
|
|
1059
|
+
CreateRoomRequest,
|
|
1060
|
+
DeleteRoomRequest,
|
|
1061
|
+
DeleteRoomResponse,
|
|
1062
|
+
ListParticipantsRequest,
|
|
1063
|
+
ListParticipantsResponse,
|
|
1064
|
+
ListRoomsRequest,
|
|
1065
|
+
ListRoomsResponse,
|
|
1066
|
+
MuteRoomTrackRequest,
|
|
1067
|
+
MuteRoomTrackResponse,
|
|
1068
|
+
RemoveParticipantResponse,
|
|
1069
|
+
RoomAgent,
|
|
1070
|
+
RoomConfiguration,
|
|
1071
|
+
RoomEgress,
|
|
1072
|
+
RoomParticipantIdentity,
|
|
1073
|
+
SendDataRequest,
|
|
1074
|
+
SendDataResponse,
|
|
1075
|
+
UpdateParticipantRequest,
|
|
1076
|
+
UpdateRoomMetadataRequest,
|
|
1077
|
+
UpdateSubscriptionsRequest,
|
|
1078
|
+
UpdateSubscriptionsResponse
|
|
1079
|
+
});
|
|
1080
|
+
//# sourceMappingURL=livekit_room_pb.cjs.map
|