@livekit/protocol 1.46.4 → 1.46.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.46.4",
3
+ "version": "1.46.6",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -751,6 +751,23 @@ export declare class InferenceResponse extends Message<InferenceResponse> {
751
751
  * @generated from message livekit.agent.SessionCreated
752
752
  */
753
753
  export declare class SessionCreated extends Message<SessionCreated> {
754
+ /**
755
+ * Server-recommended default detection thresholds keyed by language code
756
+ * (e.g. "en", "es"). The threshold semantics match the session type: EOT
757
+ * probability threshold for EOT sessions, interruption threshold for
758
+ * barge-in sessions.
759
+ *
760
+ * @generated from field: map<string, float> default_thresholds = 1;
761
+ */
762
+ defaultThresholds: { [key: string]: number };
763
+
764
+ /**
765
+ * Catch-all default applied to languages not present in default_thresholds.
766
+ *
767
+ * @generated from field: float default_threshold = 2;
768
+ */
769
+ defaultThreshold: number;
770
+
754
771
  constructor(data?: PartialMessage<SessionCreated>);
755
772
 
756
773
  static readonly runtime: typeof proto3;
@@ -274,7 +274,10 @@ export const InferenceResponse = /*@__PURE__*/ proto3.makeMessageType(
274
274
  */
275
275
  export const SessionCreated = /*@__PURE__*/ proto3.makeMessageType(
276
276
  "livekit.agent.SessionCreated",
277
- [],
277
+ () => [
278
+ { no: 1, name: "default_thresholds", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 2 /* ScalarType.FLOAT */} },
279
+ { no: 2, name: "default_threshold", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
280
+ ],
278
281
  );
279
282
 
280
283
  /**
@@ -478,15 +478,12 @@ export declare class MediaSource extends Message<MediaSource> {
478
478
  } | { case: undefined; value?: undefined };
479
479
 
480
480
  /**
481
+ * TODO: DataConfig data = 4;
482
+ *
481
483
  * @generated from field: livekit.AudioConfig audio = 3;
482
484
  */
483
485
  audio?: AudioConfig;
484
486
 
485
- /**
486
- * @generated from field: livekit.DataConfig data = 4;
487
- */
488
- data?: DataConfig;
489
-
490
487
  constructor(data?: PartialMessage<MediaSource>);
491
488
 
492
489
  static readonly runtime: typeof proto3;
@@ -539,10 +536,14 @@ export declare class ParticipantVideo extends Message<ParticipantVideo> {
539
536
  */
540
537
  export declare class AudioConfig extends Message<AudioConfig> {
541
538
  /**
542
- * If empty, all audio captured in both channels.
543
- * If non-empty, only matching audio is captured and routed. Unmatched is excluded.
539
+ * If true, all unmatched audio is recorded to both channels
544
540
  *
545
- * @generated from field: repeated livekit.AudioRoute routes = 1;
541
+ * @generated from field: bool capture_all = 1;
542
+ */
543
+ captureAll: boolean;
544
+
545
+ /**
546
+ * @generated from field: repeated livekit.AudioRoute routes = 2;
546
547
  */
547
548
  routes: AudioRoute[];
548
549
 
@@ -613,10 +614,12 @@ export declare class AudioRoute extends Message<AudioRoute> {
613
614
  */
614
615
  export declare class DataConfig extends Message<DataConfig> {
615
616
  /**
616
- * If empty, all data tracks captured.
617
- * If non-empty, only matching data tracks are captured.
618
- *
619
- * @generated from field: repeated livekit.DataSelector selectors = 1;
617
+ * @generated from field: bool capture_all = 1;
618
+ */
619
+ captureAll: boolean;
620
+
621
+ /**
622
+ * @generated from field: repeated livekit.DataSelector selectors = 2;
620
623
  */
621
624
  selectors: DataSelector[];
622
625
 
@@ -654,12 +657,6 @@ export declare class DataSelector extends Message<DataSelector> {
654
657
  */
655
658
  value: string;
656
659
  case: "participantIdentity";
657
- } | {
658
- /**
659
- * @generated from field: string topic = 3;
660
- */
661
- value: string;
662
- case: "topic";
663
660
  } | { case: undefined; value?: undefined };
664
661
 
665
662
  constructor(data?: PartialMessage<DataSelector>);
@@ -811,7 +808,7 @@ export declare class Output extends Message<Output> {
811
808
  case: "segments";
812
809
  } | {
813
810
  /**
814
- * 5 reserved for mcap;
811
+ * TODO: DataOutput data = 5;
815
812
  *
816
813
  * @generated from field: livekit.ImageOutput images = 4;
817
814
  */
@@ -967,6 +964,8 @@ export declare class SegmentedFileOutput extends Message<SegmentedFileOutput> {
967
964
  disableManifest: boolean;
968
965
 
969
966
  /**
967
+ * TODO: deprecate
968
+ *
970
969
  * @generated from oneof livekit.SegmentedFileOutput.output
971
970
  */
972
971
  output: {
@@ -1066,6 +1065,8 @@ export declare class ImageOutput extends Message<ImageOutput> {
1066
1065
  disableManifest: boolean;
1067
1066
 
1068
1067
  /**
1068
+ * TODO: deprecate
1069
+ *
1069
1070
  * @generated from oneof livekit.ImageOutput.output
1070
1071
  */
1071
1072
  output: {
@@ -1590,14 +1591,20 @@ export declare class EgressInfo extends Message<EgressInfo> {
1590
1591
  */
1591
1592
  request: {
1592
1593
  /**
1593
- * StartEgressRequest egress = 29;
1594
- *
1594
+ * @generated from field: livekit.StartEgressRequest egress = 29;
1595
+ */
1596
+ value: StartEgressRequest;
1597
+ case: "egress";
1598
+ } | {
1599
+ /**
1595
1600
  * @generated from field: livekit.ExportReplayRequest replay = 30;
1596
1601
  */
1597
1602
  value: ExportReplayRequest;
1598
1603
  case: "replay";
1599
1604
  } | {
1600
1605
  /**
1606
+ * TODO: deprecate
1607
+ *
1601
1608
  * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;
1602
1609
  */
1603
1610
  value: RoomCompositeEgressRequest;
@@ -209,7 +209,6 @@ export const MediaSource = /*@__PURE__*/ proto3.makeMessageType(
209
209
  { no: 1, name: "video_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "video" },
210
210
  { no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
211
211
  { no: 3, name: "audio", kind: "message", T: AudioConfig },
212
- { no: 4, name: "data", kind: "message", T: DataConfig },
213
212
  ],
214
213
  );
215
214
 
@@ -233,7 +232,8 @@ export const ParticipantVideo = /*@__PURE__*/ proto3.makeMessageType(
233
232
  export const AudioConfig = /*@__PURE__*/ proto3.makeMessageType(
234
233
  "livekit.AudioConfig",
235
234
  () => [
236
- { no: 1, name: "routes", kind: "message", T: AudioRoute, repeated: true },
235
+ { no: 1, name: "capture_all", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
236
+ { no: 2, name: "routes", kind: "message", T: AudioRoute, repeated: true },
237
237
  ],
238
238
  );
239
239
 
@@ -256,7 +256,8 @@ export const AudioRoute = /*@__PURE__*/ proto3.makeMessageType(
256
256
  export const DataConfig = /*@__PURE__*/ proto3.makeMessageType(
257
257
  "livekit.DataConfig",
258
258
  () => [
259
- { no: 1, name: "selectors", kind: "message", T: DataSelector, repeated: true },
259
+ { no: 1, name: "capture_all", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
260
+ { no: 2, name: "selectors", kind: "message", T: DataSelector, repeated: true },
260
261
  ],
261
262
  );
262
263
 
@@ -268,7 +269,6 @@ export const DataSelector = /*@__PURE__*/ proto3.makeMessageType(
268
269
  () => [
269
270
  { no: 1, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
270
271
  { no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
271
- { no: 3, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "match" },
272
272
  ],
273
273
  );
274
274
 
@@ -524,6 +524,7 @@ export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
524
524
  { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
525
525
  { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
526
526
  { no: 18, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
527
+ { no: 29, name: "egress", kind: "message", T: StartEgressRequest, oneof: "request" },
527
528
  { no: 30, name: "replay", kind: "message", T: ExportReplayRequest, oneof: "request" },
528
529
  { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
529
530
  { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
@@ -427,6 +427,16 @@ export declare class NodeStats extends Message<NodeStats> {
427
427
  */
428
428
  participantSignalConnectedPerSec: number;
429
429
 
430
+ /**
431
+ * @generated from field: uint64 participant_signal_failed = 55;
432
+ */
433
+ participantSignalFailed: bigint;
434
+
435
+ /**
436
+ * @generated from field: uint64 participant_signal_validation_failed = 56;
437
+ */
438
+ participantSignalValidationFailed: bigint;
439
+
430
440
  /**
431
441
  * @generated from field: uint64 participant_rtc_connected = 44;
432
442
  */
@@ -454,6 +464,11 @@ export declare class NodeStats extends Message<NodeStats> {
454
464
  */
455
465
  participantRtcCanceled: bigint;
456
466
 
467
+ /**
468
+ * @generated from field: uint64 participant_rtc_active = 54;
469
+ */
470
+ participantRtcActive: bigint;
471
+
457
472
  /**
458
473
  * forward metrics
459
474
  *
@@ -587,6 +602,16 @@ export declare class NodeStatsRate extends Message<NodeStatsRate> {
587
602
  */
588
603
  participantSignalConnected: number;
589
604
 
605
+ /**
606
+ * @generated from field: float participant_signal_failed = 28;
607
+ */
608
+ participantSignalFailed: number;
609
+
610
+ /**
611
+ * @generated from field: float participant_signal_validation_failed = 29;
612
+ */
613
+ participantSignalValidationFailed: number;
614
+
590
615
  /**
591
616
  * @generated from field: float participant_rtc_connected = 18;
592
617
  */
@@ -602,6 +627,11 @@ export declare class NodeStatsRate extends Message<NodeStatsRate> {
602
627
  */
603
628
  participantRtcCanceled: number;
604
629
 
630
+ /**
631
+ * @generated from field: float participant_rtc_active = 27;
632
+ */
633
+ participantRtcActive: number;
634
+
605
635
  /**
606
636
  * time weighted averages across stats windows forming part of a rate measurement interval
607
637
  *
@@ -133,11 +133,14 @@ export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
133
133
  { no: 25, name: "retransmit_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
134
134
  { no: 26, name: "participant_signal_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
135
135
  { no: 27, name: "participant_signal_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
136
+ { no: 55, name: "participant_signal_failed", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
137
+ { no: 56, name: "participant_signal_validation_failed", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
136
138
  { no: 44, name: "participant_rtc_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
137
139
  { no: 45, name: "participant_rtc_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
138
140
  { no: 46, name: "participant_rtc_init", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
139
141
  { no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
140
142
  { no: 53, name: "participant_rtc_canceled", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
143
+ { no: 54, name: "participant_rtc_active", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
141
144
  { no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
142
145
  { no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
143
146
  { no: 50, name: "rates", kind: "message", T: NodeStatsRate, repeated: true },
@@ -171,9 +174,12 @@ export const NodeStatsRate = /*@__PURE__*/ proto3.makeMessageType(
171
174
  { no: 15, name: "retransmit_bytes_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
172
175
  { no: 16, name: "retransmit_packets_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
173
176
  { no: 17, name: "participant_signal_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
177
+ { no: 28, name: "participant_signal_failed", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
178
+ { no: 29, name: "participant_signal_validation_failed", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
174
179
  { no: 18, name: "participant_rtc_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
175
180
  { no: 19, name: "participant_rtc_init", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
176
181
  { no: 26, name: "participant_rtc_canceled", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
182
+ { no: 27, name: "participant_rtc_active", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
177
183
  { no: 20, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
178
184
  { no: 21, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
179
185
  { no: 22, name: "memory_used", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.46.4';
2
+ export const version = '1.46.6';