@livekit/protocol 1.27.1 → 1.28.0

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.
Files changed (111) hide show
  1. package/dist/gen/livekit_agent_dispatch_pb.cjs +385 -0
  2. package/dist/gen/livekit_agent_dispatch_pb.cjs.map +1 -0
  3. package/dist/gen/livekit_agent_dispatch_pb.d.ts +174 -0
  4. package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +1 -0
  5. package/dist/gen/livekit_agent_dispatch_pb.js +356 -0
  6. package/dist/gen/livekit_agent_dispatch_pb.js.map +1 -0
  7. package/dist/gen/livekit_agent_pb.cjs +881 -0
  8. package/dist/gen/livekit_agent_pb.cjs.map +1 -0
  9. package/dist/gen/livekit_agent_pb.d.ts +575 -0
  10. package/dist/gen/livekit_agent_pb.d.ts.map +1 -0
  11. package/dist/gen/livekit_agent_pb.js +840 -0
  12. package/dist/gen/livekit_agent_pb.js.map +1 -0
  13. package/dist/gen/livekit_analytics_pb.cjs +1087 -0
  14. package/dist/gen/livekit_analytics_pb.cjs.map +1 -0
  15. package/dist/gen/livekit_analytics_pb.d.ts +679 -0
  16. package/dist/gen/livekit_analytics_pb.d.ts.map +1 -0
  17. package/dist/gen/livekit_analytics_pb.js +1053 -0
  18. package/dist/gen/livekit_analytics_pb.js.map +1 -0
  19. package/dist/gen/livekit_egress_pb.cjs +2476 -0
  20. package/dist/gen/livekit_egress_pb.cjs.map +1 -0
  21. package/dist/gen/livekit_egress_pb.d.ts +1720 -0
  22. package/dist/gen/livekit_egress_pb.d.ts.map +1 -0
  23. package/dist/gen/livekit_egress_pb.js +2417 -0
  24. package/dist/gen/livekit_egress_pb.js.map +1 -0
  25. package/dist/gen/livekit_ingress_pb.cjs +1050 -0
  26. package/dist/gen/livekit_ingress_pb.cjs.map +1 -0
  27. package/dist/gen/livekit_ingress_pb.d.ts +660 -0
  28. package/dist/gen/livekit_ingress_pb.d.ts.map +1 -0
  29. package/dist/gen/livekit_ingress_pb.js +1011 -0
  30. package/dist/gen/livekit_ingress_pb.js.map +1 -0
  31. package/dist/gen/livekit_internal_pb.cjs +998 -0
  32. package/dist/gen/livekit_internal_pb.cjs.map +1 -0
  33. package/dist/gen/livekit_internal_pb.d.ts +481 -0
  34. package/dist/gen/livekit_internal_pb.d.ts.map +1 -0
  35. package/dist/gen/livekit_internal_pb.js +968 -0
  36. package/dist/gen/livekit_internal_pb.js.map +1 -0
  37. package/dist/gen/livekit_metrics_pb.cjs +371 -0
  38. package/dist/gen/livekit_metrics_pb.cjs.map +1 -0
  39. package/dist/gen/livekit_metrics_pb.d.ts +304 -0
  40. package/dist/gen/livekit_metrics_pb.d.ts.map +1 -0
  41. package/dist/gen/livekit_metrics_pb.js +344 -0
  42. package/dist/gen/livekit_metrics_pb.js.map +1 -0
  43. package/dist/gen/livekit_models_pb.cjs +3323 -0
  44. package/dist/gen/livekit_models_pb.cjs.map +1 -0
  45. package/dist/gen/livekit_models_pb.d.ts +2024 -0
  46. package/dist/gen/livekit_models_pb.d.ts.map +1 -0
  47. package/dist/gen/livekit_models_pb.js +3249 -0
  48. package/dist/gen/livekit_models_pb.js.map +1 -0
  49. package/dist/gen/livekit_room_pb.cjs +1080 -0
  50. package/dist/gen/livekit_room_pb.cjs.map +1 -0
  51. package/dist/gen/livekit_room_pb.d.ts +580 -0
  52. package/dist/gen/livekit_room_pb.d.ts.map +1 -0
  53. package/dist/gen/livekit_room_pb.js +1038 -0
  54. package/dist/gen/livekit_room_pb.js.map +1 -0
  55. package/dist/gen/livekit_rtc_pb.cjs +2261 -0
  56. package/dist/gen/livekit_rtc_pb.cjs.map +1 -0
  57. package/dist/gen/livekit_rtc_pb.d.ts +1602 -0
  58. package/dist/gen/livekit_rtc_pb.d.ts.map +1 -0
  59. package/dist/gen/livekit_rtc_pb.js +2192 -0
  60. package/dist/gen/livekit_rtc_pb.js.map +1 -0
  61. package/dist/gen/livekit_sip_pb.cjs +2118 -0
  62. package/dist/gen/livekit_sip_pb.cjs.map +1 -0
  63. package/dist/gen/livekit_sip_pb.d.ts +1226 -0
  64. package/dist/gen/livekit_sip_pb.d.ts.map +1 -0
  65. package/dist/gen/livekit_sip_pb.js +2061 -0
  66. package/dist/gen/livekit_sip_pb.js.map +1 -0
  67. package/dist/gen/livekit_webhook_pb.cjs +111 -0
  68. package/dist/gen/livekit_webhook_pb.cjs.map +1 -0
  69. package/dist/gen/livekit_webhook_pb.d.ts +71 -0
  70. package/dist/gen/livekit_webhook_pb.d.ts.map +1 -0
  71. package/dist/gen/livekit_webhook_pb.js +88 -0
  72. package/dist/gen/livekit_webhook_pb.js.map +1 -0
  73. package/dist/gen/version.cjs +28 -0
  74. package/dist/gen/version.cjs.map +1 -0
  75. package/dist/gen/version.d.ts +2 -0
  76. package/dist/gen/version.d.ts.map +1 -0
  77. package/dist/gen/version.js +5 -0
  78. package/dist/gen/version.js.map +1 -0
  79. package/dist/index.cjs +51 -0
  80. package/dist/index.cjs.map +1 -0
  81. package/{src → dist}/index.d.ts +1 -0
  82. package/dist/index.d.ts.map +1 -0
  83. package/{src → dist}/index.js +5 -2
  84. package/dist/index.js.map +1 -0
  85. package/package.json +18 -12
  86. package/src/gen/livekit_agent_dispatch_pb.d.ts +0 -253
  87. package/src/gen/livekit_agent_dispatch_pb.js +0 -103
  88. package/src/gen/livekit_agent_pb.d.ts +0 -741
  89. package/src/gen/livekit_agent_pb.js +0 -266
  90. package/src/gen/livekit_analytics_pb.d.ts +0 -889
  91. package/src/gen/livekit_analytics_pb.js +0 -264
  92. package/src/gen/livekit_egress_pb.d.ts +0 -2056
  93. package/src/gen/livekit_egress_pb.js +0 -594
  94. package/src/gen/livekit_ingress_pb.d.ts +0 -843
  95. package/src/gen/livekit_ingress_pb.js +0 -269
  96. package/src/gen/livekit_internal_pb.d.ts +0 -622
  97. package/src/gen/livekit_internal_pb.js +0 -191
  98. package/src/gen/livekit_metrics_pb.d.ts +0 -355
  99. package/src/gen/livekit_metrics_pb.js +0 -94
  100. package/src/gen/livekit_models_pb.d.ts +0 -2539
  101. package/src/gen/livekit_models_pb.js +0 -819
  102. package/src/gen/livekit_room_pb.d.ts +0 -774
  103. package/src/gen/livekit_room_pb.js +0 -259
  104. package/src/gen/livekit_rtc_pb.d.ts +0 -2001
  105. package/src/gen/livekit_rtc_pb.js +0 -634
  106. package/src/gen/livekit_sip_pb.d.ts +0 -1508
  107. package/src/gen/livekit_sip_pb.js +0 -468
  108. package/src/gen/livekit_webhook_pb.d.ts +0 -105
  109. package/src/gen/livekit_webhook_pb.js +0 -42
  110. package/src/gen/version.d.ts +0 -1
  111. package/src/gen/version.js +0 -2
@@ -1,2539 +0,0 @@
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.0 with parameter "target=js+dts"
16
- // @generated from file livekit_models.proto (package livekit, syntax proto3)
17
- /* eslint-disable */
18
- // @ts-nocheck
19
-
20
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
21
- import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { MetricsBatch } from "./livekit_metrics_pb.js";
23
-
24
- /**
25
- * @generated from enum livekit.AudioCodec
26
- */
27
- export declare enum AudioCodec {
28
- /**
29
- * @generated from enum value: DEFAULT_AC = 0;
30
- */
31
- DEFAULT_AC = 0,
32
-
33
- /**
34
- * @generated from enum value: OPUS = 1;
35
- */
36
- OPUS = 1,
37
-
38
- /**
39
- * @generated from enum value: AAC = 2;
40
- */
41
- AAC = 2,
42
- }
43
-
44
- /**
45
- * @generated from enum livekit.VideoCodec
46
- */
47
- export declare enum VideoCodec {
48
- /**
49
- * @generated from enum value: DEFAULT_VC = 0;
50
- */
51
- DEFAULT_VC = 0,
52
-
53
- /**
54
- * @generated from enum value: H264_BASELINE = 1;
55
- */
56
- H264_BASELINE = 1,
57
-
58
- /**
59
- * @generated from enum value: H264_MAIN = 2;
60
- */
61
- H264_MAIN = 2,
62
-
63
- /**
64
- * @generated from enum value: H264_HIGH = 3;
65
- */
66
- H264_HIGH = 3,
67
-
68
- /**
69
- * @generated from enum value: VP8 = 4;
70
- */
71
- VP8 = 4,
72
- }
73
-
74
- /**
75
- * @generated from enum livekit.ImageCodec
76
- */
77
- export declare enum ImageCodec {
78
- /**
79
- * @generated from enum value: IC_DEFAULT = 0;
80
- */
81
- IC_DEFAULT = 0,
82
-
83
- /**
84
- * @generated from enum value: IC_JPEG = 1;
85
- */
86
- IC_JPEG = 1,
87
- }
88
-
89
- /**
90
- * @generated from enum livekit.TrackType
91
- */
92
- export declare enum TrackType {
93
- /**
94
- * @generated from enum value: AUDIO = 0;
95
- */
96
- AUDIO = 0,
97
-
98
- /**
99
- * @generated from enum value: VIDEO = 1;
100
- */
101
- VIDEO = 1,
102
-
103
- /**
104
- * @generated from enum value: DATA = 2;
105
- */
106
- DATA = 2,
107
- }
108
-
109
- /**
110
- * @generated from enum livekit.TrackSource
111
- */
112
- export declare enum TrackSource {
113
- /**
114
- * @generated from enum value: UNKNOWN = 0;
115
- */
116
- UNKNOWN = 0,
117
-
118
- /**
119
- * @generated from enum value: CAMERA = 1;
120
- */
121
- CAMERA = 1,
122
-
123
- /**
124
- * @generated from enum value: MICROPHONE = 2;
125
- */
126
- MICROPHONE = 2,
127
-
128
- /**
129
- * @generated from enum value: SCREEN_SHARE = 3;
130
- */
131
- SCREEN_SHARE = 3,
132
-
133
- /**
134
- * @generated from enum value: SCREEN_SHARE_AUDIO = 4;
135
- */
136
- SCREEN_SHARE_AUDIO = 4,
137
- }
138
-
139
- /**
140
- * @generated from enum livekit.VideoQuality
141
- */
142
- export declare enum VideoQuality {
143
- /**
144
- * @generated from enum value: LOW = 0;
145
- */
146
- LOW = 0,
147
-
148
- /**
149
- * @generated from enum value: MEDIUM = 1;
150
- */
151
- MEDIUM = 1,
152
-
153
- /**
154
- * @generated from enum value: HIGH = 2;
155
- */
156
- HIGH = 2,
157
-
158
- /**
159
- * @generated from enum value: OFF = 3;
160
- */
161
- OFF = 3,
162
- }
163
-
164
- /**
165
- * @generated from enum livekit.ConnectionQuality
166
- */
167
- export declare enum ConnectionQuality {
168
- /**
169
- * @generated from enum value: POOR = 0;
170
- */
171
- POOR = 0,
172
-
173
- /**
174
- * @generated from enum value: GOOD = 1;
175
- */
176
- GOOD = 1,
177
-
178
- /**
179
- * @generated from enum value: EXCELLENT = 2;
180
- */
181
- EXCELLENT = 2,
182
-
183
- /**
184
- * @generated from enum value: LOST = 3;
185
- */
186
- LOST = 3,
187
- }
188
-
189
- /**
190
- * @generated from enum livekit.ClientConfigSetting
191
- */
192
- export declare enum ClientConfigSetting {
193
- /**
194
- * @generated from enum value: UNSET = 0;
195
- */
196
- UNSET = 0,
197
-
198
- /**
199
- * @generated from enum value: DISABLED = 1;
200
- */
201
- DISABLED = 1,
202
-
203
- /**
204
- * @generated from enum value: ENABLED = 2;
205
- */
206
- ENABLED = 2,
207
- }
208
-
209
- /**
210
- * @generated from enum livekit.DisconnectReason
211
- */
212
- export declare enum DisconnectReason {
213
- /**
214
- * @generated from enum value: UNKNOWN_REASON = 0;
215
- */
216
- UNKNOWN_REASON = 0,
217
-
218
- /**
219
- * the client initiated the disconnect
220
- *
221
- * @generated from enum value: CLIENT_INITIATED = 1;
222
- */
223
- CLIENT_INITIATED = 1,
224
-
225
- /**
226
- * another participant with the same identity has joined the room
227
- *
228
- * @generated from enum value: DUPLICATE_IDENTITY = 2;
229
- */
230
- DUPLICATE_IDENTITY = 2,
231
-
232
- /**
233
- * the server instance is shutting down
234
- *
235
- * @generated from enum value: SERVER_SHUTDOWN = 3;
236
- */
237
- SERVER_SHUTDOWN = 3,
238
-
239
- /**
240
- * RoomService.RemoveParticipant was called
241
- *
242
- * @generated from enum value: PARTICIPANT_REMOVED = 4;
243
- */
244
- PARTICIPANT_REMOVED = 4,
245
-
246
- /**
247
- * RoomService.DeleteRoom was called
248
- *
249
- * @generated from enum value: ROOM_DELETED = 5;
250
- */
251
- ROOM_DELETED = 5,
252
-
253
- /**
254
- * the client is attempting to resume a session, but server is not aware of it
255
- *
256
- * @generated from enum value: STATE_MISMATCH = 6;
257
- */
258
- STATE_MISMATCH = 6,
259
-
260
- /**
261
- * client was unable to connect fully
262
- *
263
- * @generated from enum value: JOIN_FAILURE = 7;
264
- */
265
- JOIN_FAILURE = 7,
266
-
267
- /**
268
- * Cloud-only, the server requested Participant to migrate the connection elsewhere
269
- *
270
- * @generated from enum value: MIGRATION = 8;
271
- */
272
- MIGRATION = 8,
273
-
274
- /**
275
- * the signal websocket was closed unexpectedly
276
- *
277
- * @generated from enum value: SIGNAL_CLOSE = 9;
278
- */
279
- SIGNAL_CLOSE = 9,
280
-
281
- /**
282
- * the room was closed, due to all Standard and Ingress participants having left
283
- *
284
- * @generated from enum value: ROOM_CLOSED = 10;
285
- */
286
- ROOM_CLOSED = 10,
287
-
288
- /**
289
- * SIP callee did not respond in time
290
- *
291
- * @generated from enum value: USER_UNAVAILABLE = 11;
292
- */
293
- USER_UNAVAILABLE = 11,
294
-
295
- /**
296
- * SIP callee rejected the call (busy)
297
- *
298
- * @generated from enum value: USER_REJECTED = 12;
299
- */
300
- USER_REJECTED = 12,
301
- }
302
-
303
- /**
304
- * @generated from enum livekit.ReconnectReason
305
- */
306
- export declare enum ReconnectReason {
307
- /**
308
- * @generated from enum value: RR_UNKNOWN = 0;
309
- */
310
- RR_UNKNOWN = 0,
311
-
312
- /**
313
- * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1;
314
- */
315
- RR_SIGNAL_DISCONNECTED = 1,
316
-
317
- /**
318
- * @generated from enum value: RR_PUBLISHER_FAILED = 2;
319
- */
320
- RR_PUBLISHER_FAILED = 2,
321
-
322
- /**
323
- * @generated from enum value: RR_SUBSCRIBER_FAILED = 3;
324
- */
325
- RR_SUBSCRIBER_FAILED = 3,
326
-
327
- /**
328
- * @generated from enum value: RR_SWITCH_CANDIDATE = 4;
329
- */
330
- RR_SWITCH_CANDIDATE = 4,
331
- }
332
-
333
- /**
334
- * @generated from enum livekit.SubscriptionError
335
- */
336
- export declare enum SubscriptionError {
337
- /**
338
- * @generated from enum value: SE_UNKNOWN = 0;
339
- */
340
- SE_UNKNOWN = 0,
341
-
342
- /**
343
- * @generated from enum value: SE_CODEC_UNSUPPORTED = 1;
344
- */
345
- SE_CODEC_UNSUPPORTED = 1,
346
-
347
- /**
348
- * @generated from enum value: SE_TRACK_NOTFOUND = 2;
349
- */
350
- SE_TRACK_NOTFOUND = 2,
351
- }
352
-
353
- /**
354
- * @generated from enum livekit.AudioTrackFeature
355
- */
356
- export declare enum AudioTrackFeature {
357
- /**
358
- * @generated from enum value: TF_STEREO = 0;
359
- */
360
- TF_STEREO = 0,
361
-
362
- /**
363
- * @generated from enum value: TF_NO_DTX = 1;
364
- */
365
- TF_NO_DTX = 1,
366
-
367
- /**
368
- * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2;
369
- */
370
- TF_AUTO_GAIN_CONTROL = 2,
371
-
372
- /**
373
- * @generated from enum value: TF_ECHO_CANCELLATION = 3;
374
- */
375
- TF_ECHO_CANCELLATION = 3,
376
-
377
- /**
378
- * @generated from enum value: TF_NOISE_SUPPRESSION = 4;
379
- */
380
- TF_NOISE_SUPPRESSION = 4,
381
-
382
- /**
383
- * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;
384
- */
385
- TF_ENHANCED_NOISE_CANCELLATION = 5,
386
- }
387
-
388
- /**
389
- * @generated from message livekit.Room
390
- */
391
- export declare class Room extends Message<Room> {
392
- /**
393
- * @generated from field: string sid = 1;
394
- */
395
- sid: string;
396
-
397
- /**
398
- * @generated from field: string name = 2;
399
- */
400
- name: string;
401
-
402
- /**
403
- * @generated from field: uint32 empty_timeout = 3;
404
- */
405
- emptyTimeout: number;
406
-
407
- /**
408
- * @generated from field: uint32 departure_timeout = 14;
409
- */
410
- departureTimeout: number;
411
-
412
- /**
413
- * @generated from field: uint32 max_participants = 4;
414
- */
415
- maxParticipants: number;
416
-
417
- /**
418
- * @generated from field: int64 creation_time = 5;
419
- */
420
- creationTime: bigint;
421
-
422
- /**
423
- * @generated from field: string turn_password = 6;
424
- */
425
- turnPassword: string;
426
-
427
- /**
428
- * @generated from field: repeated livekit.Codec enabled_codecs = 7;
429
- */
430
- enabledCodecs: Codec[];
431
-
432
- /**
433
- * @generated from field: string metadata = 8;
434
- */
435
- metadata: string;
436
-
437
- /**
438
- * @generated from field: uint32 num_participants = 9;
439
- */
440
- numParticipants: number;
441
-
442
- /**
443
- * @generated from field: uint32 num_publishers = 11;
444
- */
445
- numPublishers: number;
446
-
447
- /**
448
- * @generated from field: bool active_recording = 10;
449
- */
450
- activeRecording: boolean;
451
-
452
- /**
453
- * @generated from field: livekit.TimedVersion version = 13;
454
- */
455
- version?: TimedVersion;
456
-
457
- constructor(data?: PartialMessage<Room>);
458
-
459
- static readonly runtime: typeof proto3;
460
- static readonly typeName = "livekit.Room";
461
- static readonly fields: FieldList;
462
-
463
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Room;
464
-
465
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Room;
466
-
467
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Room;
468
-
469
- static equals(a: Room | PlainMessage<Room> | undefined, b: Room | PlainMessage<Room> | undefined): boolean;
470
- }
471
-
472
- /**
473
- * @generated from message livekit.Codec
474
- */
475
- export declare class Codec extends Message<Codec> {
476
- /**
477
- * @generated from field: string mime = 1;
478
- */
479
- mime: string;
480
-
481
- /**
482
- * @generated from field: string fmtp_line = 2;
483
- */
484
- fmtpLine: string;
485
-
486
- constructor(data?: PartialMessage<Codec>);
487
-
488
- static readonly runtime: typeof proto3;
489
- static readonly typeName = "livekit.Codec";
490
- static readonly fields: FieldList;
491
-
492
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Codec;
493
-
494
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Codec;
495
-
496
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Codec;
497
-
498
- static equals(a: Codec | PlainMessage<Codec> | undefined, b: Codec | PlainMessage<Codec> | undefined): boolean;
499
- }
500
-
501
- /**
502
- * @generated from message livekit.PlayoutDelay
503
- */
504
- export declare class PlayoutDelay extends Message<PlayoutDelay> {
505
- /**
506
- * @generated from field: bool enabled = 1;
507
- */
508
- enabled: boolean;
509
-
510
- /**
511
- * @generated from field: uint32 min = 2;
512
- */
513
- min: number;
514
-
515
- /**
516
- * @generated from field: uint32 max = 3;
517
- */
518
- max: number;
519
-
520
- constructor(data?: PartialMessage<PlayoutDelay>);
521
-
522
- static readonly runtime: typeof proto3;
523
- static readonly typeName = "livekit.PlayoutDelay";
524
- static readonly fields: FieldList;
525
-
526
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayoutDelay;
527
-
528
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayoutDelay;
529
-
530
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayoutDelay;
531
-
532
- static equals(a: PlayoutDelay | PlainMessage<PlayoutDelay> | undefined, b: PlayoutDelay | PlainMessage<PlayoutDelay> | undefined): boolean;
533
- }
534
-
535
- /**
536
- * @generated from message livekit.ParticipantPermission
537
- */
538
- export declare class ParticipantPermission extends Message<ParticipantPermission> {
539
- /**
540
- * allow participant to subscribe to other tracks in the room
541
- *
542
- * @generated from field: bool can_subscribe = 1;
543
- */
544
- canSubscribe: boolean;
545
-
546
- /**
547
- * allow participant to publish new tracks to room
548
- *
549
- * @generated from field: bool can_publish = 2;
550
- */
551
- canPublish: boolean;
552
-
553
- /**
554
- * allow participant to publish data
555
- *
556
- * @generated from field: bool can_publish_data = 3;
557
- */
558
- canPublishData: boolean;
559
-
560
- /**
561
- * sources that are allowed to be published
562
- *
563
- * @generated from field: repeated livekit.TrackSource can_publish_sources = 9;
564
- */
565
- canPublishSources: TrackSource[];
566
-
567
- /**
568
- * indicates that it's hidden to others
569
- *
570
- * @generated from field: bool hidden = 7;
571
- */
572
- hidden: boolean;
573
-
574
- /**
575
- * indicates it's a recorder instance
576
- * deprecated: use ParticipantInfo.kind instead
577
- *
578
- * @generated from field: bool recorder = 8 [deprecated = true];
579
- * @deprecated
580
- */
581
- recorder: boolean;
582
-
583
- /**
584
- * indicates that participant can update own metadata and attributes
585
- *
586
- * @generated from field: bool can_update_metadata = 10;
587
- */
588
- canUpdateMetadata: boolean;
589
-
590
- /**
591
- * indicates that participant is an agent
592
- * deprecated: use ParticipantInfo.kind instead
593
- *
594
- * @generated from field: bool agent = 11 [deprecated = true];
595
- * @deprecated
596
- */
597
- agent: boolean;
598
-
599
- /**
600
- * if a participant can subscribe to metrics
601
- *
602
- * @generated from field: bool can_subscribe_metrics = 12;
603
- */
604
- canSubscribeMetrics: boolean;
605
-
606
- constructor(data?: PartialMessage<ParticipantPermission>);
607
-
608
- static readonly runtime: typeof proto3;
609
- static readonly typeName = "livekit.ParticipantPermission";
610
- static readonly fields: FieldList;
611
-
612
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantPermission;
613
-
614
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantPermission;
615
-
616
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantPermission;
617
-
618
- static equals(a: ParticipantPermission | PlainMessage<ParticipantPermission> | undefined, b: ParticipantPermission | PlainMessage<ParticipantPermission> | undefined): boolean;
619
- }
620
-
621
- /**
622
- * @generated from message livekit.ParticipantInfo
623
- */
624
- export declare class ParticipantInfo extends Message<ParticipantInfo> {
625
- /**
626
- * @generated from field: string sid = 1;
627
- */
628
- sid: string;
629
-
630
- /**
631
- * @generated from field: string identity = 2;
632
- */
633
- identity: string;
634
-
635
- /**
636
- * @generated from field: livekit.ParticipantInfo.State state = 3;
637
- */
638
- state: ParticipantInfo_State;
639
-
640
- /**
641
- * @generated from field: repeated livekit.TrackInfo tracks = 4;
642
- */
643
- tracks: TrackInfo[];
644
-
645
- /**
646
- * @generated from field: string metadata = 5;
647
- */
648
- metadata: string;
649
-
650
- /**
651
- * timestamp when participant joined room, in seconds
652
- *
653
- * @generated from field: int64 joined_at = 6;
654
- */
655
- joinedAt: bigint;
656
-
657
- /**
658
- * @generated from field: string name = 9;
659
- */
660
- name: string;
661
-
662
- /**
663
- * @generated from field: uint32 version = 10;
664
- */
665
- version: number;
666
-
667
- /**
668
- * @generated from field: livekit.ParticipantPermission permission = 11;
669
- */
670
- permission?: ParticipantPermission;
671
-
672
- /**
673
- * @generated from field: string region = 12;
674
- */
675
- region: string;
676
-
677
- /**
678
- * indicates the participant has an active publisher connection
679
- * and can publish to the server
680
- *
681
- * @generated from field: bool is_publisher = 13;
682
- */
683
- isPublisher: boolean;
684
-
685
- /**
686
- * @generated from field: livekit.ParticipantInfo.Kind kind = 14;
687
- */
688
- kind: ParticipantInfo_Kind;
689
-
690
- /**
691
- * @generated from field: map<string, string> attributes = 15;
692
- */
693
- attributes: { [key: string]: string };
694
-
695
- /**
696
- * @generated from field: livekit.DisconnectReason disconnect_reason = 16;
697
- */
698
- disconnectReason: DisconnectReason;
699
-
700
- constructor(data?: PartialMessage<ParticipantInfo>);
701
-
702
- static readonly runtime: typeof proto3;
703
- static readonly typeName = "livekit.ParticipantInfo";
704
- static readonly fields: FieldList;
705
-
706
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantInfo;
707
-
708
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantInfo;
709
-
710
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantInfo;
711
-
712
- static equals(a: ParticipantInfo | PlainMessage<ParticipantInfo> | undefined, b: ParticipantInfo | PlainMessage<ParticipantInfo> | undefined): boolean;
713
- }
714
-
715
- /**
716
- * @generated from enum livekit.ParticipantInfo.State
717
- */
718
- export declare enum ParticipantInfo_State {
719
- /**
720
- * websocket' connected, but not offered yet
721
- *
722
- * @generated from enum value: JOINING = 0;
723
- */
724
- JOINING = 0,
725
-
726
- /**
727
- * server received client offer
728
- *
729
- * @generated from enum value: JOINED = 1;
730
- */
731
- JOINED = 1,
732
-
733
- /**
734
- * ICE connectivity established
735
- *
736
- * @generated from enum value: ACTIVE = 2;
737
- */
738
- ACTIVE = 2,
739
-
740
- /**
741
- * WS disconnected
742
- *
743
- * @generated from enum value: DISCONNECTED = 3;
744
- */
745
- DISCONNECTED = 3,
746
- }
747
-
748
- /**
749
- * @generated from enum livekit.ParticipantInfo.Kind
750
- */
751
- export declare enum ParticipantInfo_Kind {
752
- /**
753
- * standard participants, e.g. web clients
754
- *
755
- * @generated from enum value: STANDARD = 0;
756
- */
757
- STANDARD = 0,
758
-
759
- /**
760
- * only ingests streams
761
- *
762
- * @generated from enum value: INGRESS = 1;
763
- */
764
- INGRESS = 1,
765
-
766
- /**
767
- * only consumes streams
768
- *
769
- * @generated from enum value: EGRESS = 2;
770
- */
771
- EGRESS = 2,
772
-
773
- /**
774
- * SIP participants
775
- *
776
- * @generated from enum value: SIP = 3;
777
- */
778
- SIP = 3,
779
-
780
- /**
781
- * LiveKit agents
782
- *
783
- * @generated from enum value: AGENT = 4;
784
- */
785
- AGENT = 4,
786
- }
787
-
788
- /**
789
- * @generated from message livekit.Encryption
790
- */
791
- export declare class Encryption extends Message<Encryption> {
792
- constructor(data?: PartialMessage<Encryption>);
793
-
794
- static readonly runtime: typeof proto3;
795
- static readonly typeName = "livekit.Encryption";
796
- static readonly fields: FieldList;
797
-
798
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Encryption;
799
-
800
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Encryption;
801
-
802
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Encryption;
803
-
804
- static equals(a: Encryption | PlainMessage<Encryption> | undefined, b: Encryption | PlainMessage<Encryption> | undefined): boolean;
805
- }
806
-
807
- /**
808
- * @generated from enum livekit.Encryption.Type
809
- */
810
- export declare enum Encryption_Type {
811
- /**
812
- * @generated from enum value: NONE = 0;
813
- */
814
- NONE = 0,
815
-
816
- /**
817
- * @generated from enum value: GCM = 1;
818
- */
819
- GCM = 1,
820
-
821
- /**
822
- * @generated from enum value: CUSTOM = 2;
823
- */
824
- CUSTOM = 2,
825
- }
826
-
827
- /**
828
- * @generated from message livekit.SimulcastCodecInfo
829
- */
830
- export declare class SimulcastCodecInfo extends Message<SimulcastCodecInfo> {
831
- /**
832
- * @generated from field: string mime_type = 1;
833
- */
834
- mimeType: string;
835
-
836
- /**
837
- * @generated from field: string mid = 2;
838
- */
839
- mid: string;
840
-
841
- /**
842
- * @generated from field: string cid = 3;
843
- */
844
- cid: string;
845
-
846
- /**
847
- * @generated from field: repeated livekit.VideoLayer layers = 4;
848
- */
849
- layers: VideoLayer[];
850
-
851
- constructor(data?: PartialMessage<SimulcastCodecInfo>);
852
-
853
- static readonly runtime: typeof proto3;
854
- static readonly typeName = "livekit.SimulcastCodecInfo";
855
- static readonly fields: FieldList;
856
-
857
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulcastCodecInfo;
858
-
859
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulcastCodecInfo;
860
-
861
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulcastCodecInfo;
862
-
863
- static equals(a: SimulcastCodecInfo | PlainMessage<SimulcastCodecInfo> | undefined, b: SimulcastCodecInfo | PlainMessage<SimulcastCodecInfo> | undefined): boolean;
864
- }
865
-
866
- /**
867
- * @generated from message livekit.TrackInfo
868
- */
869
- export declare class TrackInfo extends Message<TrackInfo> {
870
- /**
871
- * @generated from field: string sid = 1;
872
- */
873
- sid: string;
874
-
875
- /**
876
- * @generated from field: livekit.TrackType type = 2;
877
- */
878
- type: TrackType;
879
-
880
- /**
881
- * @generated from field: string name = 3;
882
- */
883
- name: string;
884
-
885
- /**
886
- * @generated from field: bool muted = 4;
887
- */
888
- muted: boolean;
889
-
890
- /**
891
- * original width of video (unset for audio)
892
- * clients may receive a lower resolution version with simulcast
893
- *
894
- * @generated from field: uint32 width = 5;
895
- */
896
- width: number;
897
-
898
- /**
899
- * original height of video (unset for audio)
900
- *
901
- * @generated from field: uint32 height = 6;
902
- */
903
- height: number;
904
-
905
- /**
906
- * true if track is simulcasted
907
- *
908
- * @generated from field: bool simulcast = 7;
909
- */
910
- simulcast: boolean;
911
-
912
- /**
913
- * true if DTX (Discontinuous Transmission) is disabled for audio
914
- *
915
- * @generated from field: bool disable_dtx = 8;
916
- */
917
- disableDtx: boolean;
918
-
919
- /**
920
- * source of media
921
- *
922
- * @generated from field: livekit.TrackSource source = 9;
923
- */
924
- source: TrackSource;
925
-
926
- /**
927
- * @generated from field: repeated livekit.VideoLayer layers = 10;
928
- */
929
- layers: VideoLayer[];
930
-
931
- /**
932
- * mime type of codec
933
- *
934
- * @generated from field: string mime_type = 11;
935
- */
936
- mimeType: string;
937
-
938
- /**
939
- * @generated from field: string mid = 12;
940
- */
941
- mid: string;
942
-
943
- /**
944
- * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13;
945
- */
946
- codecs: SimulcastCodecInfo[];
947
-
948
- /**
949
- * @generated from field: bool stereo = 14;
950
- */
951
- stereo: boolean;
952
-
953
- /**
954
- * true if RED (Redundant Encoding) is disabled for audio
955
- *
956
- * @generated from field: bool disable_red = 15;
957
- */
958
- disableRed: boolean;
959
-
960
- /**
961
- * @generated from field: livekit.Encryption.Type encryption = 16;
962
- */
963
- encryption: Encryption_Type;
964
-
965
- /**
966
- * @generated from field: string stream = 17;
967
- */
968
- stream: string;
969
-
970
- /**
971
- * @generated from field: livekit.TimedVersion version = 18;
972
- */
973
- version?: TimedVersion;
974
-
975
- /**
976
- * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;
977
- */
978
- audioFeatures: AudioTrackFeature[];
979
-
980
- constructor(data?: PartialMessage<TrackInfo>);
981
-
982
- static readonly runtime: typeof proto3;
983
- static readonly typeName = "livekit.TrackInfo";
984
- static readonly fields: FieldList;
985
-
986
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackInfo;
987
-
988
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackInfo;
989
-
990
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackInfo;
991
-
992
- static equals(a: TrackInfo | PlainMessage<TrackInfo> | undefined, b: TrackInfo | PlainMessage<TrackInfo> | undefined): boolean;
993
- }
994
-
995
- /**
996
- * provide information about available spatial layers
997
- *
998
- * @generated from message livekit.VideoLayer
999
- */
1000
- export declare class VideoLayer extends Message<VideoLayer> {
1001
- /**
1002
- * for tracks with a single layer, this should be HIGH
1003
- *
1004
- * @generated from field: livekit.VideoQuality quality = 1;
1005
- */
1006
- quality: VideoQuality;
1007
-
1008
- /**
1009
- * @generated from field: uint32 width = 2;
1010
- */
1011
- width: number;
1012
-
1013
- /**
1014
- * @generated from field: uint32 height = 3;
1015
- */
1016
- height: number;
1017
-
1018
- /**
1019
- * target bitrate in bit per second (bps), server will measure actual
1020
- *
1021
- * @generated from field: uint32 bitrate = 4;
1022
- */
1023
- bitrate: number;
1024
-
1025
- /**
1026
- * @generated from field: uint32 ssrc = 5;
1027
- */
1028
- ssrc: number;
1029
-
1030
- constructor(data?: PartialMessage<VideoLayer>);
1031
-
1032
- static readonly runtime: typeof proto3;
1033
- static readonly typeName = "livekit.VideoLayer";
1034
- static readonly fields: FieldList;
1035
-
1036
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoLayer;
1037
-
1038
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoLayer;
1039
-
1040
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoLayer;
1041
-
1042
- static equals(a: VideoLayer | PlainMessage<VideoLayer> | undefined, b: VideoLayer | PlainMessage<VideoLayer> | undefined): boolean;
1043
- }
1044
-
1045
- /**
1046
- * new DataPacket API
1047
- *
1048
- * @generated from message livekit.DataPacket
1049
- */
1050
- export declare class DataPacket extends Message<DataPacket> {
1051
- /**
1052
- * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true];
1053
- * @deprecated
1054
- */
1055
- kind: DataPacket_Kind;
1056
-
1057
- /**
1058
- * participant identity of user that sent the message
1059
- *
1060
- * @generated from field: string participant_identity = 4;
1061
- */
1062
- participantIdentity: string;
1063
-
1064
- /**
1065
- * identities of participants who will receive the message (sent to all by default)
1066
- *
1067
- * @generated from field: repeated string destination_identities = 5;
1068
- */
1069
- destinationIdentities: string[];
1070
-
1071
- /**
1072
- * @generated from oneof livekit.DataPacket.value
1073
- */
1074
- value: {
1075
- /**
1076
- * @generated from field: livekit.UserPacket user = 2;
1077
- */
1078
- value: UserPacket;
1079
- case: "user";
1080
- } | {
1081
- /**
1082
- * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true];
1083
- * @deprecated
1084
- */
1085
- value: ActiveSpeakerUpdate;
1086
- case: "speaker";
1087
- } | {
1088
- /**
1089
- * @generated from field: livekit.SipDTMF sip_dtmf = 6;
1090
- */
1091
- value: SipDTMF;
1092
- case: "sipDtmf";
1093
- } | {
1094
- /**
1095
- * @generated from field: livekit.Transcription transcription = 7;
1096
- */
1097
- value: Transcription;
1098
- case: "transcription";
1099
- } | {
1100
- /**
1101
- * @generated from field: livekit.MetricsBatch metrics = 8;
1102
- */
1103
- value: MetricsBatch;
1104
- case: "metrics";
1105
- } | {
1106
- /**
1107
- * @generated from field: livekit.ChatMessage chat_message = 9;
1108
- */
1109
- value: ChatMessage;
1110
- case: "chatMessage";
1111
- } | {
1112
- /**
1113
- * @generated from field: livekit.RpcRequest rpc_request = 10;
1114
- */
1115
- value: RpcRequest;
1116
- case: "rpcRequest";
1117
- } | {
1118
- /**
1119
- * @generated from field: livekit.RpcAck rpc_ack = 11;
1120
- */
1121
- value: RpcAck;
1122
- case: "rpcAck";
1123
- } | {
1124
- /**
1125
- * @generated from field: livekit.RpcResponse rpc_response = 12;
1126
- */
1127
- value: RpcResponse;
1128
- case: "rpcResponse";
1129
- } | { case: undefined; value?: undefined };
1130
-
1131
- constructor(data?: PartialMessage<DataPacket>);
1132
-
1133
- static readonly runtime: typeof proto3;
1134
- static readonly typeName = "livekit.DataPacket";
1135
- static readonly fields: FieldList;
1136
-
1137
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataPacket;
1138
-
1139
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataPacket;
1140
-
1141
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataPacket;
1142
-
1143
- static equals(a: DataPacket | PlainMessage<DataPacket> | undefined, b: DataPacket | PlainMessage<DataPacket> | undefined): boolean;
1144
- }
1145
-
1146
- /**
1147
- * @generated from enum livekit.DataPacket.Kind
1148
- */
1149
- export declare enum DataPacket_Kind {
1150
- /**
1151
- * @generated from enum value: RELIABLE = 0;
1152
- */
1153
- RELIABLE = 0,
1154
-
1155
- /**
1156
- * @generated from enum value: LOSSY = 1;
1157
- */
1158
- LOSSY = 1,
1159
- }
1160
-
1161
- /**
1162
- * @generated from message livekit.ActiveSpeakerUpdate
1163
- */
1164
- export declare class ActiveSpeakerUpdate extends Message<ActiveSpeakerUpdate> {
1165
- /**
1166
- * @generated from field: repeated livekit.SpeakerInfo speakers = 1;
1167
- */
1168
- speakers: SpeakerInfo[];
1169
-
1170
- constructor(data?: PartialMessage<ActiveSpeakerUpdate>);
1171
-
1172
- static readonly runtime: typeof proto3;
1173
- static readonly typeName = "livekit.ActiveSpeakerUpdate";
1174
- static readonly fields: FieldList;
1175
-
1176
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ActiveSpeakerUpdate;
1177
-
1178
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ActiveSpeakerUpdate;
1179
-
1180
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ActiveSpeakerUpdate;
1181
-
1182
- static equals(a: ActiveSpeakerUpdate | PlainMessage<ActiveSpeakerUpdate> | undefined, b: ActiveSpeakerUpdate | PlainMessage<ActiveSpeakerUpdate> | undefined): boolean;
1183
- }
1184
-
1185
- /**
1186
- * @generated from message livekit.SpeakerInfo
1187
- */
1188
- export declare class SpeakerInfo extends Message<SpeakerInfo> {
1189
- /**
1190
- * @generated from field: string sid = 1;
1191
- */
1192
- sid: string;
1193
-
1194
- /**
1195
- * audio level, 0-1.0, 1 is loudest
1196
- *
1197
- * @generated from field: float level = 2;
1198
- */
1199
- level: number;
1200
-
1201
- /**
1202
- * true if speaker is currently active
1203
- *
1204
- * @generated from field: bool active = 3;
1205
- */
1206
- active: boolean;
1207
-
1208
- constructor(data?: PartialMessage<SpeakerInfo>);
1209
-
1210
- static readonly runtime: typeof proto3;
1211
- static readonly typeName = "livekit.SpeakerInfo";
1212
- static readonly fields: FieldList;
1213
-
1214
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpeakerInfo;
1215
-
1216
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpeakerInfo;
1217
-
1218
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpeakerInfo;
1219
-
1220
- static equals(a: SpeakerInfo | PlainMessage<SpeakerInfo> | undefined, b: SpeakerInfo | PlainMessage<SpeakerInfo> | undefined): boolean;
1221
- }
1222
-
1223
- /**
1224
- * @generated from message livekit.UserPacket
1225
- */
1226
- export declare class UserPacket extends Message<UserPacket> {
1227
- /**
1228
- * participant ID of user that sent the message
1229
- *
1230
- * @generated from field: string participant_sid = 1 [deprecated = true];
1231
- * @deprecated
1232
- */
1233
- participantSid: string;
1234
-
1235
- /**
1236
- * @generated from field: string participant_identity = 5 [deprecated = true];
1237
- * @deprecated
1238
- */
1239
- participantIdentity: string;
1240
-
1241
- /**
1242
- * user defined payload
1243
- *
1244
- * @generated from field: bytes payload = 2;
1245
- */
1246
- payload: Uint8Array;
1247
-
1248
- /**
1249
- * the ID of the participants who will receive the message (sent to all by default)
1250
- *
1251
- * @generated from field: repeated string destination_sids = 3 [deprecated = true];
1252
- * @deprecated
1253
- */
1254
- destinationSids: string[];
1255
-
1256
- /**
1257
- * identities of participants who will receive the message (sent to all by default)
1258
- *
1259
- * @generated from field: repeated string destination_identities = 6 [deprecated = true];
1260
- * @deprecated
1261
- */
1262
- destinationIdentities: string[];
1263
-
1264
- /**
1265
- * topic under which the message was published
1266
- *
1267
- * @generated from field: optional string topic = 4;
1268
- */
1269
- topic?: string;
1270
-
1271
- /**
1272
- * Unique ID to indentify the message
1273
- *
1274
- * @generated from field: optional string id = 8;
1275
- */
1276
- id?: string;
1277
-
1278
- /**
1279
- * start and end time allow relating the message to specific media time
1280
- *
1281
- * @generated from field: optional uint64 start_time = 9;
1282
- */
1283
- startTime?: bigint;
1284
-
1285
- /**
1286
- * @generated from field: optional uint64 end_time = 10;
1287
- */
1288
- endTime?: bigint;
1289
-
1290
- constructor(data?: PartialMessage<UserPacket>);
1291
-
1292
- static readonly runtime: typeof proto3;
1293
- static readonly typeName = "livekit.UserPacket";
1294
- static readonly fields: FieldList;
1295
-
1296
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserPacket;
1297
-
1298
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserPacket;
1299
-
1300
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserPacket;
1301
-
1302
- static equals(a: UserPacket | PlainMessage<UserPacket> | undefined, b: UserPacket | PlainMessage<UserPacket> | undefined): boolean;
1303
- }
1304
-
1305
- /**
1306
- * @generated from message livekit.SipDTMF
1307
- */
1308
- export declare class SipDTMF extends Message<SipDTMF> {
1309
- /**
1310
- * @generated from field: uint32 code = 3;
1311
- */
1312
- code: number;
1313
-
1314
- /**
1315
- * @generated from field: string digit = 4;
1316
- */
1317
- digit: string;
1318
-
1319
- constructor(data?: PartialMessage<SipDTMF>);
1320
-
1321
- static readonly runtime: typeof proto3;
1322
- static readonly typeName = "livekit.SipDTMF";
1323
- static readonly fields: FieldList;
1324
-
1325
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipDTMF;
1326
-
1327
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipDTMF;
1328
-
1329
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipDTMF;
1330
-
1331
- static equals(a: SipDTMF | PlainMessage<SipDTMF> | undefined, b: SipDTMF | PlainMessage<SipDTMF> | undefined): boolean;
1332
- }
1333
-
1334
- /**
1335
- * @generated from message livekit.Transcription
1336
- */
1337
- export declare class Transcription extends Message<Transcription> {
1338
- /**
1339
- * Participant that got its speech transcribed
1340
- *
1341
- * @generated from field: string transcribed_participant_identity = 2;
1342
- */
1343
- transcribedParticipantIdentity: string;
1344
-
1345
- /**
1346
- * @generated from field: string track_id = 3;
1347
- */
1348
- trackId: string;
1349
-
1350
- /**
1351
- * @generated from field: repeated livekit.TranscriptionSegment segments = 4;
1352
- */
1353
- segments: TranscriptionSegment[];
1354
-
1355
- constructor(data?: PartialMessage<Transcription>);
1356
-
1357
- static readonly runtime: typeof proto3;
1358
- static readonly typeName = "livekit.Transcription";
1359
- static readonly fields: FieldList;
1360
-
1361
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Transcription;
1362
-
1363
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Transcription;
1364
-
1365
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Transcription;
1366
-
1367
- static equals(a: Transcription | PlainMessage<Transcription> | undefined, b: Transcription | PlainMessage<Transcription> | undefined): boolean;
1368
- }
1369
-
1370
- /**
1371
- * @generated from message livekit.TranscriptionSegment
1372
- */
1373
- export declare class TranscriptionSegment extends Message<TranscriptionSegment> {
1374
- /**
1375
- * @generated from field: string id = 1;
1376
- */
1377
- id: string;
1378
-
1379
- /**
1380
- * @generated from field: string text = 2;
1381
- */
1382
- text: string;
1383
-
1384
- /**
1385
- * @generated from field: uint64 start_time = 3;
1386
- */
1387
- startTime: bigint;
1388
-
1389
- /**
1390
- * @generated from field: uint64 end_time = 4;
1391
- */
1392
- endTime: bigint;
1393
-
1394
- /**
1395
- * @generated from field: bool final = 5;
1396
- */
1397
- final: boolean;
1398
-
1399
- /**
1400
- * @generated from field: string language = 6;
1401
- */
1402
- language: string;
1403
-
1404
- constructor(data?: PartialMessage<TranscriptionSegment>);
1405
-
1406
- static readonly runtime: typeof proto3;
1407
- static readonly typeName = "livekit.TranscriptionSegment";
1408
- static readonly fields: FieldList;
1409
-
1410
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionSegment;
1411
-
1412
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionSegment;
1413
-
1414
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionSegment;
1415
-
1416
- static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean;
1417
- }
1418
-
1419
- /**
1420
- * @generated from message livekit.ChatMessage
1421
- */
1422
- export declare class ChatMessage extends Message<ChatMessage> {
1423
- /**
1424
- * uuid
1425
- *
1426
- * @generated from field: string id = 1;
1427
- */
1428
- id: string;
1429
-
1430
- /**
1431
- * @generated from field: int64 timestamp = 2;
1432
- */
1433
- timestamp: bigint;
1434
-
1435
- /**
1436
- * populated only if the intent is to edit/update an existing message
1437
- *
1438
- * @generated from field: optional int64 edit_timestamp = 3;
1439
- */
1440
- editTimestamp?: bigint;
1441
-
1442
- /**
1443
- * @generated from field: string message = 4;
1444
- */
1445
- message: string;
1446
-
1447
- /**
1448
- * true to remove message
1449
- *
1450
- * @generated from field: bool deleted = 5;
1451
- */
1452
- deleted: boolean;
1453
-
1454
- /**
1455
- * true if the chat message has been generated by an agent from a participant's audio transcription
1456
- *
1457
- * @generated from field: bool generated = 6;
1458
- */
1459
- generated: boolean;
1460
-
1461
- constructor(data?: PartialMessage<ChatMessage>);
1462
-
1463
- static readonly runtime: typeof proto3;
1464
- static readonly typeName = "livekit.ChatMessage";
1465
- static readonly fields: FieldList;
1466
-
1467
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatMessage;
1468
-
1469
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatMessage;
1470
-
1471
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessage;
1472
-
1473
- static equals(a: ChatMessage | PlainMessage<ChatMessage> | undefined, b: ChatMessage | PlainMessage<ChatMessage> | undefined): boolean;
1474
- }
1475
-
1476
- /**
1477
- * @generated from message livekit.RpcRequest
1478
- */
1479
- export declare class RpcRequest extends Message<RpcRequest> {
1480
- /**
1481
- * @generated from field: string id = 1;
1482
- */
1483
- id: string;
1484
-
1485
- /**
1486
- * @generated from field: string method = 2;
1487
- */
1488
- method: string;
1489
-
1490
- /**
1491
- * @generated from field: string payload = 3;
1492
- */
1493
- payload: string;
1494
-
1495
- /**
1496
- * @generated from field: uint32 response_timeout_ms = 4;
1497
- */
1498
- responseTimeoutMs: number;
1499
-
1500
- /**
1501
- * @generated from field: uint32 version = 5;
1502
- */
1503
- version: number;
1504
-
1505
- constructor(data?: PartialMessage<RpcRequest>);
1506
-
1507
- static readonly runtime: typeof proto3;
1508
- static readonly typeName = "livekit.RpcRequest";
1509
- static readonly fields: FieldList;
1510
-
1511
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcRequest;
1512
-
1513
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcRequest;
1514
-
1515
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcRequest;
1516
-
1517
- static equals(a: RpcRequest | PlainMessage<RpcRequest> | undefined, b: RpcRequest | PlainMessage<RpcRequest> | undefined): boolean;
1518
- }
1519
-
1520
- /**
1521
- * @generated from message livekit.RpcAck
1522
- */
1523
- export declare class RpcAck extends Message<RpcAck> {
1524
- /**
1525
- * @generated from field: string request_id = 1;
1526
- */
1527
- requestId: string;
1528
-
1529
- constructor(data?: PartialMessage<RpcAck>);
1530
-
1531
- static readonly runtime: typeof proto3;
1532
- static readonly typeName = "livekit.RpcAck";
1533
- static readonly fields: FieldList;
1534
-
1535
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcAck;
1536
-
1537
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcAck;
1538
-
1539
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcAck;
1540
-
1541
- static equals(a: RpcAck | PlainMessage<RpcAck> | undefined, b: RpcAck | PlainMessage<RpcAck> | undefined): boolean;
1542
- }
1543
-
1544
- /**
1545
- * @generated from message livekit.RpcResponse
1546
- */
1547
- export declare class RpcResponse extends Message<RpcResponse> {
1548
- /**
1549
- * @generated from field: string request_id = 1;
1550
- */
1551
- requestId: string;
1552
-
1553
- /**
1554
- * @generated from oneof livekit.RpcResponse.value
1555
- */
1556
- value: {
1557
- /**
1558
- * @generated from field: string payload = 2;
1559
- */
1560
- value: string;
1561
- case: "payload";
1562
- } | {
1563
- /**
1564
- * @generated from field: livekit.RpcError error = 3;
1565
- */
1566
- value: RpcError;
1567
- case: "error";
1568
- } | { case: undefined; value?: undefined };
1569
-
1570
- constructor(data?: PartialMessage<RpcResponse>);
1571
-
1572
- static readonly runtime: typeof proto3;
1573
- static readonly typeName = "livekit.RpcResponse";
1574
- static readonly fields: FieldList;
1575
-
1576
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcResponse;
1577
-
1578
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcResponse;
1579
-
1580
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcResponse;
1581
-
1582
- static equals(a: RpcResponse | PlainMessage<RpcResponse> | undefined, b: RpcResponse | PlainMessage<RpcResponse> | undefined): boolean;
1583
- }
1584
-
1585
- /**
1586
- * @generated from message livekit.RpcError
1587
- */
1588
- export declare class RpcError extends Message<RpcError> {
1589
- /**
1590
- * @generated from field: uint32 code = 1;
1591
- */
1592
- code: number;
1593
-
1594
- /**
1595
- * @generated from field: string message = 2;
1596
- */
1597
- message: string;
1598
-
1599
- /**
1600
- * @generated from field: string data = 3;
1601
- */
1602
- data: string;
1603
-
1604
- constructor(data?: PartialMessage<RpcError>);
1605
-
1606
- static readonly runtime: typeof proto3;
1607
- static readonly typeName = "livekit.RpcError";
1608
- static readonly fields: FieldList;
1609
-
1610
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcError;
1611
-
1612
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcError;
1613
-
1614
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcError;
1615
-
1616
- static equals(a: RpcError | PlainMessage<RpcError> | undefined, b: RpcError | PlainMessage<RpcError> | undefined): boolean;
1617
- }
1618
-
1619
- /**
1620
- * @generated from message livekit.ParticipantTracks
1621
- */
1622
- export declare class ParticipantTracks extends Message<ParticipantTracks> {
1623
- /**
1624
- * participant ID of participant to whom the tracks belong
1625
- *
1626
- * @generated from field: string participant_sid = 1;
1627
- */
1628
- participantSid: string;
1629
-
1630
- /**
1631
- * @generated from field: repeated string track_sids = 2;
1632
- */
1633
- trackSids: string[];
1634
-
1635
- constructor(data?: PartialMessage<ParticipantTracks>);
1636
-
1637
- static readonly runtime: typeof proto3;
1638
- static readonly typeName = "livekit.ParticipantTracks";
1639
- static readonly fields: FieldList;
1640
-
1641
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantTracks;
1642
-
1643
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantTracks;
1644
-
1645
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantTracks;
1646
-
1647
- static equals(a: ParticipantTracks | PlainMessage<ParticipantTracks> | undefined, b: ParticipantTracks | PlainMessage<ParticipantTracks> | undefined): boolean;
1648
- }
1649
-
1650
- /**
1651
- * details about the server
1652
- *
1653
- * @generated from message livekit.ServerInfo
1654
- */
1655
- export declare class ServerInfo extends Message<ServerInfo> {
1656
- /**
1657
- * @generated from field: livekit.ServerInfo.Edition edition = 1;
1658
- */
1659
- edition: ServerInfo_Edition;
1660
-
1661
- /**
1662
- * @generated from field: string version = 2;
1663
- */
1664
- version: string;
1665
-
1666
- /**
1667
- * @generated from field: int32 protocol = 3;
1668
- */
1669
- protocol: number;
1670
-
1671
- /**
1672
- * @generated from field: string region = 4;
1673
- */
1674
- region: string;
1675
-
1676
- /**
1677
- * @generated from field: string node_id = 5;
1678
- */
1679
- nodeId: string;
1680
-
1681
- /**
1682
- * additional debugging information. sent only if server is in development mode
1683
- *
1684
- * @generated from field: string debug_info = 6;
1685
- */
1686
- debugInfo: string;
1687
-
1688
- /**
1689
- * @generated from field: int32 agent_protocol = 7;
1690
- */
1691
- agentProtocol: number;
1692
-
1693
- constructor(data?: PartialMessage<ServerInfo>);
1694
-
1695
- static readonly runtime: typeof proto3;
1696
- static readonly typeName = "livekit.ServerInfo";
1697
- static readonly fields: FieldList;
1698
-
1699
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerInfo;
1700
-
1701
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerInfo;
1702
-
1703
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerInfo;
1704
-
1705
- static equals(a: ServerInfo | PlainMessage<ServerInfo> | undefined, b: ServerInfo | PlainMessage<ServerInfo> | undefined): boolean;
1706
- }
1707
-
1708
- /**
1709
- * @generated from enum livekit.ServerInfo.Edition
1710
- */
1711
- export declare enum ServerInfo_Edition {
1712
- /**
1713
- * @generated from enum value: Standard = 0;
1714
- */
1715
- Standard = 0,
1716
-
1717
- /**
1718
- * @generated from enum value: Cloud = 1;
1719
- */
1720
- Cloud = 1,
1721
- }
1722
-
1723
- /**
1724
- * details about the client
1725
- *
1726
- * @generated from message livekit.ClientInfo
1727
- */
1728
- export declare class ClientInfo extends Message<ClientInfo> {
1729
- /**
1730
- * @generated from field: livekit.ClientInfo.SDK sdk = 1;
1731
- */
1732
- sdk: ClientInfo_SDK;
1733
-
1734
- /**
1735
- * @generated from field: string version = 2;
1736
- */
1737
- version: string;
1738
-
1739
- /**
1740
- * @generated from field: int32 protocol = 3;
1741
- */
1742
- protocol: number;
1743
-
1744
- /**
1745
- * @generated from field: string os = 4;
1746
- */
1747
- os: string;
1748
-
1749
- /**
1750
- * @generated from field: string os_version = 5;
1751
- */
1752
- osVersion: string;
1753
-
1754
- /**
1755
- * @generated from field: string device_model = 6;
1756
- */
1757
- deviceModel: string;
1758
-
1759
- /**
1760
- * @generated from field: string browser = 7;
1761
- */
1762
- browser: string;
1763
-
1764
- /**
1765
- * @generated from field: string browser_version = 8;
1766
- */
1767
- browserVersion: string;
1768
-
1769
- /**
1770
- * @generated from field: string address = 9;
1771
- */
1772
- address: string;
1773
-
1774
- /**
1775
- * wifi, wired, cellular, vpn, empty if not known
1776
- *
1777
- * @generated from field: string network = 10;
1778
- */
1779
- network: string;
1780
-
1781
- /**
1782
- * comma separated list of additional LiveKit SDKs in use of this client, with versions
1783
- * e.g. "components-js:1.2.3,track-processors-js:1.2.3"
1784
- *
1785
- * @generated from field: string other_sdks = 11;
1786
- */
1787
- otherSdks: string;
1788
-
1789
- constructor(data?: PartialMessage<ClientInfo>);
1790
-
1791
- static readonly runtime: typeof proto3;
1792
- static readonly typeName = "livekit.ClientInfo";
1793
- static readonly fields: FieldList;
1794
-
1795
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientInfo;
1796
-
1797
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientInfo;
1798
-
1799
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientInfo;
1800
-
1801
- static equals(a: ClientInfo | PlainMessage<ClientInfo> | undefined, b: ClientInfo | PlainMessage<ClientInfo> | undefined): boolean;
1802
- }
1803
-
1804
- /**
1805
- * @generated from enum livekit.ClientInfo.SDK
1806
- */
1807
- export declare enum ClientInfo_SDK {
1808
- /**
1809
- * @generated from enum value: UNKNOWN = 0;
1810
- */
1811
- UNKNOWN = 0,
1812
-
1813
- /**
1814
- * @generated from enum value: JS = 1;
1815
- */
1816
- JS = 1,
1817
-
1818
- /**
1819
- * @generated from enum value: SWIFT = 2;
1820
- */
1821
- SWIFT = 2,
1822
-
1823
- /**
1824
- * @generated from enum value: ANDROID = 3;
1825
- */
1826
- ANDROID = 3,
1827
-
1828
- /**
1829
- * @generated from enum value: FLUTTER = 4;
1830
- */
1831
- FLUTTER = 4,
1832
-
1833
- /**
1834
- * @generated from enum value: GO = 5;
1835
- */
1836
- GO = 5,
1837
-
1838
- /**
1839
- * @generated from enum value: UNITY = 6;
1840
- */
1841
- UNITY = 6,
1842
-
1843
- /**
1844
- * @generated from enum value: REACT_NATIVE = 7;
1845
- */
1846
- REACT_NATIVE = 7,
1847
-
1848
- /**
1849
- * @generated from enum value: RUST = 8;
1850
- */
1851
- RUST = 8,
1852
-
1853
- /**
1854
- * @generated from enum value: PYTHON = 9;
1855
- */
1856
- PYTHON = 9,
1857
-
1858
- /**
1859
- * @generated from enum value: CPP = 10;
1860
- */
1861
- CPP = 10,
1862
-
1863
- /**
1864
- * @generated from enum value: UNITY_WEB = 11;
1865
- */
1866
- UNITY_WEB = 11,
1867
-
1868
- /**
1869
- * @generated from enum value: NODE = 12;
1870
- */
1871
- NODE = 12,
1872
- }
1873
-
1874
- /**
1875
- * server provided client configuration
1876
- *
1877
- * @generated from message livekit.ClientConfiguration
1878
- */
1879
- export declare class ClientConfiguration extends Message<ClientConfiguration> {
1880
- /**
1881
- * @generated from field: livekit.VideoConfiguration video = 1;
1882
- */
1883
- video?: VideoConfiguration;
1884
-
1885
- /**
1886
- * @generated from field: livekit.VideoConfiguration screen = 2;
1887
- */
1888
- screen?: VideoConfiguration;
1889
-
1890
- /**
1891
- * @generated from field: livekit.ClientConfigSetting resume_connection = 3;
1892
- */
1893
- resumeConnection: ClientConfigSetting;
1894
-
1895
- /**
1896
- * @generated from field: livekit.DisabledCodecs disabled_codecs = 4;
1897
- */
1898
- disabledCodecs?: DisabledCodecs;
1899
-
1900
- /**
1901
- * @generated from field: livekit.ClientConfigSetting force_relay = 5;
1902
- */
1903
- forceRelay: ClientConfigSetting;
1904
-
1905
- constructor(data?: PartialMessage<ClientConfiguration>);
1906
-
1907
- static readonly runtime: typeof proto3;
1908
- static readonly typeName = "livekit.ClientConfiguration";
1909
- static readonly fields: FieldList;
1910
-
1911
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientConfiguration;
1912
-
1913
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientConfiguration;
1914
-
1915
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientConfiguration;
1916
-
1917
- static equals(a: ClientConfiguration | PlainMessage<ClientConfiguration> | undefined, b: ClientConfiguration | PlainMessage<ClientConfiguration> | undefined): boolean;
1918
- }
1919
-
1920
- /**
1921
- * @generated from message livekit.VideoConfiguration
1922
- */
1923
- export declare class VideoConfiguration extends Message<VideoConfiguration> {
1924
- /**
1925
- * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1;
1926
- */
1927
- hardwareEncoder: ClientConfigSetting;
1928
-
1929
- constructor(data?: PartialMessage<VideoConfiguration>);
1930
-
1931
- static readonly runtime: typeof proto3;
1932
- static readonly typeName = "livekit.VideoConfiguration";
1933
- static readonly fields: FieldList;
1934
-
1935
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoConfiguration;
1936
-
1937
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoConfiguration;
1938
-
1939
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoConfiguration;
1940
-
1941
- static equals(a: VideoConfiguration | PlainMessage<VideoConfiguration> | undefined, b: VideoConfiguration | PlainMessage<VideoConfiguration> | undefined): boolean;
1942
- }
1943
-
1944
- /**
1945
- * @generated from message livekit.DisabledCodecs
1946
- */
1947
- export declare class DisabledCodecs extends Message<DisabledCodecs> {
1948
- /**
1949
- * disabled for both publish and subscribe
1950
- *
1951
- * @generated from field: repeated livekit.Codec codecs = 1;
1952
- */
1953
- codecs: Codec[];
1954
-
1955
- /**
1956
- * only disable for publish
1957
- *
1958
- * @generated from field: repeated livekit.Codec publish = 2;
1959
- */
1960
- publish: Codec[];
1961
-
1962
- constructor(data?: PartialMessage<DisabledCodecs>);
1963
-
1964
- static readonly runtime: typeof proto3;
1965
- static readonly typeName = "livekit.DisabledCodecs";
1966
- static readonly fields: FieldList;
1967
-
1968
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisabledCodecs;
1969
-
1970
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisabledCodecs;
1971
-
1972
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisabledCodecs;
1973
-
1974
- static equals(a: DisabledCodecs | PlainMessage<DisabledCodecs> | undefined, b: DisabledCodecs | PlainMessage<DisabledCodecs> | undefined): boolean;
1975
- }
1976
-
1977
- /**
1978
- * @generated from message livekit.RTPDrift
1979
- */
1980
- export declare class RTPDrift extends Message<RTPDrift> {
1981
- /**
1982
- * @generated from field: google.protobuf.Timestamp start_time = 1;
1983
- */
1984
- startTime?: Timestamp;
1985
-
1986
- /**
1987
- * @generated from field: google.protobuf.Timestamp end_time = 2;
1988
- */
1989
- endTime?: Timestamp;
1990
-
1991
- /**
1992
- * @generated from field: double duration = 3;
1993
- */
1994
- duration: number;
1995
-
1996
- /**
1997
- * @generated from field: uint64 start_timestamp = 4;
1998
- */
1999
- startTimestamp: bigint;
2000
-
2001
- /**
2002
- * @generated from field: uint64 end_timestamp = 5;
2003
- */
2004
- endTimestamp: bigint;
2005
-
2006
- /**
2007
- * @generated from field: uint64 rtp_clock_ticks = 6;
2008
- */
2009
- rtpClockTicks: bigint;
2010
-
2011
- /**
2012
- * @generated from field: int64 drift_samples = 7;
2013
- */
2014
- driftSamples: bigint;
2015
-
2016
- /**
2017
- * @generated from field: double drift_ms = 8;
2018
- */
2019
- driftMs: number;
2020
-
2021
- /**
2022
- * @generated from field: double clock_rate = 9;
2023
- */
2024
- clockRate: number;
2025
-
2026
- constructor(data?: PartialMessage<RTPDrift>);
2027
-
2028
- static readonly runtime: typeof proto3;
2029
- static readonly typeName = "livekit.RTPDrift";
2030
- static readonly fields: FieldList;
2031
-
2032
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPDrift;
2033
-
2034
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPDrift;
2035
-
2036
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPDrift;
2037
-
2038
- static equals(a: RTPDrift | PlainMessage<RTPDrift> | undefined, b: RTPDrift | PlainMessage<RTPDrift> | undefined): boolean;
2039
- }
2040
-
2041
- /**
2042
- * @generated from message livekit.RTPStats
2043
- */
2044
- export declare class RTPStats extends Message<RTPStats> {
2045
- /**
2046
- * @generated from field: google.protobuf.Timestamp start_time = 1;
2047
- */
2048
- startTime?: Timestamp;
2049
-
2050
- /**
2051
- * @generated from field: google.protobuf.Timestamp end_time = 2;
2052
- */
2053
- endTime?: Timestamp;
2054
-
2055
- /**
2056
- * @generated from field: double duration = 3;
2057
- */
2058
- duration: number;
2059
-
2060
- /**
2061
- * @generated from field: uint32 packets = 4;
2062
- */
2063
- packets: number;
2064
-
2065
- /**
2066
- * @generated from field: double packet_rate = 5;
2067
- */
2068
- packetRate: number;
2069
-
2070
- /**
2071
- * @generated from field: uint64 bytes = 6;
2072
- */
2073
- bytes: bigint;
2074
-
2075
- /**
2076
- * @generated from field: uint64 header_bytes = 39;
2077
- */
2078
- headerBytes: bigint;
2079
-
2080
- /**
2081
- * @generated from field: double bitrate = 7;
2082
- */
2083
- bitrate: number;
2084
-
2085
- /**
2086
- * @generated from field: uint32 packets_lost = 8;
2087
- */
2088
- packetsLost: number;
2089
-
2090
- /**
2091
- * @generated from field: double packet_loss_rate = 9;
2092
- */
2093
- packetLossRate: number;
2094
-
2095
- /**
2096
- * @generated from field: float packet_loss_percentage = 10;
2097
- */
2098
- packetLossPercentage: number;
2099
-
2100
- /**
2101
- * @generated from field: uint32 packets_duplicate = 11;
2102
- */
2103
- packetsDuplicate: number;
2104
-
2105
- /**
2106
- * @generated from field: double packet_duplicate_rate = 12;
2107
- */
2108
- packetDuplicateRate: number;
2109
-
2110
- /**
2111
- * @generated from field: uint64 bytes_duplicate = 13;
2112
- */
2113
- bytesDuplicate: bigint;
2114
-
2115
- /**
2116
- * @generated from field: uint64 header_bytes_duplicate = 40;
2117
- */
2118
- headerBytesDuplicate: bigint;
2119
-
2120
- /**
2121
- * @generated from field: double bitrate_duplicate = 14;
2122
- */
2123
- bitrateDuplicate: number;
2124
-
2125
- /**
2126
- * @generated from field: uint32 packets_padding = 15;
2127
- */
2128
- packetsPadding: number;
2129
-
2130
- /**
2131
- * @generated from field: double packet_padding_rate = 16;
2132
- */
2133
- packetPaddingRate: number;
2134
-
2135
- /**
2136
- * @generated from field: uint64 bytes_padding = 17;
2137
- */
2138
- bytesPadding: bigint;
2139
-
2140
- /**
2141
- * @generated from field: uint64 header_bytes_padding = 41;
2142
- */
2143
- headerBytesPadding: bigint;
2144
-
2145
- /**
2146
- * @generated from field: double bitrate_padding = 18;
2147
- */
2148
- bitratePadding: number;
2149
-
2150
- /**
2151
- * @generated from field: uint32 packets_out_of_order = 19;
2152
- */
2153
- packetsOutOfOrder: number;
2154
-
2155
- /**
2156
- * @generated from field: uint32 frames = 20;
2157
- */
2158
- frames: number;
2159
-
2160
- /**
2161
- * @generated from field: double frame_rate = 21;
2162
- */
2163
- frameRate: number;
2164
-
2165
- /**
2166
- * @generated from field: double jitter_current = 22;
2167
- */
2168
- jitterCurrent: number;
2169
-
2170
- /**
2171
- * @generated from field: double jitter_max = 23;
2172
- */
2173
- jitterMax: number;
2174
-
2175
- /**
2176
- * @generated from field: map<int32, uint32> gap_histogram = 24;
2177
- */
2178
- gapHistogram: { [key: number]: number };
2179
-
2180
- /**
2181
- * @generated from field: uint32 nacks = 25;
2182
- */
2183
- nacks: number;
2184
-
2185
- /**
2186
- * @generated from field: uint32 nack_acks = 37;
2187
- */
2188
- nackAcks: number;
2189
-
2190
- /**
2191
- * @generated from field: uint32 nack_misses = 26;
2192
- */
2193
- nackMisses: number;
2194
-
2195
- /**
2196
- * @generated from field: uint32 nack_repeated = 38;
2197
- */
2198
- nackRepeated: number;
2199
-
2200
- /**
2201
- * @generated from field: uint32 plis = 27;
2202
- */
2203
- plis: number;
2204
-
2205
- /**
2206
- * @generated from field: google.protobuf.Timestamp last_pli = 28;
2207
- */
2208
- lastPli?: Timestamp;
2209
-
2210
- /**
2211
- * @generated from field: uint32 firs = 29;
2212
- */
2213
- firs: number;
2214
-
2215
- /**
2216
- * @generated from field: google.protobuf.Timestamp last_fir = 30;
2217
- */
2218
- lastFir?: Timestamp;
2219
-
2220
- /**
2221
- * @generated from field: uint32 rtt_current = 31;
2222
- */
2223
- rttCurrent: number;
2224
-
2225
- /**
2226
- * @generated from field: uint32 rtt_max = 32;
2227
- */
2228
- rttMax: number;
2229
-
2230
- /**
2231
- * @generated from field: uint32 key_frames = 33;
2232
- */
2233
- keyFrames: number;
2234
-
2235
- /**
2236
- * @generated from field: google.protobuf.Timestamp last_key_frame = 34;
2237
- */
2238
- lastKeyFrame?: Timestamp;
2239
-
2240
- /**
2241
- * @generated from field: uint32 layer_lock_plis = 35;
2242
- */
2243
- layerLockPlis: number;
2244
-
2245
- /**
2246
- * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36;
2247
- */
2248
- lastLayerLockPli?: Timestamp;
2249
-
2250
- /**
2251
- * @generated from field: livekit.RTPDrift packet_drift = 44;
2252
- */
2253
- packetDrift?: RTPDrift;
2254
-
2255
- /**
2256
- * @generated from field: livekit.RTPDrift ntp_report_drift = 45;
2257
- */
2258
- ntpReportDrift?: RTPDrift;
2259
-
2260
- /**
2261
- * @generated from field: livekit.RTPDrift rebased_report_drift = 46;
2262
- */
2263
- rebasedReportDrift?: RTPDrift;
2264
-
2265
- /**
2266
- * NEXT_ID: 48
2267
- *
2268
- * @generated from field: livekit.RTPDrift received_report_drift = 47;
2269
- */
2270
- receivedReportDrift?: RTPDrift;
2271
-
2272
- constructor(data?: PartialMessage<RTPStats>);
2273
-
2274
- static readonly runtime: typeof proto3;
2275
- static readonly typeName = "livekit.RTPStats";
2276
- static readonly fields: FieldList;
2277
-
2278
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPStats;
2279
-
2280
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPStats;
2281
-
2282
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPStats;
2283
-
2284
- static equals(a: RTPStats | PlainMessage<RTPStats> | undefined, b: RTPStats | PlainMessage<RTPStats> | undefined): boolean;
2285
- }
2286
-
2287
- /**
2288
- * @generated from message livekit.RTCPSenderReportState
2289
- */
2290
- export declare class RTCPSenderReportState extends Message<RTCPSenderReportState> {
2291
- /**
2292
- * @generated from field: uint32 rtp_timestamp = 1;
2293
- */
2294
- rtpTimestamp: number;
2295
-
2296
- /**
2297
- * @generated from field: uint64 rtp_timestamp_ext = 2;
2298
- */
2299
- rtpTimestampExt: bigint;
2300
-
2301
- /**
2302
- * @generated from field: uint64 ntp_timestamp = 3;
2303
- */
2304
- ntpTimestamp: bigint;
2305
-
2306
- /**
2307
- * time at which this happened
2308
- *
2309
- * @generated from field: int64 at = 4;
2310
- */
2311
- at: bigint;
2312
-
2313
- /**
2314
- * @generated from field: int64 at_adjusted = 5;
2315
- */
2316
- atAdjusted: bigint;
2317
-
2318
- /**
2319
- * @generated from field: uint32 packets = 6;
2320
- */
2321
- packets: number;
2322
-
2323
- /**
2324
- * @generated from field: uint64 octets = 7;
2325
- */
2326
- octets: bigint;
2327
-
2328
- constructor(data?: PartialMessage<RTCPSenderReportState>);
2329
-
2330
- static readonly runtime: typeof proto3;
2331
- static readonly typeName = "livekit.RTCPSenderReportState";
2332
- static readonly fields: FieldList;
2333
-
2334
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTCPSenderReportState;
2335
-
2336
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTCPSenderReportState;
2337
-
2338
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTCPSenderReportState;
2339
-
2340
- static equals(a: RTCPSenderReportState | PlainMessage<RTCPSenderReportState> | undefined, b: RTCPSenderReportState | PlainMessage<RTCPSenderReportState> | undefined): boolean;
2341
- }
2342
-
2343
- /**
2344
- * @generated from message livekit.RTPForwarderState
2345
- */
2346
- export declare class RTPForwarderState extends Message<RTPForwarderState> {
2347
- /**
2348
- * @generated from field: bool started = 1;
2349
- */
2350
- started: boolean;
2351
-
2352
- /**
2353
- * @generated from field: int32 reference_layer_spatial = 2;
2354
- */
2355
- referenceLayerSpatial: number;
2356
-
2357
- /**
2358
- * @generated from field: int64 pre_start_time = 3;
2359
- */
2360
- preStartTime: bigint;
2361
-
2362
- /**
2363
- * @generated from field: uint64 ext_first_timestamp = 4;
2364
- */
2365
- extFirstTimestamp: bigint;
2366
-
2367
- /**
2368
- * @generated from field: uint64 dummy_start_timestamp_offset = 5;
2369
- */
2370
- dummyStartTimestampOffset: bigint;
2371
-
2372
- /**
2373
- * @generated from field: livekit.RTPMungerState rtp_munger = 6;
2374
- */
2375
- rtpMunger?: RTPMungerState;
2376
-
2377
- /**
2378
- * @generated from oneof livekit.RTPForwarderState.codec_munger
2379
- */
2380
- codecMunger: {
2381
- /**
2382
- * @generated from field: livekit.VP8MungerState vp8_munger = 7;
2383
- */
2384
- value: VP8MungerState;
2385
- case: "vp8Munger";
2386
- } | { case: undefined; value?: undefined };
2387
-
2388
- /**
2389
- * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;
2390
- */
2391
- senderReportState: RTCPSenderReportState[];
2392
-
2393
- constructor(data?: PartialMessage<RTPForwarderState>);
2394
-
2395
- static readonly runtime: typeof proto3;
2396
- static readonly typeName = "livekit.RTPForwarderState";
2397
- static readonly fields: FieldList;
2398
-
2399
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPForwarderState;
2400
-
2401
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPForwarderState;
2402
-
2403
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPForwarderState;
2404
-
2405
- static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
2406
- }
2407
-
2408
- /**
2409
- * @generated from message livekit.RTPMungerState
2410
- */
2411
- export declare class RTPMungerState extends Message<RTPMungerState> {
2412
- /**
2413
- * @generated from field: uint64 ext_last_sequence_number = 1;
2414
- */
2415
- extLastSequenceNumber: bigint;
2416
-
2417
- /**
2418
- * @generated from field: uint64 ext_second_last_sequence_number = 2;
2419
- */
2420
- extSecondLastSequenceNumber: bigint;
2421
-
2422
- /**
2423
- * @generated from field: uint64 ext_last_timestamp = 3;
2424
- */
2425
- extLastTimestamp: bigint;
2426
-
2427
- /**
2428
- * @generated from field: uint64 ext_second_last_timestamp = 4;
2429
- */
2430
- extSecondLastTimestamp: bigint;
2431
-
2432
- /**
2433
- * @generated from field: bool last_marker = 5;
2434
- */
2435
- lastMarker: boolean;
2436
-
2437
- /**
2438
- * @generated from field: bool second_last_marker = 6;
2439
- */
2440
- secondLastMarker: boolean;
2441
-
2442
- constructor(data?: PartialMessage<RTPMungerState>);
2443
-
2444
- static readonly runtime: typeof proto3;
2445
- static readonly typeName = "livekit.RTPMungerState";
2446
- static readonly fields: FieldList;
2447
-
2448
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPMungerState;
2449
-
2450
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPMungerState;
2451
-
2452
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPMungerState;
2453
-
2454
- static equals(a: RTPMungerState | PlainMessage<RTPMungerState> | undefined, b: RTPMungerState | PlainMessage<RTPMungerState> | undefined): boolean;
2455
- }
2456
-
2457
- /**
2458
- * @generated from message livekit.VP8MungerState
2459
- */
2460
- export declare class VP8MungerState extends Message<VP8MungerState> {
2461
- /**
2462
- * @generated from field: int32 ext_last_picture_id = 1;
2463
- */
2464
- extLastPictureId: number;
2465
-
2466
- /**
2467
- * @generated from field: bool picture_id_used = 2;
2468
- */
2469
- pictureIdUsed: boolean;
2470
-
2471
- /**
2472
- * @generated from field: uint32 last_tl0_pic_idx = 3;
2473
- */
2474
- lastTl0PicIdx: number;
2475
-
2476
- /**
2477
- * @generated from field: bool tl0_pic_idx_used = 4;
2478
- */
2479
- tl0PicIdxUsed: boolean;
2480
-
2481
- /**
2482
- * @generated from field: bool tid_used = 5;
2483
- */
2484
- tidUsed: boolean;
2485
-
2486
- /**
2487
- * @generated from field: uint32 last_key_idx = 6;
2488
- */
2489
- lastKeyIdx: number;
2490
-
2491
- /**
2492
- * @generated from field: bool key_idx_used = 7;
2493
- */
2494
- keyIdxUsed: boolean;
2495
-
2496
- constructor(data?: PartialMessage<VP8MungerState>);
2497
-
2498
- static readonly runtime: typeof proto3;
2499
- static readonly typeName = "livekit.VP8MungerState";
2500
- static readonly fields: FieldList;
2501
-
2502
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VP8MungerState;
2503
-
2504
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VP8MungerState;
2505
-
2506
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VP8MungerState;
2507
-
2508
- static equals(a: VP8MungerState | PlainMessage<VP8MungerState> | undefined, b: VP8MungerState | PlainMessage<VP8MungerState> | undefined): boolean;
2509
- }
2510
-
2511
- /**
2512
- * @generated from message livekit.TimedVersion
2513
- */
2514
- export declare class TimedVersion extends Message<TimedVersion> {
2515
- /**
2516
- * @generated from field: int64 unix_micro = 1;
2517
- */
2518
- unixMicro: bigint;
2519
-
2520
- /**
2521
- * @generated from field: int32 ticks = 2;
2522
- */
2523
- ticks: number;
2524
-
2525
- constructor(data?: PartialMessage<TimedVersion>);
2526
-
2527
- static readonly runtime: typeof proto3;
2528
- static readonly typeName = "livekit.TimedVersion";
2529
- static readonly fields: FieldList;
2530
-
2531
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimedVersion;
2532
-
2533
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimedVersion;
2534
-
2535
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimedVersion;
2536
-
2537
- static equals(a: TimedVersion | PlainMessage<TimedVersion> | undefined, b: TimedVersion | PlainMessage<TimedVersion> | undefined): boolean;
2538
- }
2539
-