@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.
Files changed (40) hide show
  1. package/dist/index.cjs +7285 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +13646 -0
  4. package/dist/index.d.mts +13646 -0
  5. package/dist/index.d.ts +13646 -0
  6. package/dist/index.mjs +7009 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +42 -0
  9. package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
  10. package/src/gen/livekit_agent_dispatch_pb.js +103 -0
  11. package/src/gen/livekit_agent_pb.d.ts +758 -0
  12. package/src/gen/livekit_agent_pb.js +269 -0
  13. package/src/gen/livekit_analytics_pb.d.ts +1379 -0
  14. package/src/gen/livekit_analytics_pb.js +397 -0
  15. package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
  16. package/src/gen/livekit_cloud_agent_pb.js +327 -0
  17. package/src/gen/livekit_egress_pb.d.ts +2151 -0
  18. package/src/gen/livekit_egress_pb.js +625 -0
  19. package/src/gen/livekit_ingress_pb.d.ts +864 -0
  20. package/src/gen/livekit_ingress_pb.js +272 -0
  21. package/src/gen/livekit_internal_pb.d.ts +786 -0
  22. package/src/gen/livekit_internal_pb.js +227 -0
  23. package/src/gen/livekit_metrics_pb.d.ts +376 -0
  24. package/src/gen/livekit_metrics_pb.js +97 -0
  25. package/src/gen/livekit_models_pb.d.ts +3083 -0
  26. package/src/gen/livekit_models_pb.js +998 -0
  27. package/src/gen/livekit_room_pb.d.ts +899 -0
  28. package/src/gen/livekit_room_pb.js +300 -0
  29. package/src/gen/livekit_rtc_pb.d.ts +2134 -0
  30. package/src/gen/livekit_rtc_pb.js +668 -0
  31. package/src/gen/livekit_sip_pb.d.ts +2619 -0
  32. package/src/gen/livekit_sip_pb.js +771 -0
  33. package/src/gen/livekit_temptalk_pb.d.ts +473 -0
  34. package/src/gen/livekit_temptalk_pb.js +167 -0
  35. package/src/gen/livekit_webhook_pb.d.ts +106 -0
  36. package/src/gen/livekit_webhook_pb.js +42 -0
  37. package/src/gen/version.d.ts +1 -0
  38. package/src/gen/version.js +2 -0
  39. package/src/index.d.ts +12 -0
  40. package/src/index.js +13 -0
@@ -0,0 +1,864 @@
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_ingress.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 { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js";
23
+
24
+ /**
25
+ * @generated from enum livekit.IngressInput
26
+ */
27
+ export declare enum IngressInput {
28
+ /**
29
+ * @generated from enum value: RTMP_INPUT = 0;
30
+ */
31
+ RTMP_INPUT = 0,
32
+
33
+ /**
34
+ * @generated from enum value: WHIP_INPUT = 1;
35
+ */
36
+ WHIP_INPUT = 1,
37
+
38
+ /**
39
+ * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream
40
+ *
41
+ * @generated from enum value: URL_INPUT = 2;
42
+ */
43
+ URL_INPUT = 2,
44
+ }
45
+
46
+ /**
47
+ * @generated from enum livekit.IngressAudioEncodingPreset
48
+ */
49
+ export declare enum IngressAudioEncodingPreset {
50
+ /**
51
+ * OPUS, 2 channels, 96kbps
52
+ *
53
+ * @generated from enum value: OPUS_STEREO_96KBPS = 0;
54
+ */
55
+ OPUS_STEREO_96KBPS = 0,
56
+
57
+ /**
58
+ * OPUS, 1 channel, 64kbps
59
+ *
60
+ * @generated from enum value: OPUS_MONO_64KBS = 1;
61
+ */
62
+ OPUS_MONO_64KBS = 1,
63
+ }
64
+
65
+ /**
66
+ * @generated from enum livekit.IngressVideoEncodingPreset
67
+ */
68
+ export declare enum IngressVideoEncodingPreset {
69
+ /**
70
+ * 1280x720, 30fps, 1900kbps main layer, 3 layers total
71
+ *
72
+ * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0;
73
+ */
74
+ H264_720P_30FPS_3_LAYERS = 0,
75
+
76
+ /**
77
+ * 1980x1080, 30fps, 3500kbps main layer, 3 layers total
78
+ *
79
+ * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1;
80
+ */
81
+ H264_1080P_30FPS_3_LAYERS = 1,
82
+
83
+ /**
84
+ * 960x540, 25fps, 1000kbps main layer, 2 layers total
85
+ *
86
+ * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2;
87
+ */
88
+ H264_540P_25FPS_2_LAYERS = 2,
89
+
90
+ /**
91
+ * 1280x720, 30fps, 1900kbps, no simulcast
92
+ *
93
+ * @generated from enum value: H264_720P_30FPS_1_LAYER = 3;
94
+ */
95
+ H264_720P_30FPS_1_LAYER = 3,
96
+
97
+ /**
98
+ * 1980x1080, 30fps, 3500kbps, no simulcast
99
+ *
100
+ * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4;
101
+ */
102
+ H264_1080P_30FPS_1_LAYER = 4,
103
+
104
+ /**
105
+ * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content
106
+ *
107
+ * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5;
108
+ */
109
+ H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5,
110
+
111
+ /**
112
+ * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content
113
+ *
114
+ * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6;
115
+ */
116
+ H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6,
117
+
118
+ /**
119
+ * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content
120
+ *
121
+ * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7;
122
+ */
123
+ H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7,
124
+
125
+ /**
126
+ * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content
127
+ *
128
+ * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8;
129
+ */
130
+ H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8,
131
+
132
+ /**
133
+ * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content
134
+ *
135
+ * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9;
136
+ */
137
+ H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9,
138
+ }
139
+
140
+ /**
141
+ * @generated from message livekit.CreateIngressRequest
142
+ */
143
+ export declare class CreateIngressRequest extends Message<CreateIngressRequest> {
144
+ /**
145
+ * @generated from field: livekit.IngressInput input_type = 1;
146
+ */
147
+ inputType: IngressInput;
148
+
149
+ /**
150
+ * Where to pull media from, only for URL input type
151
+ *
152
+ * @generated from field: string url = 9;
153
+ */
154
+ url: string;
155
+
156
+ /**
157
+ * User provided identifier for the ingress
158
+ *
159
+ * @generated from field: string name = 2;
160
+ */
161
+ name: string;
162
+
163
+ /**
164
+ * room to publish to
165
+ *
166
+ * @generated from field: string room_name = 3;
167
+ */
168
+ roomName: string;
169
+
170
+ /**
171
+ * publish as participant
172
+ *
173
+ * @generated from field: string participant_identity = 4;
174
+ */
175
+ participantIdentity: string;
176
+
177
+ /**
178
+ * name of publishing participant (used for display only)
179
+ *
180
+ * @generated from field: string participant_name = 5;
181
+ */
182
+ participantName: string;
183
+
184
+ /**
185
+ * metadata associated with the publishing participant
186
+ *
187
+ * @generated from field: string participant_metadata = 10;
188
+ */
189
+ participantMetadata: string;
190
+
191
+ /**
192
+ * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
193
+ *
194
+ * @generated from field: bool bypass_transcoding = 8 [deprecated = true];
195
+ * @deprecated
196
+ */
197
+ bypassTranscoding: boolean;
198
+
199
+ /**
200
+ * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
201
+ *
202
+ * @generated from field: optional bool enable_transcoding = 11;
203
+ */
204
+ enableTranscoding?: boolean;
205
+
206
+ /**
207
+ * @generated from field: livekit.IngressAudioOptions audio = 6;
208
+ */
209
+ audio?: IngressAudioOptions;
210
+
211
+ /**
212
+ * @generated from field: livekit.IngressVideoOptions video = 7;
213
+ */
214
+ video?: IngressVideoOptions;
215
+
216
+ /**
217
+ * The default value is true and when set to false, the new connection attempts will be rejected
218
+ *
219
+ * @generated from field: optional bool enabled = 12;
220
+ */
221
+ enabled?: boolean;
222
+
223
+ constructor(data?: PartialMessage<CreateIngressRequest>);
224
+
225
+ static readonly runtime: typeof proto3;
226
+ static readonly typeName = "livekit.CreateIngressRequest";
227
+ static readonly fields: FieldList;
228
+
229
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateIngressRequest;
230
+
231
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateIngressRequest;
232
+
233
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateIngressRequest;
234
+
235
+ static equals(a: CreateIngressRequest | PlainMessage<CreateIngressRequest> | undefined, b: CreateIngressRequest | PlainMessage<CreateIngressRequest> | undefined): boolean;
236
+ }
237
+
238
+ /**
239
+ * @generated from message livekit.IngressAudioOptions
240
+ */
241
+ export declare class IngressAudioOptions extends Message<IngressAudioOptions> {
242
+ /**
243
+ * @generated from field: string name = 1;
244
+ */
245
+ name: string;
246
+
247
+ /**
248
+ * @generated from field: livekit.TrackSource source = 2;
249
+ */
250
+ source: TrackSource;
251
+
252
+ /**
253
+ * @generated from oneof livekit.IngressAudioOptions.encoding_options
254
+ */
255
+ encodingOptions: {
256
+ /**
257
+ * @generated from field: livekit.IngressAudioEncodingPreset preset = 3;
258
+ */
259
+ value: IngressAudioEncodingPreset;
260
+ case: "preset";
261
+ } | {
262
+ /**
263
+ * @generated from field: livekit.IngressAudioEncodingOptions options = 4;
264
+ */
265
+ value: IngressAudioEncodingOptions;
266
+ case: "options";
267
+ } | { case: undefined; value?: undefined };
268
+
269
+ constructor(data?: PartialMessage<IngressAudioOptions>);
270
+
271
+ static readonly runtime: typeof proto3;
272
+ static readonly typeName = "livekit.IngressAudioOptions";
273
+ static readonly fields: FieldList;
274
+
275
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressAudioOptions;
276
+
277
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressAudioOptions;
278
+
279
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressAudioOptions;
280
+
281
+ static equals(a: IngressAudioOptions | PlainMessage<IngressAudioOptions> | undefined, b: IngressAudioOptions | PlainMessage<IngressAudioOptions> | undefined): boolean;
282
+ }
283
+
284
+ /**
285
+ * @generated from message livekit.IngressVideoOptions
286
+ */
287
+ export declare class IngressVideoOptions extends Message<IngressVideoOptions> {
288
+ /**
289
+ * @generated from field: string name = 1;
290
+ */
291
+ name: string;
292
+
293
+ /**
294
+ * @generated from field: livekit.TrackSource source = 2;
295
+ */
296
+ source: TrackSource;
297
+
298
+ /**
299
+ * @generated from oneof livekit.IngressVideoOptions.encoding_options
300
+ */
301
+ encodingOptions: {
302
+ /**
303
+ * @generated from field: livekit.IngressVideoEncodingPreset preset = 3;
304
+ */
305
+ value: IngressVideoEncodingPreset;
306
+ case: "preset";
307
+ } | {
308
+ /**
309
+ * @generated from field: livekit.IngressVideoEncodingOptions options = 4;
310
+ */
311
+ value: IngressVideoEncodingOptions;
312
+ case: "options";
313
+ } | { case: undefined; value?: undefined };
314
+
315
+ constructor(data?: PartialMessage<IngressVideoOptions>);
316
+
317
+ static readonly runtime: typeof proto3;
318
+ static readonly typeName = "livekit.IngressVideoOptions";
319
+ static readonly fields: FieldList;
320
+
321
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressVideoOptions;
322
+
323
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressVideoOptions;
324
+
325
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressVideoOptions;
326
+
327
+ static equals(a: IngressVideoOptions | PlainMessage<IngressVideoOptions> | undefined, b: IngressVideoOptions | PlainMessage<IngressVideoOptions> | undefined): boolean;
328
+ }
329
+
330
+ /**
331
+ * @generated from message livekit.IngressAudioEncodingOptions
332
+ */
333
+ export declare class IngressAudioEncodingOptions extends Message<IngressAudioEncodingOptions> {
334
+ /**
335
+ * desired audio codec to publish to room
336
+ *
337
+ * @generated from field: livekit.AudioCodec audio_codec = 1;
338
+ */
339
+ audioCodec: AudioCodec;
340
+
341
+ /**
342
+ * @generated from field: uint32 bitrate = 2;
343
+ */
344
+ bitrate: number;
345
+
346
+ /**
347
+ * @generated from field: bool disable_dtx = 3;
348
+ */
349
+ disableDtx: boolean;
350
+
351
+ /**
352
+ * @generated from field: uint32 channels = 4;
353
+ */
354
+ channels: number;
355
+
356
+ constructor(data?: PartialMessage<IngressAudioEncodingOptions>);
357
+
358
+ static readonly runtime: typeof proto3;
359
+ static readonly typeName = "livekit.IngressAudioEncodingOptions";
360
+ static readonly fields: FieldList;
361
+
362
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressAudioEncodingOptions;
363
+
364
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressAudioEncodingOptions;
365
+
366
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressAudioEncodingOptions;
367
+
368
+ static equals(a: IngressAudioEncodingOptions | PlainMessage<IngressAudioEncodingOptions> | undefined, b: IngressAudioEncodingOptions | PlainMessage<IngressAudioEncodingOptions> | undefined): boolean;
369
+ }
370
+
371
+ /**
372
+ * @generated from message livekit.IngressVideoEncodingOptions
373
+ */
374
+ export declare class IngressVideoEncodingOptions extends Message<IngressVideoEncodingOptions> {
375
+ /**
376
+ * desired codec to publish to room
377
+ *
378
+ * @generated from field: livekit.VideoCodec video_codec = 1;
379
+ */
380
+ videoCodec: VideoCodec;
381
+
382
+ /**
383
+ * @generated from field: double frame_rate = 2;
384
+ */
385
+ frameRate: number;
386
+
387
+ /**
388
+ * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions
389
+ *
390
+ * @generated from field: repeated livekit.VideoLayer layers = 3;
391
+ */
392
+ layers: VideoLayer[];
393
+
394
+ constructor(data?: PartialMessage<IngressVideoEncodingOptions>);
395
+
396
+ static readonly runtime: typeof proto3;
397
+ static readonly typeName = "livekit.IngressVideoEncodingOptions";
398
+ static readonly fields: FieldList;
399
+
400
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressVideoEncodingOptions;
401
+
402
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressVideoEncodingOptions;
403
+
404
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressVideoEncodingOptions;
405
+
406
+ static equals(a: IngressVideoEncodingOptions | PlainMessage<IngressVideoEncodingOptions> | undefined, b: IngressVideoEncodingOptions | PlainMessage<IngressVideoEncodingOptions> | undefined): boolean;
407
+ }
408
+
409
+ /**
410
+ * @generated from message livekit.IngressInfo
411
+ */
412
+ export declare class IngressInfo extends Message<IngressInfo> {
413
+ /**
414
+ * @generated from field: string ingress_id = 1;
415
+ */
416
+ ingressId: string;
417
+
418
+ /**
419
+ * @generated from field: string name = 2;
420
+ */
421
+ name: string;
422
+
423
+ /**
424
+ * @generated from field: string stream_key = 3;
425
+ */
426
+ streamKey: string;
427
+
428
+ /**
429
+ * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)
430
+ *
431
+ * @generated from field: string url = 4;
432
+ */
433
+ url: string;
434
+
435
+ /**
436
+ * for RTMP input, it'll be a rtmp:// URL
437
+ * for FILE input, it'll be a http:// URL
438
+ * for SRT input, it'll be a srt:// URL
439
+ *
440
+ * @generated from field: livekit.IngressInput input_type = 5;
441
+ */
442
+ inputType: IngressInput;
443
+
444
+ /**
445
+ * @generated from field: bool bypass_transcoding = 13 [deprecated = true];
446
+ * @deprecated
447
+ */
448
+ bypassTranscoding: boolean;
449
+
450
+ /**
451
+ * @generated from field: optional bool enable_transcoding = 15;
452
+ */
453
+ enableTranscoding?: boolean;
454
+
455
+ /**
456
+ * @generated from field: livekit.IngressAudioOptions audio = 6;
457
+ */
458
+ audio?: IngressAudioOptions;
459
+
460
+ /**
461
+ * @generated from field: livekit.IngressVideoOptions video = 7;
462
+ */
463
+ video?: IngressVideoOptions;
464
+
465
+ /**
466
+ * @generated from field: string room_name = 8;
467
+ */
468
+ roomName: string;
469
+
470
+ /**
471
+ * @generated from field: string participant_identity = 9;
472
+ */
473
+ participantIdentity: string;
474
+
475
+ /**
476
+ * @generated from field: string participant_name = 10;
477
+ */
478
+ participantName: string;
479
+
480
+ /**
481
+ * @generated from field: string participant_metadata = 14;
482
+ */
483
+ participantMetadata: string;
484
+
485
+ /**
486
+ * @generated from field: bool reusable = 11;
487
+ */
488
+ reusable: boolean;
489
+
490
+ /**
491
+ * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)
492
+ *
493
+ * @generated from field: livekit.IngressState state = 12;
494
+ */
495
+ state?: IngressState;
496
+
497
+ /**
498
+ * The default value is true and when set to false, the new connection attempts will be rejected
499
+ *
500
+ * @generated from field: optional bool enabled = 16;
501
+ */
502
+ enabled?: boolean;
503
+
504
+ constructor(data?: PartialMessage<IngressInfo>);
505
+
506
+ static readonly runtime: typeof proto3;
507
+ static readonly typeName = "livekit.IngressInfo";
508
+ static readonly fields: FieldList;
509
+
510
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressInfo;
511
+
512
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressInfo;
513
+
514
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressInfo;
515
+
516
+ static equals(a: IngressInfo | PlainMessage<IngressInfo> | undefined, b: IngressInfo | PlainMessage<IngressInfo> | undefined): boolean;
517
+ }
518
+
519
+ /**
520
+ * @generated from message livekit.IngressState
521
+ */
522
+ export declare class IngressState extends Message<IngressState> {
523
+ /**
524
+ * @generated from field: livekit.IngressState.Status status = 1;
525
+ */
526
+ status: IngressState_Status;
527
+
528
+ /**
529
+ * Error/non compliance description if any
530
+ *
531
+ * @generated from field: string error = 2;
532
+ */
533
+ error: string;
534
+
535
+ /**
536
+ * @generated from field: livekit.InputVideoState video = 3;
537
+ */
538
+ video?: InputVideoState;
539
+
540
+ /**
541
+ * @generated from field: livekit.InputAudioState audio = 4;
542
+ */
543
+ audio?: InputAudioState;
544
+
545
+ /**
546
+ * ID of the current/previous room published to
547
+ *
548
+ * @generated from field: string room_id = 5;
549
+ */
550
+ roomId: string;
551
+
552
+ /**
553
+ * @generated from field: int64 started_at = 7;
554
+ */
555
+ startedAt: bigint;
556
+
557
+ /**
558
+ * @generated from field: int64 ended_at = 8;
559
+ */
560
+ endedAt: bigint;
561
+
562
+ /**
563
+ * @generated from field: int64 updated_at = 10;
564
+ */
565
+ updatedAt: bigint;
566
+
567
+ /**
568
+ * @generated from field: string resource_id = 9;
569
+ */
570
+ resourceId: string;
571
+
572
+ /**
573
+ * @generated from field: repeated livekit.TrackInfo tracks = 6;
574
+ */
575
+ tracks: TrackInfo[];
576
+
577
+ constructor(data?: PartialMessage<IngressState>);
578
+
579
+ static readonly runtime: typeof proto3;
580
+ static readonly typeName = "livekit.IngressState";
581
+ static readonly fields: FieldList;
582
+
583
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressState;
584
+
585
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressState;
586
+
587
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressState;
588
+
589
+ static equals(a: IngressState | PlainMessage<IngressState> | undefined, b: IngressState | PlainMessage<IngressState> | undefined): boolean;
590
+ }
591
+
592
+ /**
593
+ * @generated from enum livekit.IngressState.Status
594
+ */
595
+ export declare enum IngressState_Status {
596
+ /**
597
+ * @generated from enum value: ENDPOINT_INACTIVE = 0;
598
+ */
599
+ ENDPOINT_INACTIVE = 0,
600
+
601
+ /**
602
+ * @generated from enum value: ENDPOINT_BUFFERING = 1;
603
+ */
604
+ ENDPOINT_BUFFERING = 1,
605
+
606
+ /**
607
+ * @generated from enum value: ENDPOINT_PUBLISHING = 2;
608
+ */
609
+ ENDPOINT_PUBLISHING = 2,
610
+
611
+ /**
612
+ * @generated from enum value: ENDPOINT_ERROR = 3;
613
+ */
614
+ ENDPOINT_ERROR = 3,
615
+
616
+ /**
617
+ * @generated from enum value: ENDPOINT_COMPLETE = 4;
618
+ */
619
+ ENDPOINT_COMPLETE = 4,
620
+ }
621
+
622
+ /**
623
+ * @generated from message livekit.InputVideoState
624
+ */
625
+ export declare class InputVideoState extends Message<InputVideoState> {
626
+ /**
627
+ * @generated from field: string mime_type = 1;
628
+ */
629
+ mimeType: string;
630
+
631
+ /**
632
+ * @generated from field: uint32 average_bitrate = 2;
633
+ */
634
+ averageBitrate: number;
635
+
636
+ /**
637
+ * @generated from field: uint32 width = 3;
638
+ */
639
+ width: number;
640
+
641
+ /**
642
+ * @generated from field: uint32 height = 4;
643
+ */
644
+ height: number;
645
+
646
+ /**
647
+ * @generated from field: double framerate = 5;
648
+ */
649
+ framerate: number;
650
+
651
+ constructor(data?: PartialMessage<InputVideoState>);
652
+
653
+ static readonly runtime: typeof proto3;
654
+ static readonly typeName = "livekit.InputVideoState";
655
+ static readonly fields: FieldList;
656
+
657
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputVideoState;
658
+
659
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputVideoState;
660
+
661
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputVideoState;
662
+
663
+ static equals(a: InputVideoState | PlainMessage<InputVideoState> | undefined, b: InputVideoState | PlainMessage<InputVideoState> | undefined): boolean;
664
+ }
665
+
666
+ /**
667
+ * @generated from message livekit.InputAudioState
668
+ */
669
+ export declare class InputAudioState extends Message<InputAudioState> {
670
+ /**
671
+ * @generated from field: string mime_type = 1;
672
+ */
673
+ mimeType: string;
674
+
675
+ /**
676
+ * @generated from field: uint32 average_bitrate = 2;
677
+ */
678
+ averageBitrate: number;
679
+
680
+ /**
681
+ * @generated from field: uint32 channels = 3;
682
+ */
683
+ channels: number;
684
+
685
+ /**
686
+ * @generated from field: uint32 sample_rate = 4;
687
+ */
688
+ sampleRate: number;
689
+
690
+ constructor(data?: PartialMessage<InputAudioState>);
691
+
692
+ static readonly runtime: typeof proto3;
693
+ static readonly typeName = "livekit.InputAudioState";
694
+ static readonly fields: FieldList;
695
+
696
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputAudioState;
697
+
698
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputAudioState;
699
+
700
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputAudioState;
701
+
702
+ static equals(a: InputAudioState | PlainMessage<InputAudioState> | undefined, b: InputAudioState | PlainMessage<InputAudioState> | undefined): boolean;
703
+ }
704
+
705
+ /**
706
+ * @generated from message livekit.UpdateIngressRequest
707
+ */
708
+ export declare class UpdateIngressRequest extends Message<UpdateIngressRequest> {
709
+ /**
710
+ * @generated from field: string ingress_id = 1;
711
+ */
712
+ ingressId: string;
713
+
714
+ /**
715
+ * @generated from field: string name = 2;
716
+ */
717
+ name: string;
718
+
719
+ /**
720
+ * @generated from field: string room_name = 3;
721
+ */
722
+ roomName: string;
723
+
724
+ /**
725
+ * @generated from field: string participant_identity = 4;
726
+ */
727
+ participantIdentity: string;
728
+
729
+ /**
730
+ * @generated from field: string participant_name = 5;
731
+ */
732
+ participantName: string;
733
+
734
+ /**
735
+ * @generated from field: string participant_metadata = 9;
736
+ */
737
+ participantMetadata: string;
738
+
739
+ /**
740
+ * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];
741
+ * @deprecated
742
+ */
743
+ bypassTranscoding?: boolean;
744
+
745
+ /**
746
+ * @generated from field: optional bool enable_transcoding = 10;
747
+ */
748
+ enableTranscoding?: boolean;
749
+
750
+ /**
751
+ * @generated from field: livekit.IngressAudioOptions audio = 6;
752
+ */
753
+ audio?: IngressAudioOptions;
754
+
755
+ /**
756
+ * @generated from field: livekit.IngressVideoOptions video = 7;
757
+ */
758
+ video?: IngressVideoOptions;
759
+
760
+ /**
761
+ * The default value is true and when set to false, the new connection attempts will be rejected
762
+ *
763
+ * @generated from field: optional bool enabled = 11;
764
+ */
765
+ enabled?: boolean;
766
+
767
+ constructor(data?: PartialMessage<UpdateIngressRequest>);
768
+
769
+ static readonly runtime: typeof proto3;
770
+ static readonly typeName = "livekit.UpdateIngressRequest";
771
+ static readonly fields: FieldList;
772
+
773
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateIngressRequest;
774
+
775
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateIngressRequest;
776
+
777
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateIngressRequest;
778
+
779
+ static equals(a: UpdateIngressRequest | PlainMessage<UpdateIngressRequest> | undefined, b: UpdateIngressRequest | PlainMessage<UpdateIngressRequest> | undefined): boolean;
780
+ }
781
+
782
+ /**
783
+ * @generated from message livekit.ListIngressRequest
784
+ */
785
+ export declare class ListIngressRequest extends Message<ListIngressRequest> {
786
+ /**
787
+ * when blank, lists all ingress endpoints
788
+ *
789
+ * (optional, filter by room name)
790
+ *
791
+ * @generated from field: string room_name = 1;
792
+ */
793
+ roomName: string;
794
+
795
+ /**
796
+ * (optional, filter by ingress ID)
797
+ *
798
+ * @generated from field: string ingress_id = 2;
799
+ */
800
+ ingressId: string;
801
+
802
+ constructor(data?: PartialMessage<ListIngressRequest>);
803
+
804
+ static readonly runtime: typeof proto3;
805
+ static readonly typeName = "livekit.ListIngressRequest";
806
+ static readonly fields: FieldList;
807
+
808
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIngressRequest;
809
+
810
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIngressRequest;
811
+
812
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIngressRequest;
813
+
814
+ static equals(a: ListIngressRequest | PlainMessage<ListIngressRequest> | undefined, b: ListIngressRequest | PlainMessage<ListIngressRequest> | undefined): boolean;
815
+ }
816
+
817
+ /**
818
+ * @generated from message livekit.ListIngressResponse
819
+ */
820
+ export declare class ListIngressResponse extends Message<ListIngressResponse> {
821
+ /**
822
+ * @generated from field: repeated livekit.IngressInfo items = 1;
823
+ */
824
+ items: IngressInfo[];
825
+
826
+ constructor(data?: PartialMessage<ListIngressResponse>);
827
+
828
+ static readonly runtime: typeof proto3;
829
+ static readonly typeName = "livekit.ListIngressResponse";
830
+ static readonly fields: FieldList;
831
+
832
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIngressResponse;
833
+
834
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIngressResponse;
835
+
836
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIngressResponse;
837
+
838
+ static equals(a: ListIngressResponse | PlainMessage<ListIngressResponse> | undefined, b: ListIngressResponse | PlainMessage<ListIngressResponse> | undefined): boolean;
839
+ }
840
+
841
+ /**
842
+ * @generated from message livekit.DeleteIngressRequest
843
+ */
844
+ export declare class DeleteIngressRequest extends Message<DeleteIngressRequest> {
845
+ /**
846
+ * @generated from field: string ingress_id = 1;
847
+ */
848
+ ingressId: string;
849
+
850
+ constructor(data?: PartialMessage<DeleteIngressRequest>);
851
+
852
+ static readonly runtime: typeof proto3;
853
+ static readonly typeName = "livekit.DeleteIngressRequest";
854
+ static readonly fields: FieldList;
855
+
856
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteIngressRequest;
857
+
858
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteIngressRequest;
859
+
860
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteIngressRequest;
861
+
862
+ static equals(a: DeleteIngressRequest | PlainMessage<DeleteIngressRequest> | undefined, b: DeleteIngressRequest | PlainMessage<DeleteIngressRequest> | undefined): boolean;
863
+ }
864
+