@livekit/protocol 1.39.3 → 1.41.0

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.39.3",
3
+ "version": "1.41.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -28,7 +28,7 @@
28
28
  "devDependencies": {
29
29
  "@bufbuild/protoc-gen-es": "^1.10.0",
30
30
  "genversion": "^3.2.0",
31
- "typescript": "5.8.3",
31
+ "typescript": "5.9.2",
32
32
  "unbuild": "^2.0.0"
33
33
  },
34
34
  "dependencies": {
@@ -185,6 +185,11 @@ export declare class JobState extends Message<JobState> {
185
185
  */
186
186
  workerId: string;
187
187
 
188
+ /**
189
+ * @generated from field: string agent_id = 8;
190
+ */
191
+ agentId: string;
192
+
188
193
  constructor(data?: PartialMessage<JobState>);
189
194
 
190
195
  static readonly runtime: typeof proto3;
@@ -87,6 +87,7 @@ export const JobState = /*@__PURE__*/ proto3.makeMessageType(
87
87
  { no: 5, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
88
88
  { no: 6, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
89
89
  { no: 7, name: "worker_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
90
+ { no: 8, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
90
91
  ],
91
92
  );
92
93
 
@@ -64,6 +64,11 @@ export declare enum AnalyticsEventType {
64
64
  */
65
65
  PARTICIPANT_LEFT = 3,
66
66
 
67
+ /**
68
+ * @generated from enum value: PARTICIPANT_CONNECTION_ABORTED = 45;
69
+ */
70
+ PARTICIPANT_CONNECTION_ABORTED = 45,
71
+
67
72
  /**
68
73
  * @generated from enum value: TRACK_PUBLISHED = 4;
69
74
  */
@@ -45,6 +45,7 @@ export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum(
45
45
  {no: 1, name: "ROOM_ENDED"},
46
46
  {no: 2, name: "PARTICIPANT_JOINED"},
47
47
  {no: 3, name: "PARTICIPANT_LEFT"},
48
+ {no: 45, name: "PARTICIPANT_CONNECTION_ABORTED"},
48
49
  {no: 4, name: "TRACK_PUBLISHED"},
49
50
  {no: 20, name: "TRACK_PUBLISH_REQUESTED"},
50
51
  {no: 5, name: "TRACK_UNPUBLISHED"},
@@ -356,6 +356,16 @@ export declare class AgentVersion extends Message<AgentVersion> {
356
356
  */
357
357
  createdAt?: Timestamp;
358
358
 
359
+ /**
360
+ * @generated from field: google.protobuf.Timestamp deployed_at = 4;
361
+ */
362
+ deployedAt?: Timestamp;
363
+
364
+ /**
365
+ * @generated from field: map<string, string> attributes = 5;
366
+ */
367
+ attributes: { [key: string]: string };
368
+
359
369
  constructor(data?: PartialMessage<AgentVersion>);
360
370
 
361
371
  static readonly runtime: typeof proto3;
@@ -511,6 +521,59 @@ export declare class UpdateAgentResponse extends Message<UpdateAgentResponse> {
511
521
  static equals(a: UpdateAgentResponse | PlainMessage<UpdateAgentResponse> | undefined, b: UpdateAgentResponse | PlainMessage<UpdateAgentResponse> | undefined): boolean;
512
522
  }
513
523
 
524
+ /**
525
+ * @generated from message livekit.RestartAgentRequest
526
+ */
527
+ export declare class RestartAgentRequest extends Message<RestartAgentRequest> {
528
+ /**
529
+ * @generated from field: string agent_id = 1;
530
+ */
531
+ agentId: string;
532
+
533
+ constructor(data?: PartialMessage<RestartAgentRequest>);
534
+
535
+ static readonly runtime: typeof proto3;
536
+ static readonly typeName = "livekit.RestartAgentRequest";
537
+ static readonly fields: FieldList;
538
+
539
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RestartAgentRequest;
540
+
541
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RestartAgentRequest;
542
+
543
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RestartAgentRequest;
544
+
545
+ static equals(a: RestartAgentRequest | PlainMessage<RestartAgentRequest> | undefined, b: RestartAgentRequest | PlainMessage<RestartAgentRequest> | undefined): boolean;
546
+ }
547
+
548
+ /**
549
+ * @generated from message livekit.RestartAgentResponse
550
+ */
551
+ export declare class RestartAgentResponse extends Message<RestartAgentResponse> {
552
+ /**
553
+ * @generated from field: bool success = 1;
554
+ */
555
+ success: boolean;
556
+
557
+ /**
558
+ * @generated from field: string message = 2;
559
+ */
560
+ message: string;
561
+
562
+ constructor(data?: PartialMessage<RestartAgentResponse>);
563
+
564
+ static readonly runtime: typeof proto3;
565
+ static readonly typeName = "livekit.RestartAgentResponse";
566
+ static readonly fields: FieldList;
567
+
568
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RestartAgentResponse;
569
+
570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RestartAgentResponse;
571
+
572
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RestartAgentResponse;
573
+
574
+ static equals(a: RestartAgentResponse | PlainMessage<RestartAgentResponse> | undefined, b: RestartAgentResponse | PlainMessage<RestartAgentResponse> | undefined): boolean;
575
+ }
576
+
514
577
  /**
515
578
  * @generated from message livekit.DeployAgentRequest
516
579
  */
@@ -127,6 +127,8 @@ export const AgentVersion = /*@__PURE__*/ proto3.makeMessageType(
127
127
  { no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
128
  { no: 2, name: "current", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
129
129
  { no: 3, name: "created_at", kind: "message", T: Timestamp },
130
+ { no: 4, name: "deployed_at", kind: "message", T: Timestamp },
131
+ { no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
130
132
  ],
131
133
  );
132
134
 
@@ -178,6 +180,27 @@ export const UpdateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
178
180
  ],
179
181
  );
180
182
 
183
+ /**
184
+ * @generated from message livekit.RestartAgentRequest
185
+ */
186
+ export const RestartAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
187
+ "livekit.RestartAgentRequest",
188
+ () => [
189
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
+ ],
191
+ );
192
+
193
+ /**
194
+ * @generated from message livekit.RestartAgentResponse
195
+ */
196
+ export const RestartAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
197
+ "livekit.RestartAgentResponse",
198
+ () => [
199
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
200
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
201
+ ],
202
+ );
203
+
181
204
  /**
182
205
  * @generated from message livekit.DeployAgentRequest
183
206
  */
@@ -1130,6 +1130,20 @@ export declare class S3Upload extends Message<S3Upload> {
1130
1130
  */
1131
1131
  sessionToken: string;
1132
1132
 
1133
+ /**
1134
+ * ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
1135
+ *
1136
+ * @generated from field: string assume_role_arn = 12;
1137
+ */
1138
+ assumeRoleArn: string;
1139
+
1140
+ /**
1141
+ * ExternalID to use when assuming role for upload
1142
+ *
1143
+ * @generated from field: string assume_role_external_id = 13;
1144
+ */
1145
+ assumeRoleExternalId: string;
1146
+
1133
1147
  /**
1134
1148
  * @generated from field: string region = 3;
1135
1149
  */
@@ -329,6 +329,8 @@ export const S3Upload = /*@__PURE__*/ proto3.makeMessageType(
329
329
  { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
330
330
  { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
331
331
  { no: 11, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
332
+ { no: 12, name: "assume_role_arn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
333
+ { no: 13, name: "assume_role_external_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
332
334
  { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
333
335
  { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
334
336
  { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -21,6 +21,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
22
  import type { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
23
23
  import type { CreateRoomRequest } from "./livekit_room_pb.js";
24
+ import type { AddTrackRequest, SessionDescription, SyncState } from "./livekit_rtc_pb.js";
24
25
  import type { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
25
26
  import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
26
27
 
@@ -631,7 +632,8 @@ export declare class StartSession extends Message<StartSession> {
631
632
  autoSubscribe: boolean;
632
633
 
633
634
  /**
634
- * @generated from field: bool hidden = 10;
635
+ * @generated from field: bool hidden = 10 [deprecated = true];
636
+ * @deprecated
635
637
  */
636
638
  hidden: boolean;
637
639
 
@@ -641,7 +643,8 @@ export declare class StartSession extends Message<StartSession> {
641
643
  client?: ClientInfo;
642
644
 
643
645
  /**
644
- * @generated from field: bool recorder = 12;
646
+ * @generated from field: bool recorder = 12 [deprecated = true];
647
+ * @deprecated
645
648
  */
646
649
  recorder: boolean;
647
650
 
@@ -689,6 +692,26 @@ export declare class StartSession extends Message<StartSession> {
689
692
  */
690
693
  createRoom?: CreateRoomRequest;
691
694
 
695
+ /**
696
+ * @generated from field: repeated livekit.AddTrackRequest add_track_requests = 21;
697
+ */
698
+ addTrackRequests: AddTrackRequest[];
699
+
700
+ /**
701
+ * @generated from field: livekit.SessionDescription publisher_offer = 22;
702
+ */
703
+ publisherOffer?: SessionDescription;
704
+
705
+ /**
706
+ * @generated from field: livekit.SyncState sync_state = 23;
707
+ */
708
+ syncState?: SyncState;
709
+
710
+ /**
711
+ * @generated from field: bool use_single_peer_connection = 24;
712
+ */
713
+ useSinglePeerConnection: boolean;
714
+
692
715
  constructor(data?: PartialMessage<StartSession>);
693
716
 
694
717
  static readonly runtime: typeof proto3;
@@ -20,6 +20,7 @@
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
21
  import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
22
22
  import { CreateRoomRequest } from "./livekit_room_pb.js";
23
+ import { AddTrackRequest, SessionDescription, SyncState } from "./livekit_rtc_pb.js";
23
24
  import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
24
25
  import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
25
26
 
@@ -194,6 +195,10 @@ export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
194
195
  { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
195
196
  { no: 19, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
196
197
  { no: 20, name: "create_room", kind: "message", T: CreateRoomRequest },
198
+ { no: 21, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
199
+ { no: 22, name: "publisher_offer", kind: "message", T: SessionDescription },
200
+ { no: 23, name: "sync_state", kind: "message", T: SyncState },
201
+ { no: 24, name: "use_single_peer_connection", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
197
202
  ],
198
203
  );
199
204
 
@@ -473,6 +473,30 @@ export declare class Pagination extends Message<Pagination> {
473
473
  static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
474
474
  }
475
475
 
476
+ /**
477
+ * @generated from message livekit.TokenPagination
478
+ */
479
+ export declare class TokenPagination extends Message<TokenPagination> {
480
+ /**
481
+ * @generated from field: string token = 1;
482
+ */
483
+ token: string;
484
+
485
+ constructor(data?: PartialMessage<TokenPagination>);
486
+
487
+ static readonly runtime: typeof proto3;
488
+ static readonly typeName = "livekit.TokenPagination";
489
+ static readonly fields: FieldList;
490
+
491
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPagination;
492
+
493
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPagination;
494
+
495
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPagination;
496
+
497
+ static equals(a: TokenPagination | PlainMessage<TokenPagination> | undefined, b: TokenPagination | PlainMessage<TokenPagination> | undefined): boolean;
498
+ }
499
+
476
500
  /**
477
501
  * ListUpdate is used for updated APIs where 'repeated string' field is modified.
478
502
  *
@@ -486,6 +510,27 @@ export declare class ListUpdate extends Message<ListUpdate> {
486
510
  */
487
511
  set: string[];
488
512
 
513
+ /**
514
+ * append items to a list, avoiding duplicates
515
+ *
516
+ * @generated from field: repeated string add = 2;
517
+ */
518
+ add: string[];
519
+
520
+ /**
521
+ * delete items from a list
522
+ *
523
+ * @generated from field: repeated string del = 3;
524
+ */
525
+ del: string[];
526
+
527
+ /**
528
+ * sets the list to an empty list
529
+ *
530
+ * @generated from field: bool clear = 4;
531
+ */
532
+ clear: boolean;
533
+
489
534
  constructor(data?: PartialMessage<ListUpdate>);
490
535
 
491
536
  static readonly runtime: typeof proto3;
@@ -996,6 +1041,21 @@ export declare class SimulcastCodecInfo extends Message<SimulcastCodecInfo> {
996
1041
  */
997
1042
  layers: VideoLayer[];
998
1043
 
1044
+ /**
1045
+ * @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
1046
+ */
1047
+ videoLayerMode: VideoLayer_Mode;
1048
+
1049
+ /**
1050
+ * cid (client side id for track) could be different between
1051
+ * signalling (AddTrackRequest) and SDP offer. This field
1052
+ * will be populated only if it is different to avoid
1053
+ * duplication and keep the representation concise.
1054
+ *
1055
+ * @generated from field: string sdp_cid = 6;
1056
+ */
1057
+ sdpCid: string;
1058
+
999
1059
  constructor(data?: PartialMessage<SimulcastCodecInfo>);
1000
1060
 
1001
1061
  static readonly runtime: typeof proto3;
@@ -1039,28 +1099,36 @@ export declare class TrackInfo extends Message<TrackInfo> {
1039
1099
  * original width of video (unset for audio)
1040
1100
  * clients may receive a lower resolution version with simulcast
1041
1101
  *
1042
- * @generated from field: uint32 width = 5;
1102
+ * @generated from field: uint32 width = 5 [deprecated = true];
1103
+ * @deprecated
1043
1104
  */
1044
1105
  width: number;
1045
1106
 
1046
1107
  /**
1047
1108
  * original height of video (unset for audio)
1048
1109
  *
1049
- * @generated from field: uint32 height = 6;
1110
+ * @generated from field: uint32 height = 6 [deprecated = true];
1111
+ * @deprecated
1050
1112
  */
1051
1113
  height: number;
1052
1114
 
1053
1115
  /**
1054
1116
  * true if track is simulcasted
1055
1117
  *
1056
- * @generated from field: bool simulcast = 7;
1118
+ * see `video_layer_mode` in `codecs`
1119
+ *
1120
+ * @generated from field: bool simulcast = 7 [deprecated = true];
1121
+ * @deprecated
1057
1122
  */
1058
1123
  simulcast: boolean;
1059
1124
 
1060
1125
  /**
1061
1126
  * true if DTX (Discontinuous Transmission) is disabled for audio
1062
1127
  *
1063
- * @generated from field: bool disable_dtx = 8;
1128
+ * deprecated in favor of `audio_features`
1129
+ *
1130
+ * @generated from field: bool disable_dtx = 8 [deprecated = true];
1131
+ * @deprecated
1064
1132
  */
1065
1133
  disableDtx: boolean;
1066
1134
 
@@ -1072,7 +1140,10 @@ export declare class TrackInfo extends Message<TrackInfo> {
1072
1140
  source: TrackSource;
1073
1141
 
1074
1142
  /**
1075
- * @generated from field: repeated livekit.VideoLayer layers = 10;
1143
+ * see `codecs` for layers of individual codec
1144
+ *
1145
+ * @generated from field: repeated livekit.VideoLayer layers = 10 [deprecated = true];
1146
+ * @deprecated
1076
1147
  */
1077
1148
  layers: VideoLayer[];
1078
1149
 
@@ -1094,7 +1165,10 @@ export declare class TrackInfo extends Message<TrackInfo> {
1094
1165
  codecs: SimulcastCodecInfo[];
1095
1166
 
1096
1167
  /**
1097
- * @generated from field: bool stereo = 14;
1168
+ * deprecated in favor of `audio_features`
1169
+ *
1170
+ * @generated from field: bool stereo = 14 [deprecated = true];
1171
+ * @deprecated
1098
1172
  */
1099
1173
  stereo: boolean;
1100
1174
 
@@ -1205,6 +1279,26 @@ export declare class VideoLayer extends Message<VideoLayer> {
1205
1279
  static equals(a: VideoLayer | PlainMessage<VideoLayer> | undefined, b: VideoLayer | PlainMessage<VideoLayer> | undefined): boolean;
1206
1280
  }
1207
1281
 
1282
+ /**
1283
+ * @generated from enum livekit.VideoLayer.Mode
1284
+ */
1285
+ export declare enum VideoLayer_Mode {
1286
+ /**
1287
+ * @generated from enum value: MODE_UNUSED = 0;
1288
+ */
1289
+ MODE_UNUSED = 0,
1290
+
1291
+ /**
1292
+ * @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM = 1;
1293
+ */
1294
+ ONE_SPATIAL_LAYER_PER_STREAM = 1,
1295
+
1296
+ /**
1297
+ * @generated from enum value: MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2;
1298
+ */
1299
+ MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2,
1300
+ }
1301
+
1208
1302
  /**
1209
1303
  * new DataPacket API
1210
1304
  *
@@ -1307,6 +1401,12 @@ export declare class DataPacket extends Message<DataPacket> {
1307
1401
  */
1308
1402
  value: DataStream_Trailer;
1309
1403
  case: "streamTrailer";
1404
+ } | {
1405
+ /**
1406
+ * @generated from field: livekit.EncryptedPacket encrypted_packet = 18;
1407
+ */
1408
+ value: EncryptedPacket;
1409
+ case: "encryptedPacket";
1310
1410
  } | { case: undefined; value?: undefined };
1311
1411
 
1312
1412
  /**
@@ -1353,8 +1453,122 @@ export declare enum DataPacket_Kind {
1353
1453
  LOSSY = 1,
1354
1454
  }
1355
1455
 
1456
+ /**
1457
+ * @generated from message livekit.EncryptedPacket
1458
+ */
1459
+ export declare class EncryptedPacket extends Message<EncryptedPacket> {
1460
+ /**
1461
+ * @generated from field: livekit.Encryption.Type encryption_type = 1;
1462
+ */
1463
+ encryptionType: Encryption_Type;
1464
+
1465
+ /**
1466
+ * @generated from field: bytes iv = 2;
1467
+ */
1468
+ iv: Uint8Array;
1469
+
1470
+ /**
1471
+ * @generated from field: uint32 key_index = 3;
1472
+ */
1473
+ keyIndex: number;
1474
+
1475
+ /**
1476
+ * This is an encrypted EncryptedPacketPayload message representation
1477
+ *
1478
+ * @generated from field: bytes encrypted_value = 4;
1479
+ */
1480
+ encryptedValue: Uint8Array;
1481
+
1482
+ constructor(data?: PartialMessage<EncryptedPacket>);
1483
+
1484
+ static readonly runtime: typeof proto3;
1485
+ static readonly typeName = "livekit.EncryptedPacket";
1486
+ static readonly fields: FieldList;
1487
+
1488
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacket;
1489
+
1490
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacket;
1491
+
1492
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacket;
1493
+
1494
+ static equals(a: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined, b: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined): boolean;
1495
+ }
1496
+
1497
+ /**
1498
+ * @generated from message livekit.EncryptedPacketPayload
1499
+ */
1500
+ export declare class EncryptedPacketPayload extends Message<EncryptedPacketPayload> {
1501
+ /**
1502
+ * @generated from oneof livekit.EncryptedPacketPayload.value
1503
+ */
1504
+ value: {
1505
+ /**
1506
+ * @generated from field: livekit.UserPacket user = 1;
1507
+ */
1508
+ value: UserPacket;
1509
+ case: "user";
1510
+ } | {
1511
+ /**
1512
+ * @generated from field: livekit.ChatMessage chat_message = 3;
1513
+ */
1514
+ value: ChatMessage;
1515
+ case: "chatMessage";
1516
+ } | {
1517
+ /**
1518
+ * @generated from field: livekit.RpcRequest rpc_request = 4;
1519
+ */
1520
+ value: RpcRequest;
1521
+ case: "rpcRequest";
1522
+ } | {
1523
+ /**
1524
+ * @generated from field: livekit.RpcAck rpc_ack = 5;
1525
+ */
1526
+ value: RpcAck;
1527
+ case: "rpcAck";
1528
+ } | {
1529
+ /**
1530
+ * @generated from field: livekit.RpcResponse rpc_response = 6;
1531
+ */
1532
+ value: RpcResponse;
1533
+ case: "rpcResponse";
1534
+ } | {
1535
+ /**
1536
+ * @generated from field: livekit.DataStream.Header stream_header = 7;
1537
+ */
1538
+ value: DataStream_Header;
1539
+ case: "streamHeader";
1540
+ } | {
1541
+ /**
1542
+ * @generated from field: livekit.DataStream.Chunk stream_chunk = 8;
1543
+ */
1544
+ value: DataStream_Chunk;
1545
+ case: "streamChunk";
1546
+ } | {
1547
+ /**
1548
+ * @generated from field: livekit.DataStream.Trailer stream_trailer = 9;
1549
+ */
1550
+ value: DataStream_Trailer;
1551
+ case: "streamTrailer";
1552
+ } | { case: undefined; value?: undefined };
1553
+
1554
+ constructor(data?: PartialMessage<EncryptedPacketPayload>);
1555
+
1556
+ static readonly runtime: typeof proto3;
1557
+ static readonly typeName = "livekit.EncryptedPacketPayload";
1558
+ static readonly fields: FieldList;
1559
+
1560
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacketPayload;
1561
+
1562
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
1563
+
1564
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
1565
+
1566
+ static equals(a: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined, b: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined): boolean;
1567
+ }
1568
+
1356
1569
  /**
1357
1570
  * @generated from message livekit.ActiveSpeakerUpdate
1571
+ * @deprecated
1358
1572
  */
1359
1573
  export declare class ActiveSpeakerUpdate extends Message<ActiveSpeakerUpdate> {
1360
1574
  /**
@@ -1464,7 +1678,7 @@ export declare class UserPacket extends Message<UserPacket> {
1464
1678
  topic?: string;
1465
1679
 
1466
1680
  /**
1467
- * Unique ID to indentify the message
1681
+ * Unique ID to identify the message
1468
1682
  *
1469
1683
  * @generated from field: optional string id = 8;
1470
1684
  */
@@ -2913,9 +3127,10 @@ export declare class DataStream_Header extends Message<DataStream_Header> {
2913
3127
  totalLength?: bigint;
2914
3128
 
2915
3129
  /**
2916
- * defaults to NONE
3130
+ * this is set on the DataPacket
2917
3131
  *
2918
- * @generated from field: livekit.Encryption.Type encryption_type = 7;
3132
+ * @generated from field: livekit.Encryption.Type encryption_type = 7 [deprecated = true];
3133
+ * @deprecated
2919
3134
  */
2920
3135
  encryptionType: Encryption_Type;
2921
3136
 
@@ -2991,9 +3206,10 @@ export declare class DataStream_Chunk extends Message<DataStream_Chunk> {
2991
3206
  version: number;
2992
3207
 
2993
3208
  /**
2994
- * optional, initialization vector for AES-GCM encryption
3209
+ * this is set on the DataPacket
2995
3210
  *
2996
- * @generated from field: optional bytes iv = 5;
3211
+ * @generated from field: optional bytes iv = 5 [deprecated = true];
3212
+ * @deprecated
2997
3213
  */
2998
3214
  iv?: Uint8Array;
2999
3215