@livekit/protocol 1.47.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.47.0",
3
+ "version": "1.48.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -28,6 +28,12 @@ export declare class AgentDevMessage extends Message<AgentDevMessage> {
28
28
  */
29
29
  value: GetRunningAgentJobsResponse;
30
30
  case: "getRunningJobsResponse";
31
+ } | {
32
+ /**
33
+ * @generated from field: livekit.agent.ServerInfo server_info = 3;
34
+ */
35
+ value: ServerInfo;
36
+ case: "serverInfo";
31
37
  } | { case: undefined; value?: undefined };
32
38
 
33
39
  constructor(data?: PartialMessage<AgentDevMessage>);
@@ -45,6 +51,37 @@ export declare class AgentDevMessage extends Message<AgentDevMessage> {
45
51
  static equals(a: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined, b: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined): boolean;
46
52
  }
47
53
 
54
+ /**
55
+ * ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,
56
+ *
57
+ * @generated from message livekit.agent.ServerInfo
58
+ */
59
+ export declare class ServerInfo extends Message<ServerInfo> {
60
+ /**
61
+ * @generated from field: string agent_name = 1;
62
+ */
63
+ agentName: string;
64
+
65
+ /**
66
+ * @generated from field: string url = 2;
67
+ */
68
+ url: string;
69
+
70
+ constructor(data?: PartialMessage<ServerInfo>);
71
+
72
+ static readonly runtime: typeof proto3;
73
+ static readonly typeName = "livekit.agent.ServerInfo";
74
+ static readonly fields: FieldList;
75
+
76
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerInfo;
77
+
78
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerInfo;
79
+
80
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerInfo;
81
+
82
+ static equals(a: ServerInfo | PlainMessage<ServerInfo> | undefined, b: ServerInfo | PlainMessage<ServerInfo> | undefined): boolean;
83
+ }
84
+
48
85
  /**
49
86
  * @generated from message livekit.agent.GetRunningAgentJobsRequest
50
87
  */
@@ -16,6 +16,20 @@ export const AgentDevMessage = /*@__PURE__*/ proto3.makeMessageType(
16
16
  () => [
17
17
  { no: 1, name: "get_running_jobs_request", kind: "message", T: GetRunningAgentJobsRequest, oneof: "message" },
18
18
  { no: 2, name: "get_running_jobs_response", kind: "message", T: GetRunningAgentJobsResponse, oneof: "message" },
19
+ { no: 3, name: "server_info", kind: "message", T: ServerInfo, oneof: "message" },
20
+ ],
21
+ );
22
+
23
+ /**
24
+ * ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,
25
+ *
26
+ * @generated from message livekit.agent.ServerInfo
27
+ */
28
+ export const ServerInfo = /*@__PURE__*/ proto3.makeMessageType(
29
+ "livekit.agent.ServerInfo",
30
+ () => [
31
+ { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
+ { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
33
  ],
20
34
  );
21
35
 
@@ -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
 
@@ -482,6 +482,11 @@ export declare enum PacketTrailerFeature {
482
482
  * @generated from enum value: PTF_FRAME_ID = 1;
483
483
  */
484
484
  PTF_FRAME_ID = 1,
485
+
486
+ /**
487
+ * @generated from enum value: PTF_USER_DATA = 2;
488
+ */
489
+ PTF_USER_DATA = 2,
485
490
  }
486
491
 
487
492
  /**
@@ -936,6 +941,14 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
936
941
  */
937
942
  clientProtocol: number;
938
943
 
944
+ /**
945
+ * capabilities the participant's client advertises, mirrored from ClientInfo.
946
+ * Lets other participants perform client-side feature detection.
947
+ *
948
+ * @generated from field: repeated livekit.ClientInfo.Capability capabilities = 21;
949
+ */
950
+ capabilities: ClientInfo_Capability[];
951
+
939
952
  constructor(data?: PartialMessage<ParticipantInfo>);
940
953
 
941
954
  static readonly runtime: typeof proto3;
@@ -1348,6 +1361,20 @@ export declare class DataTrackInfo extends Message<DataTrackInfo> {
1348
1361
  */
1349
1362
  encryption: Encryption_Type;
1350
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
+
1351
1378
  constructor(data?: PartialMessage<DataTrackInfo>);
1352
1379
 
1353
1380
  static readonly runtime: typeof proto3;
@@ -1363,6 +1390,254 @@ export declare class DataTrackInfo extends Message<DataTrackInfo> {
1363
1390
  static equals(a: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined, b: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined): boolean;
1364
1391
  }
1365
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
+
1366
1641
  /**
1367
1642
  * @generated from message livekit.DataTrackExtensionParticipantSid
1368
1643
  */
@@ -1419,6 +1694,83 @@ export declare class DataTrackSubscriptionOptions extends Message<DataTrackSubsc
1419
1694
  static equals(a: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined, b: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined): boolean;
1420
1695
  }
1421
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
+
1422
1774
  /**
1423
1775
  * provide information about available spatial layers
1424
1776
  *