@livekit/protocol 1.36.1 → 1.37.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
@@ -241,7 +241,8 @@ const DisconnectReason = /* @__PURE__ */ proto3.makeEnum(
241
241
  { no: 10, name: "ROOM_CLOSED" },
242
242
  { no: 11, name: "USER_UNAVAILABLE" },
243
243
  { no: 12, name: "USER_REJECTED" },
244
- { no: 13, name: "SIP_TRUNK_FAILURE" }
244
+ { no: 13, name: "SIP_TRUNK_FAILURE" },
245
+ { no: 14, name: "CONNECTION_TIMEOUT" }
245
246
  ]
246
247
  );
247
248
  const ReconnectReason = /* @__PURE__ */ proto3.makeEnum(
@@ -1253,7 +1254,8 @@ const ClientInfo_SDK = /* @__PURE__ */ proto3.makeEnum(
1253
1254
  { no: 9, name: "PYTHON" },
1254
1255
  { no: 10, name: "CPP" },
1255
1256
  { no: 11, name: "UNITY_WEB" },
1256
- { no: 12, name: "NODE" }
1257
+ { no: 12, name: "NODE" },
1258
+ { no: 13, name: "UNREAL" }
1257
1259
  ]
1258
1260
  );
1259
1261
  const ClientConfiguration = /* @__PURE__ */ proto3.makeMessageType(
@@ -1968,6 +1970,25 @@ const DataStream_Trailer = /* @__PURE__ */ proto3.makeMessageType(
1968
1970
  ],
1969
1971
  { localName: "DataStream_Trailer" }
1970
1972
  );
1973
+ const WebhookConfig = /* @__PURE__ */ proto3.makeMessageType(
1974
+ "livekit.WebhookConfig",
1975
+ () => [
1976
+ {
1977
+ no: 1,
1978
+ name: "url",
1979
+ kind: "scalar",
1980
+ T: 9
1981
+ /* ScalarType.STRING */
1982
+ },
1983
+ {
1984
+ no: 2,
1985
+ name: "signing_key",
1986
+ kind: "scalar",
1987
+ T: 9
1988
+ /* ScalarType.STRING */
1989
+ }
1990
+ ]
1991
+ );
1971
1992
 
1972
1993
  const JobType = /* @__PURE__ */ proto3.makeEnum(
1973
1994
  "livekit.JobType",
@@ -2489,7 +2510,8 @@ const ImageFileSuffix = /* @__PURE__ */ proto3.makeEnum(
2489
2510
  "livekit.ImageFileSuffix",
2490
2511
  [
2491
2512
  { no: 0, name: "IMAGE_SUFFIX_INDEX" },
2492
- { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" }
2513
+ { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" },
2514
+ { no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE" }
2493
2515
  ]
2494
2516
  );
2495
2517
  const StreamProtocol = /* @__PURE__ */ proto3.makeEnum(
@@ -2587,7 +2609,8 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2587
2609
  { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2588
2610
  { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2589
2611
  { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2590
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
2612
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
2613
+ { no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
2591
2614
  ]
2592
2615
  );
2593
2616
  const WebEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2629,7 +2652,8 @@ const WebEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2629
2652
  { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2630
2653
  { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2631
2654
  { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2632
- { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
2655
+ { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
2656
+ { no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
2633
2657
  ]
2634
2658
  );
2635
2659
  const ParticipantEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2661,7 +2685,8 @@ const ParticipantEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2661
2685
  { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2662
2686
  { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2663
2687
  { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2664
- { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
2688
+ { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
2689
+ { no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
2665
2690
  ]
2666
2691
  );
2667
2692
  const TrackCompositeEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2696,7 +2721,8 @@ const TrackCompositeEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2696
2721
  { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2697
2722
  { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2698
2723
  { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2699
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
2724
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
2725
+ { no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
2700
2726
  ]
2701
2727
  );
2702
2728
  const TrackEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2717,7 +2743,8 @@ const TrackEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2717
2743
  /* ScalarType.STRING */
2718
2744
  },
2719
2745
  { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
2720
- { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" }
2746
+ { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" },
2747
+ { no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
2721
2748
  ]
2722
2749
  );
2723
2750
  const EncodedFileOutput = /* @__PURE__ */ proto3.makeMessageType(
@@ -5637,7 +5664,8 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5637
5664
  { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5638
5665
  { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5639
5666
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5640
- { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
5667
+ { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
5668
+ { no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true }
5641
5669
  ]
5642
5670
  );
5643
5671
  const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -5735,7 +5763,8 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5735
5763
  { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5736
5764
  { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5737
5765
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5738
- { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
5766
+ { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
5767
+ { no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true }
5739
5768
  ]
5740
5769
  );
5741
5770
  const GetSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -6023,7 +6052,8 @@ const SIPDispatchRuleUpdate = /* @__PURE__ */ proto3.makeMessageType(
6023
6052
  kind: "scalar",
6024
6053
  T: 9
6025
6054
  /* ScalarType.STRING */
6026
- } }
6055
+ } },
6056
+ { no: 6, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true }
6027
6057
  ]
6028
6058
  );
6029
6059
  const ListSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -6268,7 +6298,8 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ proto3.makeMessageType(
6268
6298
  kind: "scalar",
6269
6299
  T: 9
6270
6300
  /* ScalarType.STRING */
6271
- } }
6301
+ } },
6302
+ { no: 6, name: "ringing_timeout", kind: "message", T: Duration }
6272
6303
  ]
6273
6304
  );
6274
6305
  const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -6474,7 +6505,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6474
6505
  ]
6475
6506
  );
6476
6507
 
6477
- const version = "1.36.1";
6508
+ const version = "1.37.0";
6478
6509
 
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 };
6510
+ 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, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
6480
6511
  //# sourceMappingURL=index.mjs.map