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