@livekit/protocol 1.36.0 → 1.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -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
  /**
package/dist/index.d.mts CHANGED
@@ -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
  /**
package/dist/index.d.ts CHANGED
@@ -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
  /**
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(
@@ -6473,7 +6474,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6473
6474
  ]
6474
6475
  );
6475
6476
 
6476
- const version = "1.36.0";
6477
+ const version = "1.36.1";
6477
6478
 
6478
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 };
6479
6480
  //# sourceMappingURL=index.mjs.map