@livekit/protocol 1.40.0 → 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/dist/index.d.ts CHANGED
@@ -844,6 +844,30 @@ declare class Pagination extends Message<Pagination> {
844
844
  static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
845
845
  }
846
846
 
847
+ /**
848
+ * @generated from message livekit.TokenPagination
849
+ */
850
+ declare class TokenPagination extends Message<TokenPagination> {
851
+ /**
852
+ * @generated from field: string token = 1;
853
+ */
854
+ token: string;
855
+
856
+ constructor(data?: PartialMessage<TokenPagination>);
857
+
858
+ static readonly runtime: typeof proto3;
859
+ static readonly typeName = "livekit.TokenPagination";
860
+ static readonly fields: FieldList;
861
+
862
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPagination;
863
+
864
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPagination;
865
+
866
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPagination;
867
+
868
+ static equals(a: TokenPagination | PlainMessage<TokenPagination> | undefined, b: TokenPagination | PlainMessage<TokenPagination> | undefined): boolean;
869
+ }
870
+
847
871
  /**
848
872
  * ListUpdate is used for updated APIs where 'repeated string' field is modified.
849
873
  *
@@ -1748,6 +1772,12 @@ declare class DataPacket extends Message<DataPacket> {
1748
1772
  */
1749
1773
  value: DataStream_Trailer;
1750
1774
  case: "streamTrailer";
1775
+ } | {
1776
+ /**
1777
+ * @generated from field: livekit.EncryptedPacket encrypted_packet = 18;
1778
+ */
1779
+ value: EncryptedPacket;
1780
+ case: "encryptedPacket";
1751
1781
  } | { case: undefined; value?: undefined };
1752
1782
 
1753
1783
  /**
@@ -1794,6 +1824,119 @@ declare enum DataPacket_Kind {
1794
1824
  LOSSY = 1,
1795
1825
  }
1796
1826
 
1827
+ /**
1828
+ * @generated from message livekit.EncryptedPacket
1829
+ */
1830
+ declare class EncryptedPacket extends Message<EncryptedPacket> {
1831
+ /**
1832
+ * @generated from field: livekit.Encryption.Type encryption_type = 1;
1833
+ */
1834
+ encryptionType: Encryption_Type;
1835
+
1836
+ /**
1837
+ * @generated from field: bytes iv = 2;
1838
+ */
1839
+ iv: Uint8Array;
1840
+
1841
+ /**
1842
+ * @generated from field: uint32 key_index = 3;
1843
+ */
1844
+ keyIndex: number;
1845
+
1846
+ /**
1847
+ * This is an encrypted EncryptedPacketPayload message representation
1848
+ *
1849
+ * @generated from field: bytes encrypted_value = 4;
1850
+ */
1851
+ encryptedValue: Uint8Array;
1852
+
1853
+ constructor(data?: PartialMessage<EncryptedPacket>);
1854
+
1855
+ static readonly runtime: typeof proto3;
1856
+ static readonly typeName = "livekit.EncryptedPacket";
1857
+ static readonly fields: FieldList;
1858
+
1859
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacket;
1860
+
1861
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacket;
1862
+
1863
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacket;
1864
+
1865
+ static equals(a: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined, b: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined): boolean;
1866
+ }
1867
+
1868
+ /**
1869
+ * @generated from message livekit.EncryptedPacketPayload
1870
+ */
1871
+ declare class EncryptedPacketPayload extends Message<EncryptedPacketPayload> {
1872
+ /**
1873
+ * @generated from oneof livekit.EncryptedPacketPayload.value
1874
+ */
1875
+ value: {
1876
+ /**
1877
+ * @generated from field: livekit.UserPacket user = 1;
1878
+ */
1879
+ value: UserPacket;
1880
+ case: "user";
1881
+ } | {
1882
+ /**
1883
+ * @generated from field: livekit.ChatMessage chat_message = 3;
1884
+ */
1885
+ value: ChatMessage;
1886
+ case: "chatMessage";
1887
+ } | {
1888
+ /**
1889
+ * @generated from field: livekit.RpcRequest rpc_request = 4;
1890
+ */
1891
+ value: RpcRequest;
1892
+ case: "rpcRequest";
1893
+ } | {
1894
+ /**
1895
+ * @generated from field: livekit.RpcAck rpc_ack = 5;
1896
+ */
1897
+ value: RpcAck;
1898
+ case: "rpcAck";
1899
+ } | {
1900
+ /**
1901
+ * @generated from field: livekit.RpcResponse rpc_response = 6;
1902
+ */
1903
+ value: RpcResponse;
1904
+ case: "rpcResponse";
1905
+ } | {
1906
+ /**
1907
+ * @generated from field: livekit.DataStream.Header stream_header = 7;
1908
+ */
1909
+ value: DataStream_Header;
1910
+ case: "streamHeader";
1911
+ } | {
1912
+ /**
1913
+ * @generated from field: livekit.DataStream.Chunk stream_chunk = 8;
1914
+ */
1915
+ value: DataStream_Chunk;
1916
+ case: "streamChunk";
1917
+ } | {
1918
+ /**
1919
+ * @generated from field: livekit.DataStream.Trailer stream_trailer = 9;
1920
+ */
1921
+ value: DataStream_Trailer;
1922
+ case: "streamTrailer";
1923
+ } | { case: undefined; value?: undefined };
1924
+
1925
+ constructor(data?: PartialMessage<EncryptedPacketPayload>);
1926
+
1927
+ static readonly runtime: typeof proto3;
1928
+ static readonly typeName = "livekit.EncryptedPacketPayload";
1929
+ static readonly fields: FieldList;
1930
+
1931
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacketPayload;
1932
+
1933
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
1934
+
1935
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
1936
+
1937
+ static equals(a: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined, b: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined): boolean;
1938
+ }
1939
+
1797
1940
  /**
1798
1941
  * @generated from message livekit.ActiveSpeakerUpdate
1799
1942
  * @deprecated
@@ -1906,7 +2049,7 @@ declare class UserPacket extends Message<UserPacket> {
1906
2049
  topic?: string;
1907
2050
 
1908
2051
  /**
1909
- * Unique ID to indentify the message
2052
+ * Unique ID to identify the message
1910
2053
  *
1911
2054
  * @generated from field: optional string id = 8;
1912
2055
  */
@@ -3355,9 +3498,10 @@ declare class DataStream_Header extends Message<DataStream_Header> {
3355
3498
  totalLength?: bigint;
3356
3499
 
3357
3500
  /**
3358
- * defaults to NONE
3501
+ * this is set on the DataPacket
3359
3502
  *
3360
- * @generated from field: livekit.Encryption.Type encryption_type = 7;
3503
+ * @generated from field: livekit.Encryption.Type encryption_type = 7 [deprecated = true];
3504
+ * @deprecated
3361
3505
  */
3362
3506
  encryptionType: Encryption_Type;
3363
3507
 
@@ -3433,9 +3577,10 @@ declare class DataStream_Chunk extends Message<DataStream_Chunk> {
3433
3577
  version: number;
3434
3578
 
3435
3579
  /**
3436
- * optional, initialization vector for AES-GCM encryption
3580
+ * this is set on the DataPacket
3437
3581
  *
3438
- * @generated from field: optional bytes iv = 5;
3582
+ * @generated from field: optional bytes iv = 5 [deprecated = true];
3583
+ * @deprecated
3439
3584
  */
3440
3585
  iv?: Uint8Array;
3441
3586
 
@@ -8855,6 +9000,14 @@ declare class SignalResponse extends Message<SignalResponse> {
8855
9000
  */
8856
9001
  value: RoomMovedResponse;
8857
9002
  case: "roomMoved";
9003
+ } | {
9004
+ /**
9005
+ * notify number of required media sections to satisfy subscribed tracks
9006
+ *
9007
+ * @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25;
9008
+ */
9009
+ value: MediaSectionsRequirement;
9010
+ case: "mediaSectionsRequirement";
8858
9011
  } | { case: undefined; value?: undefined };
8859
9012
 
8860
9013
  constructor(data?: PartialMessage<SignalResponse>);
@@ -10113,7 +10266,9 @@ declare class RoomMovedResponse extends Message<RoomMovedResponse> {
10113
10266
  */
10114
10267
  declare class SyncState extends Message<SyncState> {
10115
10268
  /**
10116
- * last subscribe answer before reconnecting
10269
+ * last subscribe/publish answer before reconnecting
10270
+ * subscribe answer if using dual peer connection
10271
+ * publish answer if using single peer connection
10117
10272
  *
10118
10273
  * @generated from field: livekit.SessionDescription answer = 1;
10119
10274
  */
@@ -10135,7 +10290,9 @@ declare class SyncState extends Message<SyncState> {
10135
10290
  dataChannels: DataChannelInfo[];
10136
10291
 
10137
10292
  /**
10138
- * last received server side offer before reconnecting
10293
+ * last received server side offer/sent client side offer before reconnecting
10294
+ * received server side offer if using dual peer connection
10295
+ * sent client side offer if using single peer connection
10139
10296
  *
10140
10297
  * @generated from field: livekit.SessionDescription offer = 5;
10141
10298
  */
@@ -10718,6 +10875,35 @@ declare enum WrappedJoinRequest_Compression {
10718
10875
  GZIP = 1,
10719
10876
  }
10720
10877
 
10878
+ /**
10879
+ * @generated from message livekit.MediaSectionsRequirement
10880
+ */
10881
+ declare class MediaSectionsRequirement extends Message<MediaSectionsRequirement> {
10882
+ /**
10883
+ * @generated from field: uint32 num_audios = 1;
10884
+ */
10885
+ numAudios: number;
10886
+
10887
+ /**
10888
+ * @generated from field: uint32 num_videos = 2;
10889
+ */
10890
+ numVideos: number;
10891
+
10892
+ constructor(data?: PartialMessage<MediaSectionsRequirement>);
10893
+
10894
+ static readonly runtime: typeof proto3;
10895
+ static readonly typeName = "livekit.MediaSectionsRequirement";
10896
+ static readonly fields: FieldList;
10897
+
10898
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSectionsRequirement;
10899
+
10900
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
10901
+
10902
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
10903
+
10904
+ static equals(a: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined, b: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined): boolean;
10905
+ }
10906
+
10721
10907
  // Copyright 2023 LiveKit, Inc.
10722
10908
  //
10723
10909
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -13428,4 +13614,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
13428
13614
 
13429
13615
  declare const version: string;
13430
13616
 
13431
- export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, 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, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, 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, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, 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, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, 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, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
13617
+ export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, 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, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, 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, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, 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, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, 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, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
package/dist/index.mjs CHANGED
@@ -295,6 +295,18 @@ const Pagination = /* @__PURE__ */ proto3.makeMessageType(
295
295
  }
296
296
  ]
297
297
  );
298
+ const TokenPagination = /* @__PURE__ */ proto3.makeMessageType(
299
+ "livekit.TokenPagination",
300
+ () => [
301
+ {
302
+ no: 1,
303
+ name: "token",
304
+ kind: "scalar",
305
+ T: 9
306
+ /* ScalarType.STRING */
307
+ }
308
+ ]
309
+ );
298
310
  const ListUpdate = /* @__PURE__ */ proto3.makeMessageType(
299
311
  "livekit.ListUpdate",
300
312
  () => [
@@ -837,6 +849,7 @@ const DataPacket = /* @__PURE__ */ proto3.makeMessageType(
837
849
  { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
838
850
  { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
839
851
  { no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" },
852
+ { no: 18, name: "encrypted_packet", kind: "message", T: EncryptedPacket, oneof: "value" },
840
853
  {
841
854
  no: 16,
842
855
  name: "sequence",
@@ -860,6 +873,46 @@ const DataPacket_Kind = /* @__PURE__ */ proto3.makeEnum(
860
873
  { no: 1, name: "LOSSY" }
861
874
  ]
862
875
  );
876
+ const EncryptedPacket = /* @__PURE__ */ proto3.makeMessageType(
877
+ "livekit.EncryptedPacket",
878
+ () => [
879
+ { no: 1, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
880
+ {
881
+ no: 2,
882
+ name: "iv",
883
+ kind: "scalar",
884
+ T: 12
885
+ /* ScalarType.BYTES */
886
+ },
887
+ {
888
+ no: 3,
889
+ name: "key_index",
890
+ kind: "scalar",
891
+ T: 13
892
+ /* ScalarType.UINT32 */
893
+ },
894
+ {
895
+ no: 4,
896
+ name: "encrypted_value",
897
+ kind: "scalar",
898
+ T: 12
899
+ /* ScalarType.BYTES */
900
+ }
901
+ ]
902
+ );
903
+ const EncryptedPacketPayload = /* @__PURE__ */ proto3.makeMessageType(
904
+ "livekit.EncryptedPacketPayload",
905
+ () => [
906
+ { no: 1, name: "user", kind: "message", T: UserPacket, oneof: "value" },
907
+ { no: 3, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
908
+ { no: 4, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
909
+ { no: 5, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
910
+ { no: 6, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
911
+ { no: 7, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
912
+ { no: 8, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
913
+ { no: 9, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" }
914
+ ]
915
+ );
863
916
  const ActiveSpeakerUpdate = /* @__PURE__ */ proto3.makeMessageType(
864
917
  "livekit.ActiveSpeakerUpdate",
865
918
  () => [
@@ -4644,7 +4697,8 @@ const SignalResponse = /* @__PURE__ */ proto3.makeMessageType(
4644
4697
  { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
4645
4698
  { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
4646
4699
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
4647
- { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" }
4700
+ { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
4701
+ { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" }
4648
4702
  ]
4649
4703
  );
4650
4704
  const SimulcastCodec = /* @__PURE__ */ proto3.makeMessageType(
@@ -5569,6 +5623,25 @@ const WrappedJoinRequest_Compression = /* @__PURE__ */ proto3.makeEnum(
5569
5623
  { no: 1, name: "GZIP" }
5570
5624
  ]
5571
5625
  );
5626
+ const MediaSectionsRequirement = /* @__PURE__ */ proto3.makeMessageType(
5627
+ "livekit.MediaSectionsRequirement",
5628
+ () => [
5629
+ {
5630
+ no: 1,
5631
+ name: "num_audios",
5632
+ kind: "scalar",
5633
+ T: 13
5634
+ /* ScalarType.UINT32 */
5635
+ },
5636
+ {
5637
+ no: 2,
5638
+ name: "num_videos",
5639
+ kind: "scalar",
5640
+ T: 13
5641
+ /* ScalarType.UINT32 */
5642
+ }
5643
+ ]
5644
+ );
5572
5645
 
5573
5646
  const SIPStatusCode = /* @__PURE__ */ proto3.makeEnum(
5574
5647
  "livekit.SIPStatusCode",
@@ -6843,7 +6916,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6843
6916
  ]
6844
6917
  );
6845
6918
 
6846
- const version = "1.40.0";
6919
+ const version = "1.41.0";
6847
6920
 
6848
- export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, 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, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, 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, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, 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, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, 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, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
6921
+ export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, 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, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, 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, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, 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, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, 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, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
6849
6922
  //# sourceMappingURL=index.mjs.map