@livekit/protocol 1.45.0 → 1.45.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.
package/dist/index.cjs CHANGED
@@ -11,6 +11,24 @@ const ChatRole = /* @__PURE__ */ protobuf.proto3.makeEnum(
11
11
  { no: 3, name: "ASSISTANT" }
12
12
  ]
13
13
  );
14
+ const AgentState = /* @__PURE__ */ protobuf.proto3.makeEnum(
15
+ "livekit.agent.AgentState",
16
+ [
17
+ { no: 0, name: "AS_INITIALIZING" },
18
+ { no: 1, name: "AS_IDLE" },
19
+ { no: 2, name: "AS_LISTENING" },
20
+ { no: 3, name: "AS_THINKING" },
21
+ { no: 4, name: "AS_SPEAKING" }
22
+ ]
23
+ );
24
+ const UserState = /* @__PURE__ */ protobuf.proto3.makeEnum(
25
+ "livekit.agent.UserState",
26
+ [
27
+ { no: 0, name: "US_SPEAKING" },
28
+ { no: 1, name: "US_LISTENING" },
29
+ { no: 2, name: "US_AWAY" }
30
+ ]
31
+ );
14
32
  const MetricsReport = /* @__PURE__ */ protobuf.proto3.makeMessageType(
15
33
  "livekit.agent.MetricsReport",
16
34
  () => [
@@ -156,6 +174,22 @@ const AgentHandoff = /* @__PURE__ */ protobuf.proto3.makeMessageType(
156
174
  { no: 4, name: "created_at", kind: "message", T: protobuf.Timestamp }
157
175
  ]
158
176
  );
177
+ const AgentConfigUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
178
+ "livekit.agent.AgentConfigUpdate",
179
+ () => [
180
+ {
181
+ no: 1,
182
+ name: "id",
183
+ kind: "scalar",
184
+ T: 9
185
+ /* ScalarType.STRING */
186
+ },
187
+ { no: 2, name: "instructions", kind: "scalar", T: 9, opt: true },
188
+ { no: 3, name: "tools_added", kind: "scalar", T: 9, repeated: true },
189
+ { no: 4, name: "tools_removed", kind: "scalar", T: 9, repeated: true },
190
+ { no: 5, name: "created_at", kind: "message", T: protobuf.Timestamp }
191
+ ]
192
+ );
159
193
  const ChatContext = /* @__PURE__ */ protobuf.proto3.makeMessageType(
160
194
  "livekit.agent.ChatContext",
161
195
  () => [
@@ -168,202 +202,811 @@ const ChatContext_ChatItem = /* @__PURE__ */ protobuf.proto3.makeMessageType(
168
202
  { no: 1, name: "message", kind: "message", T: ChatMessage$1, oneof: "item" },
169
203
  { no: 2, name: "function_call", kind: "message", T: FunctionCall, oneof: "item" },
170
204
  { no: 3, name: "function_call_output", kind: "message", T: FunctionCallOutput, oneof: "item" },
171
- { no: 4, name: "agent_handoff", kind: "message", T: AgentHandoff, oneof: "item" }
205
+ { no: 4, name: "agent_handoff", kind: "message", T: AgentHandoff, oneof: "item" },
206
+ { no: 5, name: "agent_config_update", kind: "message", T: AgentConfigUpdate, oneof: "item" }
172
207
  ],
173
208
  { localName: "ChatContext_ChatItem" }
174
209
  );
175
-
176
- const livekit_agent_session_pb = {
177
- __proto__: null,
178
- AgentHandoff: AgentHandoff,
179
- ChatContext: ChatContext,
180
- ChatContext_ChatItem: ChatContext_ChatItem,
181
- ChatMessage: ChatMessage$1,
182
- ChatMessage_ChatContent: ChatMessage_ChatContent,
183
- ChatRole: ChatRole,
184
- FunctionCall: FunctionCall,
185
- FunctionCallOutput: FunctionCallOutput,
186
- MetricsReport: MetricsReport
187
- };
188
-
189
- const MetricLabel = /* @__PURE__ */ protobuf.proto3.makeEnum(
190
- "livekit.MetricLabel",
191
- [
192
- { no: 0, name: "AGENTS_LLM_TTFT" },
193
- { no: 1, name: "AGENTS_STT_TTFT" },
194
- { no: 2, name: "AGENTS_TTS_TTFB" },
195
- { no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT" },
196
- { no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION" },
197
- { no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT" },
198
- { no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION" },
199
- { no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES" },
200
- { no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES" },
201
- { no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS" },
202
- { no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT" },
203
- { no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION" },
204
- { no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY" },
205
- { no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT" },
206
- { no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH" },
207
- { no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU" },
208
- { no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER" },
209
- { no: 17, name: "PUBLISHER_RTT" },
210
- { no: 18, name: "SERVER_MESH_RTT" },
211
- { no: 19, name: "SUBSCRIBER_RTT" },
212
- { no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE" }
213
- ]
214
- );
215
- const MetricsBatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
216
- "livekit.MetricsBatch",
210
+ const LLMModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
211
+ "livekit.agent.LLMModelUsage",
217
212
  () => [
218
213
  {
219
214
  no: 1,
220
- name: "timestamp_ms",
215
+ name: "provider",
221
216
  kind: "scalar",
222
- T: 3
223
- /* ScalarType.INT64 */
217
+ T: 9
218
+ /* ScalarType.STRING */
224
219
  },
225
- { no: 2, name: "normalized_timestamp", kind: "message", T: protobuf.Timestamp },
226
- { no: 3, name: "str_data", kind: "scalar", T: 9, repeated: true },
227
- { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true },
228
- { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true }
229
- ]
230
- );
231
- const TimeSeriesMetric = /* @__PURE__ */ protobuf.proto3.makeMessageType(
232
- "livekit.TimeSeriesMetric",
233
- () => [
234
220
  {
235
- no: 1,
236
- name: "label",
221
+ no: 2,
222
+ name: "model",
237
223
  kind: "scalar",
238
- T: 13
239
- /* ScalarType.UINT32 */
224
+ T: 9
225
+ /* ScalarType.STRING */
240
226
  },
241
227
  {
242
- no: 2,
243
- name: "participant_identity",
228
+ no: 3,
229
+ name: "input_tokens",
244
230
  kind: "scalar",
245
- T: 13
246
- /* ScalarType.UINT32 */
231
+ T: 5
232
+ /* ScalarType.INT32 */
247
233
  },
248
234
  {
249
- no: 3,
250
- name: "track_sid",
235
+ no: 4,
236
+ name: "input_cached_tokens",
251
237
  kind: "scalar",
252
- T: 13
253
- /* ScalarType.UINT32 */
238
+ T: 5
239
+ /* ScalarType.INT32 */
254
240
  },
255
- { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true },
256
241
  {
257
242
  no: 5,
258
- name: "rid",
243
+ name: "input_audio_tokens",
259
244
  kind: "scalar",
260
- T: 13
261
- /* ScalarType.UINT32 */
262
- }
263
- ]
264
- );
265
- const MetricSample = /* @__PURE__ */ protobuf.proto3.makeMessageType(
266
- "livekit.MetricSample",
267
- () => [
245
+ T: 5
246
+ /* ScalarType.INT32 */
247
+ },
268
248
  {
269
- no: 1,
270
- name: "timestamp_ms",
249
+ no: 6,
250
+ name: "input_cached_audio_tokens",
271
251
  kind: "scalar",
272
- T: 3
273
- /* ScalarType.INT64 */
252
+ T: 5
253
+ /* ScalarType.INT32 */
274
254
  },
275
- { no: 2, name: "normalized_timestamp", kind: "message", T: protobuf.Timestamp },
276
255
  {
277
- no: 3,
278
- name: "value",
256
+ no: 7,
257
+ name: "input_text_tokens",
279
258
  kind: "scalar",
280
- T: 2
281
- /* ScalarType.FLOAT */
259
+ T: 5
260
+ /* ScalarType.INT32 */
261
+ },
262
+ {
263
+ no: 8,
264
+ name: "input_cached_text_tokens",
265
+ kind: "scalar",
266
+ T: 5
267
+ /* ScalarType.INT32 */
268
+ },
269
+ {
270
+ no: 9,
271
+ name: "input_image_tokens",
272
+ kind: "scalar",
273
+ T: 5
274
+ /* ScalarType.INT32 */
275
+ },
276
+ {
277
+ no: 10,
278
+ name: "input_cached_image_tokens",
279
+ kind: "scalar",
280
+ T: 5
281
+ /* ScalarType.INT32 */
282
+ },
283
+ {
284
+ no: 11,
285
+ name: "output_tokens",
286
+ kind: "scalar",
287
+ T: 5
288
+ /* ScalarType.INT32 */
289
+ },
290
+ {
291
+ no: 12,
292
+ name: "output_audio_tokens",
293
+ kind: "scalar",
294
+ T: 5
295
+ /* ScalarType.INT32 */
296
+ },
297
+ {
298
+ no: 13,
299
+ name: "output_text_tokens",
300
+ kind: "scalar",
301
+ T: 5
302
+ /* ScalarType.INT32 */
303
+ },
304
+ {
305
+ no: 14,
306
+ name: "session_duration",
307
+ kind: "scalar",
308
+ T: 1
309
+ /* ScalarType.DOUBLE */
282
310
  }
283
311
  ]
284
312
  );
285
- const EventMetric = /* @__PURE__ */ protobuf.proto3.makeMessageType(
286
- "livekit.EventMetric",
313
+ const TTSModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
314
+ "livekit.agent.TTSModelUsage",
287
315
  () => [
288
316
  {
289
317
  no: 1,
290
- name: "label",
318
+ name: "provider",
291
319
  kind: "scalar",
292
- T: 13
293
- /* ScalarType.UINT32 */
320
+ T: 9
321
+ /* ScalarType.STRING */
294
322
  },
295
323
  {
296
324
  no: 2,
297
- name: "participant_identity",
325
+ name: "model",
298
326
  kind: "scalar",
299
- T: 13
300
- /* ScalarType.UINT32 */
327
+ T: 9
328
+ /* ScalarType.STRING */
301
329
  },
302
330
  {
303
331
  no: 3,
304
- name: "track_sid",
332
+ name: "input_tokens",
305
333
  kind: "scalar",
306
- T: 13
307
- /* ScalarType.UINT32 */
334
+ T: 5
335
+ /* ScalarType.INT32 */
308
336
  },
309
337
  {
310
338
  no: 4,
311
- name: "start_timestamp_ms",
339
+ name: "output_tokens",
312
340
  kind: "scalar",
313
- T: 3
314
- /* ScalarType.INT64 */
341
+ T: 5
342
+ /* ScalarType.INT32 */
315
343
  },
316
- { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3, opt: true },
317
- { no: 6, name: "normalized_start_timestamp", kind: "message", T: protobuf.Timestamp },
318
- { no: 7, name: "normalized_end_timestamp", kind: "message", T: protobuf.Timestamp, opt: true },
319
344
  {
320
- no: 8,
321
- name: "metadata",
345
+ no: 5,
346
+ name: "characters_count",
322
347
  kind: "scalar",
323
- T: 9
324
- /* ScalarType.STRING */
348
+ T: 5
349
+ /* ScalarType.INT32 */
325
350
  },
326
351
  {
327
- no: 9,
328
- name: "rid",
352
+ no: 6,
353
+ name: "audio_duration",
329
354
  kind: "scalar",
330
- T: 13
331
- /* ScalarType.UINT32 */
355
+ T: 1
356
+ /* ScalarType.DOUBLE */
332
357
  }
333
358
  ]
334
359
  );
335
- const MetricsRecordingHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
336
- "livekit.MetricsRecordingHeader",
360
+ const STTModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
361
+ "livekit.agent.STTModelUsage",
337
362
  () => [
338
363
  {
339
364
  no: 1,
340
- name: "room_id",
365
+ name: "provider",
366
+ kind: "scalar",
367
+ T: 9
368
+ /* ScalarType.STRING */
369
+ },
370
+ {
371
+ no: 2,
372
+ name: "model",
341
373
  kind: "scalar",
342
374
  T: 9
343
375
  /* ScalarType.STRING */
344
376
  },
345
377
  {
346
378
  no: 3,
347
- name: "duration",
379
+ name: "input_tokens",
348
380
  kind: "scalar",
349
- T: 4
350
- /* ScalarType.UINT64 */
381
+ T: 5
382
+ /* ScalarType.INT32 */
351
383
  },
352
- { no: 4, name: "start_time", kind: "message", T: protobuf.Timestamp },
353
- { no: 5, name: "room_tags", kind: "map", K: 9, V: {
384
+ {
385
+ no: 4,
386
+ name: "output_tokens",
387
+ kind: "scalar",
388
+ T: 5
389
+ /* ScalarType.INT32 */
390
+ },
391
+ {
392
+ no: 5,
393
+ name: "audio_duration",
394
+ kind: "scalar",
395
+ T: 1
396
+ /* ScalarType.DOUBLE */
397
+ }
398
+ ]
399
+ );
400
+ const InterruptionModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
401
+ "livekit.agent.InterruptionModelUsage",
402
+ () => [
403
+ {
404
+ no: 1,
405
+ name: "provider",
354
406
  kind: "scalar",
355
407
  T: 9
356
408
  /* ScalarType.STRING */
357
- } }
409
+ },
410
+ {
411
+ no: 2,
412
+ name: "model",
413
+ kind: "scalar",
414
+ T: 9
415
+ /* ScalarType.STRING */
416
+ },
417
+ {
418
+ no: 3,
419
+ name: "total_requests",
420
+ kind: "scalar",
421
+ T: 5
422
+ /* ScalarType.INT32 */
423
+ }
358
424
  ]
359
425
  );
360
-
361
- const AudioCodec = /* @__PURE__ */ protobuf.proto3.makeEnum(
362
- "livekit.AudioCodec",
363
- [
364
- { no: 0, name: "DEFAULT_AC" },
365
- { no: 1, name: "OPUS" },
366
- { no: 2, name: "AAC" },
426
+ const ModelUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
427
+ "livekit.agent.ModelUsage",
428
+ () => [
429
+ { no: 1, name: "llm", kind: "message", T: LLMModelUsage, oneof: "usage" },
430
+ { no: 2, name: "tts", kind: "message", T: TTSModelUsage, oneof: "usage" },
431
+ { no: 3, name: "stt", kind: "message", T: STTModelUsage, oneof: "usage" },
432
+ { no: 4, name: "interruption", kind: "message", T: InterruptionModelUsage, oneof: "usage" }
433
+ ]
434
+ );
435
+ const AgentSessionUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
436
+ "livekit.agent.AgentSessionUsage",
437
+ () => [
438
+ { no: 1, name: "model_usage", kind: "message", T: ModelUsage, repeated: true }
439
+ ]
440
+ );
441
+ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
442
+ "livekit.agent.AgentSessionEvent",
443
+ () => [
444
+ { no: 1, name: "created_at", kind: "message", T: protobuf.Timestamp },
445
+ { no: 10, name: "agent_state_changed", kind: "message", T: AgentSessionEvent_AgentStateChanged, oneof: "event" },
446
+ { no: 11, name: "user_state_changed", kind: "message", T: AgentSessionEvent_UserStateChanged, oneof: "event" },
447
+ { no: 12, name: "conversation_item_added", kind: "message", T: AgentSessionEvent_ConversationItemAdded, oneof: "event" },
448
+ { no: 13, name: "user_input_transcribed", kind: "message", T: AgentSessionEvent_UserInputTranscribed, oneof: "event" },
449
+ { no: 14, name: "function_tools_executed", kind: "message", T: AgentSessionEvent_FunctionToolsExecuted, oneof: "event" },
450
+ { no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
451
+ { no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
452
+ { no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" }
453
+ ]
454
+ );
455
+ const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
456
+ "livekit.agent.AgentSessionEvent.AgentStateChanged",
457
+ () => [
458
+ { no: 1, name: "old_state", kind: "enum", T: protobuf.proto3.getEnumType(AgentState) },
459
+ { no: 2, name: "new_state", kind: "enum", T: protobuf.proto3.getEnumType(AgentState) }
460
+ ],
461
+ { localName: "AgentSessionEvent_AgentStateChanged" }
462
+ );
463
+ const AgentSessionEvent_UserStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
464
+ "livekit.agent.AgentSessionEvent.UserStateChanged",
465
+ () => [
466
+ { no: 1, name: "old_state", kind: "enum", T: protobuf.proto3.getEnumType(UserState) },
467
+ { no: 2, name: "new_state", kind: "enum", T: protobuf.proto3.getEnumType(UserState) }
468
+ ],
469
+ { localName: "AgentSessionEvent_UserStateChanged" }
470
+ );
471
+ const AgentSessionEvent_ConversationItemAdded = /* @__PURE__ */ protobuf.proto3.makeMessageType(
472
+ "livekit.agent.AgentSessionEvent.ConversationItemAdded",
473
+ () => [
474
+ { no: 1, name: "item", kind: "message", T: ChatContext_ChatItem }
475
+ ],
476
+ { localName: "AgentSessionEvent_ConversationItemAdded" }
477
+ );
478
+ const AgentSessionEvent_UserInputTranscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
479
+ "livekit.agent.AgentSessionEvent.UserInputTranscribed",
480
+ () => [
481
+ {
482
+ no: 1,
483
+ name: "transcript",
484
+ kind: "scalar",
485
+ T: 9
486
+ /* ScalarType.STRING */
487
+ },
488
+ {
489
+ no: 2,
490
+ name: "is_final",
491
+ kind: "scalar",
492
+ T: 8
493
+ /* ScalarType.BOOL */
494
+ },
495
+ { no: 3, name: "language", kind: "scalar", T: 9, opt: true }
496
+ ],
497
+ { localName: "AgentSessionEvent_UserInputTranscribed" }
498
+ );
499
+ const AgentSessionEvent_FunctionToolsExecuted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
500
+ "livekit.agent.AgentSessionEvent.FunctionToolsExecuted",
501
+ () => [
502
+ { no: 1, name: "function_calls", kind: "message", T: FunctionCall, repeated: true },
503
+ { no: 2, name: "function_call_outputs", kind: "message", T: FunctionCallOutput, repeated: true }
504
+ ],
505
+ { localName: "AgentSessionEvent_FunctionToolsExecuted" }
506
+ );
507
+ const AgentSessionEvent_Error = /* @__PURE__ */ protobuf.proto3.makeMessageType(
508
+ "livekit.agent.AgentSessionEvent.Error",
509
+ () => [
510
+ {
511
+ no: 1,
512
+ name: "message",
513
+ kind: "scalar",
514
+ T: 9
515
+ /* ScalarType.STRING */
516
+ }
517
+ ],
518
+ { localName: "AgentSessionEvent_Error" }
519
+ );
520
+ const AgentSessionEvent_OverlappingSpeech = /* @__PURE__ */ protobuf.proto3.makeMessageType(
521
+ "livekit.agent.AgentSessionEvent.OverlappingSpeech",
522
+ () => [
523
+ {
524
+ no: 1,
525
+ name: "is_interruption",
526
+ kind: "scalar",
527
+ T: 8
528
+ /* ScalarType.BOOL */
529
+ },
530
+ { no: 2, name: "overlap_started_at", kind: "message", T: protobuf.Timestamp, opt: true },
531
+ {
532
+ no: 3,
533
+ name: "detection_delay",
534
+ kind: "scalar",
535
+ T: 1
536
+ /* ScalarType.DOUBLE */
537
+ },
538
+ { no: 4, name: "detected_at", kind: "message", T: protobuf.Timestamp }
539
+ ],
540
+ { localName: "AgentSessionEvent_OverlappingSpeech" }
541
+ );
542
+ const AgentSessionEvent_SessionUsageUpdated = /* @__PURE__ */ protobuf.proto3.makeMessageType(
543
+ "livekit.agent.AgentSessionEvent.SessionUsageUpdated",
544
+ () => [
545
+ { no: 1, name: "usage", kind: "message", T: AgentSessionUsage }
546
+ ],
547
+ { localName: "AgentSessionEvent_SessionUsageUpdated" }
548
+ );
549
+ const SessionRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
550
+ "livekit.agent.SessionRequest",
551
+ () => [
552
+ {
553
+ no: 1,
554
+ name: "request_id",
555
+ kind: "scalar",
556
+ T: 9
557
+ /* ScalarType.STRING */
558
+ },
559
+ { no: 2, name: "ping", kind: "message", T: SessionRequest_Ping, oneof: "request" },
560
+ { no: 4, name: "get_chat_history", kind: "message", T: SessionRequest_GetChatHistory, oneof: "request" },
561
+ { no: 5, name: "run_input", kind: "message", T: SessionRequest_RunInput, oneof: "request" },
562
+ { no: 6, name: "get_agent_info", kind: "message", T: SessionRequest_GetAgentInfo, oneof: "request" },
563
+ { no: 7, name: "get_session_state", kind: "message", T: SessionRequest_GetSessionState, oneof: "request" },
564
+ { no: 8, name: "get_rtc_stats", kind: "message", T: SessionRequest_GetRTCStats, oneof: "request" },
565
+ { no: 9, name: "get_session_usage", kind: "message", T: SessionRequest_GetSessionUsage, oneof: "request" }
566
+ ]
567
+ );
568
+ const SessionRequest_Ping = /* @__PURE__ */ protobuf.proto3.makeMessageType(
569
+ "livekit.agent.SessionRequest.Ping",
570
+ [],
571
+ { localName: "SessionRequest_Ping" }
572
+ );
573
+ const SessionRequest_GetChatHistory = /* @__PURE__ */ protobuf.proto3.makeMessageType(
574
+ "livekit.agent.SessionRequest.GetChatHistory",
575
+ [],
576
+ { localName: "SessionRequest_GetChatHistory" }
577
+ );
578
+ const SessionRequest_RunInput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
579
+ "livekit.agent.SessionRequest.RunInput",
580
+ () => [
581
+ {
582
+ no: 1,
583
+ name: "text",
584
+ kind: "scalar",
585
+ T: 9
586
+ /* ScalarType.STRING */
587
+ }
588
+ ],
589
+ { localName: "SessionRequest_RunInput" }
590
+ );
591
+ const SessionRequest_GetAgentInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
592
+ "livekit.agent.SessionRequest.GetAgentInfo",
593
+ [],
594
+ { localName: "SessionRequest_GetAgentInfo" }
595
+ );
596
+ const SessionRequest_GetSessionState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
597
+ "livekit.agent.SessionRequest.GetSessionState",
598
+ [],
599
+ { localName: "SessionRequest_GetSessionState" }
600
+ );
601
+ const SessionRequest_GetRTCStats = /* @__PURE__ */ protobuf.proto3.makeMessageType(
602
+ "livekit.agent.SessionRequest.GetRTCStats",
603
+ [],
604
+ { localName: "SessionRequest_GetRTCStats" }
605
+ );
606
+ const SessionRequest_GetSessionUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
607
+ "livekit.agent.SessionRequest.GetSessionUsage",
608
+ [],
609
+ { localName: "SessionRequest_GetSessionUsage" }
610
+ );
611
+ const SessionResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
612
+ "livekit.agent.SessionResponse",
613
+ () => [
614
+ {
615
+ no: 1,
616
+ name: "request_id",
617
+ kind: "scalar",
618
+ T: 9
619
+ /* ScalarType.STRING */
620
+ },
621
+ { no: 2, name: "error", kind: "scalar", T: 9, opt: true },
622
+ { no: 3, name: "pong", kind: "message", T: SessionResponse_Pong, oneof: "response" },
623
+ { no: 5, name: "get_chat_history", kind: "message", T: SessionResponse_GetChatHistoryResponse, oneof: "response" },
624
+ { no: 6, name: "run_input", kind: "message", T: SessionResponse_RunInputResponse, oneof: "response" },
625
+ { no: 7, name: "get_agent_info", kind: "message", T: SessionResponse_GetAgentInfoResponse, oneof: "response" },
626
+ { no: 8, name: "get_session_state", kind: "message", T: SessionResponse_GetSessionStateResponse, oneof: "response" },
627
+ { no: 9, name: "get_rtc_stats", kind: "message", T: SessionResponse_GetRTCStatsResponse, oneof: "response" },
628
+ { no: 10, name: "get_session_usage", kind: "message", T: SessionResponse_GetSessionUsageResponse, oneof: "response" }
629
+ ]
630
+ );
631
+ const SessionResponse_Pong = /* @__PURE__ */ protobuf.proto3.makeMessageType(
632
+ "livekit.agent.SessionResponse.Pong",
633
+ [],
634
+ { localName: "SessionResponse_Pong" }
635
+ );
636
+ const SessionResponse_GetChatHistoryResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
637
+ "livekit.agent.SessionResponse.GetChatHistoryResponse",
638
+ () => [
639
+ { no: 1, name: "items", kind: "message", T: ChatContext_ChatItem, repeated: true }
640
+ ],
641
+ { localName: "SessionResponse_GetChatHistoryResponse" }
642
+ );
643
+ const SessionResponse_GetAgentInfoResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
644
+ "livekit.agent.SessionResponse.GetAgentInfoResponse",
645
+ () => [
646
+ {
647
+ no: 1,
648
+ name: "id",
649
+ kind: "scalar",
650
+ T: 9
651
+ /* ScalarType.STRING */
652
+ },
653
+ { no: 2, name: "instructions", kind: "scalar", T: 9, opt: true },
654
+ { no: 3, name: "tools", kind: "scalar", T: 9, repeated: true },
655
+ { no: 4, name: "chat_ctx", kind: "message", T: ChatContext_ChatItem, repeated: true }
656
+ ],
657
+ { localName: "SessionResponse_GetAgentInfoResponse" }
658
+ );
659
+ const SessionResponse_RunInputResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
660
+ "livekit.agent.SessionResponse.RunInputResponse",
661
+ () => [
662
+ { no: 1, name: "items", kind: "message", T: ChatContext_ChatItem, repeated: true }
663
+ ],
664
+ { localName: "SessionResponse_RunInputResponse" }
665
+ );
666
+ const SessionResponse_GetSessionStateResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
667
+ "livekit.agent.SessionResponse.GetSessionStateResponse",
668
+ () => [
669
+ { no: 1, name: "agent_state", kind: "enum", T: protobuf.proto3.getEnumType(AgentState) },
670
+ { no: 2, name: "user_state", kind: "enum", T: protobuf.proto3.getEnumType(UserState) },
671
+ {
672
+ no: 3,
673
+ name: "agent_id",
674
+ kind: "scalar",
675
+ T: 9
676
+ /* ScalarType.STRING */
677
+ },
678
+ { no: 4, name: "options", kind: "map", K: 9, V: {
679
+ kind: "scalar",
680
+ T: 9
681
+ /* ScalarType.STRING */
682
+ } },
683
+ { no: 5, name: "created_at", kind: "message", T: protobuf.Timestamp }
684
+ ],
685
+ { localName: "SessionResponse_GetSessionStateResponse" }
686
+ );
687
+ const SessionResponse_GetRTCStatsResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
688
+ "livekit.agent.SessionResponse.GetRTCStatsResponse",
689
+ () => [
690
+ { no: 1, name: "publisher_stats", kind: "message", T: protobuf.Struct, repeated: true },
691
+ { no: 2, name: "subscriber_stats", kind: "message", T: protobuf.Struct, repeated: true }
692
+ ],
693
+ { localName: "SessionResponse_GetRTCStatsResponse" }
694
+ );
695
+ const SessionResponse_GetSessionUsageResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
696
+ "livekit.agent.SessionResponse.GetSessionUsageResponse",
697
+ () => [
698
+ { no: 1, name: "usage", kind: "message", T: AgentSessionUsage },
699
+ { no: 2, name: "created_at", kind: "message", T: protobuf.Timestamp }
700
+ ],
701
+ { localName: "SessionResponse_GetSessionUsageResponse" }
702
+ );
703
+ const AgentSessionMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
704
+ "livekit.agent.AgentSessionMessage",
705
+ () => [
706
+ { no: 1, name: "audio_input", kind: "message", T: AgentSessionMessage_ConsoleIO_AudioFrame, oneof: "message" },
707
+ { no: 2, name: "audio_output", kind: "message", T: AgentSessionMessage_ConsoleIO_AudioFrame, oneof: "message" },
708
+ { no: 3, name: "event", kind: "message", T: AgentSessionEvent, oneof: "message" },
709
+ { no: 4, name: "request", kind: "message", T: SessionRequest, oneof: "message" },
710
+ { no: 5, name: "response", kind: "message", T: SessionResponse, oneof: "message" },
711
+ { no: 6, name: "audio_playback_flush", kind: "message", T: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, oneof: "message" },
712
+ { no: 7, name: "audio_playback_clear", kind: "message", T: AgentSessionMessage_ConsoleIO_AudioPlaybackClear, oneof: "message" },
713
+ { no: 8, name: "audio_playback_finished", kind: "message", T: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, oneof: "message" }
714
+ ]
715
+ );
716
+ const AgentSessionMessage_ConsoleIO = /* @__PURE__ */ protobuf.proto3.makeMessageType(
717
+ "livekit.agent.AgentSessionMessage.ConsoleIO",
718
+ [],
719
+ { localName: "AgentSessionMessage_ConsoleIO" }
720
+ );
721
+ const AgentSessionMessage_ConsoleIO_AudioFrame = /* @__PURE__ */ protobuf.proto3.makeMessageType(
722
+ "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame",
723
+ () => [
724
+ {
725
+ no: 1,
726
+ name: "data",
727
+ kind: "scalar",
728
+ T: 12
729
+ /* ScalarType.BYTES */
730
+ },
731
+ {
732
+ no: 2,
733
+ name: "sample_rate",
734
+ kind: "scalar",
735
+ T: 13
736
+ /* ScalarType.UINT32 */
737
+ },
738
+ {
739
+ no: 3,
740
+ name: "num_channels",
741
+ kind: "scalar",
742
+ T: 13
743
+ /* ScalarType.UINT32 */
744
+ },
745
+ {
746
+ no: 4,
747
+ name: "samples_per_channel",
748
+ kind: "scalar",
749
+ T: 13
750
+ /* ScalarType.UINT32 */
751
+ }
752
+ ],
753
+ { localName: "AgentSessionMessage_ConsoleIO_AudioFrame" }
754
+ );
755
+ const AgentSessionMessage_ConsoleIO_AudioPlaybackFlush = /* @__PURE__ */ protobuf.proto3.makeMessageType(
756
+ "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush",
757
+ [],
758
+ { localName: "AgentSessionMessage_ConsoleIO_AudioPlaybackFlush" }
759
+ );
760
+ const AgentSessionMessage_ConsoleIO_AudioPlaybackClear = /* @__PURE__ */ protobuf.proto3.makeMessageType(
761
+ "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear",
762
+ [],
763
+ { localName: "AgentSessionMessage_ConsoleIO_AudioPlaybackClear" }
764
+ );
765
+ const AgentSessionMessage_ConsoleIO_AudioPlaybackFinished = /* @__PURE__ */ protobuf.proto3.makeMessageType(
766
+ "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished",
767
+ [],
768
+ { localName: "AgentSessionMessage_ConsoleIO_AudioPlaybackFinished" }
769
+ );
770
+
771
+ const livekit_agent_session_pb = {
772
+ __proto__: null,
773
+ AgentConfigUpdate: AgentConfigUpdate,
774
+ AgentHandoff: AgentHandoff,
775
+ AgentSessionEvent: AgentSessionEvent,
776
+ AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
777
+ AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
778
+ AgentSessionEvent_Error: AgentSessionEvent_Error,
779
+ AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
780
+ AgentSessionEvent_OverlappingSpeech: AgentSessionEvent_OverlappingSpeech,
781
+ AgentSessionEvent_SessionUsageUpdated: AgentSessionEvent_SessionUsageUpdated,
782
+ AgentSessionEvent_UserInputTranscribed: AgentSessionEvent_UserInputTranscribed,
783
+ AgentSessionEvent_UserStateChanged: AgentSessionEvent_UserStateChanged,
784
+ AgentSessionMessage: AgentSessionMessage,
785
+ AgentSessionMessage_ConsoleIO: AgentSessionMessage_ConsoleIO,
786
+ AgentSessionMessage_ConsoleIO_AudioFrame: AgentSessionMessage_ConsoleIO_AudioFrame,
787
+ AgentSessionMessage_ConsoleIO_AudioPlaybackClear: AgentSessionMessage_ConsoleIO_AudioPlaybackClear,
788
+ AgentSessionMessage_ConsoleIO_AudioPlaybackFinished: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished,
789
+ AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush,
790
+ AgentSessionUsage: AgentSessionUsage,
791
+ AgentState: AgentState,
792
+ ChatContext: ChatContext,
793
+ ChatContext_ChatItem: ChatContext_ChatItem,
794
+ ChatMessage: ChatMessage$1,
795
+ ChatMessage_ChatContent: ChatMessage_ChatContent,
796
+ ChatRole: ChatRole,
797
+ FunctionCall: FunctionCall,
798
+ FunctionCallOutput: FunctionCallOutput,
799
+ InterruptionModelUsage: InterruptionModelUsage,
800
+ LLMModelUsage: LLMModelUsage,
801
+ MetricsReport: MetricsReport,
802
+ ModelUsage: ModelUsage,
803
+ STTModelUsage: STTModelUsage,
804
+ SessionRequest: SessionRequest,
805
+ SessionRequest_GetAgentInfo: SessionRequest_GetAgentInfo,
806
+ SessionRequest_GetChatHistory: SessionRequest_GetChatHistory,
807
+ SessionRequest_GetRTCStats: SessionRequest_GetRTCStats,
808
+ SessionRequest_GetSessionState: SessionRequest_GetSessionState,
809
+ SessionRequest_GetSessionUsage: SessionRequest_GetSessionUsage,
810
+ SessionRequest_Ping: SessionRequest_Ping,
811
+ SessionRequest_RunInput: SessionRequest_RunInput,
812
+ SessionResponse: SessionResponse,
813
+ SessionResponse_GetAgentInfoResponse: SessionResponse_GetAgentInfoResponse,
814
+ SessionResponse_GetChatHistoryResponse: SessionResponse_GetChatHistoryResponse,
815
+ SessionResponse_GetRTCStatsResponse: SessionResponse_GetRTCStatsResponse,
816
+ SessionResponse_GetSessionStateResponse: SessionResponse_GetSessionStateResponse,
817
+ SessionResponse_GetSessionUsageResponse: SessionResponse_GetSessionUsageResponse,
818
+ SessionResponse_Pong: SessionResponse_Pong,
819
+ SessionResponse_RunInputResponse: SessionResponse_RunInputResponse,
820
+ TTSModelUsage: TTSModelUsage,
821
+ UserState: UserState
822
+ };
823
+
824
+ const MetricLabel = /* @__PURE__ */ protobuf.proto3.makeEnum(
825
+ "livekit.MetricLabel",
826
+ [
827
+ { no: 0, name: "AGENTS_LLM_TTFT" },
828
+ { no: 1, name: "AGENTS_STT_TTFT" },
829
+ { no: 2, name: "AGENTS_TTS_TTFB" },
830
+ { no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT" },
831
+ { no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION" },
832
+ { no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT" },
833
+ { no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION" },
834
+ { no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES" },
835
+ { no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES" },
836
+ { no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS" },
837
+ { no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT" },
838
+ { no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION" },
839
+ { no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY" },
840
+ { no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT" },
841
+ { no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH" },
842
+ { no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU" },
843
+ { no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER" },
844
+ { no: 17, name: "PUBLISHER_RTT" },
845
+ { no: 18, name: "SERVER_MESH_RTT" },
846
+ { no: 19, name: "SUBSCRIBER_RTT" },
847
+ { no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE" }
848
+ ]
849
+ );
850
+ const MetricsBatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
851
+ "livekit.MetricsBatch",
852
+ () => [
853
+ {
854
+ no: 1,
855
+ name: "timestamp_ms",
856
+ kind: "scalar",
857
+ T: 3
858
+ /* ScalarType.INT64 */
859
+ },
860
+ { no: 2, name: "normalized_timestamp", kind: "message", T: protobuf.Timestamp },
861
+ { no: 3, name: "str_data", kind: "scalar", T: 9, repeated: true },
862
+ { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true },
863
+ { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true }
864
+ ]
865
+ );
866
+ const TimeSeriesMetric = /* @__PURE__ */ protobuf.proto3.makeMessageType(
867
+ "livekit.TimeSeriesMetric",
868
+ () => [
869
+ {
870
+ no: 1,
871
+ name: "label",
872
+ kind: "scalar",
873
+ T: 13
874
+ /* ScalarType.UINT32 */
875
+ },
876
+ {
877
+ no: 2,
878
+ name: "participant_identity",
879
+ kind: "scalar",
880
+ T: 13
881
+ /* ScalarType.UINT32 */
882
+ },
883
+ {
884
+ no: 3,
885
+ name: "track_sid",
886
+ kind: "scalar",
887
+ T: 13
888
+ /* ScalarType.UINT32 */
889
+ },
890
+ { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true },
891
+ {
892
+ no: 5,
893
+ name: "rid",
894
+ kind: "scalar",
895
+ T: 13
896
+ /* ScalarType.UINT32 */
897
+ }
898
+ ]
899
+ );
900
+ const MetricSample = /* @__PURE__ */ protobuf.proto3.makeMessageType(
901
+ "livekit.MetricSample",
902
+ () => [
903
+ {
904
+ no: 1,
905
+ name: "timestamp_ms",
906
+ kind: "scalar",
907
+ T: 3
908
+ /* ScalarType.INT64 */
909
+ },
910
+ { no: 2, name: "normalized_timestamp", kind: "message", T: protobuf.Timestamp },
911
+ {
912
+ no: 3,
913
+ name: "value",
914
+ kind: "scalar",
915
+ T: 2
916
+ /* ScalarType.FLOAT */
917
+ }
918
+ ]
919
+ );
920
+ const EventMetric = /* @__PURE__ */ protobuf.proto3.makeMessageType(
921
+ "livekit.EventMetric",
922
+ () => [
923
+ {
924
+ no: 1,
925
+ name: "label",
926
+ kind: "scalar",
927
+ T: 13
928
+ /* ScalarType.UINT32 */
929
+ },
930
+ {
931
+ no: 2,
932
+ name: "participant_identity",
933
+ kind: "scalar",
934
+ T: 13
935
+ /* ScalarType.UINT32 */
936
+ },
937
+ {
938
+ no: 3,
939
+ name: "track_sid",
940
+ kind: "scalar",
941
+ T: 13
942
+ /* ScalarType.UINT32 */
943
+ },
944
+ {
945
+ no: 4,
946
+ name: "start_timestamp_ms",
947
+ kind: "scalar",
948
+ T: 3
949
+ /* ScalarType.INT64 */
950
+ },
951
+ { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3, opt: true },
952
+ { no: 6, name: "normalized_start_timestamp", kind: "message", T: protobuf.Timestamp },
953
+ { no: 7, name: "normalized_end_timestamp", kind: "message", T: protobuf.Timestamp, opt: true },
954
+ {
955
+ no: 8,
956
+ name: "metadata",
957
+ kind: "scalar",
958
+ T: 9
959
+ /* ScalarType.STRING */
960
+ },
961
+ {
962
+ no: 9,
963
+ name: "rid",
964
+ kind: "scalar",
965
+ T: 13
966
+ /* ScalarType.UINT32 */
967
+ }
968
+ ]
969
+ );
970
+ const MetricsRecordingHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
971
+ "livekit.MetricsRecordingHeader",
972
+ () => [
973
+ {
974
+ no: 1,
975
+ name: "room_id",
976
+ kind: "scalar",
977
+ T: 9
978
+ /* ScalarType.STRING */
979
+ },
980
+ {
981
+ no: 3,
982
+ name: "duration",
983
+ kind: "scalar",
984
+ T: 4
985
+ /* ScalarType.UINT64 */
986
+ },
987
+ { no: 4, name: "start_time", kind: "message", T: protobuf.Timestamp },
988
+ { no: 5, name: "room_tags", kind: "map", K: 9, V: {
989
+ kind: "scalar",
990
+ T: 9
991
+ /* ScalarType.STRING */
992
+ } },
993
+ {
994
+ no: 6,
995
+ name: "room_name",
996
+ kind: "scalar",
997
+ T: 9
998
+ /* ScalarType.STRING */
999
+ },
1000
+ { no: 7, name: "room_start_time", kind: "message", T: protobuf.Timestamp }
1001
+ ]
1002
+ );
1003
+
1004
+ const AudioCodec = /* @__PURE__ */ protobuf.proto3.makeEnum(
1005
+ "livekit.AudioCodec",
1006
+ [
1007
+ { no: 0, name: "DEFAULT_AC" },
1008
+ { no: 1, name: "OPUS" },
1009
+ { no: 2, name: "AAC" },
367
1010
  { no: 3, name: "AC_MP3" }
368
1011
  ]
369
1012
  );
@@ -498,7 +1141,8 @@ const AudioTrackFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
498
1141
  const PacketTrailerFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
499
1142
  "livekit.PacketTrailerFeature",
500
1143
  [
501
- { no: 0, name: "PTF_USER_TIMESTAMP" }
1144
+ { no: 0, name: "PTF_USER_TIMESTAMP" },
1145
+ { no: 1, name: "PTF_FRAME_ID" }
502
1146
  ]
503
1147
  );
504
1148
  const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -2819,6 +3463,13 @@ const JobTermination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2819
3463
  ]
2820
3464
  );
2821
3465
 
3466
+ const JobRestartPolicy = /* @__PURE__ */ protobuf.proto3.makeEnum(
3467
+ "livekit.JobRestartPolicy",
3468
+ [
3469
+ { no: 0, name: "JRP_ON_FAILURE" },
3470
+ { no: 1, name: "JRP_NEVER" }
3471
+ ]
3472
+ );
2822
3473
  const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2823
3474
  "livekit.CreateAgentDispatchRequest",
2824
3475
  () => [
@@ -2842,7 +3493,8 @@ const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
2842
3493
  kind: "scalar",
2843
3494
  T: 9
2844
3495
  /* ScalarType.STRING */
2845
- }
3496
+ },
3497
+ { no: 4, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
2846
3498
  ]
2847
3499
  );
2848
3500
  const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -2861,7 +3513,8 @@ const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2861
3513
  kind: "scalar",
2862
3514
  T: 9
2863
3515
  /* ScalarType.STRING */
2864
- }
3516
+ },
3517
+ { no: 3, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
2865
3518
  ]
2866
3519
  );
2867
3520
  const DeleteAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -2939,7 +3592,8 @@ const AgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2939
3592
  T: 9
2940
3593
  /* ScalarType.STRING */
2941
3594
  },
2942
- { no: 5, name: "state", kind: "message", T: AgentDispatchState }
3595
+ { no: 5, name: "state", kind: "message", T: AgentDispatchState },
3596
+ { no: 6, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
2943
3597
  ]
2944
3598
  );
2945
3599
  const AgentDispatchState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4473,6 +5127,27 @@ const WhatsAppCall = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4473
5127
  ]
4474
5128
  );
4475
5129
 
5130
+ const AudioChannel = /* @__PURE__ */ protobuf.proto3.makeEnum(
5131
+ "livekit.AudioChannel",
5132
+ [
5133
+ { no: 0, name: "AUDIO_CHANNEL_BOTH", localName: "BOTH" },
5134
+ { no: 1, name: "AUDIO_CHANNEL_LEFT", localName: "LEFT" },
5135
+ { no: 2, name: "AUDIO_CHANNEL_RIGHT", localName: "RIGHT" }
5136
+ ]
5137
+ );
5138
+ const EncodingOptionsPreset = /* @__PURE__ */ protobuf.proto3.makeEnum(
5139
+ "livekit.EncodingOptionsPreset",
5140
+ [
5141
+ { no: 0, name: "H264_720P_30" },
5142
+ { no: 1, name: "H264_720P_60" },
5143
+ { no: 2, name: "H264_1080P_30" },
5144
+ { no: 3, name: "H264_1080P_60" },
5145
+ { no: 4, name: "PORTRAIT_H264_720P_30" },
5146
+ { no: 5, name: "PORTRAIT_H264_720P_60" },
5147
+ { no: 6, name: "PORTRAIT_H264_1080P_30" },
5148
+ { no: 7, name: "PORTRAIT_H264_1080P_60" }
5149
+ ]
5150
+ );
4476
5151
  const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
4477
5152
  "livekit.EncodedFileType",
4478
5153
  [
@@ -4482,6 +5157,15 @@ const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
4482
5157
  { no: 3, name: "MP3" }
4483
5158
  ]
4484
5159
  );
5160
+ const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
5161
+ "livekit.StreamProtocol",
5162
+ [
5163
+ { no: 0, name: "DEFAULT_PROTOCOL" },
5164
+ { no: 1, name: "RTMP" },
5165
+ { no: 2, name: "SRT" },
5166
+ { no: 3, name: "WEBSOCKET" }
5167
+ ]
5168
+ );
4485
5169
  const SegmentedFileProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
4486
5170
  "livekit.SegmentedFileProtocol",
4487
5171
  [
@@ -4504,33 +5188,11 @@ const ImageFileSuffix = /* @__PURE__ */ protobuf.proto3.makeEnum(
4504
5188
  { no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE" }
4505
5189
  ]
4506
5190
  );
4507
- const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
4508
- "livekit.StreamProtocol",
4509
- [
4510
- { no: 0, name: "DEFAULT_PROTOCOL" },
4511
- { no: 1, name: "RTMP" },
4512
- { no: 2, name: "SRT" }
4513
- ]
4514
- );
4515
- const AudioMixing = /* @__PURE__ */ protobuf.proto3.makeEnum(
4516
- "livekit.AudioMixing",
4517
- [
4518
- { no: 0, name: "DEFAULT_MIXING" },
4519
- { no: 1, name: "DUAL_CHANNEL_AGENT" },
4520
- { no: 2, name: "DUAL_CHANNEL_ALTERNATE" }
4521
- ]
4522
- );
4523
- const EncodingOptionsPreset = /* @__PURE__ */ protobuf.proto3.makeEnum(
4524
- "livekit.EncodingOptionsPreset",
5191
+ const EgressSourceType = /* @__PURE__ */ protobuf.proto3.makeEnum(
5192
+ "livekit.EgressSourceType",
4525
5193
  [
4526
- { no: 0, name: "H264_720P_30" },
4527
- { no: 1, name: "H264_720P_60" },
4528
- { no: 2, name: "H264_1080P_30" },
4529
- { no: 3, name: "H264_1080P_60" },
4530
- { no: 4, name: "PORTRAIT_H264_720P_30" },
4531
- { no: 5, name: "PORTRAIT_H264_720P_60" },
4532
- { no: 6, name: "PORTRAIT_H264_1080P_30" },
4533
- { no: 7, name: "PORTRAIT_H264_1080P_60" }
5194
+ { no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB" },
5195
+ { no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK" }
4534
5196
  ]
4535
5197
  );
4536
5198
  const EgressStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -4545,15 +5207,16 @@ const EgressStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
4545
5207
  { no: 6, name: "EGRESS_LIMIT_REACHED" }
4546
5208
  ]
4547
5209
  );
4548
- const EgressSourceType = /* @__PURE__ */ protobuf.proto3.makeEnum(
4549
- "livekit.EgressSourceType",
5210
+ const AudioMixing = /* @__PURE__ */ protobuf.proto3.makeEnum(
5211
+ "livekit.AudioMixing",
4550
5212
  [
4551
- { no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB" },
4552
- { no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK" }
5213
+ { no: 0, name: "DEFAULT_MIXING" },
5214
+ { no: 1, name: "DUAL_CHANNEL_AGENT" },
5215
+ { no: 2, name: "DUAL_CHANNEL_ALTERNATE" }
4553
5216
  ]
4554
5217
  );
4555
- const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4556
- "livekit.RoomCompositeEgressRequest",
5218
+ const StartEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5219
+ "livekit.StartEgressRequest",
4557
5220
  () => [
4558
5221
  {
4559
5222
  no: 1,
@@ -4562,49 +5225,51 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
4562
5225
  T: 9
4563
5226
  /* ScalarType.STRING */
4564
5227
  },
5228
+ { no: 2, name: "template", kind: "message", T: TemplateSource, oneof: "source" },
5229
+ { no: 3, name: "web", kind: "message", T: WebSource, oneof: "source" },
5230
+ { no: 4, name: "media", kind: "message", T: MediaSource, oneof: "source" },
5231
+ { no: 5, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "encoding" },
5232
+ { no: 6, name: "advanced", kind: "message", T: EncodingOptions, oneof: "encoding" },
5233
+ { no: 7, name: "outputs", kind: "message", T: Output, repeated: true },
5234
+ { no: 8, name: "storage", kind: "message", T: StorageConfig },
5235
+ { no: 9, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5236
+ ]
5237
+ );
5238
+ const TemplateSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5239
+ "livekit.TemplateSource",
5240
+ () => [
4565
5241
  {
4566
- no: 2,
5242
+ no: 1,
4567
5243
  name: "layout",
4568
5244
  kind: "scalar",
4569
5245
  T: 9
4570
5246
  /* ScalarType.STRING */
4571
5247
  },
4572
5248
  {
4573
- no: 3,
5249
+ no: 2,
4574
5250
  name: "audio_only",
4575
5251
  kind: "scalar",
4576
5252
  T: 8
4577
5253
  /* ScalarType.BOOL */
4578
5254
  },
4579
- { no: 15, name: "audio_mixing", kind: "enum", T: protobuf.proto3.getEnumType(AudioMixing) },
4580
5255
  {
4581
- no: 4,
5256
+ no: 3,
4582
5257
  name: "video_only",
4583
5258
  kind: "scalar",
4584
5259
  T: 8
4585
5260
  /* ScalarType.BOOL */
4586
5261
  },
4587
5262
  {
4588
- no: 5,
5263
+ no: 4,
4589
5264
  name: "custom_base_url",
4590
5265
  kind: "scalar",
4591
5266
  T: 9
4592
5267
  /* ScalarType.STRING */
4593
- },
4594
- { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
4595
- { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
4596
- { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
4597
- { no: 8, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
4598
- { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
4599
- { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
4600
- { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
4601
- { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
4602
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
4603
- { no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5268
+ }
4604
5269
  ]
4605
5270
  );
4606
- const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4607
- "livekit.WebEgressRequest",
5271
+ const WebSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5272
+ "livekit.WebSource",
4608
5273
  () => [
4609
5274
  {
4610
5275
  no: 1,
@@ -4628,117 +5293,160 @@ const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4628
5293
  /* ScalarType.BOOL */
4629
5294
  },
4630
5295
  {
4631
- no: 12,
5296
+ no: 4,
4632
5297
  name: "await_start_signal",
4633
5298
  kind: "scalar",
4634
5299
  T: 8
4635
5300
  /* ScalarType.BOOL */
4636
- },
4637
- { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
4638
- { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
4639
- { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
4640
- { no: 7, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
4641
- { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
4642
- { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
4643
- { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
4644
- { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
4645
- { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
4646
- { no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5301
+ }
4647
5302
  ]
4648
5303
  );
4649
- const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4650
- "livekit.ParticipantEgressRequest",
5304
+ const MediaSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5305
+ "livekit.MediaSource",
5306
+ () => [
5307
+ { no: 1, name: "video_track_id", kind: "scalar", T: 9, oneof: "video" },
5308
+ { no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
5309
+ { no: 3, name: "audio", kind: "message", T: AudioConfig },
5310
+ { no: 4, name: "data", kind: "message", T: DataConfig }
5311
+ ]
5312
+ );
5313
+ const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5314
+ "livekit.ParticipantVideo",
4651
5315
  () => [
4652
5316
  {
4653
5317
  no: 1,
4654
- name: "room_name",
4655
- kind: "scalar",
4656
- T: 9
4657
- /* ScalarType.STRING */
4658
- },
4659
- {
4660
- no: 2,
4661
5318
  name: "identity",
4662
5319
  kind: "scalar",
4663
5320
  T: 9
4664
5321
  /* ScalarType.STRING */
4665
5322
  },
4666
5323
  {
4667
- no: 3,
4668
- name: "screen_share",
5324
+ no: 2,
5325
+ name: "prefer_screen_share",
4669
5326
  kind: "scalar",
4670
5327
  T: 8
4671
5328
  /* ScalarType.BOOL */
4672
- },
4673
- { no: 4, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
4674
- { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
4675
- { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
4676
- { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
4677
- { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
4678
- { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
4679
- { no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5329
+ }
4680
5330
  ]
4681
5331
  );
4682
- const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4683
- "livekit.TrackCompositeEgressRequest",
5332
+ const AudioConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5333
+ "livekit.AudioConfig",
5334
+ () => [
5335
+ { no: 1, name: "routes", kind: "message", T: AudioRoute, repeated: true }
5336
+ ]
5337
+ );
5338
+ const AudioRoute = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5339
+ "livekit.AudioRoute",
5340
+ () => [
5341
+ { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
5342
+ { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
5343
+ { no: 3, name: "participant_kind", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_Kind), oneof: "match" },
5344
+ { no: 4, name: "channel", kind: "enum", T: protobuf.proto3.getEnumType(AudioChannel) }
5345
+ ]
5346
+ );
5347
+ const DataConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5348
+ "livekit.DataConfig",
5349
+ () => [
5350
+ { no: 1, name: "selectors", kind: "message", T: DataSelector, repeated: true }
5351
+ ]
5352
+ );
5353
+ const DataSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5354
+ "livekit.DataSelector",
5355
+ () => [
5356
+ { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
5357
+ { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
5358
+ { no: 3, name: "topic", kind: "scalar", T: 9, oneof: "match" }
5359
+ ]
5360
+ );
5361
+ const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5362
+ "livekit.EncodingOptions",
4684
5363
  () => [
4685
5364
  {
4686
5365
  no: 1,
4687
- name: "room_name",
5366
+ name: "width",
4688
5367
  kind: "scalar",
4689
- T: 9
4690
- /* ScalarType.STRING */
5368
+ T: 5
5369
+ /* ScalarType.INT32 */
4691
5370
  },
4692
5371
  {
4693
5372
  no: 2,
4694
- name: "audio_track_id",
5373
+ name: "height",
4695
5374
  kind: "scalar",
4696
- T: 9
4697
- /* ScalarType.STRING */
5375
+ T: 5
5376
+ /* ScalarType.INT32 */
4698
5377
  },
4699
5378
  {
4700
5379
  no: 3,
4701
- name: "video_track_id",
5380
+ name: "depth",
4702
5381
  kind: "scalar",
4703
- T: 9
4704
- /* ScalarType.STRING */
5382
+ T: 5
5383
+ /* ScalarType.INT32 */
4705
5384
  },
4706
- { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
4707
- { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
4708
- { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
4709
- { no: 6, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
4710
- { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
4711
- { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
4712
- { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
4713
- { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
4714
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
4715
- { no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
4716
- ]
4717
- );
4718
- const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4719
- "livekit.TrackEgressRequest",
4720
- () => [
4721
5385
  {
4722
- no: 1,
4723
- name: "room_name",
5386
+ no: 4,
5387
+ name: "framerate",
4724
5388
  kind: "scalar",
4725
- T: 9
4726
- /* ScalarType.STRING */
5389
+ T: 5
5390
+ /* ScalarType.INT32 */
4727
5391
  },
5392
+ { no: 5, name: "audio_codec", kind: "enum", T: protobuf.proto3.getEnumType(AudioCodec) },
4728
5393
  {
4729
- no: 2,
4730
- name: "track_id",
5394
+ no: 6,
5395
+ name: "audio_bitrate",
4731
5396
  kind: "scalar",
4732
- T: 9
4733
- /* ScalarType.STRING */
5397
+ T: 5
5398
+ /* ScalarType.INT32 */
4734
5399
  },
4735
- { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
4736
- { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" },
4737
- { no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5400
+ {
5401
+ no: 7,
5402
+ name: "audio_frequency",
5403
+ kind: "scalar",
5404
+ T: 5
5405
+ /* ScalarType.INT32 */
5406
+ },
5407
+ { no: 8, name: "video_codec", kind: "enum", T: protobuf.proto3.getEnumType(VideoCodec) },
5408
+ {
5409
+ no: 9,
5410
+ name: "video_bitrate",
5411
+ kind: "scalar",
5412
+ T: 5
5413
+ /* ScalarType.INT32 */
5414
+ },
5415
+ {
5416
+ no: 10,
5417
+ name: "key_frame_interval",
5418
+ kind: "scalar",
5419
+ T: 1
5420
+ /* ScalarType.DOUBLE */
5421
+ },
5422
+ {
5423
+ no: 11,
5424
+ name: "audio_quality",
5425
+ kind: "scalar",
5426
+ T: 5
5427
+ /* ScalarType.INT32 */
5428
+ },
5429
+ {
5430
+ no: 12,
5431
+ name: "video_quality",
5432
+ kind: "scalar",
5433
+ T: 5
5434
+ /* ScalarType.INT32 */
5435
+ }
4738
5436
  ]
4739
5437
  );
4740
- const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4741
- "livekit.EncodedFileOutput",
5438
+ const Output = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5439
+ "livekit.Output",
5440
+ () => [
5441
+ { no: 1, name: "file", kind: "message", T: FileOutput, oneof: "config" },
5442
+ { no: 2, name: "stream", kind: "message", T: StreamOutput, oneof: "config" },
5443
+ { no: 3, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "config" },
5444
+ { no: 4, name: "images", kind: "message", T: ImageOutput, oneof: "config" },
5445
+ { no: 6, name: "storage", kind: "message", T: StorageConfig }
5446
+ ]
5447
+ );
5448
+ const FileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5449
+ "livekit.FileOutput",
4742
5450
  () => [
4743
5451
  { no: 1, name: "file_type", kind: "enum", T: protobuf.proto3.getEnumType(EncodedFileType) },
4744
5452
  {
@@ -4749,16 +5457,19 @@ const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4749
5457
  /* ScalarType.STRING */
4750
5458
  },
4751
5459
  {
4752
- no: 6,
5460
+ no: 3,
4753
5461
  name: "disable_manifest",
4754
5462
  kind: "scalar",
4755
5463
  T: 8
4756
5464
  /* ScalarType.BOOL */
4757
- },
4758
- { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
4759
- { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
4760
- { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
4761
- { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
5465
+ }
5466
+ ]
5467
+ );
5468
+ const StreamOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5469
+ "livekit.StreamOutput",
5470
+ () => [
5471
+ { no: 1, name: "protocol", kind: "enum", T: protobuf.proto3.getEnumType(StreamProtocol) },
5472
+ { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true }
4762
5473
  ]
4763
5474
  );
4764
5475
  const SegmentedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4807,29 +5518,6 @@ const SegmentedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4807
5518
  { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
4808
5519
  ]
4809
5520
  );
4810
- const DirectFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4811
- "livekit.DirectFileOutput",
4812
- () => [
4813
- {
4814
- no: 1,
4815
- name: "filepath",
4816
- kind: "scalar",
4817
- T: 9
4818
- /* ScalarType.STRING */
4819
- },
4820
- {
4821
- no: 5,
4822
- name: "disable_manifest",
4823
- kind: "scalar",
4824
- T: 8
4825
- /* ScalarType.BOOL */
4826
- },
4827
- { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
4828
- { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
4829
- { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
4830
- { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
4831
- ]
4832
- );
4833
5521
  const ImageOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4834
5522
  "livekit.ImageOutput",
4835
5523
  () => [
@@ -4876,6 +5564,15 @@ const ImageOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4876
5564
  { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
4877
5565
  ]
4878
5566
  );
5567
+ const StorageConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5568
+ "livekit.StorageConfig",
5569
+ () => [
5570
+ { no: 1, name: "s3", kind: "message", T: S3Upload, oneof: "provider" },
5571
+ { no: 2, name: "gcp", kind: "message", T: GCPUpload, oneof: "provider" },
5572
+ { no: 3, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "provider" },
5573
+ { no: 4, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "provider" }
5574
+ ]
5575
+ );
4879
5576
  const S3Upload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4880
5577
  "livekit.S3Upload",
4881
5578
  () => [
@@ -5076,517 +5773,728 @@ const ProxyConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5076
5773
  }
5077
5774
  ]
5078
5775
  );
5079
- const StreamOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5080
- "livekit.StreamOutput",
5776
+ const ListEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5777
+ "livekit.ListEgressRequest",
5081
5778
  () => [
5082
- { no: 1, name: "protocol", kind: "enum", T: protobuf.proto3.getEnumType(StreamProtocol) },
5083
- { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true }
5779
+ {
5780
+ no: 1,
5781
+ name: "room_name",
5782
+ kind: "scalar",
5783
+ T: 9
5784
+ /* ScalarType.STRING */
5785
+ },
5786
+ {
5787
+ no: 2,
5788
+ name: "egress_id",
5789
+ kind: "scalar",
5790
+ T: 9
5791
+ /* ScalarType.STRING */
5792
+ },
5793
+ {
5794
+ no: 3,
5795
+ name: "active",
5796
+ kind: "scalar",
5797
+ T: 8
5798
+ /* ScalarType.BOOL */
5799
+ }
5084
5800
  ]
5085
5801
  );
5086
- const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5087
- "livekit.EncodingOptions",
5802
+ const ListEgressResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5803
+ "livekit.ListEgressResponse",
5804
+ () => [
5805
+ { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }
5806
+ ]
5807
+ );
5808
+ const UpdateEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5809
+ "livekit.UpdateEgressRequest",
5088
5810
  () => [
5089
5811
  {
5090
5812
  no: 1,
5091
- name: "width",
5813
+ name: "egress_id",
5092
5814
  kind: "scalar",
5093
- T: 5
5094
- /* ScalarType.INT32 */
5815
+ T: 9
5816
+ /* ScalarType.STRING */
5095
5817
  },
5096
5818
  {
5097
5819
  no: 2,
5098
- name: "height",
5820
+ name: "url",
5099
5821
  kind: "scalar",
5100
- T: 5
5101
- /* ScalarType.INT32 */
5822
+ T: 9
5823
+ /* ScalarType.STRING */
5102
5824
  },
5103
5825
  {
5104
5826
  no: 3,
5105
- name: "depth",
5827
+ name: "layout",
5106
5828
  kind: "scalar",
5107
- T: 5
5108
- /* ScalarType.INT32 */
5829
+ T: 9
5830
+ /* ScalarType.STRING */
5109
5831
  },
5832
+ { no: 4, name: "add_stream_urls", kind: "scalar", T: 9, repeated: true },
5833
+ { no: 5, name: "remove_stream_urls", kind: "scalar", T: 9, repeated: true }
5834
+ ]
5835
+ );
5836
+ const StopEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5837
+ "livekit.StopEgressRequest",
5838
+ () => [
5110
5839
  {
5111
- no: 4,
5112
- name: "framerate",
5840
+ no: 1,
5841
+ name: "egress_id",
5113
5842
  kind: "scalar",
5114
- T: 5
5115
- /* ScalarType.INT32 */
5843
+ T: 9
5844
+ /* ScalarType.STRING */
5845
+ }
5846
+ ]
5847
+ );
5848
+ const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5849
+ "livekit.EgressInfo",
5850
+ () => [
5851
+ {
5852
+ no: 1,
5853
+ name: "egress_id",
5854
+ kind: "scalar",
5855
+ T: 9
5856
+ /* ScalarType.STRING */
5116
5857
  },
5117
- { no: 5, name: "audio_codec", kind: "enum", T: protobuf.proto3.getEnumType(AudioCodec) },
5118
5858
  {
5119
- no: 6,
5120
- name: "audio_bitrate",
5859
+ no: 2,
5860
+ name: "room_id",
5121
5861
  kind: "scalar",
5122
- T: 5
5123
- /* ScalarType.INT32 */
5862
+ T: 9
5863
+ /* ScalarType.STRING */
5864
+ },
5865
+ {
5866
+ no: 13,
5867
+ name: "room_name",
5868
+ kind: "scalar",
5869
+ T: 9
5870
+ /* ScalarType.STRING */
5871
+ },
5872
+ { no: 26, name: "source_type", kind: "enum", T: protobuf.proto3.getEnumType(EgressSourceType) },
5873
+ { no: 3, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(EgressStatus) },
5874
+ {
5875
+ no: 10,
5876
+ name: "started_at",
5877
+ kind: "scalar",
5878
+ T: 3
5879
+ /* ScalarType.INT64 */
5124
5880
  },
5125
5881
  {
5126
5882
  no: 11,
5127
- name: "audio_quality",
5883
+ name: "ended_at",
5128
5884
  kind: "scalar",
5129
- T: 5
5130
- /* ScalarType.INT32 */
5885
+ T: 3
5886
+ /* ScalarType.INT64 */
5131
5887
  },
5132
5888
  {
5133
- no: 7,
5134
- name: "audio_frequency",
5889
+ no: 18,
5890
+ name: "updated_at",
5135
5891
  kind: "scalar",
5136
- T: 5
5137
- /* ScalarType.INT32 */
5892
+ T: 3
5893
+ /* ScalarType.INT64 */
5138
5894
  },
5139
- { no: 8, name: "video_codec", kind: "enum", T: protobuf.proto3.getEnumType(VideoCodec) },
5895
+ { no: 30, name: "replay", kind: "message", T: ExportReplayRequest, oneof: "request" },
5896
+ { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
5897
+ { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
5898
+ { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
5899
+ { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" },
5900
+ { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" },
5901
+ { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true },
5902
+ { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true },
5903
+ { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true },
5904
+ { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true },
5140
5905
  {
5141
5906
  no: 9,
5142
- name: "video_bitrate",
5907
+ name: "error",
5908
+ kind: "scalar",
5909
+ T: 9
5910
+ /* ScalarType.STRING */
5911
+ },
5912
+ {
5913
+ no: 22,
5914
+ name: "error_code",
5143
5915
  kind: "scalar",
5144
5916
  T: 5
5145
5917
  /* ScalarType.INT32 */
5146
5918
  },
5147
5919
  {
5148
- no: 12,
5149
- name: "video_quality",
5920
+ no: 21,
5921
+ name: "details",
5922
+ kind: "scalar",
5923
+ T: 9
5924
+ /* ScalarType.STRING */
5925
+ },
5926
+ {
5927
+ no: 23,
5928
+ name: "manifest_location",
5929
+ kind: "scalar",
5930
+ T: 9
5931
+ /* ScalarType.STRING */
5932
+ },
5933
+ {
5934
+ no: 25,
5935
+ name: "backup_storage_used",
5936
+ kind: "scalar",
5937
+ T: 8
5938
+ /* ScalarType.BOOL */
5939
+ },
5940
+ {
5941
+ no: 27,
5942
+ name: "retry_count",
5150
5943
  kind: "scalar",
5151
5944
  T: 5
5152
5945
  /* ScalarType.INT32 */
5153
5946
  },
5947
+ { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" },
5948
+ { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" },
5949
+ { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }
5950
+ ]
5951
+ );
5952
+ const StreamInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5953
+ "livekit.StreamInfo",
5954
+ () => [
5955
+ {
5956
+ no: 1,
5957
+ name: "url",
5958
+ kind: "scalar",
5959
+ T: 9
5960
+ /* ScalarType.STRING */
5961
+ },
5154
5962
  {
5155
- no: 10,
5156
- name: "key_frame_interval",
5963
+ no: 2,
5964
+ name: "started_at",
5157
5965
  kind: "scalar",
5158
- T: 1
5159
- /* ScalarType.DOUBLE */
5966
+ T: 3
5967
+ /* ScalarType.INT64 */
5968
+ },
5969
+ {
5970
+ no: 3,
5971
+ name: "ended_at",
5972
+ kind: "scalar",
5973
+ T: 3
5974
+ /* ScalarType.INT64 */
5975
+ },
5976
+ {
5977
+ no: 4,
5978
+ name: "duration",
5979
+ kind: "scalar",
5980
+ T: 3
5981
+ /* ScalarType.INT64 */
5982
+ },
5983
+ { no: 5, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(StreamInfo_Status) },
5984
+ {
5985
+ no: 6,
5986
+ name: "error",
5987
+ kind: "scalar",
5988
+ T: 9
5989
+ /* ScalarType.STRING */
5990
+ },
5991
+ {
5992
+ no: 7,
5993
+ name: "last_retry_at",
5994
+ kind: "scalar",
5995
+ T: 3
5996
+ /* ScalarType.INT64 */
5997
+ },
5998
+ {
5999
+ no: 8,
6000
+ name: "retries",
6001
+ kind: "scalar",
6002
+ T: 13
6003
+ /* ScalarType.UINT32 */
5160
6004
  }
5161
6005
  ]
5162
6006
  );
5163
- const UpdateLayoutRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5164
- "livekit.UpdateLayoutRequest",
6007
+ const StreamInfo_Status = /* @__PURE__ */ protobuf.proto3.makeEnum(
6008
+ "livekit.StreamInfo.Status",
6009
+ [
6010
+ { no: 0, name: "ACTIVE" },
6011
+ { no: 1, name: "FINISHED" },
6012
+ { no: 2, name: "FAILED" }
6013
+ ]
6014
+ );
6015
+ const FileInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6016
+ "livekit.FileInfo",
5165
6017
  () => [
5166
6018
  {
5167
6019
  no: 1,
5168
- name: "egress_id",
6020
+ name: "filename",
5169
6021
  kind: "scalar",
5170
6022
  T: 9
5171
6023
  /* ScalarType.STRING */
5172
6024
  },
5173
6025
  {
5174
6026
  no: 2,
5175
- name: "layout",
6027
+ name: "started_at",
5176
6028
  kind: "scalar",
5177
- T: 9
5178
- /* ScalarType.STRING */
5179
- }
5180
- ]
5181
- );
5182
- const UpdateStreamRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5183
- "livekit.UpdateStreamRequest",
5184
- () => [
6029
+ T: 3
6030
+ /* ScalarType.INT64 */
6031
+ },
5185
6032
  {
5186
- no: 1,
5187
- name: "egress_id",
6033
+ no: 3,
6034
+ name: "ended_at",
5188
6035
  kind: "scalar",
5189
- T: 9
5190
- /* ScalarType.STRING */
6036
+ T: 3
6037
+ /* ScalarType.INT64 */
5191
6038
  },
5192
- { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true },
5193
- { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true }
5194
- ]
5195
- );
5196
- const ListEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5197
- "livekit.ListEgressRequest",
5198
- () => [
5199
6039
  {
5200
- no: 1,
5201
- name: "room_name",
6040
+ no: 6,
6041
+ name: "duration",
5202
6042
  kind: "scalar",
5203
- T: 9
5204
- /* ScalarType.STRING */
6043
+ T: 3
6044
+ /* ScalarType.INT64 */
5205
6045
  },
5206
6046
  {
5207
- no: 2,
5208
- name: "egress_id",
6047
+ no: 4,
6048
+ name: "size",
5209
6049
  kind: "scalar",
5210
- T: 9
5211
- /* ScalarType.STRING */
6050
+ T: 3
6051
+ /* ScalarType.INT64 */
5212
6052
  },
5213
6053
  {
5214
- no: 3,
5215
- name: "active",
6054
+ no: 5,
6055
+ name: "location",
5216
6056
  kind: "scalar",
5217
- T: 8
5218
- /* ScalarType.BOOL */
6057
+ T: 9
6058
+ /* ScalarType.STRING */
5219
6059
  }
5220
6060
  ]
5221
6061
  );
5222
- const ListEgressResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5223
- "livekit.ListEgressResponse",
5224
- () => [
5225
- { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }
5226
- ]
5227
- );
5228
- const StopEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5229
- "livekit.StopEgressRequest",
6062
+ const SegmentsInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6063
+ "livekit.SegmentsInfo",
5230
6064
  () => [
5231
6065
  {
5232
6066
  no: 1,
5233
- name: "egress_id",
6067
+ name: "playlist_name",
5234
6068
  kind: "scalar",
5235
6069
  T: 9
5236
6070
  /* ScalarType.STRING */
5237
- }
5238
- ]
5239
- );
5240
- const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5241
- "livekit.EgressInfo",
5242
- () => [
6071
+ },
5243
6072
  {
5244
- no: 1,
5245
- name: "egress_id",
6073
+ no: 8,
6074
+ name: "live_playlist_name",
5246
6075
  kind: "scalar",
5247
6076
  T: 9
5248
6077
  /* ScalarType.STRING */
5249
6078
  },
5250
6079
  {
5251
6080
  no: 2,
5252
- name: "room_id",
6081
+ name: "duration",
6082
+ kind: "scalar",
6083
+ T: 3
6084
+ /* ScalarType.INT64 */
6085
+ },
6086
+ {
6087
+ no: 3,
6088
+ name: "size",
6089
+ kind: "scalar",
6090
+ T: 3
6091
+ /* ScalarType.INT64 */
6092
+ },
6093
+ {
6094
+ no: 4,
6095
+ name: "playlist_location",
5253
6096
  kind: "scalar",
5254
6097
  T: 9
5255
6098
  /* ScalarType.STRING */
5256
6099
  },
5257
6100
  {
5258
- no: 13,
5259
- name: "room_name",
6101
+ no: 9,
6102
+ name: "live_playlist_location",
5260
6103
  kind: "scalar",
5261
6104
  T: 9
5262
6105
  /* ScalarType.STRING */
5263
6106
  },
5264
- { no: 26, name: "source_type", kind: "enum", T: protobuf.proto3.getEnumType(EgressSourceType) },
5265
- { no: 3, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(EgressStatus) },
5266
6107
  {
5267
- no: 10,
5268
- name: "started_at",
6108
+ no: 5,
6109
+ name: "segment_count",
5269
6110
  kind: "scalar",
5270
6111
  T: 3
5271
6112
  /* ScalarType.INT64 */
5272
6113
  },
5273
6114
  {
5274
- no: 11,
5275
- name: "ended_at",
6115
+ no: 6,
6116
+ name: "started_at",
5276
6117
  kind: "scalar",
5277
6118
  T: 3
5278
6119
  /* ScalarType.INT64 */
5279
6120
  },
5280
6121
  {
5281
- no: 18,
5282
- name: "updated_at",
6122
+ no: 7,
6123
+ name: "ended_at",
5283
6124
  kind: "scalar",
5284
6125
  T: 3
5285
6126
  /* ScalarType.INT64 */
5286
- },
6127
+ }
6128
+ ]
6129
+ );
6130
+ const ImagesInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6131
+ "livekit.ImagesInfo",
6132
+ () => [
5287
6133
  {
5288
- no: 21,
5289
- name: "details",
6134
+ no: 4,
6135
+ name: "filename_prefix",
5290
6136
  kind: "scalar",
5291
6137
  T: 9
5292
6138
  /* ScalarType.STRING */
5293
6139
  },
5294
6140
  {
5295
- no: 9,
5296
- name: "error",
6141
+ no: 1,
6142
+ name: "image_count",
5297
6143
  kind: "scalar",
5298
- T: 9
5299
- /* ScalarType.STRING */
6144
+ T: 3
6145
+ /* ScalarType.INT64 */
5300
6146
  },
5301
6147
  {
5302
- no: 22,
5303
- name: "error_code",
6148
+ no: 2,
6149
+ name: "started_at",
5304
6150
  kind: "scalar",
5305
- T: 5
5306
- /* ScalarType.INT32 */
6151
+ T: 3
6152
+ /* ScalarType.INT64 */
5307
6153
  },
5308
- { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
5309
- { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
5310
- { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
5311
- { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" },
5312
- { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" },
5313
- { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" },
5314
- { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" },
5315
- { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" },
5316
- { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true },
5317
- { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true },
5318
- { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true },
5319
- { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true },
5320
6154
  {
5321
- no: 23,
5322
- name: "manifest_location",
6155
+ no: 3,
6156
+ name: "ended_at",
6157
+ kind: "scalar",
6158
+ T: 3
6159
+ /* ScalarType.INT64 */
6160
+ }
6161
+ ]
6162
+ );
6163
+ const AutoParticipantEgress = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6164
+ "livekit.AutoParticipantEgress",
6165
+ () => [
6166
+ { no: 1, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6167
+ { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6168
+ { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6169
+ { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }
6170
+ ]
6171
+ );
6172
+ const AutoTrackEgress = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6173
+ "livekit.AutoTrackEgress",
6174
+ () => [
6175
+ {
6176
+ no: 1,
6177
+ name: "filepath",
5323
6178
  kind: "scalar",
5324
6179
  T: 9
5325
6180
  /* ScalarType.STRING */
5326
6181
  },
5327
6182
  {
5328
- no: 25,
5329
- name: "backup_storage_used",
6183
+ no: 5,
6184
+ name: "disable_manifest",
5330
6185
  kind: "scalar",
5331
6186
  T: 8
5332
6187
  /* ScalarType.BOOL */
5333
6188
  },
5334
- {
5335
- no: 27,
5336
- name: "retry_count",
5337
- kind: "scalar",
5338
- T: 5
5339
- /* ScalarType.INT32 */
5340
- }
5341
- ]
5342
- );
5343
- const StreamInfoList = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5344
- "livekit.StreamInfoList",
5345
- () => [
5346
- { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true }
6189
+ { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
6190
+ { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
6191
+ { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
6192
+ { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
5347
6193
  ]
5348
6194
  );
5349
- const StreamInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5350
- "livekit.StreamInfo",
6195
+ const ExportReplayRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6196
+ "livekit.ExportReplayRequest",
5351
6197
  () => [
5352
6198
  {
5353
6199
  no: 1,
5354
- name: "url",
6200
+ name: "replay_id",
5355
6201
  kind: "scalar",
5356
6202
  T: 9
5357
6203
  /* ScalarType.STRING */
5358
6204
  },
5359
6205
  {
5360
6206
  no: 2,
5361
- name: "started_at",
6207
+ name: "start_offset_ms",
5362
6208
  kind: "scalar",
5363
6209
  T: 3
5364
6210
  /* ScalarType.INT64 */
5365
6211
  },
5366
6212
  {
5367
6213
  no: 3,
5368
- name: "ended_at",
6214
+ name: "end_offset_ms",
5369
6215
  kind: "scalar",
5370
6216
  T: 3
5371
6217
  /* ScalarType.INT64 */
5372
6218
  },
6219
+ { no: 4, name: "template", kind: "message", T: TemplateSource, oneof: "source" },
6220
+ { no: 5, name: "web", kind: "message", T: WebSource, oneof: "source" },
6221
+ { no: 6, name: "media", kind: "message", T: MediaSource, oneof: "source" },
6222
+ { no: 7, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "encoding" },
6223
+ { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "encoding" },
6224
+ { no: 9, name: "outputs", kind: "message", T: Output, repeated: true },
6225
+ { no: 10, name: "storage", kind: "message", T: StorageConfig },
6226
+ { no: 11, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6227
+ ]
6228
+ );
6229
+ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6230
+ "livekit.RoomCompositeEgressRequest",
6231
+ () => [
5373
6232
  {
5374
- no: 4,
5375
- name: "duration",
6233
+ no: 1,
6234
+ name: "room_name",
5376
6235
  kind: "scalar",
5377
- T: 3
5378
- /* ScalarType.INT64 */
6236
+ T: 9
6237
+ /* ScalarType.STRING */
5379
6238
  },
5380
- { no: 5, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(StreamInfo_Status) },
5381
6239
  {
5382
- no: 6,
5383
- name: "error",
6240
+ no: 2,
6241
+ name: "layout",
5384
6242
  kind: "scalar",
5385
6243
  T: 9
5386
6244
  /* ScalarType.STRING */
5387
6245
  },
5388
6246
  {
5389
- no: 7,
5390
- name: "last_retry_at",
6247
+ no: 3,
6248
+ name: "audio_only",
5391
6249
  kind: "scalar",
5392
- T: 3
5393
- /* ScalarType.INT64 */
6250
+ T: 8
6251
+ /* ScalarType.BOOL */
5394
6252
  },
6253
+ { no: 15, name: "audio_mixing", kind: "enum", T: protobuf.proto3.getEnumType(AudioMixing) },
5395
6254
  {
5396
- no: 8,
5397
- name: "retries",
6255
+ no: 4,
6256
+ name: "video_only",
5398
6257
  kind: "scalar",
5399
- T: 13
5400
- /* ScalarType.UINT32 */
5401
- }
5402
- ]
5403
- );
5404
- const StreamInfo_Status = /* @__PURE__ */ protobuf.proto3.makeEnum(
5405
- "livekit.StreamInfo.Status",
5406
- [
5407
- { no: 0, name: "ACTIVE" },
5408
- { no: 1, name: "FINISHED" },
5409
- { no: 2, name: "FAILED" }
6258
+ T: 8
6259
+ /* ScalarType.BOOL */
6260
+ },
6261
+ {
6262
+ no: 5,
6263
+ name: "custom_base_url",
6264
+ kind: "scalar",
6265
+ T: 9
6266
+ /* ScalarType.STRING */
6267
+ },
6268
+ { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
6269
+ { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
6270
+ { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
6271
+ { no: 8, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6272
+ { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6273
+ { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6274
+ { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6275
+ { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6276
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6277
+ { no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5410
6278
  ]
5411
6279
  );
5412
- const FileInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5413
- "livekit.FileInfo",
6280
+ const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6281
+ "livekit.WebEgressRequest",
5414
6282
  () => [
5415
6283
  {
5416
6284
  no: 1,
5417
- name: "filename",
6285
+ name: "url",
5418
6286
  kind: "scalar",
5419
6287
  T: 9
5420
6288
  /* ScalarType.STRING */
5421
6289
  },
5422
6290
  {
5423
6291
  no: 2,
5424
- name: "started_at",
6292
+ name: "audio_only",
5425
6293
  kind: "scalar",
5426
- T: 3
5427
- /* ScalarType.INT64 */
6294
+ T: 8
6295
+ /* ScalarType.BOOL */
5428
6296
  },
5429
6297
  {
5430
6298
  no: 3,
5431
- name: "ended_at",
6299
+ name: "video_only",
5432
6300
  kind: "scalar",
5433
- T: 3
5434
- /* ScalarType.INT64 */
6301
+ T: 8
6302
+ /* ScalarType.BOOL */
5435
6303
  },
5436
6304
  {
5437
- no: 6,
5438
- name: "duration",
6305
+ no: 12,
6306
+ name: "await_start_signal",
5439
6307
  kind: "scalar",
5440
- T: 3
5441
- /* ScalarType.INT64 */
6308
+ T: 8
6309
+ /* ScalarType.BOOL */
5442
6310
  },
6311
+ { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
6312
+ { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
6313
+ { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
6314
+ { no: 7, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6315
+ { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6316
+ { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6317
+ { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6318
+ { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6319
+ { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6320
+ { no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6321
+ ]
6322
+ );
6323
+ const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6324
+ "livekit.ParticipantEgressRequest",
6325
+ () => [
5443
6326
  {
5444
- no: 4,
5445
- name: "size",
6327
+ no: 1,
6328
+ name: "room_name",
5446
6329
  kind: "scalar",
5447
- T: 3
5448
- /* ScalarType.INT64 */
6330
+ T: 9
6331
+ /* ScalarType.STRING */
5449
6332
  },
5450
6333
  {
5451
- no: 5,
5452
- name: "location",
6334
+ no: 2,
6335
+ name: "identity",
5453
6336
  kind: "scalar",
5454
6337
  T: 9
5455
6338
  /* ScalarType.STRING */
5456
- }
6339
+ },
6340
+ {
6341
+ no: 3,
6342
+ name: "screen_share",
6343
+ kind: "scalar",
6344
+ T: 8
6345
+ /* ScalarType.BOOL */
6346
+ },
6347
+ { no: 4, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6348
+ { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6349
+ { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6350
+ { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6351
+ { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6352
+ { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6353
+ { no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5457
6354
  ]
5458
6355
  );
5459
- const SegmentsInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5460
- "livekit.SegmentsInfo",
6356
+ const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6357
+ "livekit.TrackCompositeEgressRequest",
5461
6358
  () => [
5462
6359
  {
5463
6360
  no: 1,
5464
- name: "playlist_name",
6361
+ name: "room_name",
5465
6362
  kind: "scalar",
5466
6363
  T: 9
5467
6364
  /* ScalarType.STRING */
5468
6365
  },
5469
6366
  {
5470
- no: 8,
5471
- name: "live_playlist_name",
6367
+ no: 2,
6368
+ name: "audio_track_id",
5472
6369
  kind: "scalar",
5473
6370
  T: 9
5474
6371
  /* ScalarType.STRING */
5475
6372
  },
5476
- {
5477
- no: 2,
5478
- name: "duration",
5479
- kind: "scalar",
5480
- T: 3
5481
- /* ScalarType.INT64 */
5482
- },
5483
6373
  {
5484
6374
  no: 3,
5485
- name: "size",
6375
+ name: "video_track_id",
5486
6376
  kind: "scalar",
5487
- T: 3
5488
- /* ScalarType.INT64 */
6377
+ T: 9
6378
+ /* ScalarType.STRING */
5489
6379
  },
6380
+ { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
6381
+ { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
6382
+ { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
6383
+ { no: 6, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6384
+ { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6385
+ { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6386
+ { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6387
+ { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6388
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6389
+ { no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6390
+ ]
6391
+ );
6392
+ const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6393
+ "livekit.TrackEgressRequest",
6394
+ () => [
5490
6395
  {
5491
- no: 4,
5492
- name: "playlist_location",
6396
+ no: 1,
6397
+ name: "room_name",
5493
6398
  kind: "scalar",
5494
6399
  T: 9
5495
6400
  /* ScalarType.STRING */
5496
6401
  },
5497
6402
  {
5498
- no: 9,
5499
- name: "live_playlist_location",
6403
+ no: 2,
6404
+ name: "track_id",
5500
6405
  kind: "scalar",
5501
6406
  T: 9
5502
6407
  /* ScalarType.STRING */
5503
6408
  },
6409
+ { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
6410
+ { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" },
6411
+ { no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6412
+ ]
6413
+ );
6414
+ const DirectFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6415
+ "livekit.DirectFileOutput",
6416
+ () => [
5504
6417
  {
5505
- no: 5,
5506
- name: "segment_count",
6418
+ no: 1,
6419
+ name: "filepath",
5507
6420
  kind: "scalar",
5508
- T: 3
5509
- /* ScalarType.INT64 */
6421
+ T: 9
6422
+ /* ScalarType.STRING */
5510
6423
  },
5511
6424
  {
5512
- no: 6,
5513
- name: "started_at",
6425
+ no: 5,
6426
+ name: "disable_manifest",
5514
6427
  kind: "scalar",
5515
- T: 3
5516
- /* ScalarType.INT64 */
6428
+ T: 8
6429
+ /* ScalarType.BOOL */
5517
6430
  },
5518
- {
5519
- no: 7,
5520
- name: "ended_at",
5521
- kind: "scalar",
5522
- T: 3
5523
- /* ScalarType.INT64 */
5524
- }
6431
+ { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
6432
+ { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
6433
+ { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
6434
+ { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
5525
6435
  ]
5526
6436
  );
5527
- const ImagesInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5528
- "livekit.ImagesInfo",
6437
+ const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6438
+ "livekit.EncodedFileOutput",
5529
6439
  () => [
6440
+ { no: 1, name: "file_type", kind: "enum", T: protobuf.proto3.getEnumType(EncodedFileType) },
5530
6441
  {
5531
- no: 4,
5532
- name: "filename_prefix",
6442
+ no: 2,
6443
+ name: "filepath",
5533
6444
  kind: "scalar",
5534
6445
  T: 9
5535
6446
  /* ScalarType.STRING */
5536
6447
  },
5537
6448
  {
5538
- no: 1,
5539
- name: "image_count",
6449
+ no: 6,
6450
+ name: "disable_manifest",
5540
6451
  kind: "scalar",
5541
- T: 3
5542
- /* ScalarType.INT64 */
6452
+ T: 8
6453
+ /* ScalarType.BOOL */
5543
6454
  },
6455
+ { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
6456
+ { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
6457
+ { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
6458
+ { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
6459
+ ]
6460
+ );
6461
+ const UpdateLayoutRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6462
+ "livekit.UpdateLayoutRequest",
6463
+ () => [
5544
6464
  {
5545
- no: 2,
5546
- name: "started_at",
6465
+ no: 1,
6466
+ name: "egress_id",
5547
6467
  kind: "scalar",
5548
- T: 3
5549
- /* ScalarType.INT64 */
6468
+ T: 9
6469
+ /* ScalarType.STRING */
5550
6470
  },
5551
6471
  {
5552
- no: 3,
5553
- name: "ended_at",
6472
+ no: 2,
6473
+ name: "layout",
5554
6474
  kind: "scalar",
5555
- T: 3
5556
- /* ScalarType.INT64 */
6475
+ T: 9
6476
+ /* ScalarType.STRING */
5557
6477
  }
5558
6478
  ]
5559
6479
  );
5560
- const AutoParticipantEgress = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5561
- "livekit.AutoParticipantEgress",
5562
- () => [
5563
- { no: 1, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
5564
- { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
5565
- { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
5566
- { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }
5567
- ]
5568
- );
5569
- const AutoTrackEgress = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5570
- "livekit.AutoTrackEgress",
6480
+ const UpdateStreamRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6481
+ "livekit.UpdateStreamRequest",
5571
6482
  () => [
5572
6483
  {
5573
6484
  no: 1,
5574
- name: "filepath",
6485
+ name: "egress_id",
5575
6486
  kind: "scalar",
5576
6487
  T: 9
5577
6488
  /* ScalarType.STRING */
5578
6489
  },
5579
- {
5580
- no: 5,
5581
- name: "disable_manifest",
5582
- kind: "scalar",
5583
- T: 8
5584
- /* ScalarType.BOOL */
5585
- },
5586
- { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
5587
- { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
5588
- { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
5589
- { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
6490
+ { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true },
6491
+ { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true }
6492
+ ]
6493
+ );
6494
+ const StreamInfoList = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6495
+ "livekit.StreamInfoList",
6496
+ () => [
6497
+ { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true }
5590
6498
  ]
5591
6499
  );
5592
6500
 
@@ -6447,7 +7355,12 @@ const RoomConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6447
7355
  T: 8
6448
7356
  /* ScalarType.BOOL */
6449
7357
  },
6450
- { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }
7358
+ { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
7359
+ { no: 12, name: "tags", kind: "map", K: 9, V: {
7360
+ kind: "scalar",
7361
+ T: 9
7362
+ /* ScalarType.STRING */
7363
+ } }
6451
7364
  ]
6452
7365
  );
6453
7366
  const ForwardParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6981,7 +7894,9 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6981
7894
  T: 8
6982
7895
  /* ScalarType.BOOL */
6983
7896
  },
6984
- { no: 16, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
7897
+ { no: 16, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
7898
+ { no: 17, name: "created_at", kind: "message", T: protobuf.Timestamp },
7899
+ { no: 18, name: "updated_at", kind: "message", T: protobuf.Timestamp }
6985
7900
  ]
6986
7901
  );
6987
7902
  const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -7087,7 +8002,16 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7087
8002
  /* ScalarType.STRING */
7088
8003
  } },
7089
8004
  { no: 12, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) },
7090
- { no: 13, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
8005
+ { no: 13, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
8006
+ {
8007
+ no: 15,
8008
+ name: "from_host",
8009
+ kind: "scalar",
8010
+ T: 9
8011
+ /* ScalarType.STRING */
8012
+ },
8013
+ { no: 16, name: "created_at", kind: "message", T: protobuf.Timestamp },
8014
+ { no: 17, name: "updated_at", kind: "message", T: protobuf.Timestamp }
7091
8015
  ]
7092
8016
  );
7093
8017
  const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -7101,7 +8025,8 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7101
8025
  { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
7102
8026
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
7103
8027
  { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
7104
- { no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
8028
+ { no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
8029
+ { no: 10, name: "from_host", kind: "scalar", T: 9, opt: true }
7105
8030
  ]
7106
8031
  );
7107
8032
  const GetSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -7383,7 +8308,9 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7383
8308
  T: 8
7384
8309
  /* ScalarType.BOOL */
7385
8310
  },
7386
- { no: 12, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
8311
+ { no: 12, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
8312
+ { no: 14, name: "created_at", kind: "message", T: protobuf.Timestamp },
8313
+ { no: 15, name: "updated_at", kind: "message", T: protobuf.Timestamp }
7387
8314
  ]
7388
8315
  );
7389
8316
  const SIPDispatchRuleUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -7468,7 +8395,14 @@ const SIPOutboundConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7468
8395
  kind: "scalar",
7469
8396
  T: 9
7470
8397
  /* ScalarType.STRING */
7471
- } }
8398
+ } },
8399
+ {
8400
+ no: 8,
8401
+ name: "from_host",
8402
+ kind: "scalar",
8403
+ T: 9
8404
+ /* ScalarType.STRING */
8405
+ }
7472
8406
  ]
7473
8407
  );
7474
8408
  const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -7985,7 +8919,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7985
8919
  ]
7986
8920
  );
7987
8921
 
7988
- const version = "1.45.0";
8922
+ const version = "1.45.2";
7989
8923
 
7990
8924
  exports.protoInt64 = protobuf.protoInt64;
7991
8925
  exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
@@ -7996,8 +8930,11 @@ exports.AgentDispatch = AgentDispatch;
7996
8930
  exports.AgentDispatchState = AgentDispatchState;
7997
8931
  exports.AgentSession = livekit_agent_session_pb;
7998
8932
  exports.AliOSSUpload = AliOSSUpload;
8933
+ exports.AudioChannel = AudioChannel;
7999
8934
  exports.AudioCodec = AudioCodec;
8935
+ exports.AudioConfig = AudioConfig;
8000
8936
  exports.AudioMixing = AudioMixing;
8937
+ exports.AudioRoute = AudioRoute;
8001
8938
  exports.AudioTrackFeature = AudioTrackFeature;
8002
8939
  exports.AutoParticipantEgress = AutoParticipantEgress;
8003
8940
  exports.AutoTrackEgress = AutoTrackEgress;
@@ -8032,8 +8969,10 @@ exports.CreateSIPParticipantRequest = CreateSIPParticipantRequest;
8032
8969
  exports.CreateSIPTrunkRequest = CreateSIPTrunkRequest;
8033
8970
  exports.DataChannelInfo = DataChannelInfo;
8034
8971
  exports.DataChannelReceiveState = DataChannelReceiveState;
8972
+ exports.DataConfig = DataConfig;
8035
8973
  exports.DataPacket = DataPacket;
8036
8974
  exports.DataPacket_Kind = DataPacket_Kind;
8975
+ exports.DataSelector = DataSelector;
8037
8976
  exports.DataStream = DataStream;
8038
8977
  exports.DataStream_ByteHeader = DataStream_ByteHeader;
8039
8978
  exports.DataStream_Chunk = DataStream_Chunk;
@@ -8074,7 +9013,9 @@ exports.EncryptedPacketPayload = EncryptedPacketPayload;
8074
9013
  exports.Encryption = Encryption;
8075
9014
  exports.Encryption_Type = Encryption_Type;
8076
9015
  exports.EventMetric = EventMetric;
9016
+ exports.ExportReplayRequest = ExportReplayRequest;
8077
9017
  exports.FileInfo = FileInfo;
9018
+ exports.FileOutput = FileOutput;
8078
9019
  exports.FilterParams = FilterParams;
8079
9020
  exports.ForwardParticipantRequest = ForwardParticipantRequest;
8080
9021
  exports.ForwardParticipantResponse = ForwardParticipantResponse;
@@ -8102,6 +9043,7 @@ exports.InputAudioState = InputAudioState;
8102
9043
  exports.InputVideoState = InputVideoState;
8103
9044
  exports.Job = Job;
8104
9045
  exports.JobAssignment = JobAssignment;
9046
+ exports.JobRestartPolicy = JobRestartPolicy;
8105
9047
  exports.JobState = JobState;
8106
9048
  exports.JobStatus = JobStatus;
8107
9049
  exports.JobTermination = JobTermination;
@@ -8130,6 +9072,7 @@ exports.ListSIPTrunkRequest = ListSIPTrunkRequest;
8130
9072
  exports.ListSIPTrunkResponse = ListSIPTrunkResponse;
8131
9073
  exports.ListUpdate = ListUpdate;
8132
9074
  exports.MediaSectionsRequirement = MediaSectionsRequirement;
9075
+ exports.MediaSource = MediaSource;
8133
9076
  exports.MetricLabel = MetricLabel;
8134
9077
  exports.MetricSample = MetricSample;
8135
9078
  exports.MetricsBatch = MetricsBatch;
@@ -8140,6 +9083,7 @@ exports.MoveParticipantResponse = MoveParticipantResponse;
8140
9083
  exports.MuteRoomTrackRequest = MuteRoomTrackRequest;
8141
9084
  exports.MuteRoomTrackResponse = MuteRoomTrackResponse;
8142
9085
  exports.MuteTrackRequest = MuteTrackRequest;
9086
+ exports.Output = Output;
8143
9087
  exports.PacketTrailerFeature = PacketTrailerFeature;
8144
9088
  exports.Pagination = Pagination;
8145
9089
  exports.ParticipantEgressRequest = ParticipantEgressRequest;
@@ -8150,6 +9094,7 @@ exports.ParticipantInfo_State = ParticipantInfo_State;
8150
9094
  exports.ParticipantPermission = ParticipantPermission;
8151
9095
  exports.ParticipantTracks = ParticipantTracks;
8152
9096
  exports.ParticipantUpdate = ParticipantUpdate;
9097
+ exports.ParticipantVideo = ParticipantVideo;
8153
9098
  exports.PerformRpcRequest = PerformRpcRequest;
8154
9099
  exports.PerformRpcResponse = PerformRpcResponse;
8155
9100
  exports.Ping = Ping;
@@ -8234,7 +9179,9 @@ exports.SimulcastCodecInfo = SimulcastCodecInfo;
8234
9179
  exports.SipDTMF = SipDTMF;
8235
9180
  exports.SpeakerInfo = SpeakerInfo;
8236
9181
  exports.SpeakersChanged = SpeakersChanged;
9182
+ exports.StartEgressRequest = StartEgressRequest;
8237
9183
  exports.StopEgressRequest = StopEgressRequest;
9184
+ exports.StorageConfig = StorageConfig;
8238
9185
  exports.StreamInfo = StreamInfo;
8239
9186
  exports.StreamInfoList = StreamInfoList;
8240
9187
  exports.StreamInfo_Status = StreamInfo_Status;
@@ -8253,6 +9200,7 @@ exports.SubscriptionPermission = SubscriptionPermission;
8253
9200
  exports.SubscriptionPermissionUpdate = SubscriptionPermissionUpdate;
8254
9201
  exports.SubscriptionResponse = SubscriptionResponse;
8255
9202
  exports.SyncState = SyncState;
9203
+ exports.TemplateSource = TemplateSource;
8256
9204
  exports.TimeSeriesMetric = TimeSeriesMetric;
8257
9205
  exports.TimedVersion = TimedVersion;
8258
9206
  exports.TokenPagination = TokenPagination;
@@ -8275,6 +9223,7 @@ exports.UnpublishDataTrackRequest = UnpublishDataTrackRequest;
8275
9223
  exports.UnpublishDataTrackResponse = UnpublishDataTrackResponse;
8276
9224
  exports.UpdateDataSubscription = UpdateDataSubscription;
8277
9225
  exports.UpdateDataSubscription_Update = UpdateDataSubscription_Update;
9226
+ exports.UpdateEgressRequest = UpdateEgressRequest;
8278
9227
  exports.UpdateIngressRequest = UpdateIngressRequest;
8279
9228
  exports.UpdateJobStatus = UpdateJobStatus;
8280
9229
  exports.UpdateLayoutRequest = UpdateLayoutRequest;
@@ -8301,6 +9250,7 @@ exports.VideoLayer = VideoLayer;
8301
9250
  exports.VideoLayer_Mode = VideoLayer_Mode;
8302
9251
  exports.VideoQuality = VideoQuality;
8303
9252
  exports.WebEgressRequest = WebEgressRequest;
9253
+ exports.WebSource = WebSource;
8304
9254
  exports.WebhookConfig = WebhookConfig;
8305
9255
  exports.WebhookEvent = WebhookEvent;
8306
9256
  exports.WhatsAppCall = WhatsAppCall;