@livekit/protocol 1.35.0 → 1.36.1

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
@@ -176,8 +176,9 @@ const ImageCodec = /* @__PURE__ */ proto3.makeEnum(
176
176
  const BackupCodecPolicy = /* @__PURE__ */ proto3.makeEnum(
177
177
  "livekit.BackupCodecPolicy",
178
178
  [
179
- { no: 0, name: "REGRESSION" },
180
- { no: 1, name: "SIMULCAST" }
179
+ { no: 0, name: "PREFER_REGRESSION" },
180
+ { no: 1, name: "SIMULCAST" },
181
+ { no: 2, name: "REGRESSION" }
181
182
  ]
182
183
  );
183
184
  const TrackType = /* @__PURE__ */ proto3.makeEnum(
@@ -291,6 +292,12 @@ const Pagination = /* @__PURE__ */ proto3.makeMessageType(
291
292
  }
292
293
  ]
293
294
  );
295
+ const ListUpdate = /* @__PURE__ */ proto3.makeMessageType(
296
+ "livekit.ListUpdate",
297
+ () => [
298
+ { no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
299
+ ]
300
+ );
294
301
  const Room = /* @__PURE__ */ proto3.makeMessageType(
295
302
  "livekit.Room",
296
303
  () => [
@@ -564,7 +571,8 @@ const ParticipantInfo = /* @__PURE__ */ proto3.makeMessageType(
564
571
  T: 9
565
572
  /* ScalarType.STRING */
566
573
  } },
567
- { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }
574
+ { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
575
+ { no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true }
568
576
  ]
569
577
  );
570
578
  const ParticipantInfo_State = /* @__PURE__ */ proto3.makeEnum(
@@ -583,8 +591,14 @@ const ParticipantInfo_Kind = /* @__PURE__ */ proto3.makeEnum(
583
591
  { no: 1, name: "INGRESS" },
584
592
  { no: 2, name: "EGRESS" },
585
593
  { no: 3, name: "SIP" },
586
- { no: 4, name: "AGENT" },
587
- { no: 5, name: "FORWARDED" }
594
+ { no: 4, name: "AGENT" }
595
+ ]
596
+ );
597
+ const ParticipantInfo_KindDetail = /* @__PURE__ */ proto3.makeEnum(
598
+ "livekit.ParticipantInfo.KindDetail",
599
+ [
600
+ { no: 0, name: "CLOUD_AGENT" },
601
+ { no: 1, name: "FORWARDED" }
588
602
  ]
589
603
  );
590
604
  const Encryption = /* @__PURE__ */ proto3.makeMessageType(
@@ -5531,6 +5545,20 @@ const CreateSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5531
5545
  { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }
5532
5546
  ]
5533
5547
  );
5548
+ const UpdateSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5549
+ "livekit.UpdateSIPInboundTrunkRequest",
5550
+ () => [
5551
+ {
5552
+ no: 1,
5553
+ name: "sip_trunk_id",
5554
+ kind: "scalar",
5555
+ T: 9
5556
+ /* ScalarType.STRING */
5557
+ },
5558
+ { no: 2, name: "replace", kind: "message", T: SIPInboundTrunkInfo, oneof: "action" },
5559
+ { no: 3, name: "update", kind: "message", T: SIPInboundTrunkUpdate, oneof: "action" }
5560
+ ]
5561
+ );
5534
5562
  const SIPInboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5535
5563
  "livekit.SIPInboundTrunkInfo",
5536
5564
  () => [
@@ -5600,12 +5628,38 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5600
5628
  { no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }
5601
5629
  ]
5602
5630
  );
5631
+ const SIPInboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5632
+ "livekit.SIPInboundTrunkUpdate",
5633
+ () => [
5634
+ { no: 1, name: "numbers", kind: "message", T: ListUpdate },
5635
+ { no: 2, name: "allowed_addresses", kind: "message", T: ListUpdate },
5636
+ { no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
5637
+ { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5638
+ { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5639
+ { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5640
+ { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
5641
+ ]
5642
+ );
5603
5643
  const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5604
5644
  "livekit.CreateSIPOutboundTrunkRequest",
5605
5645
  () => [
5606
5646
  { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }
5607
5647
  ]
5608
5648
  );
5649
+ const UpdateSIPOutboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5650
+ "livekit.UpdateSIPOutboundTrunkRequest",
5651
+ () => [
5652
+ {
5653
+ no: 1,
5654
+ name: "sip_trunk_id",
5655
+ kind: "scalar",
5656
+ T: 9
5657
+ /* ScalarType.STRING */
5658
+ },
5659
+ { no: 2, name: "replace", kind: "message", T: SIPOutboundTrunkInfo, oneof: "action" },
5660
+ { no: 3, name: "update", kind: "message", T: SIPOutboundTrunkUpdate, oneof: "action" }
5661
+ ]
5662
+ );
5609
5663
  const SIPOutboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5610
5664
  "livekit.SIPOutboundTrunkInfo",
5611
5665
  () => [
@@ -5672,6 +5726,18 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5672
5726
  { no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }
5673
5727
  ]
5674
5728
  );
5729
+ const SIPOutboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5730
+ "livekit.SIPOutboundTrunkUpdate",
5731
+ () => [
5732
+ { no: 1, name: "address", kind: "scalar", T: 9, opt: true },
5733
+ { no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport), opt: true },
5734
+ { no: 3, name: "numbers", kind: "message", T: ListUpdate },
5735
+ { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5736
+ { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5737
+ { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5738
+ { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
5739
+ ]
5740
+ );
5675
5741
  const GetSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5676
5742
  "livekit.GetSIPInboundTrunkRequest",
5677
5743
  () => [
@@ -5835,6 +5901,7 @@ const SIPDispatchRule = /* @__PURE__ */ proto3.makeMessageType(
5835
5901
  const CreateSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5836
5902
  "livekit.CreateSIPDispatchRuleRequest",
5837
5903
  () => [
5904
+ { no: 10, name: "dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
5838
5905
  { no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
5839
5906
  { no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
5840
5907
  {
@@ -5874,6 +5941,20 @@ const CreateSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5874
5941
  { no: 9, name: "room_config", kind: "message", T: RoomConfiguration }
5875
5942
  ]
5876
5943
  );
5944
+ const UpdateSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5945
+ "livekit.UpdateSIPDispatchRuleRequest",
5946
+ () => [
5947
+ {
5948
+ no: 1,
5949
+ name: "sip_dispatch_rule_id",
5950
+ kind: "scalar",
5951
+ T: 9
5952
+ /* ScalarType.STRING */
5953
+ },
5954
+ { no: 2, name: "replace", kind: "message", T: SIPDispatchRuleInfo, oneof: "action" },
5955
+ { no: 3, name: "update", kind: "message", T: SIPDispatchRuleUpdate, oneof: "action" }
5956
+ ]
5957
+ );
5877
5958
  const SIPDispatchRuleInfo = /* @__PURE__ */ proto3.makeMessageType(
5878
5959
  "livekit.SIPDispatchRuleInfo",
5879
5960
  () => [
@@ -5931,6 +6012,20 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ proto3.makeMessageType(
5931
6012
  { no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }
5932
6013
  ]
5933
6014
  );
6015
+ const SIPDispatchRuleUpdate = /* @__PURE__ */ proto3.makeMessageType(
6016
+ "livekit.SIPDispatchRuleUpdate",
6017
+ () => [
6018
+ { no: 1, name: "trunk_ids", kind: "message", T: ListUpdate },
6019
+ { no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
6020
+ { no: 3, name: "name", kind: "scalar", T: 9, opt: true },
6021
+ { no: 4, name: "metadata", kind: "scalar", T: 9, opt: true },
6022
+ { no: 5, name: "attributes", kind: "map", K: 9, V: {
6023
+ kind: "scalar",
6024
+ T: 9
6025
+ /* ScalarType.STRING */
6026
+ } }
6027
+ ]
6028
+ );
5934
6029
  const ListSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5935
6030
  "livekit.ListSIPDispatchRuleRequest",
5936
6031
  () => [
@@ -6379,7 +6474,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6379
6474
  ]
6380
6475
  );
6381
6476
 
6382
- const version = "1.35.0";
6477
+ const version = "1.36.1";
6383
6478
 
6384
- 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, 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, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, 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, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPParticipantInfo, SIPStatus, SIPStatusCode, 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, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
6479
+ 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, 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, 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, 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, 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, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
6385
6480
  //# sourceMappingURL=index.mjs.map