@cc-livekit/protocol 1.39.3
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/index.cjs +7285 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +13646 -0
- package/dist/index.d.mts +13646 -0
- package/dist/index.d.ts +13646 -0
- package/dist/index.mjs +7009 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
- package/src/gen/livekit_agent_dispatch_pb.js +103 -0
- package/src/gen/livekit_agent_pb.d.ts +758 -0
- package/src/gen/livekit_agent_pb.js +269 -0
- package/src/gen/livekit_analytics_pb.d.ts +1379 -0
- package/src/gen/livekit_analytics_pb.js +397 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
- package/src/gen/livekit_cloud_agent_pb.js +327 -0
- package/src/gen/livekit_egress_pb.d.ts +2151 -0
- package/src/gen/livekit_egress_pb.js +625 -0
- package/src/gen/livekit_ingress_pb.d.ts +864 -0
- package/src/gen/livekit_ingress_pb.js +272 -0
- package/src/gen/livekit_internal_pb.d.ts +786 -0
- package/src/gen/livekit_internal_pb.js +227 -0
- package/src/gen/livekit_metrics_pb.d.ts +376 -0
- package/src/gen/livekit_metrics_pb.js +97 -0
- package/src/gen/livekit_models_pb.d.ts +3083 -0
- package/src/gen/livekit_models_pb.js +998 -0
- package/src/gen/livekit_room_pb.d.ts +899 -0
- package/src/gen/livekit_room_pb.js +300 -0
- package/src/gen/livekit_rtc_pb.d.ts +2134 -0
- package/src/gen/livekit_rtc_pb.js +668 -0
- package/src/gen/livekit_sip_pb.d.ts +2619 -0
- package/src/gen/livekit_sip_pb.js +771 -0
- package/src/gen/livekit_temptalk_pb.d.ts +473 -0
- package/src/gen/livekit_temptalk_pb.js +167 -0
- package/src/gen/livekit_webhook_pb.d.ts +106 -0
- package/src/gen/livekit_webhook_pb.js +42 -0
- package/src/gen/version.d.ts +1 -0
- package/src/gen/version.js +2 -0
- package/src/index.d.ts +12 -0
- package/src/index.js +13 -0
|
@@ -0,0 +1,786 @@
|
|
|
1
|
+
// Copyright 2023 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_internal.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
|
|
23
|
+
import type { CreateRoomRequest } from "./livekit_room_pb.js";
|
|
24
|
+
import type { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
|
|
25
|
+
import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from enum livekit.NodeType
|
|
29
|
+
*/
|
|
30
|
+
export declare enum NodeType {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum value: SERVER = 0;
|
|
33
|
+
*/
|
|
34
|
+
SERVER = 0,
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: CONTROLLER = 1;
|
|
38
|
+
*/
|
|
39
|
+
CONTROLLER = 1,
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: MEDIA = 2;
|
|
43
|
+
*/
|
|
44
|
+
MEDIA = 2,
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: TURN = 4;
|
|
48
|
+
*/
|
|
49
|
+
TURN = 4,
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: SWEEPER = 5;
|
|
53
|
+
*/
|
|
54
|
+
SWEEPER = 5,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from enum value: DIRECTOR = 6;
|
|
58
|
+
*/
|
|
59
|
+
DIRECTOR = 6,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: HOSTED_AGENT = 7;
|
|
63
|
+
*/
|
|
64
|
+
HOSTED_AGENT = 7,
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum livekit.NodeState
|
|
69
|
+
*/
|
|
70
|
+
export declare enum NodeState {
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: STARTING_UP = 0;
|
|
73
|
+
*/
|
|
74
|
+
STARTING_UP = 0,
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from enum value: SERVING = 1;
|
|
78
|
+
*/
|
|
79
|
+
SERVING = 1,
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: SHUTTING_DOWN = 2;
|
|
83
|
+
*/
|
|
84
|
+
SHUTTING_DOWN = 2,
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum livekit.ICECandidateType
|
|
89
|
+
*/
|
|
90
|
+
export declare enum ICECandidateType {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from enum value: ICT_NONE = 0;
|
|
93
|
+
*/
|
|
94
|
+
ICT_NONE = 0,
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum value: ICT_TCP = 1;
|
|
98
|
+
*/
|
|
99
|
+
ICT_TCP = 1,
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum value: ICT_TLS = 2;
|
|
103
|
+
*/
|
|
104
|
+
ICT_TLS = 2,
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @generated from message livekit.Node
|
|
109
|
+
*/
|
|
110
|
+
export declare class Node extends Message<Node> {
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: string id = 1;
|
|
113
|
+
*/
|
|
114
|
+
id: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string ip = 2;
|
|
118
|
+
*/
|
|
119
|
+
ip: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: uint32 num_cpus = 3;
|
|
123
|
+
*/
|
|
124
|
+
numCpus: number;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: livekit.NodeStats stats = 4;
|
|
128
|
+
*/
|
|
129
|
+
stats?: NodeStats;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: livekit.NodeType type = 5;
|
|
133
|
+
*/
|
|
134
|
+
type: NodeType;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: livekit.NodeState state = 6;
|
|
138
|
+
*/
|
|
139
|
+
state: NodeState;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: string region = 7;
|
|
143
|
+
*/
|
|
144
|
+
region: string;
|
|
145
|
+
|
|
146
|
+
constructor(data?: PartialMessage<Node>);
|
|
147
|
+
|
|
148
|
+
static readonly runtime: typeof proto3;
|
|
149
|
+
static readonly typeName = "livekit.Node";
|
|
150
|
+
static readonly fields: FieldList;
|
|
151
|
+
|
|
152
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Node;
|
|
153
|
+
|
|
154
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Node;
|
|
155
|
+
|
|
156
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Node;
|
|
157
|
+
|
|
158
|
+
static equals(a: Node | PlainMessage<Node> | undefined, b: Node | PlainMessage<Node> | undefined): boolean;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from message livekit.NodeStats
|
|
163
|
+
*/
|
|
164
|
+
export declare class NodeStats extends Message<NodeStats> {
|
|
165
|
+
/**
|
|
166
|
+
* when server was started
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: int64 started_at = 1;
|
|
169
|
+
*/
|
|
170
|
+
startedAt: bigint;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* when server last reported its status
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: int64 updated_at = 2;
|
|
176
|
+
*/
|
|
177
|
+
updatedAt: bigint;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* room
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: int32 num_rooms = 3;
|
|
183
|
+
*/
|
|
184
|
+
numRooms: number;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: int32 num_clients = 4;
|
|
188
|
+
*/
|
|
189
|
+
numClients: number;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: int32 num_tracks_in = 5;
|
|
193
|
+
*/
|
|
194
|
+
numTracksIn: number;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: int32 num_tracks_out = 6;
|
|
198
|
+
*/
|
|
199
|
+
numTracksOut: number;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: int32 num_track_publish_attempts = 36;
|
|
203
|
+
*/
|
|
204
|
+
numTrackPublishAttempts: number;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: float track_publish_attempts_per_sec = 37 [deprecated = true];
|
|
208
|
+
* @deprecated
|
|
209
|
+
*/
|
|
210
|
+
trackPublishAttemptsPerSec: number;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: int32 num_track_publish_success = 38;
|
|
214
|
+
*/
|
|
215
|
+
numTrackPublishSuccess: number;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: float track_publish_success_per_sec = 39 [deprecated = true];
|
|
219
|
+
* @deprecated
|
|
220
|
+
*/
|
|
221
|
+
trackPublishSuccessPerSec: number;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: int32 num_track_subscribe_attempts = 40;
|
|
225
|
+
*/
|
|
226
|
+
numTrackSubscribeAttempts: number;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: float track_subscribe_attempts_per_sec = 41 [deprecated = true];
|
|
230
|
+
* @deprecated
|
|
231
|
+
*/
|
|
232
|
+
trackSubscribeAttemptsPerSec: number;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: int32 num_track_subscribe_success = 42;
|
|
236
|
+
*/
|
|
237
|
+
numTrackSubscribeSuccess: number;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: float track_subscribe_success_per_sec = 43 [deprecated = true];
|
|
241
|
+
* @deprecated
|
|
242
|
+
*/
|
|
243
|
+
trackSubscribeSuccessPerSec: number;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* packet
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: uint64 bytes_in = 7;
|
|
249
|
+
*/
|
|
250
|
+
bytesIn: bigint;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: uint64 bytes_out = 8;
|
|
254
|
+
*/
|
|
255
|
+
bytesOut: bigint;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: uint64 packets_in = 9;
|
|
259
|
+
*/
|
|
260
|
+
packetsIn: bigint;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: uint64 packets_out = 10;
|
|
264
|
+
*/
|
|
265
|
+
packetsOut: bigint;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: uint64 nack_total = 11;
|
|
269
|
+
*/
|
|
270
|
+
nackTotal: bigint;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: float bytes_in_per_sec = 12 [deprecated = true];
|
|
274
|
+
* @deprecated
|
|
275
|
+
*/
|
|
276
|
+
bytesInPerSec: number;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: float bytes_out_per_sec = 13 [deprecated = true];
|
|
280
|
+
* @deprecated
|
|
281
|
+
*/
|
|
282
|
+
bytesOutPerSec: number;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: float packets_in_per_sec = 14 [deprecated = true];
|
|
286
|
+
* @deprecated
|
|
287
|
+
*/
|
|
288
|
+
packetsInPerSec: number;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: float packets_out_per_sec = 15 [deprecated = true];
|
|
292
|
+
* @deprecated
|
|
293
|
+
*/
|
|
294
|
+
packetsOutPerSec: number;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: float nack_per_sec = 16 [deprecated = true];
|
|
298
|
+
* @deprecated
|
|
299
|
+
*/
|
|
300
|
+
nackPerSec: number;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* system
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: uint32 num_cpus = 17;
|
|
306
|
+
*/
|
|
307
|
+
numCpus: number;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: float load_avg_last1min = 18;
|
|
311
|
+
*/
|
|
312
|
+
loadAvgLast1min: number;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: float load_avg_last5min = 19;
|
|
316
|
+
*/
|
|
317
|
+
loadAvgLast5min: number;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: float load_avg_last15min = 20;
|
|
321
|
+
*/
|
|
322
|
+
loadAvgLast15min: number;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: float cpu_load = 21;
|
|
326
|
+
*/
|
|
327
|
+
cpuLoad: number;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: float memory_load = 33 [deprecated = true];
|
|
331
|
+
* @deprecated
|
|
332
|
+
*/
|
|
333
|
+
memoryLoad: number;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* @generated from field: uint64 memory_total = 34;
|
|
337
|
+
*/
|
|
338
|
+
memoryTotal: bigint;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @generated from field: uint64 memory_used = 35;
|
|
342
|
+
*/
|
|
343
|
+
memoryUsed: bigint;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* @generated from field: uint32 sys_packets_out = 28;
|
|
347
|
+
*/
|
|
348
|
+
sysPacketsOut: number;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: uint32 sys_packets_dropped = 29;
|
|
352
|
+
*/
|
|
353
|
+
sysPacketsDropped: number;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: float sys_packets_out_per_sec = 30 [deprecated = true];
|
|
357
|
+
* @deprecated
|
|
358
|
+
*/
|
|
359
|
+
sysPacketsOutPerSec: number;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @generated from field: float sys_packets_dropped_per_sec = 31 [deprecated = true];
|
|
363
|
+
* @deprecated
|
|
364
|
+
*/
|
|
365
|
+
sysPacketsDroppedPerSec: number;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: float sys_packets_dropped_pct_per_sec = 32 [deprecated = true];
|
|
369
|
+
* @deprecated
|
|
370
|
+
*/
|
|
371
|
+
sysPacketsDroppedPctPerSec: number;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* retransmissions
|
|
375
|
+
*
|
|
376
|
+
* @generated from field: uint64 retransmit_bytes_out = 22;
|
|
377
|
+
*/
|
|
378
|
+
retransmitBytesOut: bigint;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: uint64 retransmit_packets_out = 23;
|
|
382
|
+
*/
|
|
383
|
+
retransmitPacketsOut: bigint;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from field: float retransmit_bytes_out_per_sec = 24 [deprecated = true];
|
|
387
|
+
* @deprecated
|
|
388
|
+
*/
|
|
389
|
+
retransmitBytesOutPerSec: number;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: float retransmit_packets_out_per_sec = 25 [deprecated = true];
|
|
393
|
+
* @deprecated
|
|
394
|
+
*/
|
|
395
|
+
retransmitPacketsOutPerSec: number;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* participant joins
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: uint64 participant_signal_connected = 26;
|
|
401
|
+
*/
|
|
402
|
+
participantSignalConnected: bigint;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: float participant_signal_connected_per_sec = 27 [deprecated = true];
|
|
406
|
+
* @deprecated
|
|
407
|
+
*/
|
|
408
|
+
participantSignalConnectedPerSec: number;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: uint64 participant_rtc_connected = 44;
|
|
412
|
+
*/
|
|
413
|
+
participantRtcConnected: bigint;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: float participant_rtc_connected_per_sec = 45 [deprecated = true];
|
|
417
|
+
* @deprecated
|
|
418
|
+
*/
|
|
419
|
+
participantRtcConnectedPerSec: number;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: uint64 participant_rtc_init = 46;
|
|
423
|
+
*/
|
|
424
|
+
participantRtcInit: bigint;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* @generated from field: float participant_rtc_init_per_sec = 47 [deprecated = true];
|
|
428
|
+
* @deprecated
|
|
429
|
+
*/
|
|
430
|
+
participantRtcInitPerSec: number;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* forward metrics
|
|
434
|
+
*
|
|
435
|
+
* @generated from field: uint32 forward_latency = 48;
|
|
436
|
+
*/
|
|
437
|
+
forwardLatency: number;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @generated from field: uint32 forward_jitter = 49;
|
|
441
|
+
*/
|
|
442
|
+
forwardJitter: number;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: repeated livekit.NodeStatsRate rates = 50;
|
|
446
|
+
*/
|
|
447
|
+
rates: NodeStatsRate[];
|
|
448
|
+
|
|
449
|
+
constructor(data?: PartialMessage<NodeStats>);
|
|
450
|
+
|
|
451
|
+
static readonly runtime: typeof proto3;
|
|
452
|
+
static readonly typeName = "livekit.NodeStats";
|
|
453
|
+
static readonly fields: FieldList;
|
|
454
|
+
|
|
455
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeStats;
|
|
456
|
+
|
|
457
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NodeStats;
|
|
458
|
+
|
|
459
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NodeStats;
|
|
460
|
+
|
|
461
|
+
static equals(a: NodeStats | PlainMessage<NodeStats> | undefined, b: NodeStats | PlainMessage<NodeStats> | undefined): boolean;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* rates of different node stats (per second)
|
|
466
|
+
*
|
|
467
|
+
* @generated from message livekit.NodeStatsRate
|
|
468
|
+
*/
|
|
469
|
+
export declare class NodeStatsRate extends Message<NodeStatsRate> {
|
|
470
|
+
/**
|
|
471
|
+
* @generated from field: int64 started_at = 1;
|
|
472
|
+
*/
|
|
473
|
+
startedAt: bigint;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* @generated from field: int64 ended_at = 2;
|
|
477
|
+
*/
|
|
478
|
+
endedAt: bigint;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: int64 duration = 3;
|
|
482
|
+
*/
|
|
483
|
+
duration: bigint;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: float track_publish_attempts = 4;
|
|
487
|
+
*/
|
|
488
|
+
trackPublishAttempts: number;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* @generated from field: float track_publish_success = 5;
|
|
492
|
+
*/
|
|
493
|
+
trackPublishSuccess: number;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: float track_subscribe_attempts = 6;
|
|
497
|
+
*/
|
|
498
|
+
trackSubscribeAttempts: number;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @generated from field: float track_subscribe_success = 7;
|
|
502
|
+
*/
|
|
503
|
+
trackSubscribeSuccess: number;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @generated from field: float bytes_in = 8;
|
|
507
|
+
*/
|
|
508
|
+
bytesIn: number;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: float bytes_out = 9;
|
|
512
|
+
*/
|
|
513
|
+
bytesOut: number;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: float packets_in = 10;
|
|
517
|
+
*/
|
|
518
|
+
packetsIn: number;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: float packets_out = 11;
|
|
522
|
+
*/
|
|
523
|
+
packetsOut: number;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: float nack_total = 12;
|
|
527
|
+
*/
|
|
528
|
+
nackTotal: number;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: float sys_packets_out = 13;
|
|
532
|
+
*/
|
|
533
|
+
sysPacketsOut: number;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @generated from field: float sys_packets_dropped = 14;
|
|
537
|
+
*/
|
|
538
|
+
sysPacketsDropped: number;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @generated from field: float retransmit_bytes_out = 15;
|
|
542
|
+
*/
|
|
543
|
+
retransmitBytesOut: number;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* @generated from field: float retransmit_packets_out = 16;
|
|
547
|
+
*/
|
|
548
|
+
retransmitPacketsOut: number;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @generated from field: float participant_signal_connected = 17;
|
|
552
|
+
*/
|
|
553
|
+
participantSignalConnected: number;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @generated from field: float participant_rtc_connected = 18;
|
|
557
|
+
*/
|
|
558
|
+
participantRtcConnected: number;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: float participant_rtc_init = 19;
|
|
562
|
+
*/
|
|
563
|
+
participantRtcInit: number;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* time weighted averages across stats windows forming part of a rate measurement interval
|
|
567
|
+
*
|
|
568
|
+
* @generated from field: float cpu_load = 20;
|
|
569
|
+
*/
|
|
570
|
+
cpuLoad: number;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @generated from field: float memory_load = 21;
|
|
574
|
+
*/
|
|
575
|
+
memoryLoad: number;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @generated from field: float memory_used = 22;
|
|
579
|
+
*/
|
|
580
|
+
memoryUsed: number;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: float memory_total = 23;
|
|
584
|
+
*/
|
|
585
|
+
memoryTotal: number;
|
|
586
|
+
|
|
587
|
+
constructor(data?: PartialMessage<NodeStatsRate>);
|
|
588
|
+
|
|
589
|
+
static readonly runtime: typeof proto3;
|
|
590
|
+
static readonly typeName = "livekit.NodeStatsRate";
|
|
591
|
+
static readonly fields: FieldList;
|
|
592
|
+
|
|
593
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeStatsRate;
|
|
594
|
+
|
|
595
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NodeStatsRate;
|
|
596
|
+
|
|
597
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NodeStatsRate;
|
|
598
|
+
|
|
599
|
+
static equals(a: NodeStatsRate | PlainMessage<NodeStatsRate> | undefined, b: NodeStatsRate | PlainMessage<NodeStatsRate> | undefined): boolean;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* @generated from message livekit.StartSession
|
|
604
|
+
*/
|
|
605
|
+
export declare class StartSession extends Message<StartSession> {
|
|
606
|
+
/**
|
|
607
|
+
* @generated from field: string room_name = 1;
|
|
608
|
+
*/
|
|
609
|
+
roomName: string;
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* @generated from field: string identity = 2;
|
|
613
|
+
*/
|
|
614
|
+
identity: string;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* @generated from field: string connection_id = 3;
|
|
618
|
+
*/
|
|
619
|
+
connectionId: string;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* if a client is reconnecting (i.e. resume instead of restart)
|
|
623
|
+
*
|
|
624
|
+
* @generated from field: bool reconnect = 4;
|
|
625
|
+
*/
|
|
626
|
+
reconnect: boolean;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @generated from field: bool auto_subscribe = 9;
|
|
630
|
+
*/
|
|
631
|
+
autoSubscribe: boolean;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @generated from field: bool hidden = 10;
|
|
635
|
+
*/
|
|
636
|
+
hidden: boolean;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* @generated from field: livekit.ClientInfo client = 11;
|
|
640
|
+
*/
|
|
641
|
+
client?: ClientInfo;
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* @generated from field: bool recorder = 12;
|
|
645
|
+
*/
|
|
646
|
+
recorder: boolean;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* @generated from field: string name = 13;
|
|
650
|
+
*/
|
|
651
|
+
name: string;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* A user's ClaimGrants serialized in JSON
|
|
655
|
+
*
|
|
656
|
+
* @generated from field: string grants_json = 14;
|
|
657
|
+
*/
|
|
658
|
+
grantsJson: string;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @generated from field: bool adaptive_stream = 15;
|
|
662
|
+
*/
|
|
663
|
+
adaptiveStream: boolean;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* if reconnect, client will set current sid
|
|
667
|
+
*
|
|
668
|
+
* @generated from field: string participant_id = 16;
|
|
669
|
+
*/
|
|
670
|
+
participantId: string;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: livekit.ReconnectReason reconnect_reason = 17;
|
|
674
|
+
*/
|
|
675
|
+
reconnectReason: ReconnectReason;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* @generated from field: optional bool subscriber_allow_pause = 18;
|
|
679
|
+
*/
|
|
680
|
+
subscriberAllowPause?: boolean;
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @generated from field: bool disable_ice_lite = 19;
|
|
684
|
+
*/
|
|
685
|
+
disableIceLite: boolean;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @generated from field: livekit.CreateRoomRequest create_room = 20;
|
|
689
|
+
*/
|
|
690
|
+
createRoom?: CreateRoomRequest;
|
|
691
|
+
|
|
692
|
+
constructor(data?: PartialMessage<StartSession>);
|
|
693
|
+
|
|
694
|
+
static readonly runtime: typeof proto3;
|
|
695
|
+
static readonly typeName = "livekit.StartSession";
|
|
696
|
+
static readonly fields: FieldList;
|
|
697
|
+
|
|
698
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartSession;
|
|
699
|
+
|
|
700
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartSession;
|
|
701
|
+
|
|
702
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartSession;
|
|
703
|
+
|
|
704
|
+
static equals(a: StartSession | PlainMessage<StartSession> | undefined, b: StartSession | PlainMessage<StartSession> | undefined): boolean;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* room info that should not be returned to clients
|
|
709
|
+
*
|
|
710
|
+
* @generated from message livekit.RoomInternal
|
|
711
|
+
*/
|
|
712
|
+
export declare class RoomInternal extends Message<RoomInternal> {
|
|
713
|
+
/**
|
|
714
|
+
* @generated from field: livekit.AutoTrackEgress track_egress = 1;
|
|
715
|
+
*/
|
|
716
|
+
trackEgress?: AutoTrackEgress;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @generated from field: livekit.AutoParticipantEgress participant_egress = 2;
|
|
720
|
+
*/
|
|
721
|
+
participantEgress?: AutoParticipantEgress;
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* @generated from field: livekit.PlayoutDelay playout_delay = 3;
|
|
725
|
+
*/
|
|
726
|
+
playoutDelay?: PlayoutDelay;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5;
|
|
730
|
+
*/
|
|
731
|
+
agentDispatches: RoomAgentDispatch[];
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @generated from field: bool sync_streams = 4;
|
|
735
|
+
*/
|
|
736
|
+
syncStreams: boolean;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: bool replay_enabled = 6;
|
|
740
|
+
*/
|
|
741
|
+
replayEnabled: boolean;
|
|
742
|
+
|
|
743
|
+
constructor(data?: PartialMessage<RoomInternal>);
|
|
744
|
+
|
|
745
|
+
static readonly runtime: typeof proto3;
|
|
746
|
+
static readonly typeName = "livekit.RoomInternal";
|
|
747
|
+
static readonly fields: FieldList;
|
|
748
|
+
|
|
749
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomInternal;
|
|
750
|
+
|
|
751
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomInternal;
|
|
752
|
+
|
|
753
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomInternal;
|
|
754
|
+
|
|
755
|
+
static equals(a: RoomInternal | PlainMessage<RoomInternal> | undefined, b: RoomInternal | PlainMessage<RoomInternal> | undefined): boolean;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* @generated from message livekit.ICEConfig
|
|
760
|
+
*/
|
|
761
|
+
export declare class ICEConfig extends Message<ICEConfig> {
|
|
762
|
+
/**
|
|
763
|
+
* @generated from field: livekit.ICECandidateType preference_subscriber = 1;
|
|
764
|
+
*/
|
|
765
|
+
preferenceSubscriber: ICECandidateType;
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* @generated from field: livekit.ICECandidateType preference_publisher = 2;
|
|
769
|
+
*/
|
|
770
|
+
preferencePublisher: ICECandidateType;
|
|
771
|
+
|
|
772
|
+
constructor(data?: PartialMessage<ICEConfig>);
|
|
773
|
+
|
|
774
|
+
static readonly runtime: typeof proto3;
|
|
775
|
+
static readonly typeName = "livekit.ICEConfig";
|
|
776
|
+
static readonly fields: FieldList;
|
|
777
|
+
|
|
778
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ICEConfig;
|
|
779
|
+
|
|
780
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ICEConfig;
|
|
781
|
+
|
|
782
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ICEConfig;
|
|
783
|
+
|
|
784
|
+
static equals(a: ICEConfig | PlainMessage<ICEConfig> | undefined, b: ICEConfig | PlainMessage<ICEConfig> | undefined): boolean;
|
|
785
|
+
}
|
|
786
|
+
|