livekit-server-sdk 2.1.0 → 2.1.2

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 (36) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/EgressClient.d.ts +1 -1
  3. package/dist/EgressClient.js +1 -1
  4. package/dist/EgressClient.js.map +1 -1
  5. package/dist/IngressClient.d.ts +1 -1
  6. package/dist/IngressClient.js +1 -1
  7. package/dist/IngressClient.js.map +1 -1
  8. package/dist/RoomServiceClient.d.ts +7 -4
  9. package/dist/RoomServiceClient.js +2 -3
  10. package/dist/RoomServiceClient.js.map +1 -1
  11. package/dist/WebhookReceiver.d.ts +2 -2
  12. package/dist/WebhookReceiver.js +1 -1
  13. package/dist/WebhookReceiver.js.map +1 -1
  14. package/dist/grants.d.ts +1 -1
  15. package/dist/grants.js +1 -1
  16. package/dist/grants.js.map +1 -1
  17. package/dist/index.d.ts +1 -3
  18. package/dist/index.js +1 -3
  19. package/dist/index.js.map +1 -1
  20. package/package.json +3 -4
  21. package/dist/proto/livekit_egress_pb.d.ts +0 -1650
  22. package/dist/proto/livekit_egress_pb.js +0 -1878
  23. package/dist/proto/livekit_egress_pb.js.map +0 -1
  24. package/dist/proto/livekit_ingress_pb.d.ts +0 -624
  25. package/dist/proto/livekit_ingress_pb.js +0 -824
  26. package/dist/proto/livekit_ingress_pb.js.map +0 -1
  27. package/dist/proto/livekit_models_pb.d.ts +0 -1349
  28. package/dist/proto/livekit_models_pb.js +0 -1829
  29. package/dist/proto/livekit_models_pb.js.map +0 -1
  30. package/dist/proto/livekit_room_pb.d.ts +0 -460
  31. package/dist/proto/livekit_room_pb.js +0 -695
  32. package/dist/proto/livekit_room_pb.js.map +0 -1
  33. package/dist/proto/livekit_webhook_pb.d.ts +0 -70
  34. package/dist/proto/livekit_webhook_pb.js +0 -76
  35. package/dist/proto/livekit_webhook_pb.js.map +0 -1
  36. package/generate-proto.sh +0 -8
@@ -1,624 +0,0 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
- import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js";
4
- /**
5
- * @generated from enum livekit.IngressInput
6
- */
7
- export declare enum IngressInput {
8
- /**
9
- * @generated from enum value: RTMP_INPUT = 0;
10
- */
11
- RTMP_INPUT = 0,
12
- /**
13
- * @generated from enum value: WHIP_INPUT = 1;
14
- */
15
- WHIP_INPUT = 1,
16
- /**
17
- * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream
18
- *
19
- * @generated from enum value: URL_INPUT = 2;
20
- */
21
- URL_INPUT = 2
22
- }
23
- /**
24
- * @generated from enum livekit.IngressAudioEncodingPreset
25
- */
26
- export declare enum IngressAudioEncodingPreset {
27
- /**
28
- * OPUS, 2 channels, 96kbps
29
- *
30
- * @generated from enum value: OPUS_STEREO_96KBPS = 0;
31
- */
32
- OPUS_STEREO_96KBPS = 0,
33
- /**
34
- * OPUS, 1 channel, 64kbps
35
- *
36
- * @generated from enum value: OPUS_MONO_64KBS = 1;
37
- */
38
- OPUS_MONO_64KBS = 1
39
- }
40
- /**
41
- * @generated from enum livekit.IngressVideoEncodingPreset
42
- */
43
- export declare enum IngressVideoEncodingPreset {
44
- /**
45
- * 1280x720, 30fps, 1900kbps main layer, 3 layers total
46
- *
47
- * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0;
48
- */
49
- H264_720P_30FPS_3_LAYERS = 0,
50
- /**
51
- * 1980x1080, 30fps, 3500kbps main layer, 3 layers total
52
- *
53
- * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1;
54
- */
55
- H264_1080P_30FPS_3_LAYERS = 1,
56
- /**
57
- * 960x540, 25fps, 1000kbps main layer, 2 layers total
58
- *
59
- * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2;
60
- */
61
- H264_540P_25FPS_2_LAYERS = 2,
62
- /**
63
- * 1280x720, 30fps, 1900kbps, no simulcast
64
- *
65
- * @generated from enum value: H264_720P_30FPS_1_LAYER = 3;
66
- */
67
- H264_720P_30FPS_1_LAYER = 3,
68
- /**
69
- * 1980x1080, 30fps, 3500kbps, no simulcast
70
- *
71
- * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4;
72
- */
73
- H264_1080P_30FPS_1_LAYER = 4,
74
- /**
75
- * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content
76
- *
77
- * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5;
78
- */
79
- H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5,
80
- /**
81
- * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content
82
- *
83
- * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6;
84
- */
85
- H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6,
86
- /**
87
- * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content
88
- *
89
- * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7;
90
- */
91
- H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7,
92
- /**
93
- * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content
94
- *
95
- * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8;
96
- */
97
- H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8,
98
- /**
99
- * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content
100
- *
101
- * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9;
102
- */
103
- H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9
104
- }
105
- /**
106
- * @generated from message livekit.CreateIngressRequest
107
- */
108
- export declare class CreateIngressRequest extends Message<CreateIngressRequest> {
109
- /**
110
- * @generated from field: livekit.IngressInput input_type = 1;
111
- */
112
- inputType: IngressInput;
113
- /**
114
- * Where to pull media from, only for URL input type
115
- *
116
- * @generated from field: string url = 9;
117
- */
118
- url: string;
119
- /**
120
- * User provided identifier for the ingress
121
- *
122
- * @generated from field: string name = 2;
123
- */
124
- name: string;
125
- /**
126
- * room to publish to
127
- *
128
- * @generated from field: string room_name = 3;
129
- */
130
- roomName: string;
131
- /**
132
- * publish as participant
133
- *
134
- * @generated from field: string participant_identity = 4;
135
- */
136
- participantIdentity: string;
137
- /**
138
- * name of publishing participant (used for display only)
139
- *
140
- * @generated from field: string participant_name = 5;
141
- */
142
- participantName: string;
143
- /**
144
- * whether to pass through the incoming media without transcoding, only compatible with some input types
145
- *
146
- * @generated from field: bool bypass_transcoding = 8;
147
- */
148
- bypassTranscoding: boolean;
149
- /**
150
- * @generated from field: livekit.IngressAudioOptions audio = 6;
151
- */
152
- audio?: IngressAudioOptions;
153
- /**
154
- * @generated from field: livekit.IngressVideoOptions video = 7;
155
- */
156
- video?: IngressVideoOptions;
157
- constructor(data?: PartialMessage<CreateIngressRequest>);
158
- static readonly runtime: typeof proto3;
159
- static readonly typeName = "livekit.CreateIngressRequest";
160
- static readonly fields: FieldList;
161
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateIngressRequest;
162
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateIngressRequest;
163
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateIngressRequest;
164
- static equals(a: CreateIngressRequest | PlainMessage<CreateIngressRequest> | undefined, b: CreateIngressRequest | PlainMessage<CreateIngressRequest> | undefined): boolean;
165
- }
166
- /**
167
- * @generated from message livekit.IngressAudioOptions
168
- */
169
- export declare class IngressAudioOptions extends Message<IngressAudioOptions> {
170
- /**
171
- * @generated from field: string name = 1;
172
- */
173
- name: string;
174
- /**
175
- * @generated from field: livekit.TrackSource source = 2;
176
- */
177
- source: TrackSource;
178
- /**
179
- * @generated from oneof livekit.IngressAudioOptions.encoding_options
180
- */
181
- encodingOptions: {
182
- /**
183
- * @generated from field: livekit.IngressAudioEncodingPreset preset = 3;
184
- */
185
- value: IngressAudioEncodingPreset;
186
- case: "preset";
187
- } | {
188
- /**
189
- * @generated from field: livekit.IngressAudioEncodingOptions options = 4;
190
- */
191
- value: IngressAudioEncodingOptions;
192
- case: "options";
193
- } | {
194
- case: undefined;
195
- value?: undefined;
196
- };
197
- constructor(data?: PartialMessage<IngressAudioOptions>);
198
- static readonly runtime: typeof proto3;
199
- static readonly typeName = "livekit.IngressAudioOptions";
200
- static readonly fields: FieldList;
201
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressAudioOptions;
202
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressAudioOptions;
203
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressAudioOptions;
204
- static equals(a: IngressAudioOptions | PlainMessage<IngressAudioOptions> | undefined, b: IngressAudioOptions | PlainMessage<IngressAudioOptions> | undefined): boolean;
205
- }
206
- /**
207
- * @generated from message livekit.IngressVideoOptions
208
- */
209
- export declare class IngressVideoOptions extends Message<IngressVideoOptions> {
210
- /**
211
- * @generated from field: string name = 1;
212
- */
213
- name: string;
214
- /**
215
- * @generated from field: livekit.TrackSource source = 2;
216
- */
217
- source: TrackSource;
218
- /**
219
- * @generated from oneof livekit.IngressVideoOptions.encoding_options
220
- */
221
- encodingOptions: {
222
- /**
223
- * @generated from field: livekit.IngressVideoEncodingPreset preset = 3;
224
- */
225
- value: IngressVideoEncodingPreset;
226
- case: "preset";
227
- } | {
228
- /**
229
- * @generated from field: livekit.IngressVideoEncodingOptions options = 4;
230
- */
231
- value: IngressVideoEncodingOptions;
232
- case: "options";
233
- } | {
234
- case: undefined;
235
- value?: undefined;
236
- };
237
- constructor(data?: PartialMessage<IngressVideoOptions>);
238
- static readonly runtime: typeof proto3;
239
- static readonly typeName = "livekit.IngressVideoOptions";
240
- static readonly fields: FieldList;
241
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressVideoOptions;
242
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressVideoOptions;
243
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressVideoOptions;
244
- static equals(a: IngressVideoOptions | PlainMessage<IngressVideoOptions> | undefined, b: IngressVideoOptions | PlainMessage<IngressVideoOptions> | undefined): boolean;
245
- }
246
- /**
247
- * @generated from message livekit.IngressAudioEncodingOptions
248
- */
249
- export declare class IngressAudioEncodingOptions extends Message<IngressAudioEncodingOptions> {
250
- /**
251
- * desired audio codec to publish to room
252
- *
253
- * @generated from field: livekit.AudioCodec audio_codec = 1;
254
- */
255
- audioCodec: AudioCodec;
256
- /**
257
- * @generated from field: uint32 bitrate = 2;
258
- */
259
- bitrate: number;
260
- /**
261
- * @generated from field: bool disable_dtx = 3;
262
- */
263
- disableDtx: boolean;
264
- /**
265
- * @generated from field: uint32 channels = 4;
266
- */
267
- channels: number;
268
- constructor(data?: PartialMessage<IngressAudioEncodingOptions>);
269
- static readonly runtime: typeof proto3;
270
- static readonly typeName = "livekit.IngressAudioEncodingOptions";
271
- static readonly fields: FieldList;
272
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressAudioEncodingOptions;
273
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressAudioEncodingOptions;
274
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressAudioEncodingOptions;
275
- static equals(a: IngressAudioEncodingOptions | PlainMessage<IngressAudioEncodingOptions> | undefined, b: IngressAudioEncodingOptions | PlainMessage<IngressAudioEncodingOptions> | undefined): boolean;
276
- }
277
- /**
278
- * @generated from message livekit.IngressVideoEncodingOptions
279
- */
280
- export declare class IngressVideoEncodingOptions extends Message<IngressVideoEncodingOptions> {
281
- /**
282
- * desired codec to publish to room
283
- *
284
- * @generated from field: livekit.VideoCodec video_codec = 1;
285
- */
286
- videoCodec: VideoCodec;
287
- /**
288
- * @generated from field: double frame_rate = 2;
289
- */
290
- frameRate: number;
291
- /**
292
- * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions
293
- *
294
- * @generated from field: repeated livekit.VideoLayer layers = 3;
295
- */
296
- layers: VideoLayer[];
297
- constructor(data?: PartialMessage<IngressVideoEncodingOptions>);
298
- static readonly runtime: typeof proto3;
299
- static readonly typeName = "livekit.IngressVideoEncodingOptions";
300
- static readonly fields: FieldList;
301
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressVideoEncodingOptions;
302
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressVideoEncodingOptions;
303
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressVideoEncodingOptions;
304
- static equals(a: IngressVideoEncodingOptions | PlainMessage<IngressVideoEncodingOptions> | undefined, b: IngressVideoEncodingOptions | PlainMessage<IngressVideoEncodingOptions> | undefined): boolean;
305
- }
306
- /**
307
- * @generated from message livekit.IngressInfo
308
- */
309
- export declare class IngressInfo extends Message<IngressInfo> {
310
- /**
311
- * @generated from field: string ingress_id = 1;
312
- */
313
- ingressId: string;
314
- /**
315
- * @generated from field: string name = 2;
316
- */
317
- name: string;
318
- /**
319
- * @generated from field: string stream_key = 3;
320
- */
321
- streamKey: string;
322
- /**
323
- * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)
324
- *
325
- * @generated from field: string url = 4;
326
- */
327
- url: string;
328
- /**
329
- * for RTMP input, it'll be a rtmp:// URL
330
- * for FILE input, it'll be a http:// URL
331
- * for SRT input, it'll be a srt:// URL
332
- *
333
- * @generated from field: livekit.IngressInput input_type = 5;
334
- */
335
- inputType: IngressInput;
336
- /**
337
- * @generated from field: bool bypass_transcoding = 13;
338
- */
339
- bypassTranscoding: boolean;
340
- /**
341
- * @generated from field: livekit.IngressAudioOptions audio = 6;
342
- */
343
- audio?: IngressAudioOptions;
344
- /**
345
- * @generated from field: livekit.IngressVideoOptions video = 7;
346
- */
347
- video?: IngressVideoOptions;
348
- /**
349
- * @generated from field: string room_name = 8;
350
- */
351
- roomName: string;
352
- /**
353
- * @generated from field: string participant_identity = 9;
354
- */
355
- participantIdentity: string;
356
- /**
357
- * @generated from field: string participant_name = 10;
358
- */
359
- participantName: string;
360
- /**
361
- * @generated from field: bool reusable = 11;
362
- */
363
- reusable: boolean;
364
- /**
365
- * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)
366
- *
367
- * @generated from field: livekit.IngressState state = 12;
368
- */
369
- state?: IngressState;
370
- constructor(data?: PartialMessage<IngressInfo>);
371
- static readonly runtime: typeof proto3;
372
- static readonly typeName = "livekit.IngressInfo";
373
- static readonly fields: FieldList;
374
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressInfo;
375
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressInfo;
376
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressInfo;
377
- static equals(a: IngressInfo | PlainMessage<IngressInfo> | undefined, b: IngressInfo | PlainMessage<IngressInfo> | undefined): boolean;
378
- }
379
- /**
380
- * @generated from message livekit.IngressState
381
- */
382
- export declare class IngressState extends Message<IngressState> {
383
- /**
384
- * @generated from field: livekit.IngressState.Status status = 1;
385
- */
386
- status: IngressState_Status;
387
- /**
388
- * Error/non compliance description if any
389
- *
390
- * @generated from field: string error = 2;
391
- */
392
- error: string;
393
- /**
394
- * @generated from field: livekit.InputVideoState video = 3;
395
- */
396
- video?: InputVideoState;
397
- /**
398
- * @generated from field: livekit.InputAudioState audio = 4;
399
- */
400
- audio?: InputAudioState;
401
- /**
402
- * ID of the current/previous room published to
403
- *
404
- * @generated from field: string room_id = 5;
405
- */
406
- roomId: string;
407
- /**
408
- * @generated from field: int64 started_at = 7;
409
- */
410
- startedAt: bigint;
411
- /**
412
- * @generated from field: int64 ended_at = 8;
413
- */
414
- endedAt: bigint;
415
- /**
416
- * @generated from field: string resource_id = 9;
417
- */
418
- resourceId: string;
419
- /**
420
- * @generated from field: repeated livekit.TrackInfo tracks = 6;
421
- */
422
- tracks: TrackInfo[];
423
- constructor(data?: PartialMessage<IngressState>);
424
- static readonly runtime: typeof proto3;
425
- static readonly typeName = "livekit.IngressState";
426
- static readonly fields: FieldList;
427
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressState;
428
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressState;
429
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressState;
430
- static equals(a: IngressState | PlainMessage<IngressState> | undefined, b: IngressState | PlainMessage<IngressState> | undefined): boolean;
431
- }
432
- /**
433
- * @generated from enum livekit.IngressState.Status
434
- */
435
- export declare enum IngressState_Status {
436
- /**
437
- * @generated from enum value: ENDPOINT_INACTIVE = 0;
438
- */
439
- ENDPOINT_INACTIVE = 0,
440
- /**
441
- * @generated from enum value: ENDPOINT_BUFFERING = 1;
442
- */
443
- ENDPOINT_BUFFERING = 1,
444
- /**
445
- * @generated from enum value: ENDPOINT_PUBLISHING = 2;
446
- */
447
- ENDPOINT_PUBLISHING = 2,
448
- /**
449
- * @generated from enum value: ENDPOINT_ERROR = 3;
450
- */
451
- ENDPOINT_ERROR = 3,
452
- /**
453
- * @generated from enum value: ENDPOINT_COMPLETE = 4;
454
- */
455
- ENDPOINT_COMPLETE = 4
456
- }
457
- /**
458
- * @generated from message livekit.InputVideoState
459
- */
460
- export declare class InputVideoState extends Message<InputVideoState> {
461
- /**
462
- * @generated from field: string mime_type = 1;
463
- */
464
- mimeType: string;
465
- /**
466
- * @generated from field: uint32 average_bitrate = 2;
467
- */
468
- averageBitrate: number;
469
- /**
470
- * @generated from field: uint32 width = 3;
471
- */
472
- width: number;
473
- /**
474
- * @generated from field: uint32 height = 4;
475
- */
476
- height: number;
477
- /**
478
- * @generated from field: double framerate = 5;
479
- */
480
- framerate: number;
481
- constructor(data?: PartialMessage<InputVideoState>);
482
- static readonly runtime: typeof proto3;
483
- static readonly typeName = "livekit.InputVideoState";
484
- static readonly fields: FieldList;
485
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputVideoState;
486
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputVideoState;
487
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputVideoState;
488
- static equals(a: InputVideoState | PlainMessage<InputVideoState> | undefined, b: InputVideoState | PlainMessage<InputVideoState> | undefined): boolean;
489
- }
490
- /**
491
- * @generated from message livekit.InputAudioState
492
- */
493
- export declare class InputAudioState extends Message<InputAudioState> {
494
- /**
495
- * @generated from field: string mime_type = 1;
496
- */
497
- mimeType: string;
498
- /**
499
- * @generated from field: uint32 average_bitrate = 2;
500
- */
501
- averageBitrate: number;
502
- /**
503
- * @generated from field: uint32 channels = 3;
504
- */
505
- channels: number;
506
- /**
507
- * @generated from field: uint32 sample_rate = 4;
508
- */
509
- sampleRate: number;
510
- constructor(data?: PartialMessage<InputAudioState>);
511
- static readonly runtime: typeof proto3;
512
- static readonly typeName = "livekit.InputAudioState";
513
- static readonly fields: FieldList;
514
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputAudioState;
515
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputAudioState;
516
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputAudioState;
517
- static equals(a: InputAudioState | PlainMessage<InputAudioState> | undefined, b: InputAudioState | PlainMessage<InputAudioState> | undefined): boolean;
518
- }
519
- /**
520
- * @generated from message livekit.UpdateIngressRequest
521
- */
522
- export declare class UpdateIngressRequest extends Message<UpdateIngressRequest> {
523
- /**
524
- * @generated from field: string ingress_id = 1;
525
- */
526
- ingressId: string;
527
- /**
528
- * @generated from field: string name = 2;
529
- */
530
- name: string;
531
- /**
532
- * @generated from field: string room_name = 3;
533
- */
534
- roomName: string;
535
- /**
536
- * @generated from field: string participant_identity = 4;
537
- */
538
- participantIdentity: string;
539
- /**
540
- * @generated from field: string participant_name = 5;
541
- */
542
- participantName: string;
543
- /**
544
- * @generated from field: optional bool bypass_transcoding = 8;
545
- */
546
- bypassTranscoding?: boolean;
547
- /**
548
- * @generated from field: livekit.IngressAudioOptions audio = 6;
549
- */
550
- audio?: IngressAudioOptions;
551
- /**
552
- * @generated from field: livekit.IngressVideoOptions video = 7;
553
- */
554
- video?: IngressVideoOptions;
555
- constructor(data?: PartialMessage<UpdateIngressRequest>);
556
- static readonly runtime: typeof proto3;
557
- static readonly typeName = "livekit.UpdateIngressRequest";
558
- static readonly fields: FieldList;
559
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateIngressRequest;
560
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateIngressRequest;
561
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateIngressRequest;
562
- static equals(a: UpdateIngressRequest | PlainMessage<UpdateIngressRequest> | undefined, b: UpdateIngressRequest | PlainMessage<UpdateIngressRequest> | undefined): boolean;
563
- }
564
- /**
565
- * @generated from message livekit.ListIngressRequest
566
- */
567
- export declare class ListIngressRequest extends Message<ListIngressRequest> {
568
- /**
569
- * when blank, lists all ingress endpoints
570
- *
571
- * (optional, filter by room name)
572
- *
573
- * @generated from field: string room_name = 1;
574
- */
575
- roomName: string;
576
- /**
577
- * (optional, filter by ingress ID)
578
- *
579
- * @generated from field: string ingress_id = 2;
580
- */
581
- ingressId: string;
582
- constructor(data?: PartialMessage<ListIngressRequest>);
583
- static readonly runtime: typeof proto3;
584
- static readonly typeName = "livekit.ListIngressRequest";
585
- static readonly fields: FieldList;
586
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIngressRequest;
587
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIngressRequest;
588
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIngressRequest;
589
- static equals(a: ListIngressRequest | PlainMessage<ListIngressRequest> | undefined, b: ListIngressRequest | PlainMessage<ListIngressRequest> | undefined): boolean;
590
- }
591
- /**
592
- * @generated from message livekit.ListIngressResponse
593
- */
594
- export declare class ListIngressResponse extends Message<ListIngressResponse> {
595
- /**
596
- * @generated from field: repeated livekit.IngressInfo items = 1;
597
- */
598
- items: IngressInfo[];
599
- constructor(data?: PartialMessage<ListIngressResponse>);
600
- static readonly runtime: typeof proto3;
601
- static readonly typeName = "livekit.ListIngressResponse";
602
- static readonly fields: FieldList;
603
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIngressResponse;
604
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIngressResponse;
605
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIngressResponse;
606
- static equals(a: ListIngressResponse | PlainMessage<ListIngressResponse> | undefined, b: ListIngressResponse | PlainMessage<ListIngressResponse> | undefined): boolean;
607
- }
608
- /**
609
- * @generated from message livekit.DeleteIngressRequest
610
- */
611
- export declare class DeleteIngressRequest extends Message<DeleteIngressRequest> {
612
- /**
613
- * @generated from field: string ingress_id = 1;
614
- */
615
- ingressId: string;
616
- constructor(data?: PartialMessage<DeleteIngressRequest>);
617
- static readonly runtime: typeof proto3;
618
- static readonly typeName = "livekit.DeleteIngressRequest";
619
- static readonly fields: FieldList;
620
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteIngressRequest;
621
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteIngressRequest;
622
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteIngressRequest;
623
- static equals(a: DeleteIngressRequest | PlainMessage<DeleteIngressRequest> | undefined, b: DeleteIngressRequest | PlainMessage<DeleteIngressRequest> | undefined): boolean;
624
- }