@livekit/protocol 1.52.1 → 1.53.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,12 +12,16 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
+ // AgentDB: per-agent SQLite databases. Each lives in its project's data region
16
+ // on object storage, with one writer at a time. Queries run over the WebSocket
17
+ // data plane (AgentDB.Wire); lifecycle is cloud-protocol's AgentDB service.
18
+
15
19
  // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
20
  // @generated from file livekit_agentdb.proto (package livekit, syntax proto3)
17
21
  /* eslint-disable */
18
22
  // @ts-nocheck
19
23
 
20
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
24
+ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
21
25
  import { Message, proto3 } from "@bufbuild/protobuf";
22
26
 
23
27
  /**
@@ -47,17 +51,12 @@ export declare class AgentDB extends Message<AgentDB> {
47
51
  */
48
52
  export declare class AgentDB_CreateRequest extends Message<AgentDB_CreateRequest> {
49
53
  /**
50
- * @generated from field: string region = 1;
51
- */
52
- region: string;
53
-
54
- /**
55
- * Unset: never expires, and expires_at is then 0 everywhere.
54
+ * Unset: never expires, and expires_at is then unset everywhere.
56
55
  * Otherwise clamped to the server cap, and never extended.
57
56
  *
58
- * @generated from field: int64 ttl_seconds = 2;
57
+ * @generated from field: google.protobuf.Duration ttl = 1;
59
58
  */
60
- ttlSeconds: bigint;
59
+ ttl?: Duration;
61
60
 
62
61
  constructor(data?: PartialMessage<AgentDB_CreateRequest>);
63
62
 
@@ -86,9 +85,9 @@ export declare class AgentDB_CreateResponse extends Message<AgentDB_CreateRespon
86
85
  databaseId: string;
87
86
 
88
87
  /**
89
- * @generated from field: int64 expires_at = 2;
88
+ * @generated from field: google.protobuf.Timestamp expires_at = 2;
90
89
  */
91
- expiresAt: bigint;
90
+ expiresAt?: Timestamp;
92
91
 
93
92
  constructor(data?: PartialMessage<AgentDB_CreateResponse>);
94
93
 
@@ -208,14 +207,14 @@ export declare class AgentDB_AgentDatabase extends Message<AgentDB_AgentDatabase
208
207
  region: string;
209
208
 
210
209
  /**
211
- * @generated from field: int64 created_at = 3;
210
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
212
211
  */
213
- createdAt: bigint;
212
+ createdAt?: Timestamp;
214
213
 
215
214
  /**
216
- * @generated from field: int64 expires_at = 4;
215
+ * @generated from field: google.protobuf.Timestamp expires_at = 4;
217
216
  */
218
- expiresAt: bigint;
217
+ expiresAt?: Timestamp;
219
218
 
220
219
  /**
221
220
  * @generated from field: int64 tip = 5;
@@ -281,33 +280,33 @@ export declare class AgentDB_DeleteResponse extends Message<AgentDB_DeleteRespon
281
280
  }
282
281
 
283
282
  /**
284
- * @generated from message livekit.AgentDB.DumpRequest
283
+ * @generated from message livekit.AgentDB.ExportRequest
285
284
  */
286
- export declare class AgentDB_DumpRequest extends Message<AgentDB_DumpRequest> {
285
+ export declare class AgentDB_ExportRequest extends Message<AgentDB_ExportRequest> {
287
286
  /**
288
287
  * @generated from field: string database_id = 1;
289
288
  */
290
289
  databaseId: string;
291
290
 
292
- constructor(data?: PartialMessage<AgentDB_DumpRequest>);
291
+ constructor(data?: PartialMessage<AgentDB_ExportRequest>);
293
292
 
294
293
  static readonly runtime: typeof proto3;
295
- static readonly typeName = "livekit.AgentDB.DumpRequest";
294
+ static readonly typeName = "livekit.AgentDB.ExportRequest";
296
295
  static readonly fields: FieldList;
297
296
 
298
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DumpRequest;
297
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_ExportRequest;
299
298
 
300
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DumpRequest;
299
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_ExportRequest;
301
300
 
302
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DumpRequest;
301
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_ExportRequest;
303
302
 
304
- static equals(a: AgentDB_DumpRequest | PlainMessage<AgentDB_DumpRequest> | undefined, b: AgentDB_DumpRequest | PlainMessage<AgentDB_DumpRequest> | undefined): boolean;
303
+ static equals(a: AgentDB_ExportRequest | PlainMessage<AgentDB_ExportRequest> | undefined, b: AgentDB_ExportRequest | PlainMessage<AgentDB_ExportRequest> | undefined): boolean;
305
304
  }
306
305
 
307
306
  /**
308
- * @generated from message livekit.AgentDB.DumpResponse
307
+ * @generated from message livekit.AgentDB.ExportResponse
309
308
  */
310
- export declare class AgentDB_DumpResponse extends Message<AgentDB_DumpResponse> {
309
+ export declare class AgentDB_ExportResponse extends Message<AgentDB_ExportResponse> {
311
310
  /**
312
311
  * pre-authenticated object-storage URL
313
312
  *
@@ -318,30 +317,30 @@ export declare class AgentDB_DumpResponse extends Message<AgentDB_DumpResponse>
318
317
  /**
319
318
  * of the URL, not the database
320
319
  *
321
- * @generated from field: int64 expires_at = 2;
320
+ * @generated from field: google.protobuf.Timestamp expires_at = 2;
322
321
  */
323
- expiresAt: bigint;
322
+ expiresAt?: Timestamp;
324
323
 
325
324
  /**
326
- * what the dump is consistent at
325
+ * what the export is consistent at
327
326
  *
328
327
  * @generated from field: int64 tip = 3;
329
328
  */
330
329
  tip: bigint;
331
330
 
332
- constructor(data?: PartialMessage<AgentDB_DumpResponse>);
331
+ constructor(data?: PartialMessage<AgentDB_ExportResponse>);
333
332
 
334
333
  static readonly runtime: typeof proto3;
335
- static readonly typeName = "livekit.AgentDB.DumpResponse";
334
+ static readonly typeName = "livekit.AgentDB.ExportResponse";
336
335
  static readonly fields: FieldList;
337
336
 
338
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DumpResponse;
337
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_ExportResponse;
339
338
 
340
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DumpResponse;
339
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_ExportResponse;
341
340
 
342
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DumpResponse;
341
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_ExportResponse;
343
342
 
344
- static equals(a: AgentDB_DumpResponse | PlainMessage<AgentDB_DumpResponse> | undefined, b: AgentDB_DumpResponse | PlainMessage<AgentDB_DumpResponse> | undefined): boolean;
343
+ static equals(a: AgentDB_ExportResponse | PlainMessage<AgentDB_ExportResponse> | undefined, b: AgentDB_ExportResponse | PlainMessage<AgentDB_ExportResponse> | undefined): boolean;
345
344
  }
346
345
 
347
346
  /**
@@ -445,6 +444,8 @@ export declare class AgentDB_Wire_ClientMessage extends Message<AgentDB_Wire_Cli
445
444
  case: "query";
446
445
  } | {
447
446
  /**
447
+ * answers one result per statement, then Done
448
+ *
448
449
  * @generated from field: livekit.AgentDB.Wire.Batch batch = 5;
449
450
  */
450
451
  value: AgentDB_Wire_Batch;
@@ -668,12 +669,17 @@ export declare class AgentDB_Wire_Statement extends Message<AgentDB_Wire_Stateme
668
669
  }
669
670
 
670
671
  /**
672
+ * Applied atomically, in order, and answered with one result per
673
+ * statement, in order: Columns then ColumnBatch frames for a statement
674
+ * that returns rows, one ExecResult for one that does not, each tagged
675
+ * with the statement's 0-based index, then a single Done for the whole
676
+ * batch. A statement that returns no rows still sends its Columns. Credit
677
+ * paces the ColumnBatch frames of the batch as a whole.
678
+ *
671
679
  * @generated from message livekit.AgentDB.Wire.Batch
672
680
  */
673
681
  export declare class AgentDB_Wire_Batch extends Message<AgentDB_Wire_Batch> {
674
682
  /**
675
- * applied atomically, in order
676
- *
677
683
  * @generated from field: repeated livekit.AgentDB.Wire.Statement statements = 1;
678
684
  */
679
685
  statements: AgentDB_Wire_Statement[];
@@ -920,6 +926,13 @@ export declare class AgentDB_Wire_Columns extends Message<AgentDB_Wire_Columns>
920
926
  */
921
927
  names: string[];
922
928
 
929
+ /**
930
+ * index within a Batch; 0 and unused for a Query
931
+ *
932
+ * @generated from field: uint32 statement = 2;
933
+ */
934
+ statement: number;
935
+
923
936
  constructor(data?: PartialMessage<AgentDB_Wire_Columns>);
924
937
 
925
938
  static readonly runtime: typeof proto3;
@@ -1013,6 +1026,13 @@ export declare class AgentDB_Wire_ColumnBatch extends Message<AgentDB_Wire_Colum
1013
1026
  */
1014
1027
  rows: number;
1015
1028
 
1029
+ /**
1030
+ * index within a Batch; 0 and unused for a Query
1031
+ *
1032
+ * @generated from field: uint32 statement = 3;
1033
+ */
1034
+ statement: number;
1035
+
1016
1036
  constructor(data?: PartialMessage<AgentDB_Wire_ColumnBatch>);
1017
1037
 
1018
1038
  static readonly runtime: typeof proto3;
@@ -1047,6 +1067,13 @@ export declare class AgentDB_Wire_ExecResult extends Message<AgentDB_Wire_ExecRe
1047
1067
  */
1048
1068
  tip: bigint;
1049
1069
 
1070
+ /**
1071
+ * index within a Batch; 0 and unused for an Exec
1072
+ *
1073
+ * @generated from field: uint32 statement = 4;
1074
+ */
1075
+ statement: number;
1076
+
1050
1077
  constructor(data?: PartialMessage<AgentDB_Wire_ExecResult>);
1051
1078
 
1052
1079
  static readonly runtime: typeof proto3;
@@ -12,12 +12,16 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
+ // AgentDB: per-agent SQLite databases. Each lives in its project's data region
16
+ // on object storage, with one writer at a time. Queries run over the WebSocket
17
+ // data plane (AgentDB.Wire); lifecycle is cloud-protocol's AgentDB service.
18
+
15
19
  // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
20
  // @generated from file livekit_agentdb.proto (package livekit, syntax proto3)
17
21
  /* eslint-disable */
18
22
  // @ts-nocheck
19
23
 
20
- import { proto3 } from "@bufbuild/protobuf";
24
+ import { Duration, proto3, Timestamp } from "@bufbuild/protobuf";
21
25
 
22
26
  /**
23
27
  * Nested so that names like Value and Ping need not be unique across the
@@ -36,8 +40,7 @@ export const AgentDB = /*@__PURE__*/ proto3.makeMessageType(
36
40
  export const AgentDB_CreateRequest = /*@__PURE__*/ proto3.makeMessageType(
37
41
  "livekit.AgentDB.CreateRequest",
38
42
  () => [
39
- { no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
40
- { no: 2, name: "ttl_seconds", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
43
+ { no: 1, name: "ttl", kind: "message", T: Duration },
41
44
  ],
42
45
  {localName: "AgentDB_CreateRequest"},
43
46
  );
@@ -49,7 +52,7 @@ export const AgentDB_CreateResponse = /*@__PURE__*/ proto3.makeMessageType(
49
52
  "livekit.AgentDB.CreateResponse",
50
53
  () => [
51
54
  { no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
- { no: 2, name: "expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
55
+ { no: 2, name: "expires_at", kind: "message", T: Timestamp },
53
56
  ],
54
57
  {localName: "AgentDB_CreateResponse"},
55
58
  );
@@ -99,8 +102,8 @@ export const AgentDB_AgentDatabase = /*@__PURE__*/ proto3.makeMessageType(
99
102
  () => [
100
103
  { no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
101
104
  { no: 2, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
102
- { no: 3, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
103
- { no: 4, name: "expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
105
+ { no: 3, name: "created_at", kind: "message", T: Timestamp },
106
+ { no: 4, name: "expires_at", kind: "message", T: Timestamp },
104
107
  { no: 5, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
105
108
  ],
106
109
  {localName: "AgentDB_AgentDatabase"},
@@ -127,27 +130,27 @@ export const AgentDB_DeleteResponse = /*@__PURE__*/ proto3.makeMessageType(
127
130
  );
128
131
 
129
132
  /**
130
- * @generated from message livekit.AgentDB.DumpRequest
133
+ * @generated from message livekit.AgentDB.ExportRequest
131
134
  */
132
- export const AgentDB_DumpRequest = /*@__PURE__*/ proto3.makeMessageType(
133
- "livekit.AgentDB.DumpRequest",
135
+ export const AgentDB_ExportRequest = /*@__PURE__*/ proto3.makeMessageType(
136
+ "livekit.AgentDB.ExportRequest",
134
137
  () => [
135
138
  { no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
139
  ],
137
- {localName: "AgentDB_DumpRequest"},
140
+ {localName: "AgentDB_ExportRequest"},
138
141
  );
139
142
 
140
143
  /**
141
- * @generated from message livekit.AgentDB.DumpResponse
144
+ * @generated from message livekit.AgentDB.ExportResponse
142
145
  */
143
- export const AgentDB_DumpResponse = /*@__PURE__*/ proto3.makeMessageType(
144
- "livekit.AgentDB.DumpResponse",
146
+ export const AgentDB_ExportResponse = /*@__PURE__*/ proto3.makeMessageType(
147
+ "livekit.AgentDB.ExportResponse",
145
148
  () => [
146
149
  { no: 1, name: "download_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
147
- { no: 2, name: "expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
150
+ { no: 2, name: "expires_at", kind: "message", T: Timestamp },
148
151
  { no: 3, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
149
152
  ],
150
- {localName: "AgentDB_DumpResponse"},
153
+ {localName: "AgentDB_ExportResponse"},
151
154
  );
152
155
 
153
156
  /**
@@ -257,6 +260,13 @@ export const AgentDB_Wire_Statement = /*@__PURE__*/ proto3.makeMessageType(
257
260
  );
258
261
 
259
262
  /**
263
+ * Applied atomically, in order, and answered with one result per
264
+ * statement, in order: Columns then ColumnBatch frames for a statement
265
+ * that returns rows, one ExecResult for one that does not, each tagged
266
+ * with the statement's 0-based index, then a single Done for the whole
267
+ * batch. A statement that returns no rows still sends its Columns. Credit
268
+ * paces the ColumnBatch frames of the batch as a whole.
269
+ *
260
270
  * @generated from message livekit.AgentDB.Wire.Batch
261
271
  */
262
272
  export const AgentDB_Wire_Batch = /*@__PURE__*/ proto3.makeMessageType(
@@ -369,6 +379,7 @@ export const AgentDB_Wire_Columns = /*@__PURE__*/ proto3.makeMessageType(
369
379
  "livekit.AgentDB.Wire.Columns",
370
380
  () => [
371
381
  { no: 1, name: "names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
382
+ { no: 2, name: "statement", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
372
383
  ],
373
384
  {localName: "AgentDB_Wire_Columns"},
374
385
  );
@@ -404,6 +415,7 @@ export const AgentDB_Wire_ColumnBatch = /*@__PURE__*/ proto3.makeMessageType(
404
415
  () => [
405
416
  { no: 1, name: "columns", kind: "message", T: AgentDB_Wire_Column, repeated: true },
406
417
  { no: 2, name: "rows", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
418
+ { no: 3, name: "statement", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
407
419
  ],
408
420
  {localName: "AgentDB_Wire_ColumnBatch"},
409
421
  );
@@ -417,6 +429,7 @@ export const AgentDB_Wire_ExecResult = /*@__PURE__*/ proto3.makeMessageType(
417
429
  { no: 1, name: "rows_affected", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
418
430
  { no: 2, name: "last_insert_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
419
431
  { no: 3, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
432
+ { no: 4, name: "statement", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
420
433
  ],
421
434
  {localName: "AgentDB_Wire_ExecResult"},
422
435
  );
@@ -173,9 +173,18 @@ export declare enum SegmentedFileProtocol {
173
173
  DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,
174
174
 
175
175
  /**
176
+ * MPEG-TS segments
177
+ *
176
178
  * @generated from enum value: HLS_PROTOCOL = 1;
177
179
  */
178
180
  HLS_PROTOCOL = 1,
181
+
182
+ /**
183
+ * fragmented MP4 segments
184
+ *
185
+ * @generated from enum value: HLS_FMP4_PROTOCOL = 2;
186
+ */
187
+ HLS_FMP4_PROTOCOL = 2,
179
188
  }
180
189
 
181
190
  /**
@@ -894,12 +903,19 @@ export declare class StreamOutput extends Message<StreamOutput> {
894
903
  protocol: StreamProtocol;
895
904
 
896
905
  /**
897
- * required
906
+ * urls or destinations required
898
907
  *
899
908
  * @generated from field: repeated string urls = 2;
900
909
  */
901
910
  urls: string[];
902
911
 
912
+ /**
913
+ * urls or destinations required
914
+ *
915
+ * @generated from field: repeated livekit.StreamDestination destinations = 3;
916
+ */
917
+ destinations: StreamDestination[];
918
+
903
919
  constructor(data?: PartialMessage<StreamOutput>);
904
920
 
905
921
  static readonly runtime: typeof proto3;
@@ -915,6 +931,39 @@ export declare class StreamOutput extends Message<StreamOutput> {
915
931
  static equals(a: StreamOutput | PlainMessage<StreamOutput> | undefined, b: StreamOutput | PlainMessage<StreamOutput> | undefined): boolean;
916
932
  }
917
933
 
934
+ /**
935
+ * @generated from message livekit.StreamDestination
936
+ */
937
+ export declare class StreamDestination extends Message<StreamDestination> {
938
+ /**
939
+ * required
940
+ *
941
+ * @generated from field: string id = 1;
942
+ */
943
+ id: string;
944
+
945
+ /**
946
+ * required
947
+ *
948
+ * @generated from field: string url = 2;
949
+ */
950
+ url: string;
951
+
952
+ constructor(data?: PartialMessage<StreamDestination>);
953
+
954
+ static readonly runtime: typeof proto3;
955
+ static readonly typeName = "livekit.StreamDestination";
956
+ static readonly fields: FieldList;
957
+
958
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamDestination;
959
+
960
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamDestination;
961
+
962
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamDestination;
963
+
964
+ static equals(a: StreamDestination | PlainMessage<StreamDestination> | undefined, b: StreamDestination | PlainMessage<StreamDestination> | undefined): boolean;
965
+ }
966
+
918
967
  /**
919
968
  * Used to generate HLS segments or other kind of segmented output
920
969
  *
@@ -1735,6 +1784,13 @@ export declare class StreamInfo extends Message<StreamInfo> {
1735
1784
  */
1736
1785
  retries: number;
1737
1786
 
1787
+ /**
1788
+ * StreamDestination.id this stream was started from; empty for plain urls
1789
+ *
1790
+ * @generated from field: string id = 9;
1791
+ */
1792
+ id: string;
1793
+
1738
1794
  constructor(data?: PartialMessage<StreamInfo>);
1739
1795
 
1740
1796
  static readonly runtime: typeof proto3;
@@ -2745,6 +2801,11 @@ export declare class UpdateStreamRequest extends Message<UpdateStreamRequest> {
2745
2801
  */
2746
2802
  removeOutputUrls: string[];
2747
2803
 
2804
+ /**
2805
+ * @generated from field: repeated livekit.StreamDestination add_destinations = 4;
2806
+ */
2807
+ addDestinations: StreamDestination[];
2808
+
2748
2809
  constructor(data?: PartialMessage<UpdateStreamRequest>);
2749
2810
 
2750
2811
  static readonly runtime: typeof proto3;
@@ -84,6 +84,7 @@ export const SegmentedFileProtocol = /*@__PURE__*/ proto3.makeEnum(
84
84
  [
85
85
  {no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL"},
86
86
  {no: 1, name: "HLS_PROTOCOL"},
87
+ {no: 2, name: "HLS_FMP4_PROTOCOL"},
87
88
  ],
88
89
  );
89
90
 
@@ -331,6 +332,18 @@ export const StreamOutput = /*@__PURE__*/ proto3.makeMessageType(
331
332
  () => [
332
333
  { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(StreamProtocol) },
333
334
  { no: 2, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
335
+ { no: 3, name: "destinations", kind: "message", T: StreamDestination, repeated: true },
336
+ ],
337
+ );
338
+
339
+ /**
340
+ * @generated from message livekit.StreamDestination
341
+ */
342
+ export const StreamDestination = /*@__PURE__*/ proto3.makeMessageType(
343
+ "livekit.StreamDestination",
344
+ () => [
345
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
346
+ { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
334
347
  ],
335
348
  );
336
349
 
@@ -548,6 +561,7 @@ export const StreamInfo = /*@__PURE__*/ proto3.makeMessageType(
548
561
  { no: 6, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
549
562
  { no: 7, name: "last_retry_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
550
563
  { no: 8, name: "retries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
564
+ { no: 9, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
551
565
  ],
552
566
  );
553
567
 
@@ -811,6 +825,7 @@ export const UpdateStreamRequest = /*@__PURE__*/ proto3.makeMessageType(
811
825
  { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
812
826
  { no: 2, name: "add_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
813
827
  { no: 3, name: "remove_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
828
+ { no: 4, name: "add_destinations", kind: "message", T: StreamDestination, repeated: true },
814
829
  ],
815
830
  );
816
831
 
@@ -479,10 +479,18 @@ export declare class NodeStats extends Message<NodeStats> {
479
479
  forwardLatency: number;
480
480
 
481
481
  /**
482
- * @generated from field: uint32 forward_jitter = 49;
482
+ * @generated from field: uint32 forward_jitter = 49 [deprecated = true];
483
+ * @deprecated
483
484
  */
484
485
  forwardJitter: number;
485
486
 
487
+ /**
488
+ * p90 time from arrival to dequeue, in ns, for packets that found their forwarder idle
489
+ *
490
+ * @generated from field: uint32 forward_scheduling_delay = 57;
491
+ */
492
+ forwardSchedulingDelay: number;
493
+
486
494
  /**
487
495
  * @generated from field: repeated livekit.NodeStatsRate rates = 50;
488
496
  */
@@ -793,6 +801,13 @@ export declare class StartSession extends Message<StartSession> {
793
801
  */
794
802
  tokenExpiresAt: bigint;
795
803
 
804
+ /**
805
+ * API key that issued the join token, for correlating sessions with the key
806
+ *
807
+ * @generated from field: string api_key = 27;
808
+ */
809
+ apiKey: string;
810
+
796
811
  constructor(data?: PartialMessage<StartSession>);
797
812
 
798
813
  static readonly runtime: typeof proto3;
@@ -143,6 +143,7 @@ export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
143
143
  { no: 54, name: "participant_rtc_active", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
144
144
  { no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
145
145
  { no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
146
+ { no: 57, name: "forward_scheduling_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
146
147
  { no: 50, name: "rates", kind: "message", T: NodeStatsRate, repeated: true },
147
148
  ],
148
149
  );
@@ -215,6 +216,7 @@ export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
215
216
  { no: 23, name: "sync_state", kind: "message", T: SyncState },
216
217
  { no: 24, name: "use_single_peer_connection", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
217
218
  { no: 26, name: "token_expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
219
+ { no: 27, name: "api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
218
220
  ],
219
221
  );
220
222
 
@@ -429,6 +429,15 @@ export declare class MetricsRecordingHeader extends Message<MetricsRecordingHead
429
429
  */
430
430
  redactionEnabled: boolean;
431
431
 
432
+ /**
433
+ * JSON object of session facts for agent evals, at most 16 KiB. Its schema is
434
+ * evalschema/session-summary.schema.json in livekit/cloud-protocol. The collector
435
+ * stores it without reading individual keys.
436
+ *
437
+ * @generated from field: string session_summary = 11;
438
+ */
439
+ sessionSummary: string;
440
+
432
441
  constructor(data?: PartialMessage<MetricsRecordingHeader>);
433
442
 
434
443
  static readonly runtime: typeof proto3;
@@ -110,6 +110,7 @@ export const MetricsRecordingHeader = /*@__PURE__*/ proto3.makeMessageType(
110
110
  { no: 8, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
111
111
  { no: 9, name: "simulated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
112
112
  { no: 10, name: "redaction_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
113
+ { no: 11, name: "session_summary", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
114
  ],
114
115
  );
115
116
 
@@ -180,9 +180,19 @@ export declare enum DataTrackExtensionID {
180
180
  DTEI_INVALID = 0,
181
181
 
182
182
  /**
183
- * @generated from enum value: DTEI_PARTICIPANT_SID = 1;
183
+ * @generated from enum value: DTEI_E2EE = 1;
184
184
  */
185
- DTEI_PARTICIPANT_SID = 1,
185
+ DTEI_E2EE = 1,
186
+
187
+ /**
188
+ * @generated from enum value: DTEI_USER_TIMESTAMP = 2;
189
+ */
190
+ DTEI_USER_TIMESTAMP = 2,
191
+
192
+ /**
193
+ * @generated from enum value: DTEI_PARTICIPANT_SID = 255;
194
+ */
195
+ DTEI_PARTICIPANT_SID = 255,
186
196
  }
187
197
 
188
198
  /**
@@ -3510,6 +3520,11 @@ export declare class RTPForwarderState extends Message<RTPForwarderState> {
3510
3520
  */
3511
3521
  senderReportState: RTCPSenderReportState[];
3512
3522
 
3523
+ /**
3524
+ * @generated from field: livekit.DependencyDescriptorForwarderState dependency_descriptor_forwarder = 9;
3525
+ */
3526
+ dependencyDescriptorForwarder?: DependencyDescriptorForwarderState;
3527
+
3513
3528
  constructor(data?: PartialMessage<RTPForwarderState>);
3514
3529
 
3515
3530
  static readonly runtime: typeof proto3;
@@ -3525,6 +3540,35 @@ export declare class RTPForwarderState extends Message<RTPForwarderState> {
3525
3540
  static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
3526
3541
  }
3527
3542
 
3543
+ /**
3544
+ * State of a forwarder that writes the dependency descriptor for the subscriber, so
3545
+ * its frame numbers continue on a migrated subscriber.
3546
+ *
3547
+ * @generated from message livekit.DependencyDescriptorForwarderState
3548
+ */
3549
+ export declare class DependencyDescriptorForwarderState extends Message<DependencyDescriptorForwarderState> {
3550
+ /**
3551
+ * highest extended frame number sent to the subscriber
3552
+ *
3553
+ * @generated from field: uint64 ext_last_frame_number = 1;
3554
+ */
3555
+ extLastFrameNumber: bigint;
3556
+
3557
+ constructor(data?: PartialMessage<DependencyDescriptorForwarderState>);
3558
+
3559
+ static readonly runtime: typeof proto3;
3560
+ static readonly typeName = "livekit.DependencyDescriptorForwarderState";
3561
+ static readonly fields: FieldList;
3562
+
3563
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DependencyDescriptorForwarderState;
3564
+
3565
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
3566
+
3567
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DependencyDescriptorForwarderState;
3568
+
3569
+ static equals(a: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined, b: DependencyDescriptorForwarderState | PlainMessage<DependencyDescriptorForwarderState> | undefined): boolean;
3570
+ }
3571
+
3528
3572
  /**
3529
3573
  * @generated from message livekit.RTPMungerState
3530
3574
  */
@@ -105,7 +105,9 @@ export const DataTrackExtensionID = /*@__PURE__*/ proto3.makeEnum(
105
105
  "livekit.DataTrackExtensionID",
106
106
  [
107
107
  {no: 0, name: "DTEI_INVALID"},
108
- {no: 1, name: "DTEI_PARTICIPANT_SID"},
108
+ {no: 1, name: "DTEI_E2EE"},
109
+ {no: 2, name: "DTEI_USER_TIMESTAMP"},
110
+ {no: 255, name: "DTEI_PARTICIPANT_SID"},
109
111
  ],
110
112
  );
111
113
 
@@ -1128,6 +1130,20 @@ export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType(
1128
1130
  { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
1129
1131
  { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
1130
1132
  { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true },
1133
+ { no: 9, name: "dependency_descriptor_forwarder", kind: "message", T: DependencyDescriptorForwarderState },
1134
+ ],
1135
+ );
1136
+
1137
+ /**
1138
+ * State of a forwarder that writes the dependency descriptor for the subscriber, so
1139
+ * its frame numbers continue on a migrated subscriber.
1140
+ *
1141
+ * @generated from message livekit.DependencyDescriptorForwarderState
1142
+ */
1143
+ export const DependencyDescriptorForwarderState = /*@__PURE__*/ proto3.makeMessageType(
1144
+ "livekit.DependencyDescriptorForwarderState",
1145
+ () => [
1146
+ { no: 1, name: "ext_last_frame_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1131
1147
  ],
1132
1148
  );
1133
1149