@livekit/protocol 1.53.2 → 1.53.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +133 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +271 -3
- package/dist/index.d.mts +271 -3
- package/dist/index.d.ts +271 -3
- package/dist/index.mjs +132 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_inference_pb.d.ts +11 -0
- package/src/gen/agent/livekit_agent_inference_pb.js +1 -0
- package/src/gen/agent/livekit_agent_session_pb.d.ts +119 -0
- package/src/gen/agent/livekit_agent_session_pb.js +39 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +7 -0
- package/src/gen/livekit_agent_simulation_pb.js +1 -0
- package/src/gen/livekit_egress_pb.d.ts +127 -2
- package/src/gen/livekit_egress_pb.js +31 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -316,6 +316,17 @@ export declare class InferenceStart extends Message<InferenceStart> {
|
|
|
316
316
|
*/
|
|
317
317
|
requestId: string;
|
|
318
318
|
|
|
319
|
+
/**
|
|
320
|
+
* Length of the current user turn, in samples at the session sample rate.
|
|
321
|
+
* Count from the start of the user turn, or from the last session_flush when
|
|
322
|
+
* the start is unknown, through the last input_audio sent before this
|
|
323
|
+
* message. The end-of-turn model reads it as the turn duration, which can be
|
|
324
|
+
* longer than the audio window it scores. 0 means unknown.
|
|
325
|
+
*
|
|
326
|
+
* @generated from field: uint32 turn_samples = 2;
|
|
327
|
+
*/
|
|
328
|
+
turnSamples: number;
|
|
329
|
+
|
|
319
330
|
constructor(data?: PartialMessage<InferenceStart>);
|
|
320
331
|
|
|
321
332
|
static readonly runtime: typeof proto3;
|
|
@@ -134,6 +134,7 @@ export const InferenceStart = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
134
134
|
"livekit.agent.InferenceStart",
|
|
135
135
|
() => [
|
|
136
136
|
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
137
|
+
{ no: 2, name: "turn_samples", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
137
138
|
],
|
|
138
139
|
);
|
|
139
140
|
|
|
@@ -204,6 +204,18 @@ export declare enum AmdCategory {
|
|
|
204
204
|
* @generated from enum value: AMD_UNCERTAIN = 5;
|
|
205
205
|
*/
|
|
206
206
|
AMD_UNCERTAIN = 5,
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from enum value: AMD_MACHINE_SCREENING = 6;
|
|
210
|
+
*/
|
|
211
|
+
AMD_MACHINE_SCREENING = 6,
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* A prediction only: the turn's reply is held, and the stage does not change.
|
|
215
|
+
*
|
|
216
|
+
* @generated from enum value: AMD_WAIT = 7;
|
|
217
|
+
*/
|
|
218
|
+
AMD_WAIT = 7,
|
|
207
219
|
}
|
|
208
220
|
|
|
209
221
|
/**
|
|
@@ -1127,6 +1139,18 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
1127
1139
|
*/
|
|
1128
1140
|
value: AgentSessionEvent_AgentFalseInterruption;
|
|
1129
1141
|
case: "agentFalseInterruption";
|
|
1142
|
+
} | {
|
|
1143
|
+
/**
|
|
1144
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AmdCompleted amd_completed = 24;
|
|
1145
|
+
*/
|
|
1146
|
+
value: AgentSessionEvent_AmdCompleted;
|
|
1147
|
+
case: "amdCompleted";
|
|
1148
|
+
} | {
|
|
1149
|
+
/**
|
|
1150
|
+
* @generated from field: livekit.agent.AgentSessionEvent.SessionClosed session_closed = 25;
|
|
1151
|
+
*/
|
|
1152
|
+
value: AgentSessionEvent_SessionClosed;
|
|
1153
|
+
case: "sessionClosed";
|
|
1130
1154
|
} | { case: undefined; value?: undefined };
|
|
1131
1155
|
|
|
1132
1156
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1405,6 +1429,25 @@ export declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessio
|
|
|
1405
1429
|
*/
|
|
1406
1430
|
delay?: Duration;
|
|
1407
1431
|
|
|
1432
|
+
/**
|
|
1433
|
+
* @generated from field: uint32 turn_id = 6;
|
|
1434
|
+
*/
|
|
1435
|
+
turnId: number;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* The stage after this prediction. Never AMD_WAIT.
|
|
1439
|
+
*
|
|
1440
|
+
* @generated from field: livekit.agent.AmdCategory stage = 7;
|
|
1441
|
+
*/
|
|
1442
|
+
stage: AmdCategory;
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Unset when the turn ran no inference.
|
|
1446
|
+
*
|
|
1447
|
+
* @generated from field: google.protobuf.Duration inference_duration = 8;
|
|
1448
|
+
*/
|
|
1449
|
+
inferenceDuration?: Duration;
|
|
1450
|
+
|
|
1408
1451
|
constructor(data?: PartialMessage<AgentSessionEvent_AmdPrediction>);
|
|
1409
1452
|
|
|
1410
1453
|
static readonly runtime: typeof proto3;
|
|
@@ -1420,6 +1463,49 @@ export declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessio
|
|
|
1420
1463
|
static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
|
|
1421
1464
|
}
|
|
1422
1465
|
|
|
1466
|
+
/**
|
|
1467
|
+
* Once per AMD run.
|
|
1468
|
+
*
|
|
1469
|
+
* @generated from message livekit.agent.AgentSessionEvent.AmdCompleted
|
|
1470
|
+
*/
|
|
1471
|
+
export declare class AgentSessionEvent_AmdCompleted extends Message<AgentSessionEvent_AmdCompleted> {
|
|
1472
|
+
/**
|
|
1473
|
+
* @generated from field: livekit.agent.AmdCategory category = 1;
|
|
1474
|
+
*/
|
|
1475
|
+
category: AmdCategory;
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* @generated from field: string reason = 2;
|
|
1479
|
+
*/
|
|
1480
|
+
reason: string;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* @generated from field: bool voicemail_message_played = 3;
|
|
1484
|
+
*/
|
|
1485
|
+
voicemailMessagePlayed: boolean;
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* Unset when the run ended before any prediction.
|
|
1489
|
+
*
|
|
1490
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AmdPrediction prediction = 4;
|
|
1491
|
+
*/
|
|
1492
|
+
prediction?: AgentSessionEvent_AmdPrediction;
|
|
1493
|
+
|
|
1494
|
+
constructor(data?: PartialMessage<AgentSessionEvent_AmdCompleted>);
|
|
1495
|
+
|
|
1496
|
+
static readonly runtime: typeof proto3;
|
|
1497
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.AmdCompleted";
|
|
1498
|
+
static readonly fields: FieldList;
|
|
1499
|
+
|
|
1500
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AmdCompleted;
|
|
1501
|
+
|
|
1502
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdCompleted;
|
|
1503
|
+
|
|
1504
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdCompleted;
|
|
1505
|
+
|
|
1506
|
+
static equals(a: AgentSessionEvent_AmdCompleted | PlainMessage<AgentSessionEvent_AmdCompleted> | undefined, b: AgentSessionEvent_AmdCompleted | PlainMessage<AgentSessionEvent_AmdCompleted> | undefined): boolean;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1423
1509
|
/**
|
|
1424
1510
|
* @generated from message livekit.agent.AgentSessionEvent.EotPrediction
|
|
1425
1511
|
*/
|
|
@@ -1682,6 +1768,39 @@ export declare class AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated extends
|
|
|
1682
1768
|
static equals(a: AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated> | undefined, b: AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated> | undefined): boolean;
|
|
1683
1769
|
}
|
|
1684
1770
|
|
|
1771
|
+
/**
|
|
1772
|
+
* The agent session closed: the call is over even if the agent is still in the room.
|
|
1773
|
+
* No further session events follow, and session requests are no longer answered;
|
|
1774
|
+
* finalize_simulation may still be.
|
|
1775
|
+
*
|
|
1776
|
+
* @generated from message livekit.agent.AgentSessionEvent.SessionClosed
|
|
1777
|
+
*/
|
|
1778
|
+
export declare class AgentSessionEvent_SessionClosed extends Message<AgentSessionEvent_SessionClosed> {
|
|
1779
|
+
/**
|
|
1780
|
+
* @generated from field: livekit.agent.CloseReason reason = 1;
|
|
1781
|
+
*/
|
|
1782
|
+
reason: CloseReason;
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* @generated from field: optional string error = 2;
|
|
1786
|
+
*/
|
|
1787
|
+
error?: string;
|
|
1788
|
+
|
|
1789
|
+
constructor(data?: PartialMessage<AgentSessionEvent_SessionClosed>);
|
|
1790
|
+
|
|
1791
|
+
static readonly runtime: typeof proto3;
|
|
1792
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.SessionClosed";
|
|
1793
|
+
static readonly fields: FieldList;
|
|
1794
|
+
|
|
1795
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_SessionClosed;
|
|
1796
|
+
|
|
1797
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_SessionClosed;
|
|
1798
|
+
|
|
1799
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_SessionClosed;
|
|
1800
|
+
|
|
1801
|
+
static equals(a: AgentSessionEvent_SessionClosed | PlainMessage<AgentSessionEvent_SessionClosed> | undefined, b: AgentSessionEvent_SessionClosed | PlainMessage<AgentSessionEvent_SessionClosed> | undefined): boolean;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1685
1804
|
/**
|
|
1686
1805
|
* @generated from message livekit.agent.AgentSessionEvent.AgentFalseInterruption
|
|
1687
1806
|
*/
|
|
@@ -100,6 +100,8 @@ export const AmdCategory = /*@__PURE__*/ proto3.makeEnum(
|
|
|
100
100
|
{no: 3, name: "AMD_MACHINE_VM"},
|
|
101
101
|
{no: 4, name: "AMD_MACHINE_UNAVAILABLE"},
|
|
102
102
|
{no: 5, name: "AMD_UNCERTAIN"},
|
|
103
|
+
{no: 6, name: "AMD_MACHINE_SCREENING"},
|
|
104
|
+
{no: 7, name: "AMD_WAIT"},
|
|
103
105
|
],
|
|
104
106
|
);
|
|
105
107
|
|
|
@@ -381,6 +383,8 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
381
383
|
{ no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" },
|
|
382
384
|
{ no: 22, name: "tool_execution_updated", kind: "message", T: AgentSessionEvent_ToolExecutionUpdated, oneof: "event" },
|
|
383
385
|
{ no: 23, name: "agent_false_interruption", kind: "message", T: AgentSessionEvent_AgentFalseInterruption, oneof: "event" },
|
|
386
|
+
{ no: 24, name: "amd_completed", kind: "message", T: AgentSessionEvent_AmdCompleted, oneof: "event" },
|
|
387
|
+
{ no: 25, name: "session_closed", kind: "message", T: AgentSessionEvent_SessionClosed, oneof: "event" },
|
|
384
388
|
],
|
|
385
389
|
);
|
|
386
390
|
|
|
@@ -491,10 +495,29 @@ export const AgentSessionEvent_AmdPrediction = /*@__PURE__*/ proto3.makeMessageT
|
|
|
491
495
|
{ no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
492
496
|
{ no: 4, name: "transcript", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
493
497
|
{ no: 5, name: "delay", kind: "message", T: Duration },
|
|
498
|
+
{ no: 6, name: "turn_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
499
|
+
{ no: 7, name: "stage", kind: "enum", T: proto3.getEnumType(AmdCategory) },
|
|
500
|
+
{ no: 8, name: "inference_duration", kind: "message", T: Duration },
|
|
494
501
|
],
|
|
495
502
|
{localName: "AgentSessionEvent_AmdPrediction"},
|
|
496
503
|
);
|
|
497
504
|
|
|
505
|
+
/**
|
|
506
|
+
* Once per AMD run.
|
|
507
|
+
*
|
|
508
|
+
* @generated from message livekit.agent.AgentSessionEvent.AmdCompleted
|
|
509
|
+
*/
|
|
510
|
+
export const AgentSessionEvent_AmdCompleted = /*@__PURE__*/ proto3.makeMessageType(
|
|
511
|
+
"livekit.agent.AgentSessionEvent.AmdCompleted",
|
|
512
|
+
() => [
|
|
513
|
+
{ no: 1, name: "category", kind: "enum", T: proto3.getEnumType(AmdCategory) },
|
|
514
|
+
{ no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
515
|
+
{ no: 3, name: "voicemail_message_played", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
516
|
+
{ no: 4, name: "prediction", kind: "message", T: AgentSessionEvent_AmdPrediction },
|
|
517
|
+
],
|
|
518
|
+
{localName: "AgentSessionEvent_AmdCompleted"},
|
|
519
|
+
);
|
|
520
|
+
|
|
498
521
|
/**
|
|
499
522
|
* @generated from message livekit.agent.AgentSessionEvent.EotPrediction
|
|
500
523
|
*/
|
|
@@ -593,6 +616,22 @@ export const AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated = /*@__PURE__*/
|
|
|
593
616
|
{localName: "AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated"},
|
|
594
617
|
);
|
|
595
618
|
|
|
619
|
+
/**
|
|
620
|
+
* The agent session closed: the call is over even if the agent is still in the room.
|
|
621
|
+
* No further session events follow, and session requests are no longer answered;
|
|
622
|
+
* finalize_simulation may still be.
|
|
623
|
+
*
|
|
624
|
+
* @generated from message livekit.agent.AgentSessionEvent.SessionClosed
|
|
625
|
+
*/
|
|
626
|
+
export const AgentSessionEvent_SessionClosed = /*@__PURE__*/ proto3.makeMessageType(
|
|
627
|
+
"livekit.agent.AgentSessionEvent.SessionClosed",
|
|
628
|
+
() => [
|
|
629
|
+
{ no: 1, name: "reason", kind: "enum", T: proto3.getEnumType(CloseReason) },
|
|
630
|
+
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
631
|
+
],
|
|
632
|
+
{localName: "AgentSessionEvent_SessionClosed"},
|
|
633
|
+
);
|
|
634
|
+
|
|
596
635
|
/**
|
|
597
636
|
* @generated from message livekit.agent.AgentSessionEvent.AgentFalseInterruption
|
|
598
637
|
*/
|
|
@@ -1497,6 +1497,13 @@ export declare class SimulationRun_Create_Request extends Message<SimulationRun_
|
|
|
1497
1497
|
*/
|
|
1498
1498
|
sipNumber: string;
|
|
1499
1499
|
|
|
1500
|
+
/**
|
|
1501
|
+
* Named deployment of agent_name to dispatch to; empty is production.
|
|
1502
|
+
*
|
|
1503
|
+
* @generated from field: string deployment = 18;
|
|
1504
|
+
*/
|
|
1505
|
+
deployment: string;
|
|
1506
|
+
|
|
1500
1507
|
constructor(data?: PartialMessage<SimulationRun_Create_Request>);
|
|
1501
1508
|
|
|
1502
1509
|
static readonly runtime: typeof proto3;
|
|
@@ -425,6 +425,7 @@ export const SimulationRun_Create_Request = /*@__PURE__*/ proto3.makeMessageType
|
|
|
425
425
|
{ no: 15, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
426
426
|
{ no: 16, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
427
427
|
{ no: 17, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
428
|
+
{ no: 18, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
428
429
|
],
|
|
429
430
|
{localName: "SimulationRun_Create_Request"},
|
|
430
431
|
);
|
|
@@ -134,6 +134,13 @@ export declare enum EncodedFileType {
|
|
|
134
134
|
* @generated from enum value: MP3 = 3;
|
|
135
135
|
*/
|
|
136
136
|
MP3 = 3,
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* One channel per captured track
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum value: MCAP = 4;
|
|
142
|
+
*/
|
|
143
|
+
MCAP = 4,
|
|
137
144
|
}
|
|
138
145
|
|
|
139
146
|
/**
|
|
@@ -491,15 +498,26 @@ export declare class MediaSource extends Message<MediaSource> {
|
|
|
491
498
|
*/
|
|
492
499
|
value: ParticipantVideo;
|
|
493
500
|
case: "participantVideo";
|
|
501
|
+
} | {
|
|
502
|
+
/**
|
|
503
|
+
* Multiple independent video tracks; requires an MCAP file output
|
|
504
|
+
*
|
|
505
|
+
* @generated from field: livekit.VideoConfig videos = 5;
|
|
506
|
+
*/
|
|
507
|
+
value: VideoConfig;
|
|
508
|
+
case: "videos";
|
|
494
509
|
} | { case: undefined; value?: undefined };
|
|
495
510
|
|
|
496
511
|
/**
|
|
497
|
-
* TODO: DataConfig data = 4;
|
|
498
|
-
*
|
|
499
512
|
* @generated from field: livekit.AudioConfig audio = 3;
|
|
500
513
|
*/
|
|
501
514
|
audio?: AudioConfig;
|
|
502
515
|
|
|
516
|
+
/**
|
|
517
|
+
* @generated from field: livekit.DataConfig data = 4;
|
|
518
|
+
*/
|
|
519
|
+
data?: DataConfig;
|
|
520
|
+
|
|
503
521
|
constructor(data?: PartialMessage<MediaSource>);
|
|
504
522
|
|
|
505
523
|
static readonly runtime: typeof proto3;
|
|
@@ -544,6 +562,85 @@ export declare class ParticipantVideo extends Message<ParticipantVideo> {
|
|
|
544
562
|
static equals(a: ParticipantVideo | PlainMessage<ParticipantVideo> | undefined, b: ParticipantVideo | PlainMessage<ParticipantVideo> | undefined): boolean;
|
|
545
563
|
}
|
|
546
564
|
|
|
565
|
+
/**
|
|
566
|
+
* @generated from message livekit.VideoConfig
|
|
567
|
+
*/
|
|
568
|
+
export declare class VideoConfig extends Message<VideoConfig> {
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: bool capture_all = 1;
|
|
571
|
+
*/
|
|
572
|
+
captureAll: boolean;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: repeated livekit.VideoSelector selectors = 2;
|
|
576
|
+
*/
|
|
577
|
+
selectors: VideoSelector[];
|
|
578
|
+
|
|
579
|
+
constructor(data?: PartialMessage<VideoConfig>);
|
|
580
|
+
|
|
581
|
+
static readonly runtime: typeof proto3;
|
|
582
|
+
static readonly typeName = "livekit.VideoConfig";
|
|
583
|
+
static readonly fields: FieldList;
|
|
584
|
+
|
|
585
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoConfig;
|
|
586
|
+
|
|
587
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoConfig;
|
|
588
|
+
|
|
589
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoConfig;
|
|
590
|
+
|
|
591
|
+
static equals(a: VideoConfig | PlainMessage<VideoConfig> | undefined, b: VideoConfig | PlainMessage<VideoConfig> | undefined): boolean;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @generated from message livekit.VideoSelector
|
|
596
|
+
*/
|
|
597
|
+
export declare class VideoSelector extends Message<VideoSelector> {
|
|
598
|
+
/**
|
|
599
|
+
* @generated from oneof livekit.VideoSelector.match
|
|
600
|
+
*/
|
|
601
|
+
match: {
|
|
602
|
+
/**
|
|
603
|
+
* @generated from field: string track_id = 1;
|
|
604
|
+
*/
|
|
605
|
+
value: string;
|
|
606
|
+
case: "trackId";
|
|
607
|
+
} | {
|
|
608
|
+
/**
|
|
609
|
+
* @generated from field: string participant_identity = 2;
|
|
610
|
+
*/
|
|
611
|
+
value: string;
|
|
612
|
+
case: "participantIdentity";
|
|
613
|
+
} | { case: undefined; value?: undefined };
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Narrows the match to tracks with this name; alone, matches it from any participant
|
|
617
|
+
*
|
|
618
|
+
* @generated from field: string track_name = 3;
|
|
619
|
+
*/
|
|
620
|
+
trackName: string;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Drop matching tracks, overriding capture_all and other matches
|
|
624
|
+
*
|
|
625
|
+
* @generated from field: bool exclude = 4;
|
|
626
|
+
*/
|
|
627
|
+
exclude: boolean;
|
|
628
|
+
|
|
629
|
+
constructor(data?: PartialMessage<VideoSelector>);
|
|
630
|
+
|
|
631
|
+
static readonly runtime: typeof proto3;
|
|
632
|
+
static readonly typeName = "livekit.VideoSelector";
|
|
633
|
+
static readonly fields: FieldList;
|
|
634
|
+
|
|
635
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSelector;
|
|
636
|
+
|
|
637
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSelector;
|
|
638
|
+
|
|
639
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSelector;
|
|
640
|
+
|
|
641
|
+
static equals(a: VideoSelector | PlainMessage<VideoSelector> | undefined, b: VideoSelector | PlainMessage<VideoSelector> | undefined): boolean;
|
|
642
|
+
}
|
|
643
|
+
|
|
547
644
|
/**
|
|
548
645
|
* Unified audio selection and channel routing.
|
|
549
646
|
* Each route specifies both which audio to capture and which channel to output to.
|
|
@@ -605,6 +702,20 @@ export declare class AudioRoute extends Message<AudioRoute> {
|
|
|
605
702
|
case: "participantKind";
|
|
606
703
|
} | { case: undefined; value?: undefined };
|
|
607
704
|
|
|
705
|
+
/**
|
|
706
|
+
* Narrows the match to tracks with this name; alone, matches it from any participant
|
|
707
|
+
*
|
|
708
|
+
* @generated from field: string track_name = 5;
|
|
709
|
+
*/
|
|
710
|
+
trackName: string;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Drop matching tracks, overriding capture_all and other routes
|
|
714
|
+
*
|
|
715
|
+
* @generated from field: bool exclude = 6;
|
|
716
|
+
*/
|
|
717
|
+
exclude: boolean;
|
|
718
|
+
|
|
608
719
|
/**
|
|
609
720
|
* @generated from field: livekit.AudioChannel channel = 4;
|
|
610
721
|
*/
|
|
@@ -675,6 +786,20 @@ export declare class DataSelector extends Message<DataSelector> {
|
|
|
675
786
|
case: "participantIdentity";
|
|
676
787
|
} | { case: undefined; value?: undefined };
|
|
677
788
|
|
|
789
|
+
/**
|
|
790
|
+
* Narrows the match to tracks with this name; alone, matches it from any participant
|
|
791
|
+
*
|
|
792
|
+
* @generated from field: string track_name = 3;
|
|
793
|
+
*/
|
|
794
|
+
trackName: string;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Drop matching tracks, overriding capture_all and other matches
|
|
798
|
+
*
|
|
799
|
+
* @generated from field: bool exclude = 4;
|
|
800
|
+
*/
|
|
801
|
+
exclude: boolean;
|
|
802
|
+
|
|
678
803
|
constructor(data?: PartialMessage<DataSelector>);
|
|
679
804
|
|
|
680
805
|
static readonly runtime: typeof proto3;
|
|
@@ -60,6 +60,7 @@ export const EncodedFileType = /*@__PURE__*/ proto3.makeEnum(
|
|
|
60
60
|
{no: 1, name: "MP4"},
|
|
61
61
|
{no: 2, name: "OGG"},
|
|
62
62
|
{no: 3, name: "MP3"},
|
|
63
|
+
{no: 4, name: "MCAP"},
|
|
63
64
|
],
|
|
64
65
|
);
|
|
65
66
|
|
|
@@ -210,7 +211,9 @@ export const MediaSource = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
210
211
|
() => [
|
|
211
212
|
{ no: 1, name: "video_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "video" },
|
|
212
213
|
{ no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
|
|
214
|
+
{ no: 5, name: "videos", kind: "message", T: VideoConfig, oneof: "video" },
|
|
213
215
|
{ no: 3, name: "audio", kind: "message", T: AudioConfig },
|
|
216
|
+
{ no: 4, name: "data", kind: "message", T: DataConfig },
|
|
214
217
|
],
|
|
215
218
|
);
|
|
216
219
|
|
|
@@ -225,6 +228,30 @@ export const ParticipantVideo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
225
228
|
],
|
|
226
229
|
);
|
|
227
230
|
|
|
231
|
+
/**
|
|
232
|
+
* @generated from message livekit.VideoConfig
|
|
233
|
+
*/
|
|
234
|
+
export const VideoConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
235
|
+
"livekit.VideoConfig",
|
|
236
|
+
() => [
|
|
237
|
+
{ no: 1, name: "capture_all", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
238
|
+
{ no: 2, name: "selectors", kind: "message", T: VideoSelector, repeated: true },
|
|
239
|
+
],
|
|
240
|
+
);
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message livekit.VideoSelector
|
|
244
|
+
*/
|
|
245
|
+
export const VideoSelector = /*@__PURE__*/ proto3.makeMessageType(
|
|
246
|
+
"livekit.VideoSelector",
|
|
247
|
+
() => [
|
|
248
|
+
{ no: 1, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
|
|
249
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
|
|
250
|
+
{ no: 3, name: "track_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
251
|
+
{ no: 4, name: "exclude", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
252
|
+
],
|
|
253
|
+
);
|
|
254
|
+
|
|
228
255
|
/**
|
|
229
256
|
* Unified audio selection and channel routing.
|
|
230
257
|
* Each route specifies both which audio to capture and which channel to output to.
|
|
@@ -248,6 +275,8 @@ export const AudioRoute = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
248
275
|
{ no: 1, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
|
|
249
276
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
|
|
250
277
|
{ no: 3, name: "participant_kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind), oneof: "match" },
|
|
278
|
+
{ no: 5, name: "track_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
279
|
+
{ no: 6, name: "exclude", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
251
280
|
{ no: 4, name: "channel", kind: "enum", T: proto3.getEnumType(AudioChannel) },
|
|
252
281
|
],
|
|
253
282
|
);
|
|
@@ -271,6 +300,8 @@ export const DataSelector = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
271
300
|
() => [
|
|
272
301
|
{ no: 1, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
|
|
273
302
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
|
|
303
|
+
{ no: 3, name: "track_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
304
|
+
{ no: 4, name: "exclude", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
274
305
|
],
|
|
275
306
|
);
|
|
276
307
|
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.53.
|
|
2
|
+
export const version = '1.53.4';
|