@livekit/protocol 1.27.1 → 1.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,843 +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_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
- constructor(data?: PartialMessage<CreateIngressRequest>);
217
-
218
- static readonly runtime: typeof proto3;
219
- static readonly typeName = "livekit.CreateIngressRequest";
220
- static readonly fields: FieldList;
221
-
222
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateIngressRequest;
223
-
224
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateIngressRequest;
225
-
226
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateIngressRequest;
227
-
228
- static equals(a: CreateIngressRequest | PlainMessage<CreateIngressRequest> | undefined, b: CreateIngressRequest | PlainMessage<CreateIngressRequest> | undefined): boolean;
229
- }
230
-
231
- /**
232
- * @generated from message livekit.IngressAudioOptions
233
- */
234
- export declare class IngressAudioOptions extends Message<IngressAudioOptions> {
235
- /**
236
- * @generated from field: string name = 1;
237
- */
238
- name: string;
239
-
240
- /**
241
- * @generated from field: livekit.TrackSource source = 2;
242
- */
243
- source: TrackSource;
244
-
245
- /**
246
- * @generated from oneof livekit.IngressAudioOptions.encoding_options
247
- */
248
- encodingOptions: {
249
- /**
250
- * @generated from field: livekit.IngressAudioEncodingPreset preset = 3;
251
- */
252
- value: IngressAudioEncodingPreset;
253
- case: "preset";
254
- } | {
255
- /**
256
- * @generated from field: livekit.IngressAudioEncodingOptions options = 4;
257
- */
258
- value: IngressAudioEncodingOptions;
259
- case: "options";
260
- } | { case: undefined; value?: undefined };
261
-
262
- constructor(data?: PartialMessage<IngressAudioOptions>);
263
-
264
- static readonly runtime: typeof proto3;
265
- static readonly typeName = "livekit.IngressAudioOptions";
266
- static readonly fields: FieldList;
267
-
268
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressAudioOptions;
269
-
270
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressAudioOptions;
271
-
272
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressAudioOptions;
273
-
274
- static equals(a: IngressAudioOptions | PlainMessage<IngressAudioOptions> | undefined, b: IngressAudioOptions | PlainMessage<IngressAudioOptions> | undefined): boolean;
275
- }
276
-
277
- /**
278
- * @generated from message livekit.IngressVideoOptions
279
- */
280
- export declare class IngressVideoOptions extends Message<IngressVideoOptions> {
281
- /**
282
- * @generated from field: string name = 1;
283
- */
284
- name: string;
285
-
286
- /**
287
- * @generated from field: livekit.TrackSource source = 2;
288
- */
289
- source: TrackSource;
290
-
291
- /**
292
- * @generated from oneof livekit.IngressVideoOptions.encoding_options
293
- */
294
- encodingOptions: {
295
- /**
296
- * @generated from field: livekit.IngressVideoEncodingPreset preset = 3;
297
- */
298
- value: IngressVideoEncodingPreset;
299
- case: "preset";
300
- } | {
301
- /**
302
- * @generated from field: livekit.IngressVideoEncodingOptions options = 4;
303
- */
304
- value: IngressVideoEncodingOptions;
305
- case: "options";
306
- } | { case: undefined; value?: undefined };
307
-
308
- constructor(data?: PartialMessage<IngressVideoOptions>);
309
-
310
- static readonly runtime: typeof proto3;
311
- static readonly typeName = "livekit.IngressVideoOptions";
312
- static readonly fields: FieldList;
313
-
314
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressVideoOptions;
315
-
316
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressVideoOptions;
317
-
318
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressVideoOptions;
319
-
320
- static equals(a: IngressVideoOptions | PlainMessage<IngressVideoOptions> | undefined, b: IngressVideoOptions | PlainMessage<IngressVideoOptions> | undefined): boolean;
321
- }
322
-
323
- /**
324
- * @generated from message livekit.IngressAudioEncodingOptions
325
- */
326
- export declare class IngressAudioEncodingOptions extends Message<IngressAudioEncodingOptions> {
327
- /**
328
- * desired audio codec to publish to room
329
- *
330
- * @generated from field: livekit.AudioCodec audio_codec = 1;
331
- */
332
- audioCodec: AudioCodec;
333
-
334
- /**
335
- * @generated from field: uint32 bitrate = 2;
336
- */
337
- bitrate: number;
338
-
339
- /**
340
- * @generated from field: bool disable_dtx = 3;
341
- */
342
- disableDtx: boolean;
343
-
344
- /**
345
- * @generated from field: uint32 channels = 4;
346
- */
347
- channels: number;
348
-
349
- constructor(data?: PartialMessage<IngressAudioEncodingOptions>);
350
-
351
- static readonly runtime: typeof proto3;
352
- static readonly typeName = "livekit.IngressAudioEncodingOptions";
353
- static readonly fields: FieldList;
354
-
355
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressAudioEncodingOptions;
356
-
357
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressAudioEncodingOptions;
358
-
359
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressAudioEncodingOptions;
360
-
361
- static equals(a: IngressAudioEncodingOptions | PlainMessage<IngressAudioEncodingOptions> | undefined, b: IngressAudioEncodingOptions | PlainMessage<IngressAudioEncodingOptions> | undefined): boolean;
362
- }
363
-
364
- /**
365
- * @generated from message livekit.IngressVideoEncodingOptions
366
- */
367
- export declare class IngressVideoEncodingOptions extends Message<IngressVideoEncodingOptions> {
368
- /**
369
- * desired codec to publish to room
370
- *
371
- * @generated from field: livekit.VideoCodec video_codec = 1;
372
- */
373
- videoCodec: VideoCodec;
374
-
375
- /**
376
- * @generated from field: double frame_rate = 2;
377
- */
378
- frameRate: number;
379
-
380
- /**
381
- * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions
382
- *
383
- * @generated from field: repeated livekit.VideoLayer layers = 3;
384
- */
385
- layers: VideoLayer[];
386
-
387
- constructor(data?: PartialMessage<IngressVideoEncodingOptions>);
388
-
389
- static readonly runtime: typeof proto3;
390
- static readonly typeName = "livekit.IngressVideoEncodingOptions";
391
- static readonly fields: FieldList;
392
-
393
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressVideoEncodingOptions;
394
-
395
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressVideoEncodingOptions;
396
-
397
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressVideoEncodingOptions;
398
-
399
- static equals(a: IngressVideoEncodingOptions | PlainMessage<IngressVideoEncodingOptions> | undefined, b: IngressVideoEncodingOptions | PlainMessage<IngressVideoEncodingOptions> | undefined): boolean;
400
- }
401
-
402
- /**
403
- * @generated from message livekit.IngressInfo
404
- */
405
- export declare class IngressInfo extends Message<IngressInfo> {
406
- /**
407
- * @generated from field: string ingress_id = 1;
408
- */
409
- ingressId: string;
410
-
411
- /**
412
- * @generated from field: string name = 2;
413
- */
414
- name: string;
415
-
416
- /**
417
- * @generated from field: string stream_key = 3;
418
- */
419
- streamKey: string;
420
-
421
- /**
422
- * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)
423
- *
424
- * @generated from field: string url = 4;
425
- */
426
- url: string;
427
-
428
- /**
429
- * for RTMP input, it'll be a rtmp:// URL
430
- * for FILE input, it'll be a http:// URL
431
- * for SRT input, it'll be a srt:// URL
432
- *
433
- * @generated from field: livekit.IngressInput input_type = 5;
434
- */
435
- inputType: IngressInput;
436
-
437
- /**
438
- * @generated from field: bool bypass_transcoding = 13 [deprecated = true];
439
- * @deprecated
440
- */
441
- bypassTranscoding: boolean;
442
-
443
- /**
444
- * @generated from field: optional bool enable_transcoding = 15;
445
- */
446
- enableTranscoding?: boolean;
447
-
448
- /**
449
- * @generated from field: livekit.IngressAudioOptions audio = 6;
450
- */
451
- audio?: IngressAudioOptions;
452
-
453
- /**
454
- * @generated from field: livekit.IngressVideoOptions video = 7;
455
- */
456
- video?: IngressVideoOptions;
457
-
458
- /**
459
- * @generated from field: string room_name = 8;
460
- */
461
- roomName: string;
462
-
463
- /**
464
- * @generated from field: string participant_identity = 9;
465
- */
466
- participantIdentity: string;
467
-
468
- /**
469
- * @generated from field: string participant_name = 10;
470
- */
471
- participantName: string;
472
-
473
- /**
474
- * @generated from field: string participant_metadata = 14;
475
- */
476
- participantMetadata: string;
477
-
478
- /**
479
- * @generated from field: bool reusable = 11;
480
- */
481
- reusable: boolean;
482
-
483
- /**
484
- * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)
485
- *
486
- * @generated from field: livekit.IngressState state = 12;
487
- */
488
- state?: IngressState;
489
-
490
- constructor(data?: PartialMessage<IngressInfo>);
491
-
492
- static readonly runtime: typeof proto3;
493
- static readonly typeName = "livekit.IngressInfo";
494
- static readonly fields: FieldList;
495
-
496
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressInfo;
497
-
498
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressInfo;
499
-
500
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressInfo;
501
-
502
- static equals(a: IngressInfo | PlainMessage<IngressInfo> | undefined, b: IngressInfo | PlainMessage<IngressInfo> | undefined): boolean;
503
- }
504
-
505
- /**
506
- * @generated from message livekit.IngressState
507
- */
508
- export declare class IngressState extends Message<IngressState> {
509
- /**
510
- * @generated from field: livekit.IngressState.Status status = 1;
511
- */
512
- status: IngressState_Status;
513
-
514
- /**
515
- * Error/non compliance description if any
516
- *
517
- * @generated from field: string error = 2;
518
- */
519
- error: string;
520
-
521
- /**
522
- * @generated from field: livekit.InputVideoState video = 3;
523
- */
524
- video?: InputVideoState;
525
-
526
- /**
527
- * @generated from field: livekit.InputAudioState audio = 4;
528
- */
529
- audio?: InputAudioState;
530
-
531
- /**
532
- * ID of the current/previous room published to
533
- *
534
- * @generated from field: string room_id = 5;
535
- */
536
- roomId: string;
537
-
538
- /**
539
- * @generated from field: int64 started_at = 7;
540
- */
541
- startedAt: bigint;
542
-
543
- /**
544
- * @generated from field: int64 ended_at = 8;
545
- */
546
- endedAt: bigint;
547
-
548
- /**
549
- * @generated from field: int64 updated_at = 10;
550
- */
551
- updatedAt: bigint;
552
-
553
- /**
554
- * @generated from field: string resource_id = 9;
555
- */
556
- resourceId: string;
557
-
558
- /**
559
- * @generated from field: repeated livekit.TrackInfo tracks = 6;
560
- */
561
- tracks: TrackInfo[];
562
-
563
- constructor(data?: PartialMessage<IngressState>);
564
-
565
- static readonly runtime: typeof proto3;
566
- static readonly typeName = "livekit.IngressState";
567
- static readonly fields: FieldList;
568
-
569
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngressState;
570
-
571
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngressState;
572
-
573
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngressState;
574
-
575
- static equals(a: IngressState | PlainMessage<IngressState> | undefined, b: IngressState | PlainMessage<IngressState> | undefined): boolean;
576
- }
577
-
578
- /**
579
- * @generated from enum livekit.IngressState.Status
580
- */
581
- export declare enum IngressState_Status {
582
- /**
583
- * @generated from enum value: ENDPOINT_INACTIVE = 0;
584
- */
585
- ENDPOINT_INACTIVE = 0,
586
-
587
- /**
588
- * @generated from enum value: ENDPOINT_BUFFERING = 1;
589
- */
590
- ENDPOINT_BUFFERING = 1,
591
-
592
- /**
593
- * @generated from enum value: ENDPOINT_PUBLISHING = 2;
594
- */
595
- ENDPOINT_PUBLISHING = 2,
596
-
597
- /**
598
- * @generated from enum value: ENDPOINT_ERROR = 3;
599
- */
600
- ENDPOINT_ERROR = 3,
601
-
602
- /**
603
- * @generated from enum value: ENDPOINT_COMPLETE = 4;
604
- */
605
- ENDPOINT_COMPLETE = 4,
606
- }
607
-
608
- /**
609
- * @generated from message livekit.InputVideoState
610
- */
611
- export declare class InputVideoState extends Message<InputVideoState> {
612
- /**
613
- * @generated from field: string mime_type = 1;
614
- */
615
- mimeType: string;
616
-
617
- /**
618
- * @generated from field: uint32 average_bitrate = 2;
619
- */
620
- averageBitrate: number;
621
-
622
- /**
623
- * @generated from field: uint32 width = 3;
624
- */
625
- width: number;
626
-
627
- /**
628
- * @generated from field: uint32 height = 4;
629
- */
630
- height: number;
631
-
632
- /**
633
- * @generated from field: double framerate = 5;
634
- */
635
- framerate: number;
636
-
637
- constructor(data?: PartialMessage<InputVideoState>);
638
-
639
- static readonly runtime: typeof proto3;
640
- static readonly typeName = "livekit.InputVideoState";
641
- static readonly fields: FieldList;
642
-
643
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputVideoState;
644
-
645
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputVideoState;
646
-
647
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputVideoState;
648
-
649
- static equals(a: InputVideoState | PlainMessage<InputVideoState> | undefined, b: InputVideoState | PlainMessage<InputVideoState> | undefined): boolean;
650
- }
651
-
652
- /**
653
- * @generated from message livekit.InputAudioState
654
- */
655
- export declare class InputAudioState extends Message<InputAudioState> {
656
- /**
657
- * @generated from field: string mime_type = 1;
658
- */
659
- mimeType: string;
660
-
661
- /**
662
- * @generated from field: uint32 average_bitrate = 2;
663
- */
664
- averageBitrate: number;
665
-
666
- /**
667
- * @generated from field: uint32 channels = 3;
668
- */
669
- channels: number;
670
-
671
- /**
672
- * @generated from field: uint32 sample_rate = 4;
673
- */
674
- sampleRate: number;
675
-
676
- constructor(data?: PartialMessage<InputAudioState>);
677
-
678
- static readonly runtime: typeof proto3;
679
- static readonly typeName = "livekit.InputAudioState";
680
- static readonly fields: FieldList;
681
-
682
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputAudioState;
683
-
684
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputAudioState;
685
-
686
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputAudioState;
687
-
688
- static equals(a: InputAudioState | PlainMessage<InputAudioState> | undefined, b: InputAudioState | PlainMessage<InputAudioState> | undefined): boolean;
689
- }
690
-
691
- /**
692
- * @generated from message livekit.UpdateIngressRequest
693
- */
694
- export declare class UpdateIngressRequest extends Message<UpdateIngressRequest> {
695
- /**
696
- * @generated from field: string ingress_id = 1;
697
- */
698
- ingressId: string;
699
-
700
- /**
701
- * @generated from field: string name = 2;
702
- */
703
- name: string;
704
-
705
- /**
706
- * @generated from field: string room_name = 3;
707
- */
708
- roomName: string;
709
-
710
- /**
711
- * @generated from field: string participant_identity = 4;
712
- */
713
- participantIdentity: string;
714
-
715
- /**
716
- * @generated from field: string participant_name = 5;
717
- */
718
- participantName: string;
719
-
720
- /**
721
- * @generated from field: string participant_metadata = 9;
722
- */
723
- participantMetadata: string;
724
-
725
- /**
726
- * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];
727
- * @deprecated
728
- */
729
- bypassTranscoding?: boolean;
730
-
731
- /**
732
- * @generated from field: optional bool enable_transcoding = 10;
733
- */
734
- enableTranscoding?: boolean;
735
-
736
- /**
737
- * @generated from field: livekit.IngressAudioOptions audio = 6;
738
- */
739
- audio?: IngressAudioOptions;
740
-
741
- /**
742
- * @generated from field: livekit.IngressVideoOptions video = 7;
743
- */
744
- video?: IngressVideoOptions;
745
-
746
- constructor(data?: PartialMessage<UpdateIngressRequest>);
747
-
748
- static readonly runtime: typeof proto3;
749
- static readonly typeName = "livekit.UpdateIngressRequest";
750
- static readonly fields: FieldList;
751
-
752
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateIngressRequest;
753
-
754
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateIngressRequest;
755
-
756
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateIngressRequest;
757
-
758
- static equals(a: UpdateIngressRequest | PlainMessage<UpdateIngressRequest> | undefined, b: UpdateIngressRequest | PlainMessage<UpdateIngressRequest> | undefined): boolean;
759
- }
760
-
761
- /**
762
- * @generated from message livekit.ListIngressRequest
763
- */
764
- export declare class ListIngressRequest extends Message<ListIngressRequest> {
765
- /**
766
- * when blank, lists all ingress endpoints
767
- *
768
- * (optional, filter by room name)
769
- *
770
- * @generated from field: string room_name = 1;
771
- */
772
- roomName: string;
773
-
774
- /**
775
- * (optional, filter by ingress ID)
776
- *
777
- * @generated from field: string ingress_id = 2;
778
- */
779
- ingressId: string;
780
-
781
- constructor(data?: PartialMessage<ListIngressRequest>);
782
-
783
- static readonly runtime: typeof proto3;
784
- static readonly typeName = "livekit.ListIngressRequest";
785
- static readonly fields: FieldList;
786
-
787
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIngressRequest;
788
-
789
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIngressRequest;
790
-
791
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIngressRequest;
792
-
793
- static equals(a: ListIngressRequest | PlainMessage<ListIngressRequest> | undefined, b: ListIngressRequest | PlainMessage<ListIngressRequest> | undefined): boolean;
794
- }
795
-
796
- /**
797
- * @generated from message livekit.ListIngressResponse
798
- */
799
- export declare class ListIngressResponse extends Message<ListIngressResponse> {
800
- /**
801
- * @generated from field: repeated livekit.IngressInfo items = 1;
802
- */
803
- items: IngressInfo[];
804
-
805
- constructor(data?: PartialMessage<ListIngressResponse>);
806
-
807
- static readonly runtime: typeof proto3;
808
- static readonly typeName = "livekit.ListIngressResponse";
809
- static readonly fields: FieldList;
810
-
811
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListIngressResponse;
812
-
813
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListIngressResponse;
814
-
815
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListIngressResponse;
816
-
817
- static equals(a: ListIngressResponse | PlainMessage<ListIngressResponse> | undefined, b: ListIngressResponse | PlainMessage<ListIngressResponse> | undefined): boolean;
818
- }
819
-
820
- /**
821
- * @generated from message livekit.DeleteIngressRequest
822
- */
823
- export declare class DeleteIngressRequest extends Message<DeleteIngressRequest> {
824
- /**
825
- * @generated from field: string ingress_id = 1;
826
- */
827
- ingressId: string;
828
-
829
- constructor(data?: PartialMessage<DeleteIngressRequest>);
830
-
831
- static readonly runtime: typeof proto3;
832
- static readonly typeName = "livekit.DeleteIngressRequest";
833
- static readonly fields: FieldList;
834
-
835
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteIngressRequest;
836
-
837
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteIngressRequest;
838
-
839
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteIngressRequest;
840
-
841
- static equals(a: DeleteIngressRequest | PlainMessage<DeleteIngressRequest> | undefined, b: DeleteIngressRequest | PlainMessage<DeleteIngressRequest> | undefined): boolean;
842
- }
843
-