@livekit/protocol 1.39.2 → 1.40.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.mjs CHANGED
@@ -298,7 +298,16 @@ const Pagination = /* @__PURE__ */ proto3.makeMessageType(
298
298
  const ListUpdate = /* @__PURE__ */ proto3.makeMessageType(
299
299
  "livekit.ListUpdate",
300
300
  () => [
301
- { no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
301
+ { no: 1, name: "set", kind: "scalar", T: 9, repeated: true },
302
+ { no: 2, name: "add", kind: "scalar", T: 9, repeated: true },
303
+ { no: 3, name: "del", kind: "scalar", T: 9, repeated: true },
304
+ {
305
+ no: 4,
306
+ name: "clear",
307
+ kind: "scalar",
308
+ T: 8
309
+ /* ScalarType.BOOL */
310
+ }
302
311
  ]
303
312
  );
304
313
  const Room = /* @__PURE__ */ proto3.makeMessageType(
@@ -640,7 +649,15 @@ const SimulcastCodecInfo = /* @__PURE__ */ proto3.makeMessageType(
640
649
  T: 9
641
650
  /* ScalarType.STRING */
642
651
  },
643
- { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }
652
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
653
+ { no: 5, name: "video_layer_mode", kind: "enum", T: proto3.getEnumType(VideoLayer_Mode) },
654
+ {
655
+ no: 6,
656
+ name: "sdp_cid",
657
+ kind: "scalar",
658
+ T: 9
659
+ /* ScalarType.STRING */
660
+ }
644
661
  ]
645
662
  );
646
663
  const TrackInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -771,9 +788,31 @@ const VideoLayer = /* @__PURE__ */ proto3.makeMessageType(
771
788
  kind: "scalar",
772
789
  T: 13
773
790
  /* ScalarType.UINT32 */
791
+ },
792
+ {
793
+ no: 6,
794
+ name: "spatial_layer",
795
+ kind: "scalar",
796
+ T: 5
797
+ /* ScalarType.INT32 */
798
+ },
799
+ {
800
+ no: 7,
801
+ name: "rid",
802
+ kind: "scalar",
803
+ T: 9
804
+ /* ScalarType.STRING */
774
805
  }
775
806
  ]
776
807
  );
808
+ const VideoLayer_Mode = /* @__PURE__ */ proto3.makeEnum(
809
+ "livekit.VideoLayer.Mode",
810
+ [
811
+ { no: 0, name: "MODE_UNUSED" },
812
+ { no: 1, name: "ONE_SPATIAL_LAYER_PER_STREAM" },
813
+ { no: 2, name: "MULTIPLE_SPATIAL_LAYERS_PER_STREAM" }
814
+ ]
815
+ );
777
816
  const DataPacket = /* @__PURE__ */ proto3.makeMessageType(
778
817
  "livekit.DataPacket",
779
818
  () => [
@@ -1271,7 +1310,8 @@ const ClientInfo_SDK = /* @__PURE__ */ proto3.makeEnum(
1271
1310
  { no: 10, name: "CPP" },
1272
1311
  { no: 11, name: "UNITY_WEB" },
1273
1312
  { no: 12, name: "NODE" },
1274
- { no: 13, name: "UNREAL" }
1313
+ { no: 13, name: "UNREAL" },
1314
+ { no: 14, name: "ESP32" }
1275
1315
  ]
1276
1316
  );
1277
1317
  const ClientConfiguration = /* @__PURE__ */ proto3.makeMessageType(
@@ -2112,6 +2152,20 @@ const JobState = /* @__PURE__ */ proto3.makeMessageType(
2112
2152
  kind: "scalar",
2113
2153
  T: 9
2114
2154
  /* ScalarType.STRING */
2155
+ },
2156
+ {
2157
+ no: 7,
2158
+ name: "worker_id",
2159
+ kind: "scalar",
2160
+ T: 9
2161
+ /* ScalarType.STRING */
2162
+ },
2163
+ {
2164
+ no: 8,
2165
+ name: "agent_id",
2166
+ kind: "scalar",
2167
+ T: 9
2168
+ /* ScalarType.STRING */
2115
2169
  }
2116
2170
  ]
2117
2171
  );
@@ -2933,6 +2987,20 @@ const S3Upload = /* @__PURE__ */ proto3.makeMessageType(
2933
2987
  T: 9
2934
2988
  /* ScalarType.STRING */
2935
2989
  },
2990
+ {
2991
+ no: 12,
2992
+ name: "assume_role_arn",
2993
+ kind: "scalar",
2994
+ T: 9
2995
+ /* ScalarType.STRING */
2996
+ },
2997
+ {
2998
+ no: 13,
2999
+ name: "assume_role_external_id",
3000
+ kind: "scalar",
3001
+ T: 9
3002
+ /* ScalarType.STRING */
3003
+ },
2936
3004
  {
2937
3005
  no: 3,
2938
3006
  name: "region",
@@ -4414,6 +4482,13 @@ const RoomConfiguration = /* @__PURE__ */ proto3.makeMessageType(
4414
4482
  T: 13
4415
4483
  /* ScalarType.UINT32 */
4416
4484
  },
4485
+ {
4486
+ no: 11,
4487
+ name: "metadata",
4488
+ kind: "scalar",
4489
+ T: 9
4490
+ /* ScalarType.STRING */
4491
+ },
4417
4492
  { no: 5, name: "egress", kind: "message", T: RoomEgress },
4418
4493
  {
4419
4494
  no: 7,
@@ -4588,7 +4663,9 @@ const SimulcastCodec = /* @__PURE__ */ proto3.makeMessageType(
4588
4663
  kind: "scalar",
4589
4664
  T: 9
4590
4665
  /* ScalarType.STRING */
4591
- }
4666
+ },
4667
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
4668
+ { no: 5, name: "video_layer_mode", kind: "enum", T: proto3.getEnumType(VideoLayer_Mode) }
4592
4669
  ]
4593
4670
  );
4594
4671
  const AddTrackRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -5408,6 +5485,90 @@ const TrackSubscribed = /* @__PURE__ */ proto3.makeMessageType(
5408
5485
  }
5409
5486
  ]
5410
5487
  );
5488
+ const ConnectionSettings = /* @__PURE__ */ proto3.makeMessageType(
5489
+ "livekit.ConnectionSettings",
5490
+ () => [
5491
+ {
5492
+ no: 1,
5493
+ name: "auto_subscribe",
5494
+ kind: "scalar",
5495
+ T: 8
5496
+ /* ScalarType.BOOL */
5497
+ },
5498
+ {
5499
+ no: 2,
5500
+ name: "adaptive_stream",
5501
+ kind: "scalar",
5502
+ T: 8
5503
+ /* ScalarType.BOOL */
5504
+ },
5505
+ { no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true },
5506
+ {
5507
+ no: 4,
5508
+ name: "disable_ice_lite",
5509
+ kind: "scalar",
5510
+ T: 8
5511
+ /* ScalarType.BOOL */
5512
+ }
5513
+ ]
5514
+ );
5515
+ const JoinRequest = /* @__PURE__ */ proto3.makeMessageType(
5516
+ "livekit.JoinRequest",
5517
+ () => [
5518
+ { no: 1, name: "client_info", kind: "message", T: ClientInfo },
5519
+ { no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
5520
+ {
5521
+ no: 3,
5522
+ name: "metadata",
5523
+ kind: "scalar",
5524
+ T: 9
5525
+ /* ScalarType.STRING */
5526
+ },
5527
+ { no: 4, name: "participant_attributes", kind: "map", K: 9, V: {
5528
+ kind: "scalar",
5529
+ T: 9
5530
+ /* ScalarType.STRING */
5531
+ } },
5532
+ { no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
5533
+ { no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
5534
+ {
5535
+ no: 7,
5536
+ name: "reconnect",
5537
+ kind: "scalar",
5538
+ T: 8
5539
+ /* ScalarType.BOOL */
5540
+ },
5541
+ { no: 8, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
5542
+ {
5543
+ no: 9,
5544
+ name: "participant_sid",
5545
+ kind: "scalar",
5546
+ T: 9
5547
+ /* ScalarType.STRING */
5548
+ },
5549
+ { no: 10, name: "sync_state", kind: "message", T: SyncState }
5550
+ ]
5551
+ );
5552
+ const WrappedJoinRequest = /* @__PURE__ */ proto3.makeMessageType(
5553
+ "livekit.WrappedJoinRequest",
5554
+ () => [
5555
+ { no: 1, name: "compression", kind: "enum", T: proto3.getEnumType(WrappedJoinRequest_Compression) },
5556
+ {
5557
+ no: 2,
5558
+ name: "join_request",
5559
+ kind: "scalar",
5560
+ T: 12
5561
+ /* ScalarType.BYTES */
5562
+ }
5563
+ ]
5564
+ );
5565
+ const WrappedJoinRequest_Compression = /* @__PURE__ */ proto3.makeEnum(
5566
+ "livekit.WrappedJoinRequest.Compression",
5567
+ [
5568
+ { no: 0, name: "NONE" },
5569
+ { no: 1, name: "GZIP" }
5570
+ ]
5571
+ );
5411
5572
 
5412
5573
  const SIPStatusCode = /* @__PURE__ */ proto3.makeEnum(
5413
5574
  "livekit.SIPStatusCode",
@@ -6682,7 +6843,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6682
6843
  ]
6683
6844
  );
6684
6845
 
6685
- const version = "1.39.2";
6846
+ const version = "1.40.0";
6686
6847
 
6687
- 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, 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, 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, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
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 };
6688
6849
  //# sourceMappingURL=index.mjs.map