@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.cts 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.d.mts 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 };