@livekit/protocol 1.48.0 → 1.48.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.48.0",
3
+ "version": "1.48.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -323,6 +323,89 @@ export declare class CreateAgentV2Response extends Message<CreateAgentV2Response
323
323
  static equals(a: CreateAgentV2Response | PlainMessage<CreateAgentV2Response> | undefined, b: CreateAgentV2Response | PlainMessage<CreateAgentV2Response> | undefined): boolean;
324
324
  }
325
325
 
326
+ /**
327
+ * @generated from message livekit.PromoteAgentRequest
328
+ */
329
+ export declare class PromoteAgentRequest extends Message<PromoteAgentRequest> {
330
+ /**
331
+ * @generated from field: string agent_id = 1;
332
+ */
333
+ agentId: string;
334
+
335
+ /**
336
+ * @generated from field: string src_deployment = 2;
337
+ */
338
+ srcDeployment: string;
339
+
340
+ /**
341
+ * @generated from field: string dst_deployment = 3;
342
+ */
343
+ dstDeployment: string;
344
+
345
+ constructor(data?: PartialMessage<PromoteAgentRequest>);
346
+
347
+ static readonly runtime: typeof proto3;
348
+ static readonly typeName = "livekit.PromoteAgentRequest";
349
+ static readonly fields: FieldList;
350
+
351
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PromoteAgentRequest;
352
+
353
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PromoteAgentRequest;
354
+
355
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PromoteAgentRequest;
356
+
357
+ static equals(a: PromoteAgentRequest | PlainMessage<PromoteAgentRequest> | undefined, b: PromoteAgentRequest | PlainMessage<PromoteAgentRequest> | undefined): boolean;
358
+ }
359
+
360
+ /**
361
+ * @generated from message livekit.PromoteAgentResponse
362
+ */
363
+ export declare class PromoteAgentResponse extends Message<PromoteAgentResponse> {
364
+ /**
365
+ * @generated from field: bool success = 1;
366
+ */
367
+ success: boolean;
368
+
369
+ /**
370
+ * @generated from field: string message = 2;
371
+ */
372
+ message: string;
373
+
374
+ /**
375
+ * @generated from field: string agent_id = 3;
376
+ */
377
+ agentId: string;
378
+
379
+ /**
380
+ * @generated from field: string src_deployment = 4;
381
+ */
382
+ srcDeployment: string;
383
+
384
+ /**
385
+ * @generated from field: string dst_deployment = 5;
386
+ */
387
+ dstDeployment: string;
388
+
389
+ /**
390
+ * @generated from field: string version_tag = 6;
391
+ */
392
+ versionTag: string;
393
+
394
+ constructor(data?: PartialMessage<PromoteAgentResponse>);
395
+
396
+ static readonly runtime: typeof proto3;
397
+ static readonly typeName = "livekit.PromoteAgentResponse";
398
+ static readonly fields: FieldList;
399
+
400
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PromoteAgentResponse;
401
+
402
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PromoteAgentResponse;
403
+
404
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PromoteAgentResponse;
405
+
406
+ static equals(a: PromoteAgentResponse | PlainMessage<PromoteAgentResponse> | undefined, b: PromoteAgentResponse | PlainMessage<PromoteAgentResponse> | undefined): boolean;
407
+ }
408
+
326
409
  /**
327
410
  * @generated from message livekit.PresignedPostRequest
328
411
  */
@@ -446,6 +529,11 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
446
529
  */
447
530
  deploymentEnabled: boolean;
448
531
 
532
+ /**
533
+ * @generated from field: google.protobuf.Timestamp last_scraped_at = 19;
534
+ */
535
+ lastScrapedAt?: Timestamp;
536
+
449
537
  constructor(data?: PartialMessage<AgentDeployment>);
450
538
 
451
539
  static readonly runtime: typeof proto3;
@@ -126,6 +126,33 @@ export const CreateAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
126
126
  ],
127
127
  );
128
128
 
129
+ /**
130
+ * @generated from message livekit.PromoteAgentRequest
131
+ */
132
+ export const PromoteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
133
+ "livekit.PromoteAgentRequest",
134
+ () => [
135
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
+ { no: 2, name: "src_deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
+ { no: 3, name: "dst_deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
138
+ ],
139
+ );
140
+
141
+ /**
142
+ * @generated from message livekit.PromoteAgentResponse
143
+ */
144
+ export const PromoteAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
145
+ "livekit.PromoteAgentResponse",
146
+ () => [
147
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
148
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
149
+ { no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
150
+ { no: 4, name: "src_deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
151
+ { no: 5, name: "dst_deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
+ { no: 6, name: "version_tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
+ ],
154
+ );
155
+
129
156
  /**
130
157
  * @generated from message livekit.PresignedPostRequest
131
158
  */
@@ -161,6 +188,7 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
161
188
  { no: 16, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
162
189
  { no: 17, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
163
190
  { no: 18, name: "deployment_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
191
+ { no: 19, name: "last_scraped_at", kind: "message", T: Timestamp },
164
192
  ],
165
193
  );
166
194
 
@@ -428,12 +428,14 @@ export declare class NodeStats extends Message<NodeStats> {
428
428
  participantSignalConnectedPerSec: number;
429
429
 
430
430
  /**
431
- * @generated from field: uint64 participant_signal_failed = 55;
431
+ * @generated from field: uint64 participant_signal_failed = 55 [deprecated = true];
432
+ * @deprecated
432
433
  */
433
434
  participantSignalFailed: bigint;
434
435
 
435
436
  /**
436
- * @generated from field: uint64 participant_signal_validation_failed = 56;
437
+ * @generated from field: uint64 participant_signal_validation_failed = 56 [deprecated = true];
438
+ * @deprecated
437
439
  */
438
440
  participantSignalValidationFailed: bigint;
439
441
 
@@ -1361,6 +1361,20 @@ export declare class DataTrackInfo extends Message<DataTrackInfo> {
1361
1361
  */
1362
1362
  encryption: Encryption_Type;
1363
1363
 
1364
+ /**
1365
+ * Encoding for frame payloads on this track. If unspecified, the track is untyped.
1366
+ *
1367
+ * @generated from field: optional livekit.DataTrackFrameEncoding frame_encoding = 5;
1368
+ */
1369
+ frameEncoding?: DataTrackFrameEncoding;
1370
+
1371
+ /**
1372
+ * ID of the schema used by frames on this track if the track is typed.
1373
+ *
1374
+ * @generated from field: optional livekit.DataTrackSchemaId schema = 6;
1375
+ */
1376
+ schema?: DataTrackSchemaId;
1377
+
1364
1378
  constructor(data?: PartialMessage<DataTrackInfo>);
1365
1379
 
1366
1380
  static readonly runtime: typeof proto3;
@@ -1376,6 +1390,254 @@ export declare class DataTrackInfo extends Message<DataTrackInfo> {
1376
1390
  static equals(a: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined, b: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined): boolean;
1377
1391
  }
1378
1392
 
1393
+ /**
1394
+ * Encoding for frame payloads.
1395
+ *
1396
+ * @generated from message livekit.DataTrackFrameEncoding
1397
+ */
1398
+ export declare class DataTrackFrameEncoding extends Message<DataTrackFrameEncoding> {
1399
+ /**
1400
+ * @generated from oneof livekit.DataTrackFrameEncoding.value
1401
+ */
1402
+ value: {
1403
+ /**
1404
+ * @generated from field: livekit.DataTrackFrameEncoding.WellKnownFrameEncoding well_known = 1;
1405
+ */
1406
+ value: DataTrackFrameEncoding_WellKnownFrameEncoding;
1407
+ case: "wellKnown";
1408
+ } | {
1409
+ /**
1410
+ * Identifier of a custom encoding not covered by the well-known cases.
1411
+ * This must be non-empty and no longer than 32 characters.
1412
+ *
1413
+ * @generated from field: string custom = 2;
1414
+ */
1415
+ value: string;
1416
+ case: "custom";
1417
+ } | { case: undefined; value?: undefined };
1418
+
1419
+ constructor(data?: PartialMessage<DataTrackFrameEncoding>);
1420
+
1421
+ static readonly runtime: typeof proto3;
1422
+ static readonly typeName = "livekit.DataTrackFrameEncoding";
1423
+ static readonly fields: FieldList;
1424
+
1425
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackFrameEncoding;
1426
+
1427
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackFrameEncoding;
1428
+
1429
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackFrameEncoding;
1430
+
1431
+ static equals(a: DataTrackFrameEncoding | PlainMessage<DataTrackFrameEncoding> | undefined, b: DataTrackFrameEncoding | PlainMessage<DataTrackFrameEncoding> | undefined): boolean;
1432
+ }
1433
+
1434
+ /**
1435
+ * Well-known encoding for frame payloads.
1436
+ *
1437
+ * Mirrors the well-known message encodings from the MCAP spec:
1438
+ * https://mcap.dev/spec/registry#message-encodings
1439
+ *
1440
+ *
1441
+ * @generated from enum livekit.DataTrackFrameEncoding.WellKnownFrameEncoding
1442
+ */
1443
+ export declare enum DataTrackFrameEncoding_WellKnownFrameEncoding {
1444
+ /**
1445
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_UNSPECIFIED = 0;
1446
+ */
1447
+ UNSPECIFIED = 0,
1448
+
1449
+ /**
1450
+ * ROS 1: must be described by `ROS1_MSG` schema encoding.
1451
+ *
1452
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_ROS1 = 1;
1453
+ */
1454
+ ROS1 = 1,
1455
+
1456
+ /**
1457
+ * CDR: must be described by `ROS2_MSG`, `ROS2_IDL`, or `OMG_IDL` schema encoding.
1458
+ *
1459
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_CDR = 2;
1460
+ */
1461
+ CDR = 2,
1462
+
1463
+ /**
1464
+ * Protocol Buffer: must be described by `PROTOBUF` schema encoding.
1465
+ *
1466
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_PROTOBUF = 3;
1467
+ */
1468
+ PROTOBUF = 3,
1469
+
1470
+ /**
1471
+ * FlatBuffer: must be described by `FLATBUFFER` schema encoding.
1472
+ *
1473
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_FLATBUFFER = 4;
1474
+ */
1475
+ FLATBUFFER = 4,
1476
+
1477
+ /**
1478
+ * CBOR: self-describing.
1479
+ *
1480
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_CBOR = 5;
1481
+ */
1482
+ CBOR = 5,
1483
+
1484
+ /**
1485
+ * MessagePack: self-describing.
1486
+ *
1487
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_MSGPACK = 6;
1488
+ */
1489
+ MSGPACK = 6,
1490
+
1491
+ /**
1492
+ * JSON: self-describing or described by `JSON_SCHEMA` schema encoding.
1493
+ *
1494
+ * @generated from enum value: WELL_KNOWN_FRAME_ENCODING_JSON = 7;
1495
+ */
1496
+ JSON = 7,
1497
+ }
1498
+
1499
+ /**
1500
+ * Encoding for schema definition.
1501
+ *
1502
+ * @generated from message livekit.DataTrackSchemaEncoding
1503
+ */
1504
+ export declare class DataTrackSchemaEncoding extends Message<DataTrackSchemaEncoding> {
1505
+ /**
1506
+ * @generated from oneof livekit.DataTrackSchemaEncoding.value
1507
+ */
1508
+ value: {
1509
+ /**
1510
+ * @generated from field: livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding well_known = 1;
1511
+ */
1512
+ value: DataTrackSchemaEncoding_WellKnownSchemaEncoding;
1513
+ case: "wellKnown";
1514
+ } | {
1515
+ /**
1516
+ * Identifier of a custom encoding not covered by the well-known cases.
1517
+ * This must be non-empty and no longer than 32 characters.
1518
+ *
1519
+ * @generated from field: string custom = 2;
1520
+ */
1521
+ value: string;
1522
+ case: "custom";
1523
+ } | { case: undefined; value?: undefined };
1524
+
1525
+ constructor(data?: PartialMessage<DataTrackSchemaEncoding>);
1526
+
1527
+ static readonly runtime: typeof proto3;
1528
+ static readonly typeName = "livekit.DataTrackSchemaEncoding";
1529
+ static readonly fields: FieldList;
1530
+
1531
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSchemaEncoding;
1532
+
1533
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSchemaEncoding;
1534
+
1535
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSchemaEncoding;
1536
+
1537
+ static equals(a: DataTrackSchemaEncoding | PlainMessage<DataTrackSchemaEncoding> | undefined, b: DataTrackSchemaEncoding | PlainMessage<DataTrackSchemaEncoding> | undefined): boolean;
1538
+ }
1539
+
1540
+ /**
1541
+ * Well-known encoding for schema definition.
1542
+ *
1543
+ * Mirrors the well-known schema encodings from the MCAP spec:
1544
+ * https://mcap.dev/spec/registry#schema-encodings
1545
+ *
1546
+ *
1547
+ * @generated from enum livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding
1548
+ */
1549
+ export declare enum DataTrackSchemaEncoding_WellKnownSchemaEncoding {
1550
+ /**
1551
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_UNSPECIFIED = 0;
1552
+ */
1553
+ UNSPECIFIED = 0,
1554
+
1555
+ /**
1556
+ * Protocol Buffer IDL: describes `PROTOBUF` frame encoding.
1557
+ *
1558
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_PROTOBUF = 1;
1559
+ */
1560
+ PROTOBUF = 1,
1561
+
1562
+ /**
1563
+ * FlatBuffer IDL: describes `FLATBUFFER` frame encoding.
1564
+ *
1565
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_FLATBUFFER = 2;
1566
+ */
1567
+ FLATBUFFER = 2,
1568
+
1569
+ /**
1570
+ * ROS 1 Message: describes `ROS1` frame encoding.
1571
+ *
1572
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_ROS1_MSG = 3;
1573
+ */
1574
+ ROS1_MSG = 3,
1575
+
1576
+ /**
1577
+ * ROS 2 Message: describes `CDR` frame encoding.
1578
+ *
1579
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_ROS2_MSG = 4;
1580
+ */
1581
+ ROS2_MSG = 4,
1582
+
1583
+ /**
1584
+ * ROS 2 IDL: describes `CDR` frame encoding.
1585
+ *
1586
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_ROS2_IDL = 5;
1587
+ */
1588
+ ROS2_IDL = 5,
1589
+
1590
+ /**
1591
+ * OMG IDL: describes `CDR` frame encoding.
1592
+ *
1593
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_OMG_IDL = 6;
1594
+ */
1595
+ OMG_IDL = 6,
1596
+
1597
+ /**
1598
+ * JSON Schema: describes `JSON` frame encoding.
1599
+ *
1600
+ * @generated from enum value: WELL_KNOWN_SCHEMA_ENCODING_JSON_SCHEMA = 7;
1601
+ */
1602
+ JSON_SCHEMA = 7,
1603
+ }
1604
+
1605
+ /**
1606
+ * Identifier for a data track schema.
1607
+ *
1608
+ * Schemas with the same name but different encodings are distinct.
1609
+ *
1610
+ *
1611
+ * @generated from message livekit.DataTrackSchemaId
1612
+ */
1613
+ export declare class DataTrackSchemaId extends Message<DataTrackSchemaId> {
1614
+ /**
1615
+ * This must be non-empty and no longer than 256 characters.
1616
+ *
1617
+ * @generated from field: string name = 1;
1618
+ */
1619
+ name: string;
1620
+
1621
+ /**
1622
+ * @generated from field: livekit.DataTrackSchemaEncoding encoding = 2;
1623
+ */
1624
+ encoding?: DataTrackSchemaEncoding;
1625
+
1626
+ constructor(data?: PartialMessage<DataTrackSchemaId>);
1627
+
1628
+ static readonly runtime: typeof proto3;
1629
+ static readonly typeName = "livekit.DataTrackSchemaId";
1630
+ static readonly fields: FieldList;
1631
+
1632
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSchemaId;
1633
+
1634
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSchemaId;
1635
+
1636
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSchemaId;
1637
+
1638
+ static equals(a: DataTrackSchemaId | PlainMessage<DataTrackSchemaId> | undefined, b: DataTrackSchemaId | PlainMessage<DataTrackSchemaId> | undefined): boolean;
1639
+ }
1640
+
1379
1641
  /**
1380
1642
  * @generated from message livekit.DataTrackExtensionParticipantSid
1381
1643
  */
@@ -1432,6 +1694,83 @@ export declare class DataTrackSubscriptionOptions extends Message<DataTrackSubsc
1432
1694
  static equals(a: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined, b: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined): boolean;
1433
1695
  }
1434
1696
 
1697
+ /**
1698
+ * Key used to uniquely identify a data blob for storage and retrieval.
1699
+ *
1700
+ * @generated from message livekit.DataBlobKey
1701
+ */
1702
+ export declare class DataBlobKey extends Message<DataBlobKey> {
1703
+ /**
1704
+ * @generated from oneof livekit.DataBlobKey.key
1705
+ */
1706
+ key: {
1707
+ /**
1708
+ * Generic string key, blob contains arbitrary data.
1709
+ *
1710
+ * @generated from field: string generic = 1;
1711
+ */
1712
+ value: string;
1713
+ case: "generic";
1714
+ } | {
1715
+ /**
1716
+ * Data track schema identifier, blob contains schema definition.
1717
+ *
1718
+ * @generated from field: livekit.DataTrackSchemaId schema_id = 2;
1719
+ */
1720
+ value: DataTrackSchemaId;
1721
+ case: "schemaId";
1722
+ } | { case: undefined; value?: undefined };
1723
+
1724
+ constructor(data?: PartialMessage<DataBlobKey>);
1725
+
1726
+ static readonly runtime: typeof proto3;
1727
+ static readonly typeName = "livekit.DataBlobKey";
1728
+ static readonly fields: FieldList;
1729
+
1730
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataBlobKey;
1731
+
1732
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataBlobKey;
1733
+
1734
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataBlobKey;
1735
+
1736
+ static equals(a: DataBlobKey | PlainMessage<DataBlobKey> | undefined, b: DataBlobKey | PlainMessage<DataBlobKey> | undefined): boolean;
1737
+ }
1738
+
1739
+ /**
1740
+ * A blob of data stored in a room identified by a unique key.
1741
+ *
1742
+ * @generated from message livekit.DataBlob
1743
+ */
1744
+ export declare class DataBlob extends Message<DataBlob> {
1745
+ /**
1746
+ * Unique key the data blob is identified by.
1747
+ *
1748
+ * @generated from field: livekit.DataBlobKey key = 1;
1749
+ */
1750
+ key?: DataBlobKey;
1751
+
1752
+ /**
1753
+ * Contents of the data blob. This must not exceed 50 KB.
1754
+ *
1755
+ * @generated from field: bytes contents = 2;
1756
+ */
1757
+ contents: Uint8Array;
1758
+
1759
+ constructor(data?: PartialMessage<DataBlob>);
1760
+
1761
+ static readonly runtime: typeof proto3;
1762
+ static readonly typeName = "livekit.DataBlob";
1763
+ static readonly fields: FieldList;
1764
+
1765
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataBlob;
1766
+
1767
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataBlob;
1768
+
1769
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataBlob;
1770
+
1771
+ static equals(a: DataBlob | PlainMessage<DataBlob> | undefined, b: DataBlob | PlainMessage<DataBlob> | undefined): boolean;
1772
+ }
1773
+
1435
1774
  /**
1436
1775
  * provide information about available spatial layers
1437
1776
  *
@@ -474,6 +474,96 @@ export const DataTrackInfo = /*@__PURE__*/ proto3.makeMessageType(
474
474
  { no: 2, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
475
475
  { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
476
476
  { no: 4, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
477
+ { no: 5, name: "frame_encoding", kind: "message", T: DataTrackFrameEncoding, opt: true },
478
+ { no: 6, name: "schema", kind: "message", T: DataTrackSchemaId, opt: true },
479
+ ],
480
+ );
481
+
482
+ /**
483
+ * Encoding for frame payloads.
484
+ *
485
+ * @generated from message livekit.DataTrackFrameEncoding
486
+ */
487
+ export const DataTrackFrameEncoding = /*@__PURE__*/ proto3.makeMessageType(
488
+ "livekit.DataTrackFrameEncoding",
489
+ () => [
490
+ { no: 1, name: "well_known", kind: "enum", T: proto3.getEnumType(DataTrackFrameEncoding_WellKnownFrameEncoding), oneof: "value" },
491
+ { no: 2, name: "custom", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
492
+ ],
493
+ );
494
+
495
+ /**
496
+ * Well-known encoding for frame payloads.
497
+ *
498
+ * Mirrors the well-known message encodings from the MCAP spec:
499
+ * https://mcap.dev/spec/registry#message-encodings
500
+ *
501
+ *
502
+ * @generated from enum livekit.DataTrackFrameEncoding.WellKnownFrameEncoding
503
+ */
504
+ export const DataTrackFrameEncoding_WellKnownFrameEncoding = /*@__PURE__*/ proto3.makeEnum(
505
+ "livekit.DataTrackFrameEncoding.WellKnownFrameEncoding",
506
+ [
507
+ {no: 0, name: "WELL_KNOWN_FRAME_ENCODING_UNSPECIFIED", localName: "UNSPECIFIED"},
508
+ {no: 1, name: "WELL_KNOWN_FRAME_ENCODING_ROS1", localName: "ROS1"},
509
+ {no: 2, name: "WELL_KNOWN_FRAME_ENCODING_CDR", localName: "CDR"},
510
+ {no: 3, name: "WELL_KNOWN_FRAME_ENCODING_PROTOBUF", localName: "PROTOBUF"},
511
+ {no: 4, name: "WELL_KNOWN_FRAME_ENCODING_FLATBUFFER", localName: "FLATBUFFER"},
512
+ {no: 5, name: "WELL_KNOWN_FRAME_ENCODING_CBOR", localName: "CBOR"},
513
+ {no: 6, name: "WELL_KNOWN_FRAME_ENCODING_MSGPACK", localName: "MSGPACK"},
514
+ {no: 7, name: "WELL_KNOWN_FRAME_ENCODING_JSON", localName: "JSON"},
515
+ ],
516
+ );
517
+
518
+ /**
519
+ * Encoding for schema definition.
520
+ *
521
+ * @generated from message livekit.DataTrackSchemaEncoding
522
+ */
523
+ export const DataTrackSchemaEncoding = /*@__PURE__*/ proto3.makeMessageType(
524
+ "livekit.DataTrackSchemaEncoding",
525
+ () => [
526
+ { no: 1, name: "well_known", kind: "enum", T: proto3.getEnumType(DataTrackSchemaEncoding_WellKnownSchemaEncoding), oneof: "value" },
527
+ { no: 2, name: "custom", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
528
+ ],
529
+ );
530
+
531
+ /**
532
+ * Well-known encoding for schema definition.
533
+ *
534
+ * Mirrors the well-known schema encodings from the MCAP spec:
535
+ * https://mcap.dev/spec/registry#schema-encodings
536
+ *
537
+ *
538
+ * @generated from enum livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding
539
+ */
540
+ export const DataTrackSchemaEncoding_WellKnownSchemaEncoding = /*@__PURE__*/ proto3.makeEnum(
541
+ "livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding",
542
+ [
543
+ {no: 0, name: "WELL_KNOWN_SCHEMA_ENCODING_UNSPECIFIED", localName: "UNSPECIFIED"},
544
+ {no: 1, name: "WELL_KNOWN_SCHEMA_ENCODING_PROTOBUF", localName: "PROTOBUF"},
545
+ {no: 2, name: "WELL_KNOWN_SCHEMA_ENCODING_FLATBUFFER", localName: "FLATBUFFER"},
546
+ {no: 3, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS1_MSG", localName: "ROS1_MSG"},
547
+ {no: 4, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS2_MSG", localName: "ROS2_MSG"},
548
+ {no: 5, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS2_IDL", localName: "ROS2_IDL"},
549
+ {no: 6, name: "WELL_KNOWN_SCHEMA_ENCODING_OMG_IDL", localName: "OMG_IDL"},
550
+ {no: 7, name: "WELL_KNOWN_SCHEMA_ENCODING_JSON_SCHEMA", localName: "JSON_SCHEMA"},
551
+ ],
552
+ );
553
+
554
+ /**
555
+ * Identifier for a data track schema.
556
+ *
557
+ * Schemas with the same name but different encodings are distinct.
558
+ *
559
+ *
560
+ * @generated from message livekit.DataTrackSchemaId
561
+ */
562
+ export const DataTrackSchemaId = /*@__PURE__*/ proto3.makeMessageType(
563
+ "livekit.DataTrackSchemaId",
564
+ () => [
565
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
566
+ { no: 2, name: "encoding", kind: "message", T: DataTrackSchemaEncoding },
477
567
  ],
478
568
  );
479
569
 
@@ -498,6 +588,32 @@ export const DataTrackSubscriptionOptions = /*@__PURE__*/ proto3.makeMessageType
498
588
  ],
499
589
  );
500
590
 
591
+ /**
592
+ * Key used to uniquely identify a data blob for storage and retrieval.
593
+ *
594
+ * @generated from message livekit.DataBlobKey
595
+ */
596
+ export const DataBlobKey = /*@__PURE__*/ proto3.makeMessageType(
597
+ "livekit.DataBlobKey",
598
+ () => [
599
+ { no: 1, name: "generic", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "key" },
600
+ { no: 2, name: "schema_id", kind: "message", T: DataTrackSchemaId, oneof: "key" },
601
+ ],
602
+ );
603
+
604
+ /**
605
+ * A blob of data stored in a room identified by a unique key.
606
+ *
607
+ * @generated from message livekit.DataBlob
608
+ */
609
+ export const DataBlob = /*@__PURE__*/ proto3.makeMessageType(
610
+ "livekit.DataBlob",
611
+ () => [
612
+ { no: 1, name: "key", kind: "message", T: DataBlobKey },
613
+ { no: 2, name: "contents", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
614
+ ],
615
+ );
616
+
501
617
  /**
502
618
  * provide information about available spatial layers
503
619
  *