@livekit/protocol 1.43.2 → 1.43.4

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.
@@ -19,7 +19,7 @@
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
22
+ import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
23
23
 
24
24
  /**
25
25
  * @generated from enum livekit.SignalTarget
@@ -212,6 +212,30 @@ export declare class SignalRequest extends Message<SignalRequest> {
212
212
  */
213
213
  value: UpdateLocalVideoTrack;
214
214
  case: "updateVideoTrack";
215
+ } | {
216
+ /**
217
+ * Publish a data track
218
+ *
219
+ * @generated from field: livekit.PublishDataTrackRequest publish_data_track_request = 19;
220
+ */
221
+ value: PublishDataTrackRequest;
222
+ case: "publishDataTrackRequest";
223
+ } | {
224
+ /**
225
+ * Unpublish a data track
226
+ *
227
+ * @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track_request = 20;
228
+ */
229
+ value: UnpublishDataTrackRequest;
230
+ case: "unpublishDataTrackRequest";
231
+ } | {
232
+ /**
233
+ * Update subscription state for one or more data tracks
234
+ *
235
+ * @generated from field: livekit.UpdateDataSubscription update_data_subscription = 21;
236
+ */
237
+ value: UpdateDataSubscription;
238
+ case: "updateDataSubscription";
215
239
  } | { case: undefined; value?: undefined };
216
240
 
217
241
  constructor(data?: PartialMessage<SignalRequest>);
@@ -439,6 +463,30 @@ export declare class SignalResponse extends Message<SignalResponse> {
439
463
  */
440
464
  value: SubscribedAudioCodecUpdate;
441
465
  case: "subscribedAudioCodecUpdate";
466
+ } | {
467
+ /**
468
+ * Sent in response to `PublishDataTrackRequest`.
469
+ *
470
+ * @generated from field: livekit.PublishDataTrackResponse publish_data_track_response = 27;
471
+ */
472
+ value: PublishDataTrackResponse;
473
+ case: "publishDataTrackResponse";
474
+ } | {
475
+ /**
476
+ * Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish.
477
+ *
478
+ * @generated from field: livekit.UnpublishDataTrackResponse unpublish_data_track_response = 28;
479
+ */
480
+ value: UnpublishDataTrackResponse;
481
+ case: "unpublishDataTrackResponse";
482
+ } | {
483
+ /**
484
+ * Sent to data track subscribers to provide mapping from track SIDs to handles.
485
+ *
486
+ * @generated from field: livekit.DataTrackSubscriberHandles data_track_subscriber_handles = 29;
487
+ */
488
+ value: DataTrackSubscriberHandles;
489
+ case: "dataTrackSubscriberHandles";
442
490
  } | { case: undefined; value?: undefined };
443
491
 
444
492
  constructor(data?: PartialMessage<SignalResponse>);
@@ -618,6 +666,186 @@ export declare class AddTrackRequest extends Message<AddTrackRequest> {
618
666
  static equals(a: AddTrackRequest | PlainMessage<AddTrackRequest> | undefined, b: AddTrackRequest | PlainMessage<AddTrackRequest> | undefined): boolean;
619
667
  }
620
668
 
669
+ /**
670
+ * @generated from message livekit.PublishDataTrackRequest
671
+ */
672
+ export declare class PublishDataTrackRequest extends Message<PublishDataTrackRequest> {
673
+ /**
674
+ * Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
675
+ * This must be non-zero and unique for each data track published by the publisher.
676
+ *
677
+ * @generated from field: uint32 pub_handle = 1;
678
+ */
679
+ pubHandle: number;
680
+
681
+ /**
682
+ * Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
683
+ * This must be non-empty and no longer than 256 characters.
684
+ *
685
+ * @generated from field: string name = 2;
686
+ */
687
+ name: string;
688
+
689
+ /**
690
+ * Method used for end-to-end encryption (E2EE) on frame payloads.
691
+ *
692
+ * @generated from field: livekit.Encryption.Type encryption = 3;
693
+ */
694
+ encryption: Encryption_Type;
695
+
696
+ constructor(data?: PartialMessage<PublishDataTrackRequest>);
697
+
698
+ static readonly runtime: typeof proto3;
699
+ static readonly typeName = "livekit.PublishDataTrackRequest";
700
+ static readonly fields: FieldList;
701
+
702
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataTrackRequest;
703
+
704
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataTrackRequest;
705
+
706
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataTrackRequest;
707
+
708
+ static equals(a: PublishDataTrackRequest | PlainMessage<PublishDataTrackRequest> | undefined, b: PublishDataTrackRequest | PlainMessage<PublishDataTrackRequest> | undefined): boolean;
709
+ }
710
+
711
+ /**
712
+ * @generated from message livekit.PublishDataTrackResponse
713
+ */
714
+ export declare class PublishDataTrackResponse extends Message<PublishDataTrackResponse> {
715
+ /**
716
+ * Information about the published track.
717
+ *
718
+ * @generated from field: livekit.DataTrackInfo info = 1;
719
+ */
720
+ info?: DataTrackInfo;
721
+
722
+ constructor(data?: PartialMessage<PublishDataTrackResponse>);
723
+
724
+ static readonly runtime: typeof proto3;
725
+ static readonly typeName = "livekit.PublishDataTrackResponse";
726
+ static readonly fields: FieldList;
727
+
728
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataTrackResponse;
729
+
730
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataTrackResponse;
731
+
732
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataTrackResponse;
733
+
734
+ static equals(a: PublishDataTrackResponse | PlainMessage<PublishDataTrackResponse> | undefined, b: PublishDataTrackResponse | PlainMessage<PublishDataTrackResponse> | undefined): boolean;
735
+ }
736
+
737
+ /**
738
+ * @generated from message livekit.UnpublishDataTrackRequest
739
+ */
740
+ export declare class UnpublishDataTrackRequest extends Message<UnpublishDataTrackRequest> {
741
+ /**
742
+ * Publisher handle of the track to unpublish.
743
+ *
744
+ * @generated from field: uint32 pub_handle = 1;
745
+ */
746
+ pubHandle: number;
747
+
748
+ constructor(data?: PartialMessage<UnpublishDataTrackRequest>);
749
+
750
+ static readonly runtime: typeof proto3;
751
+ static readonly typeName = "livekit.UnpublishDataTrackRequest";
752
+ static readonly fields: FieldList;
753
+
754
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishDataTrackRequest;
755
+
756
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishDataTrackRequest;
757
+
758
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishDataTrackRequest;
759
+
760
+ static equals(a: UnpublishDataTrackRequest | PlainMessage<UnpublishDataTrackRequest> | undefined, b: UnpublishDataTrackRequest | PlainMessage<UnpublishDataTrackRequest> | undefined): boolean;
761
+ }
762
+
763
+ /**
764
+ * @generated from message livekit.UnpublishDataTrackResponse
765
+ */
766
+ export declare class UnpublishDataTrackResponse extends Message<UnpublishDataTrackResponse> {
767
+ /**
768
+ * Information about the unpublished track.
769
+ *
770
+ * @generated from field: livekit.DataTrackInfo info = 1;
771
+ */
772
+ info?: DataTrackInfo;
773
+
774
+ constructor(data?: PartialMessage<UnpublishDataTrackResponse>);
775
+
776
+ static readonly runtime: typeof proto3;
777
+ static readonly typeName = "livekit.UnpublishDataTrackResponse";
778
+ static readonly fields: FieldList;
779
+
780
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishDataTrackResponse;
781
+
782
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishDataTrackResponse;
783
+
784
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishDataTrackResponse;
785
+
786
+ static equals(a: UnpublishDataTrackResponse | PlainMessage<UnpublishDataTrackResponse> | undefined, b: UnpublishDataTrackResponse | PlainMessage<UnpublishDataTrackResponse> | undefined): boolean;
787
+ }
788
+
789
+ /**
790
+ * @generated from message livekit.DataTrackSubscriberHandles
791
+ */
792
+ export declare class DataTrackSubscriberHandles extends Message<DataTrackSubscriberHandles> {
793
+ /**
794
+ * Maps handles from incoming packets to the track SIDs that the packets belong to.
795
+ *
796
+ * @generated from field: map<uint32, livekit.DataTrackSubscriberHandles.PublishedDataTrack> sub_handles = 1;
797
+ */
798
+ subHandles: { [key: number]: DataTrackSubscriberHandles_PublishedDataTrack };
799
+
800
+ constructor(data?: PartialMessage<DataTrackSubscriberHandles>);
801
+
802
+ static readonly runtime: typeof proto3;
803
+ static readonly typeName = "livekit.DataTrackSubscriberHandles";
804
+ static readonly fields: FieldList;
805
+
806
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriberHandles;
807
+
808
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles;
809
+
810
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles;
811
+
812
+ static equals(a: DataTrackSubscriberHandles | PlainMessage<DataTrackSubscriberHandles> | undefined, b: DataTrackSubscriberHandles | PlainMessage<DataTrackSubscriberHandles> | undefined): boolean;
813
+ }
814
+
815
+ /**
816
+ * @generated from message livekit.DataTrackSubscriberHandles.PublishedDataTrack
817
+ */
818
+ export declare class DataTrackSubscriberHandles_PublishedDataTrack extends Message<DataTrackSubscriberHandles_PublishedDataTrack> {
819
+ /**
820
+ * @generated from field: string publisher_identity = 1;
821
+ */
822
+ publisherIdentity: string;
823
+
824
+ /**
825
+ * @generated from field: string publisher_sid = 2;
826
+ */
827
+ publisherSid: string;
828
+
829
+ /**
830
+ * @generated from field: string track_sid = 3;
831
+ */
832
+ trackSid: string;
833
+
834
+ constructor(data?: PartialMessage<DataTrackSubscriberHandles_PublishedDataTrack>);
835
+
836
+ static readonly runtime: typeof proto3;
837
+ static readonly typeName = "livekit.DataTrackSubscriberHandles.PublishedDataTrack";
838
+ static readonly fields: FieldList;
839
+
840
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
841
+
842
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
843
+
844
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
845
+
846
+ static equals(a: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage<DataTrackSubscriberHandles_PublishedDataTrack> | undefined, b: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage<DataTrackSubscriberHandles_PublishedDataTrack> | undefined): boolean;
847
+ }
848
+
621
849
  /**
622
850
  * @generated from message livekit.TrickleRequest
623
851
  */
@@ -981,6 +1209,67 @@ export declare class UpdateSubscription extends Message<UpdateSubscription> {
981
1209
  static equals(a: UpdateSubscription | PlainMessage<UpdateSubscription> | undefined, b: UpdateSubscription | PlainMessage<UpdateSubscription> | undefined): boolean;
982
1210
  }
983
1211
 
1212
+ /**
1213
+ * @generated from message livekit.UpdateDataSubscription
1214
+ */
1215
+ export declare class UpdateDataSubscription extends Message<UpdateDataSubscription> {
1216
+ /**
1217
+ * @generated from field: repeated livekit.UpdateDataSubscription.Update updates = 1;
1218
+ */
1219
+ updates: UpdateDataSubscription_Update[];
1220
+
1221
+ constructor(data?: PartialMessage<UpdateDataSubscription>);
1222
+
1223
+ static readonly runtime: typeof proto3;
1224
+ static readonly typeName = "livekit.UpdateDataSubscription";
1225
+ static readonly fields: FieldList;
1226
+
1227
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataSubscription;
1228
+
1229
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataSubscription;
1230
+
1231
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataSubscription;
1232
+
1233
+ static equals(a: UpdateDataSubscription | PlainMessage<UpdateDataSubscription> | undefined, b: UpdateDataSubscription | PlainMessage<UpdateDataSubscription> | undefined): boolean;
1234
+ }
1235
+
1236
+ /**
1237
+ * @generated from message livekit.UpdateDataSubscription.Update
1238
+ */
1239
+ export declare class UpdateDataSubscription_Update extends Message<UpdateDataSubscription_Update> {
1240
+ /**
1241
+ * @generated from field: string track_sid = 1;
1242
+ */
1243
+ trackSid: string;
1244
+
1245
+ /**
1246
+ * @generated from field: bool subscribe = 2;
1247
+ */
1248
+ subscribe: boolean;
1249
+
1250
+ /**
1251
+ * Options to apply when initially subscribing or updating an existing subscription.
1252
+ * When unsubscribing, this field is ignored.
1253
+ *
1254
+ * @generated from field: livekit.DataTrackSubscriptionOptions options = 3;
1255
+ */
1256
+ options?: DataTrackSubscriptionOptions;
1257
+
1258
+ constructor(data?: PartialMessage<UpdateDataSubscription_Update>);
1259
+
1260
+ static readonly runtime: typeof proto3;
1261
+ static readonly typeName = "livekit.UpdateDataSubscription.Update";
1262
+ static readonly fields: FieldList;
1263
+
1264
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataSubscription_Update;
1265
+
1266
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataSubscription_Update;
1267
+
1268
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataSubscription_Update;
1269
+
1270
+ static equals(a: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined, b: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined): boolean;
1271
+ }
1272
+
984
1273
  /**
985
1274
  * @generated from message livekit.UpdateTrackSettings
986
1275
  */
@@ -1773,6 +2062,11 @@ export declare class SyncState extends Message<SyncState> {
1773
2062
  */
1774
2063
  datachannelReceiveStates: DataChannelReceiveState[];
1775
2064
 
2065
+ /**
2066
+ * @generated from field: repeated livekit.PublishDataTrackResponse publish_data_tracks = 8;
2067
+ */
2068
+ publishDataTracks: PublishDataTrackResponse[];
2069
+
1776
2070
  constructor(data?: PartialMessage<SyncState>);
1777
2071
 
1778
2072
  static readonly runtime: typeof proto3;
@@ -2155,6 +2449,18 @@ export declare class RequestResponse extends Message<RequestResponse> {
2155
2449
  */
2156
2450
  value: UpdateLocalVideoTrack;
2157
2451
  case: "updateVideoTrack";
2452
+ } | {
2453
+ /**
2454
+ * @generated from field: livekit.PublishDataTrackRequest publish_data_track = 10;
2455
+ */
2456
+ value: PublishDataTrackRequest;
2457
+ case: "publishDataTrack";
2458
+ } | {
2459
+ /**
2460
+ * @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track = 11;
2461
+ */
2462
+ value: UnpublishDataTrackRequest;
2463
+ case: "unpublishDataTrack";
2158
2464
  } | { case: undefined; value?: undefined };
2159
2465
 
2160
2466
  constructor(data?: PartialMessage<RequestResponse>);
@@ -2210,6 +2516,26 @@ export declare enum RequestResponse_Reason {
2210
2516
  * @generated from enum value: UNCLASSIFIED_ERROR = 6;
2211
2517
  */
2212
2518
  UNCLASSIFIED_ERROR = 6,
2519
+
2520
+ /**
2521
+ * @generated from enum value: INVALID_HANDLE = 7;
2522
+ */
2523
+ INVALID_HANDLE = 7,
2524
+
2525
+ /**
2526
+ * @generated from enum value: INVALID_NAME = 8;
2527
+ */
2528
+ INVALID_NAME = 8,
2529
+
2530
+ /**
2531
+ * @generated from enum value: DUPLICATE_HANDLE = 9;
2532
+ */
2533
+ DUPLICATE_HANDLE = 9,
2534
+
2535
+ /**
2536
+ * @generated from enum value: DUPLICATE_NAME = 10;
2537
+ */
2538
+ DUPLICATE_NAME = 10,
2213
2539
  }
2214
2540
 
2215
2541
  /**
@@ -18,7 +18,7 @@
18
18
  // @ts-nocheck
19
19
 
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
- import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
21
+ import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
22
22
 
23
23
  /**
24
24
  * @generated from enum livekit.SignalTarget
@@ -77,6 +77,9 @@ export const SignalRequest = /*@__PURE__*/ proto3.makeMessageType(
77
77
  { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" },
78
78
  { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" },
79
79
  { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
80
+ { no: 19, name: "publish_data_track_request", kind: "message", T: PublishDataTrackRequest, oneof: "message" },
81
+ { no: 20, name: "unpublish_data_track_request", kind: "message", T: UnpublishDataTrackRequest, oneof: "message" },
82
+ { no: 21, name: "update_data_subscription", kind: "message", T: UpdateDataSubscription, oneof: "message" },
80
83
  ],
81
84
  );
82
85
 
@@ -111,6 +114,9 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
111
114
  { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
112
115
  { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
113
116
  { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
117
+ { no: 27, name: "publish_data_track_response", kind: "message", T: PublishDataTrackResponse, oneof: "message" },
118
+ { no: 28, name: "unpublish_data_track_response", kind: "message", T: UnpublishDataTrackResponse, oneof: "message" },
119
+ { no: 29, name: "data_track_subscriber_handles", kind: "message", T: DataTrackSubscriberHandles, oneof: "message" },
114
120
  ],
115
121
  );
116
122
 
@@ -153,6 +159,71 @@ export const AddTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
153
159
  ],
154
160
  );
155
161
 
162
+ /**
163
+ * @generated from message livekit.PublishDataTrackRequest
164
+ */
165
+ export const PublishDataTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
166
+ "livekit.PublishDataTrackRequest",
167
+ () => [
168
+ { no: 1, name: "pub_handle", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
169
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
170
+ { no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
171
+ ],
172
+ );
173
+
174
+ /**
175
+ * @generated from message livekit.PublishDataTrackResponse
176
+ */
177
+ export const PublishDataTrackResponse = /*@__PURE__*/ proto3.makeMessageType(
178
+ "livekit.PublishDataTrackResponse",
179
+ () => [
180
+ { no: 1, name: "info", kind: "message", T: DataTrackInfo },
181
+ ],
182
+ );
183
+
184
+ /**
185
+ * @generated from message livekit.UnpublishDataTrackRequest
186
+ */
187
+ export const UnpublishDataTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
188
+ "livekit.UnpublishDataTrackRequest",
189
+ () => [
190
+ { no: 1, name: "pub_handle", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
191
+ ],
192
+ );
193
+
194
+ /**
195
+ * @generated from message livekit.UnpublishDataTrackResponse
196
+ */
197
+ export const UnpublishDataTrackResponse = /*@__PURE__*/ proto3.makeMessageType(
198
+ "livekit.UnpublishDataTrackResponse",
199
+ () => [
200
+ { no: 1, name: "info", kind: "message", T: DataTrackInfo },
201
+ ],
202
+ );
203
+
204
+ /**
205
+ * @generated from message livekit.DataTrackSubscriberHandles
206
+ */
207
+ export const DataTrackSubscriberHandles = /*@__PURE__*/ proto3.makeMessageType(
208
+ "livekit.DataTrackSubscriberHandles",
209
+ () => [
210
+ { no: 1, name: "sub_handles", kind: "map", K: 13 /* ScalarType.UINT32 */, V: {kind: "message", T: DataTrackSubscriberHandles_PublishedDataTrack} },
211
+ ],
212
+ );
213
+
214
+ /**
215
+ * @generated from message livekit.DataTrackSubscriberHandles.PublishedDataTrack
216
+ */
217
+ export const DataTrackSubscriberHandles_PublishedDataTrack = /*@__PURE__*/ proto3.makeMessageType(
218
+ "livekit.DataTrackSubscriberHandles.PublishedDataTrack",
219
+ () => [
220
+ { no: 1, name: "publisher_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
221
+ { no: 2, name: "publisher_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
222
+ { no: 3, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
223
+ ],
224
+ {localName: "DataTrackSubscriberHandles_PublishedDataTrack"},
225
+ );
226
+
156
227
  /**
157
228
  * @generated from message livekit.TrickleRequest
158
229
  */
@@ -269,6 +340,29 @@ export const UpdateSubscription = /*@__PURE__*/ proto3.makeMessageType(
269
340
  ],
270
341
  );
271
342
 
343
+ /**
344
+ * @generated from message livekit.UpdateDataSubscription
345
+ */
346
+ export const UpdateDataSubscription = /*@__PURE__*/ proto3.makeMessageType(
347
+ "livekit.UpdateDataSubscription",
348
+ () => [
349
+ { no: 1, name: "updates", kind: "message", T: UpdateDataSubscription_Update, repeated: true },
350
+ ],
351
+ );
352
+
353
+ /**
354
+ * @generated from message livekit.UpdateDataSubscription.Update
355
+ */
356
+ export const UpdateDataSubscription_Update = /*@__PURE__*/ proto3.makeMessageType(
357
+ "livekit.UpdateDataSubscription.Update",
358
+ () => [
359
+ { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
360
+ { no: 2, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
361
+ { no: 3, name: "options", kind: "message", T: DataTrackSubscriptionOptions },
362
+ ],
363
+ {localName: "UpdateDataSubscription_Update"},
364
+ );
365
+
272
366
  /**
273
367
  * @generated from message livekit.UpdateTrackSettings
274
368
  */
@@ -545,6 +639,7 @@ export const SyncState = /*@__PURE__*/ proto3.makeMessageType(
545
639
  { no: 5, name: "offer", kind: "message", T: SessionDescription },
546
640
  { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
547
641
  { no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true },
642
+ { no: 8, name: "publish_data_tracks", kind: "message", T: PublishDataTrackResponse, repeated: true },
548
643
  ],
549
644
  );
550
645
 
@@ -659,6 +754,8 @@ export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType(
659
754
  { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
660
755
  { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
661
756
  { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" },
757
+ { no: 10, name: "publish_data_track", kind: "message", T: PublishDataTrackRequest, oneof: "request" },
758
+ { no: 11, name: "unpublish_data_track", kind: "message", T: UnpublishDataTrackRequest, oneof: "request" },
662
759
  ],
663
760
  );
664
761
 
@@ -675,6 +772,10 @@ export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
675
772
  {no: 4, name: "QUEUED"},
676
773
  {no: 5, name: "UNSUPPORTED_TYPE"},
677
774
  {no: 6, name: "UNCLASSIFIED_ERROR"},
775
+ {no: 7, name: "INVALID_HANDLE"},
776
+ {no: 8, name: "INVALID_NAME"},
777
+ {no: 9, name: "DUPLICATE_HANDLE"},
778
+ {no: 10, name: "DUPLICATE_NAME"},
678
779
  ],
679
780
  );
680
781
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.43.2';
2
+ export const version = '1.43.4';