@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.
package/dist/index.d.ts CHANGED
@@ -801,6 +801,11 @@ declare class MetricsRecordingHeader extends Message<MetricsRecordingHeader> {
801
801
  */
802
802
  startTime?: Timestamp;
803
803
 
804
+ /**
805
+ * @generated from field: map<string, string> room_tags = 5;
806
+ */
807
+ roomTags: { [key: string]: string };
808
+
804
809
  constructor(data?: PartialMessage<MetricsRecordingHeader>);
805
810
 
806
811
  static readonly runtime: typeof proto3;
@@ -981,6 +986,21 @@ declare enum TrackSource {
981
986
  SCREEN_SHARE_AUDIO = 4,
982
987
  }
983
988
 
989
+ /**
990
+ * @generated from enum livekit.DataTrackExtensionID
991
+ */
992
+ declare enum DataTrackExtensionID {
993
+ /**
994
+ * @generated from enum value: DTEI_INVALID = 0;
995
+ */
996
+ DTEI_INVALID = 0,
997
+
998
+ /**
999
+ * @generated from enum value: DTEI_PARTICIPANT_SID = 1;
1000
+ */
1001
+ DTEI_PARTICIPANT_SID = 1,
1002
+ }
1003
+
984
1004
  /**
985
1005
  * @generated from enum livekit.VideoQuality
986
1006
  */
@@ -1691,6 +1711,11 @@ declare class ParticipantInfo extends Message<ParticipantInfo> {
1691
1711
  */
1692
1712
  kindDetails: ParticipantInfo_KindDetail[];
1693
1713
 
1714
+ /**
1715
+ * @generated from field: repeated livekit.DataTrackInfo data_tracks = 19;
1716
+ */
1717
+ dataTracks: DataTrackInfo[];
1718
+
1694
1719
  constructor(data?: PartialMessage<ParticipantInfo>);
1695
1720
 
1696
1721
  static readonly runtime: typeof proto3;
@@ -2052,6 +2077,109 @@ declare class TrackInfo extends Message<TrackInfo> {
2052
2077
  static equals(a: TrackInfo | PlainMessage<TrackInfo> | undefined, b: TrackInfo | PlainMessage<TrackInfo> | undefined): boolean;
2053
2078
  }
2054
2079
 
2080
+ /**
2081
+ * @generated from message livekit.DataTrackInfo
2082
+ */
2083
+ declare class DataTrackInfo extends Message<DataTrackInfo> {
2084
+ /**
2085
+ * Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
2086
+ *
2087
+ * @generated from field: uint32 pub_handle = 1;
2088
+ */
2089
+ pubHandle: number;
2090
+
2091
+ /**
2092
+ * Server-assigned track identifier.
2093
+ *
2094
+ * @generated from field: string sid = 2;
2095
+ */
2096
+ sid: string;
2097
+
2098
+ /**
2099
+ * Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
2100
+ *
2101
+ * @generated from field: string name = 3;
2102
+ */
2103
+ name: string;
2104
+
2105
+ /**
2106
+ * Method used for end-to-end encryption (E2EE) on packet payloads.
2107
+ *
2108
+ * @generated from field: livekit.Encryption.Type encryption = 4;
2109
+ */
2110
+ encryption: Encryption_Type;
2111
+
2112
+ constructor(data?: PartialMessage<DataTrackInfo>);
2113
+
2114
+ static readonly runtime: typeof proto3;
2115
+ static readonly typeName = "livekit.DataTrackInfo";
2116
+ static readonly fields: FieldList;
2117
+
2118
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackInfo;
2119
+
2120
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackInfo;
2121
+
2122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackInfo;
2123
+
2124
+ static equals(a: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined, b: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined): boolean;
2125
+ }
2126
+
2127
+ /**
2128
+ * @generated from message livekit.DataTrackExtensionParticipantSid
2129
+ */
2130
+ declare class DataTrackExtensionParticipantSid extends Message<DataTrackExtensionParticipantSid> {
2131
+ /**
2132
+ * @generated from field: livekit.DataTrackExtensionID id = 1;
2133
+ */
2134
+ id: DataTrackExtensionID;
2135
+
2136
+ /**
2137
+ * @generated from field: string participant_sid = 2;
2138
+ */
2139
+ participantSid: string;
2140
+
2141
+ constructor(data?: PartialMessage<DataTrackExtensionParticipantSid>);
2142
+
2143
+ static readonly runtime: typeof proto3;
2144
+ static readonly typeName = "livekit.DataTrackExtensionParticipantSid";
2145
+ static readonly fields: FieldList;
2146
+
2147
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackExtensionParticipantSid;
2148
+
2149
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackExtensionParticipantSid;
2150
+
2151
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackExtensionParticipantSid;
2152
+
2153
+ static equals(a: DataTrackExtensionParticipantSid | PlainMessage<DataTrackExtensionParticipantSid> | undefined, b: DataTrackExtensionParticipantSid | PlainMessage<DataTrackExtensionParticipantSid> | undefined): boolean;
2154
+ }
2155
+
2156
+ /**
2157
+ * @generated from message livekit.DataTrackSubscriptionOptions
2158
+ */
2159
+ declare class DataTrackSubscriptionOptions extends Message<DataTrackSubscriptionOptions> {
2160
+ /**
2161
+ * Rate in frames per second (FPS) the subscriber wants to receive frames at.
2162
+ * If omitted, the subscriber defaults to the publisher's fps
2163
+ *
2164
+ * @generated from field: optional uint32 target_fps = 1;
2165
+ */
2166
+ targetFps?: number;
2167
+
2168
+ constructor(data?: PartialMessage<DataTrackSubscriptionOptions>);
2169
+
2170
+ static readonly runtime: typeof proto3;
2171
+ static readonly typeName = "livekit.DataTrackSubscriptionOptions";
2172
+ static readonly fields: FieldList;
2173
+
2174
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriptionOptions;
2175
+
2176
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriptionOptions;
2177
+
2178
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriptionOptions;
2179
+
2180
+ static equals(a: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined, b: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined): boolean;
2181
+ }
2182
+
2055
2183
  /**
2056
2184
  * provide information about available spatial layers
2057
2185
  *
@@ -5587,6 +5715,30 @@ declare class SignalRequest extends Message<SignalRequest> {
5587
5715
  */
5588
5716
  value: UpdateLocalVideoTrack;
5589
5717
  case: "updateVideoTrack";
5718
+ } | {
5719
+ /**
5720
+ * Publish a data track
5721
+ *
5722
+ * @generated from field: livekit.PublishDataTrackRequest publish_data_track_request = 19;
5723
+ */
5724
+ value: PublishDataTrackRequest;
5725
+ case: "publishDataTrackRequest";
5726
+ } | {
5727
+ /**
5728
+ * Unpublish a data track
5729
+ *
5730
+ * @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track_request = 20;
5731
+ */
5732
+ value: UnpublishDataTrackRequest;
5733
+ case: "unpublishDataTrackRequest";
5734
+ } | {
5735
+ /**
5736
+ * Update subscription state for one or more data tracks
5737
+ *
5738
+ * @generated from field: livekit.UpdateDataSubscription update_data_subscription = 21;
5739
+ */
5740
+ value: UpdateDataSubscription;
5741
+ case: "updateDataSubscription";
5590
5742
  } | { case: undefined; value?: undefined };
5591
5743
 
5592
5744
  constructor(data?: PartialMessage<SignalRequest>);
@@ -5814,6 +5966,30 @@ declare class SignalResponse extends Message<SignalResponse> {
5814
5966
  */
5815
5967
  value: SubscribedAudioCodecUpdate;
5816
5968
  case: "subscribedAudioCodecUpdate";
5969
+ } | {
5970
+ /**
5971
+ * Sent in response to `PublishDataTrackRequest`.
5972
+ *
5973
+ * @generated from field: livekit.PublishDataTrackResponse publish_data_track_response = 27;
5974
+ */
5975
+ value: PublishDataTrackResponse;
5976
+ case: "publishDataTrackResponse";
5977
+ } | {
5978
+ /**
5979
+ * Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish.
5980
+ *
5981
+ * @generated from field: livekit.UnpublishDataTrackResponse unpublish_data_track_response = 28;
5982
+ */
5983
+ value: UnpublishDataTrackResponse;
5984
+ case: "unpublishDataTrackResponse";
5985
+ } | {
5986
+ /**
5987
+ * Sent to data track subscribers to provide mapping from track SIDs to handles.
5988
+ *
5989
+ * @generated from field: livekit.DataTrackSubscriberHandles data_track_subscriber_handles = 29;
5990
+ */
5991
+ value: DataTrackSubscriberHandles;
5992
+ case: "dataTrackSubscriberHandles";
5817
5993
  } | { case: undefined; value?: undefined };
5818
5994
 
5819
5995
  constructor(data?: PartialMessage<SignalResponse>);
@@ -5993,6 +6169,186 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
5993
6169
  static equals(a: AddTrackRequest | PlainMessage<AddTrackRequest> | undefined, b: AddTrackRequest | PlainMessage<AddTrackRequest> | undefined): boolean;
5994
6170
  }
5995
6171
 
6172
+ /**
6173
+ * @generated from message livekit.PublishDataTrackRequest
6174
+ */
6175
+ declare class PublishDataTrackRequest extends Message<PublishDataTrackRequest> {
6176
+ /**
6177
+ * Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
6178
+ * This must be non-zero and unique for each data track published by the publisher.
6179
+ *
6180
+ * @generated from field: uint32 pub_handle = 1;
6181
+ */
6182
+ pubHandle: number;
6183
+
6184
+ /**
6185
+ * Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
6186
+ * This must be non-empty and no longer than 256 characters.
6187
+ *
6188
+ * @generated from field: string name = 2;
6189
+ */
6190
+ name: string;
6191
+
6192
+ /**
6193
+ * Method used for end-to-end encryption (E2EE) on frame payloads.
6194
+ *
6195
+ * @generated from field: livekit.Encryption.Type encryption = 3;
6196
+ */
6197
+ encryption: Encryption_Type;
6198
+
6199
+ constructor(data?: PartialMessage<PublishDataTrackRequest>);
6200
+
6201
+ static readonly runtime: typeof proto3;
6202
+ static readonly typeName = "livekit.PublishDataTrackRequest";
6203
+ static readonly fields: FieldList;
6204
+
6205
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataTrackRequest;
6206
+
6207
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataTrackRequest;
6208
+
6209
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataTrackRequest;
6210
+
6211
+ static equals(a: PublishDataTrackRequest | PlainMessage<PublishDataTrackRequest> | undefined, b: PublishDataTrackRequest | PlainMessage<PublishDataTrackRequest> | undefined): boolean;
6212
+ }
6213
+
6214
+ /**
6215
+ * @generated from message livekit.PublishDataTrackResponse
6216
+ */
6217
+ declare class PublishDataTrackResponse extends Message<PublishDataTrackResponse> {
6218
+ /**
6219
+ * Information about the published track.
6220
+ *
6221
+ * @generated from field: livekit.DataTrackInfo info = 1;
6222
+ */
6223
+ info?: DataTrackInfo;
6224
+
6225
+ constructor(data?: PartialMessage<PublishDataTrackResponse>);
6226
+
6227
+ static readonly runtime: typeof proto3;
6228
+ static readonly typeName = "livekit.PublishDataTrackResponse";
6229
+ static readonly fields: FieldList;
6230
+
6231
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataTrackResponse;
6232
+
6233
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataTrackResponse;
6234
+
6235
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataTrackResponse;
6236
+
6237
+ static equals(a: PublishDataTrackResponse | PlainMessage<PublishDataTrackResponse> | undefined, b: PublishDataTrackResponse | PlainMessage<PublishDataTrackResponse> | undefined): boolean;
6238
+ }
6239
+
6240
+ /**
6241
+ * @generated from message livekit.UnpublishDataTrackRequest
6242
+ */
6243
+ declare class UnpublishDataTrackRequest extends Message<UnpublishDataTrackRequest> {
6244
+ /**
6245
+ * Publisher handle of the track to unpublish.
6246
+ *
6247
+ * @generated from field: uint32 pub_handle = 1;
6248
+ */
6249
+ pubHandle: number;
6250
+
6251
+ constructor(data?: PartialMessage<UnpublishDataTrackRequest>);
6252
+
6253
+ static readonly runtime: typeof proto3;
6254
+ static readonly typeName = "livekit.UnpublishDataTrackRequest";
6255
+ static readonly fields: FieldList;
6256
+
6257
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishDataTrackRequest;
6258
+
6259
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishDataTrackRequest;
6260
+
6261
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishDataTrackRequest;
6262
+
6263
+ static equals(a: UnpublishDataTrackRequest | PlainMessage<UnpublishDataTrackRequest> | undefined, b: UnpublishDataTrackRequest | PlainMessage<UnpublishDataTrackRequest> | undefined): boolean;
6264
+ }
6265
+
6266
+ /**
6267
+ * @generated from message livekit.UnpublishDataTrackResponse
6268
+ */
6269
+ declare class UnpublishDataTrackResponse extends Message<UnpublishDataTrackResponse> {
6270
+ /**
6271
+ * Information about the unpublished track.
6272
+ *
6273
+ * @generated from field: livekit.DataTrackInfo info = 1;
6274
+ */
6275
+ info?: DataTrackInfo;
6276
+
6277
+ constructor(data?: PartialMessage<UnpublishDataTrackResponse>);
6278
+
6279
+ static readonly runtime: typeof proto3;
6280
+ static readonly typeName = "livekit.UnpublishDataTrackResponse";
6281
+ static readonly fields: FieldList;
6282
+
6283
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishDataTrackResponse;
6284
+
6285
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishDataTrackResponse;
6286
+
6287
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishDataTrackResponse;
6288
+
6289
+ static equals(a: UnpublishDataTrackResponse | PlainMessage<UnpublishDataTrackResponse> | undefined, b: UnpublishDataTrackResponse | PlainMessage<UnpublishDataTrackResponse> | undefined): boolean;
6290
+ }
6291
+
6292
+ /**
6293
+ * @generated from message livekit.DataTrackSubscriberHandles
6294
+ */
6295
+ declare class DataTrackSubscriberHandles extends Message<DataTrackSubscriberHandles> {
6296
+ /**
6297
+ * Maps handles from incoming packets to the track SIDs that the packets belong to.
6298
+ *
6299
+ * @generated from field: map<uint32, livekit.DataTrackSubscriberHandles.PublishedDataTrack> sub_handles = 1;
6300
+ */
6301
+ subHandles: { [key: number]: DataTrackSubscriberHandles_PublishedDataTrack };
6302
+
6303
+ constructor(data?: PartialMessage<DataTrackSubscriberHandles>);
6304
+
6305
+ static readonly runtime: typeof proto3;
6306
+ static readonly typeName = "livekit.DataTrackSubscriberHandles";
6307
+ static readonly fields: FieldList;
6308
+
6309
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriberHandles;
6310
+
6311
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles;
6312
+
6313
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles;
6314
+
6315
+ static equals(a: DataTrackSubscriberHandles | PlainMessage<DataTrackSubscriberHandles> | undefined, b: DataTrackSubscriberHandles | PlainMessage<DataTrackSubscriberHandles> | undefined): boolean;
6316
+ }
6317
+
6318
+ /**
6319
+ * @generated from message livekit.DataTrackSubscriberHandles.PublishedDataTrack
6320
+ */
6321
+ declare class DataTrackSubscriberHandles_PublishedDataTrack extends Message<DataTrackSubscriberHandles_PublishedDataTrack> {
6322
+ /**
6323
+ * @generated from field: string publisher_identity = 1;
6324
+ */
6325
+ publisherIdentity: string;
6326
+
6327
+ /**
6328
+ * @generated from field: string publisher_sid = 2;
6329
+ */
6330
+ publisherSid: string;
6331
+
6332
+ /**
6333
+ * @generated from field: string track_sid = 3;
6334
+ */
6335
+ trackSid: string;
6336
+
6337
+ constructor(data?: PartialMessage<DataTrackSubscriberHandles_PublishedDataTrack>);
6338
+
6339
+ static readonly runtime: typeof proto3;
6340
+ static readonly typeName = "livekit.DataTrackSubscriberHandles.PublishedDataTrack";
6341
+ static readonly fields: FieldList;
6342
+
6343
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
6344
+
6345
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
6346
+
6347
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
6348
+
6349
+ static equals(a: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage<DataTrackSubscriberHandles_PublishedDataTrack> | undefined, b: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage<DataTrackSubscriberHandles_PublishedDataTrack> | undefined): boolean;
6350
+ }
6351
+
5996
6352
  /**
5997
6353
  * @generated from message livekit.TrickleRequest
5998
6354
  */
@@ -6356,6 +6712,67 @@ declare class UpdateSubscription extends Message<UpdateSubscription> {
6356
6712
  static equals(a: UpdateSubscription | PlainMessage<UpdateSubscription> | undefined, b: UpdateSubscription | PlainMessage<UpdateSubscription> | undefined): boolean;
6357
6713
  }
6358
6714
 
6715
+ /**
6716
+ * @generated from message livekit.UpdateDataSubscription
6717
+ */
6718
+ declare class UpdateDataSubscription extends Message<UpdateDataSubscription> {
6719
+ /**
6720
+ * @generated from field: repeated livekit.UpdateDataSubscription.Update updates = 1;
6721
+ */
6722
+ updates: UpdateDataSubscription_Update[];
6723
+
6724
+ constructor(data?: PartialMessage<UpdateDataSubscription>);
6725
+
6726
+ static readonly runtime: typeof proto3;
6727
+ static readonly typeName = "livekit.UpdateDataSubscription";
6728
+ static readonly fields: FieldList;
6729
+
6730
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataSubscription;
6731
+
6732
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataSubscription;
6733
+
6734
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataSubscription;
6735
+
6736
+ static equals(a: UpdateDataSubscription | PlainMessage<UpdateDataSubscription> | undefined, b: UpdateDataSubscription | PlainMessage<UpdateDataSubscription> | undefined): boolean;
6737
+ }
6738
+
6739
+ /**
6740
+ * @generated from message livekit.UpdateDataSubscription.Update
6741
+ */
6742
+ declare class UpdateDataSubscription_Update extends Message<UpdateDataSubscription_Update> {
6743
+ /**
6744
+ * @generated from field: string track_sid = 1;
6745
+ */
6746
+ trackSid: string;
6747
+
6748
+ /**
6749
+ * @generated from field: bool subscribe = 2;
6750
+ */
6751
+ subscribe: boolean;
6752
+
6753
+ /**
6754
+ * Options to apply when initially subscribing or updating an existing subscription.
6755
+ * When unsubscribing, this field is ignored.
6756
+ *
6757
+ * @generated from field: livekit.DataTrackSubscriptionOptions options = 3;
6758
+ */
6759
+ options?: DataTrackSubscriptionOptions;
6760
+
6761
+ constructor(data?: PartialMessage<UpdateDataSubscription_Update>);
6762
+
6763
+ static readonly runtime: typeof proto3;
6764
+ static readonly typeName = "livekit.UpdateDataSubscription.Update";
6765
+ static readonly fields: FieldList;
6766
+
6767
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataSubscription_Update;
6768
+
6769
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataSubscription_Update;
6770
+
6771
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataSubscription_Update;
6772
+
6773
+ static equals(a: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined, b: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined): boolean;
6774
+ }
6775
+
6359
6776
  /**
6360
6777
  * @generated from message livekit.UpdateTrackSettings
6361
6778
  */
@@ -7148,6 +7565,11 @@ declare class SyncState extends Message<SyncState> {
7148
7565
  */
7149
7566
  datachannelReceiveStates: DataChannelReceiveState[];
7150
7567
 
7568
+ /**
7569
+ * @generated from field: repeated livekit.PublishDataTrackResponse publish_data_tracks = 8;
7570
+ */
7571
+ publishDataTracks: PublishDataTrackResponse[];
7572
+
7151
7573
  constructor(data?: PartialMessage<SyncState>);
7152
7574
 
7153
7575
  static readonly runtime: typeof proto3;
@@ -7530,6 +7952,18 @@ declare class RequestResponse extends Message<RequestResponse> {
7530
7952
  */
7531
7953
  value: UpdateLocalVideoTrack;
7532
7954
  case: "updateVideoTrack";
7955
+ } | {
7956
+ /**
7957
+ * @generated from field: livekit.PublishDataTrackRequest publish_data_track = 10;
7958
+ */
7959
+ value: PublishDataTrackRequest;
7960
+ case: "publishDataTrack";
7961
+ } | {
7962
+ /**
7963
+ * @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track = 11;
7964
+ */
7965
+ value: UnpublishDataTrackRequest;
7966
+ case: "unpublishDataTrack";
7533
7967
  } | { case: undefined; value?: undefined };
7534
7968
 
7535
7969
  constructor(data?: PartialMessage<RequestResponse>);
@@ -7585,6 +8019,26 @@ declare enum RequestResponse_Reason {
7585
8019
  * @generated from enum value: UNCLASSIFIED_ERROR = 6;
7586
8020
  */
7587
8021
  UNCLASSIFIED_ERROR = 6,
8022
+
8023
+ /**
8024
+ * @generated from enum value: INVALID_HANDLE = 7;
8025
+ */
8026
+ INVALID_HANDLE = 7,
8027
+
8028
+ /**
8029
+ * @generated from enum value: INVALID_NAME = 8;
8030
+ */
8031
+ INVALID_NAME = 8,
8032
+
8033
+ /**
8034
+ * @generated from enum value: DUPLICATE_HANDLE = 9;
8035
+ */
8036
+ DUPLICATE_HANDLE = 9,
8037
+
8038
+ /**
8039
+ * @generated from enum value: DUPLICATE_NAME = 10;
8040
+ */
8041
+ DUPLICATE_NAME = 10,
7588
8042
  }
7589
8043
 
7590
8044
  /**
@@ -15323,4 +15777,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
15323
15777
 
15324
15778
  declare const version: string;
15325
15779
 
15326
- export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
15780
+ export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };