@livekit/protocol 1.36.0 → 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.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration } from '@bufbuild/protobuf';
2
2
  export { protoInt64 } from '@bufbuild/protobuf';
3
3
 
4
- // @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js"
4
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
5
5
  // @generated from file livekit_metrics.proto (package livekit, syntax proto3)
6
6
  /* eslint-disable */
7
7
  // @ts-nocheck
@@ -464,11 +464,12 @@ declare enum ImageCodec {
464
464
  */
465
465
  declare enum BackupCodecPolicy {
466
466
  /**
467
- * default behavior, regress to backup codec and all subscribers will receive the backup codec
467
+ * default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec,
468
+ * the sfu will try to regress codec if possible but not assured.
468
469
  *
469
- * @generated from enum value: REGRESSION = 0;
470
+ * @generated from enum value: PREFER_REGRESSION = 0;
470
471
  */
471
- REGRESSION = 0,
472
+ PREFER_REGRESSION = 0,
472
473
 
473
474
  /**
474
475
  * encoding/send the primary and backup codec simultaneously
@@ -476,6 +477,13 @@ declare enum BackupCodecPolicy {
476
477
  * @generated from enum value: SIMULCAST = 1;
477
478
  */
478
479
  SIMULCAST = 1,
480
+
481
+ /**
482
+ * force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power
483
+ *
484
+ * @generated from enum value: REGRESSION = 2;
485
+ */
486
+ REGRESSION = 2,
479
487
  }
480
488
 
481
489
  /**
@@ -697,6 +705,13 @@ declare enum DisconnectReason {
697
705
  * @generated from enum value: SIP_TRUNK_FAILURE = 13;
698
706
  */
699
707
  SIP_TRUNK_FAILURE = 13,
708
+
709
+ /**
710
+ * server timed out a participant session
711
+ *
712
+ * @generated from enum value: CONNECTION_TIMEOUT = 14;
713
+ */
714
+ CONNECTION_TIMEOUT = 14,
700
715
  }
701
716
 
702
717
  /**
@@ -2389,6 +2404,11 @@ declare enum ClientInfo_SDK {
2389
2404
  * @generated from enum value: NODE = 12;
2390
2405
  */
2391
2406
  NODE = 12,
2407
+
2408
+ /**
2409
+ * @generated from enum value: UNREAL = 13;
2410
+ */
2411
+ UNREAL = 13,
2392
2412
  }
2393
2413
 
2394
2414
  /**
@@ -3360,6 +3380,35 @@ declare class DataStream_Trailer extends Message<DataStream_Trailer> {
3360
3380
  static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
3361
3381
  }
3362
3382
 
3383
+ /**
3384
+ * @generated from message livekit.WebhookConfig
3385
+ */
3386
+ declare class WebhookConfig extends Message<WebhookConfig> {
3387
+ /**
3388
+ * @generated from field: string url = 1;
3389
+ */
3390
+ url: string;
3391
+
3392
+ /**
3393
+ * @generated from field: string signing_key = 2;
3394
+ */
3395
+ signingKey: string;
3396
+
3397
+ constructor(data?: PartialMessage<WebhookConfig>);
3398
+
3399
+ static readonly runtime: typeof proto3;
3400
+ static readonly typeName = "livekit.WebhookConfig";
3401
+ static readonly fields: FieldList;
3402
+
3403
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookConfig;
3404
+
3405
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookConfig;
3406
+
3407
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookConfig;
3408
+
3409
+ static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
3410
+ }
3411
+
3363
3412
  // Copyright 2023 LiveKit, Inc.
3364
3413
  //
3365
3414
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -4426,6 +4475,13 @@ declare enum ImageFileSuffix {
4426
4475
  * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;
4427
4476
  */
4428
4477
  IMAGE_SUFFIX_TIMESTAMP = 1,
4478
+
4479
+ /**
4480
+ * Do not append any suffix and overwrite the existing image with the latest
4481
+ *
4482
+ * @generated from enum value: IMAGE_SUFFIX_NONE_OVERWRITE = 2;
4483
+ */
4484
+ IMAGE_SUFFIX_NONE_OVERWRITE = 2,
4429
4485
  }
4430
4486
 
4431
4487
  /**
@@ -4709,6 +4765,13 @@ declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgressRequ
4709
4765
  */
4710
4766
  imageOutputs: ImageOutput[];
4711
4767
 
4768
+ /**
4769
+ * extra webhooks to call for this request
4770
+ *
4771
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 16;
4772
+ */
4773
+ webhooks: WebhookConfig[];
4774
+
4712
4775
  constructor(data?: PartialMessage<RoomCompositeEgressRequest>);
4713
4776
 
4714
4777
  static readonly runtime: typeof proto3;
@@ -4815,6 +4878,13 @@ declare class WebEgressRequest extends Message<WebEgressRequest> {
4815
4878
  */
4816
4879
  imageOutputs: ImageOutput[];
4817
4880
 
4881
+ /**
4882
+ * extra webhooks to call for this request
4883
+ *
4884
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 14;
4885
+ */
4886
+ webhooks: WebhookConfig[];
4887
+
4818
4888
  constructor(data?: PartialMessage<WebEgressRequest>);
4819
4889
 
4820
4890
  static readonly runtime: typeof proto3;
@@ -4898,6 +4968,13 @@ declare class ParticipantEgressRequest extends Message<ParticipantEgressRequest>
4898
4968
  */
4899
4969
  imageOutputs: ImageOutput[];
4900
4970
 
4971
+ /**
4972
+ * extra webhooks to call for this request
4973
+ *
4974
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 10;
4975
+ */
4976
+ webhooks: WebhookConfig[];
4977
+
4901
4978
  constructor(data?: PartialMessage<ParticipantEgressRequest>);
4902
4979
 
4903
4980
  static readonly runtime: typeof proto3;
@@ -5009,6 +5086,13 @@ declare class TrackCompositeEgressRequest extends Message<TrackCompositeEgressRe
5009
5086
  */
5010
5087
  imageOutputs: ImageOutput[];
5011
5088
 
5089
+ /**
5090
+ * extra webhooks to call for this request
5091
+ *
5092
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 15;
5093
+ */
5094
+ webhooks: WebhookConfig[];
5095
+
5012
5096
  constructor(data?: PartialMessage<TrackCompositeEgressRequest>);
5013
5097
 
5014
5098
  static readonly runtime: typeof proto3;
@@ -5063,6 +5147,13 @@ declare class TrackEgressRequest extends Message<TrackEgressRequest> {
5063
5147
  case: "websocketUrl";
5064
5148
  } | { case: undefined; value?: undefined };
5065
5149
 
5150
+ /**
5151
+ * extra webhooks to call for this request
5152
+ *
5153
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 5;
5154
+ */
5155
+ webhooks: WebhookConfig[];
5156
+
5066
5157
  constructor(data?: PartialMessage<TrackEgressRequest>);
5067
5158
 
5068
5159
  static readonly runtime: typeof proto3;
@@ -11047,6 +11138,11 @@ declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate> {
11047
11138
  */
11048
11139
  metadata?: string;
11049
11140
 
11141
+ /**
11142
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
11143
+ */
11144
+ mediaEncryption?: SIPMediaEncryption;
11145
+
11050
11146
  constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
11051
11147
 
11052
11148
  static readonly runtime: typeof proto3;
@@ -11282,6 +11378,11 @@ declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpdate> {
11282
11378
  */
11283
11379
  metadata?: string;
11284
11380
 
11381
+ /**
11382
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
11383
+ */
11384
+ mediaEncryption?: SIPMediaEncryption;
11385
+
11285
11386
  constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
11286
11387
 
11287
11388
  static readonly runtime: typeof proto3;
@@ -12018,6 +12119,11 @@ declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate> {
12018
12119
  */
12019
12120
  attributes: { [key: string]: string };
12020
12121
 
12122
+ /**
12123
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6;
12124
+ */
12125
+ mediaEncryption?: SIPMediaEncryption;
12126
+
12021
12127
  constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
12022
12128
 
12023
12129
  static readonly runtime: typeof proto3;
@@ -12422,6 +12528,13 @@ declare class TransferSIPParticipantRequest extends Message<TransferSIPParticipa
12422
12528
  */
12423
12529
  headers: { [key: string]: string };
12424
12530
 
12531
+ /**
12532
+ * Max time for the transfer destination to answer the call.
12533
+ *
12534
+ * @generated from field: google.protobuf.Duration ringing_timeout = 6;
12535
+ */
12536
+ ringingTimeout?: Duration;
12537
+
12425
12538
  constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
12426
12539
 
12427
12540
  static readonly runtime: typeof proto3;
@@ -12724,4 +12837,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
12724
12837
 
12725
12838
  declare const version: string;
12726
12839
 
12727
- 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 };
12840
+ 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 };
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(
@@ -240,7 +241,8 @@ const DisconnectReason = /* @__PURE__ */ proto3.makeEnum(
240
241
  { no: 10, name: "ROOM_CLOSED" },
241
242
  { no: 11, name: "USER_UNAVAILABLE" },
242
243
  { no: 12, name: "USER_REJECTED" },
243
- { no: 13, name: "SIP_TRUNK_FAILURE" }
244
+ { no: 13, name: "SIP_TRUNK_FAILURE" },
245
+ { no: 14, name: "CONNECTION_TIMEOUT" }
244
246
  ]
245
247
  );
246
248
  const ReconnectReason = /* @__PURE__ */ proto3.makeEnum(
@@ -1252,7 +1254,8 @@ const ClientInfo_SDK = /* @__PURE__ */ proto3.makeEnum(
1252
1254
  { no: 9, name: "PYTHON" },
1253
1255
  { no: 10, name: "CPP" },
1254
1256
  { no: 11, name: "UNITY_WEB" },
1255
- { no: 12, name: "NODE" }
1257
+ { no: 12, name: "NODE" },
1258
+ { no: 13, name: "UNREAL" }
1256
1259
  ]
1257
1260
  );
1258
1261
  const ClientConfiguration = /* @__PURE__ */ proto3.makeMessageType(
@@ -1967,6 +1970,25 @@ const DataStream_Trailer = /* @__PURE__ */ proto3.makeMessageType(
1967
1970
  ],
1968
1971
  { localName: "DataStream_Trailer" }
1969
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
+ );
1970
1992
 
1971
1993
  const JobType = /* @__PURE__ */ proto3.makeEnum(
1972
1994
  "livekit.JobType",
@@ -2488,7 +2510,8 @@ const ImageFileSuffix = /* @__PURE__ */ proto3.makeEnum(
2488
2510
  "livekit.ImageFileSuffix",
2489
2511
  [
2490
2512
  { no: 0, name: "IMAGE_SUFFIX_INDEX" },
2491
- { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" }
2513
+ { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" },
2514
+ { no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE" }
2492
2515
  ]
2493
2516
  );
2494
2517
  const StreamProtocol = /* @__PURE__ */ proto3.makeEnum(
@@ -2586,7 +2609,8 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2586
2609
  { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2587
2610
  { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2588
2611
  { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2589
- { 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 }
2590
2614
  ]
2591
2615
  );
2592
2616
  const WebEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2628,7 +2652,8 @@ const WebEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2628
2652
  { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2629
2653
  { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2630
2654
  { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2631
- { 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 }
2632
2657
  ]
2633
2658
  );
2634
2659
  const ParticipantEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2660,7 +2685,8 @@ const ParticipantEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2660
2685
  { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2661
2686
  { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2662
2687
  { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2663
- { 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 }
2664
2690
  ]
2665
2691
  );
2666
2692
  const TrackCompositeEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2695,7 +2721,8 @@ const TrackCompositeEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2695
2721
  { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
2696
2722
  { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
2697
2723
  { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
2698
- { 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 }
2699
2726
  ]
2700
2727
  );
2701
2728
  const TrackEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -2716,7 +2743,8 @@ const TrackEgressRequest = /* @__PURE__ */ proto3.makeMessageType(
2716
2743
  /* ScalarType.STRING */
2717
2744
  },
2718
2745
  { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
2719
- { 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 }
2720
2748
  ]
2721
2749
  );
2722
2750
  const EncodedFileOutput = /* @__PURE__ */ proto3.makeMessageType(
@@ -5636,7 +5664,8 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5636
5664
  { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5637
5665
  { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5638
5666
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5639
- { 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 }
5640
5669
  ]
5641
5670
  );
5642
5671
  const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -5734,7 +5763,8 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5734
5763
  { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5735
5764
  { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5736
5765
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5737
- { 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 }
5738
5768
  ]
5739
5769
  );
5740
5770
  const GetSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -6022,7 +6052,8 @@ const SIPDispatchRuleUpdate = /* @__PURE__ */ proto3.makeMessageType(
6022
6052
  kind: "scalar",
6023
6053
  T: 9
6024
6054
  /* ScalarType.STRING */
6025
- } }
6055
+ } },
6056
+ { no: 6, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true }
6026
6057
  ]
6027
6058
  );
6028
6059
  const ListSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -6267,7 +6298,8 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ proto3.makeMessageType(
6267
6298
  kind: "scalar",
6268
6299
  T: 9
6269
6300
  /* ScalarType.STRING */
6270
- } }
6301
+ } },
6302
+ { no: 6, name: "ringing_timeout", kind: "message", T: Duration }
6271
6303
  ]
6272
6304
  );
6273
6305
  const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -6473,7 +6505,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6473
6505
  ]
6474
6506
  );
6475
6507
 
6476
- const version = "1.36.0";
6508
+ const version = "1.37.0";
6477
6509
 
6478
- 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 };
6479
6511
  //# sourceMappingURL=index.mjs.map