@livekit/protocol 1.37.0 → 1.37.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
@@ -797,6 +797,13 @@ declare enum AudioTrackFeature {
797
797
  * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;
798
798
  */
799
799
  TF_ENHANCED_NOISE_CANCELLATION = 5,
800
+
801
+ /**
802
+ * client will buffer audio once available and send it to the server via bytes stream once connected
803
+ *
804
+ * @generated from enum value: TF_PRECONNECT_BUFFER = 6;
805
+ */
806
+ TF_PRECONNECT_BUFFER = 6,
800
807
  }
801
808
 
802
809
  /**
@@ -8725,7 +8732,10 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8725
8732
  /**
8726
8733
  * true if DTX (Discontinuous Transmission) is disabled for audio
8727
8734
  *
8728
- * @generated from field: bool disable_dtx = 7;
8735
+ * deprecated in favor of audio_features
8736
+ *
8737
+ * @generated from field: bool disable_dtx = 7 [deprecated = true];
8738
+ * @deprecated
8729
8739
  */
8730
8740
  disableDtx: boolean;
8731
8741
 
@@ -8752,7 +8762,10 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8752
8762
  sid: string;
8753
8763
 
8754
8764
  /**
8755
- * @generated from field: bool stereo = 12;
8765
+ * deprecated in favor of audio_features
8766
+ *
8767
+ * @generated from field: bool stereo = 12 [deprecated = true];
8768
+ * @deprecated
8756
8769
  */
8757
8770
  stereo: boolean;
8758
8771
 
@@ -8781,6 +8794,11 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8781
8794
  */
8782
8795
  backupCodecPolicy: BackupCodecPolicy;
8783
8796
 
8797
+ /**
8798
+ * @generated from field: repeated livekit.AudioTrackFeature audio_features = 17;
8799
+ */
8800
+ audioFeatures: AudioTrackFeature[];
8801
+
8784
8802
  constructor(data?: PartialMessage<AddTrackRequest>);
8785
8803
 
8786
8804
  static readonly runtime: typeof proto3;
package/dist/index.d.mts CHANGED
@@ -797,6 +797,13 @@ declare enum AudioTrackFeature {
797
797
  * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;
798
798
  */
799
799
  TF_ENHANCED_NOISE_CANCELLATION = 5,
800
+
801
+ /**
802
+ * client will buffer audio once available and send it to the server via bytes stream once connected
803
+ *
804
+ * @generated from enum value: TF_PRECONNECT_BUFFER = 6;
805
+ */
806
+ TF_PRECONNECT_BUFFER = 6,
800
807
  }
801
808
 
802
809
  /**
@@ -8725,7 +8732,10 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8725
8732
  /**
8726
8733
  * true if DTX (Discontinuous Transmission) is disabled for audio
8727
8734
  *
8728
- * @generated from field: bool disable_dtx = 7;
8735
+ * deprecated in favor of audio_features
8736
+ *
8737
+ * @generated from field: bool disable_dtx = 7 [deprecated = true];
8738
+ * @deprecated
8729
8739
  */
8730
8740
  disableDtx: boolean;
8731
8741
 
@@ -8752,7 +8762,10 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8752
8762
  sid: string;
8753
8763
 
8754
8764
  /**
8755
- * @generated from field: bool stereo = 12;
8765
+ * deprecated in favor of audio_features
8766
+ *
8767
+ * @generated from field: bool stereo = 12 [deprecated = true];
8768
+ * @deprecated
8756
8769
  */
8757
8770
  stereo: boolean;
8758
8771
 
@@ -8781,6 +8794,11 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8781
8794
  */
8782
8795
  backupCodecPolicy: BackupCodecPolicy;
8783
8796
 
8797
+ /**
8798
+ * @generated from field: repeated livekit.AudioTrackFeature audio_features = 17;
8799
+ */
8800
+ audioFeatures: AudioTrackFeature[];
8801
+
8784
8802
  constructor(data?: PartialMessage<AddTrackRequest>);
8785
8803
 
8786
8804
  static readonly runtime: typeof proto3;
package/dist/index.d.ts CHANGED
@@ -797,6 +797,13 @@ declare enum AudioTrackFeature {
797
797
  * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;
798
798
  */
799
799
  TF_ENHANCED_NOISE_CANCELLATION = 5,
800
+
801
+ /**
802
+ * client will buffer audio once available and send it to the server via bytes stream once connected
803
+ *
804
+ * @generated from enum value: TF_PRECONNECT_BUFFER = 6;
805
+ */
806
+ TF_PRECONNECT_BUFFER = 6,
800
807
  }
801
808
 
802
809
  /**
@@ -8725,7 +8732,10 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8725
8732
  /**
8726
8733
  * true if DTX (Discontinuous Transmission) is disabled for audio
8727
8734
  *
8728
- * @generated from field: bool disable_dtx = 7;
8735
+ * deprecated in favor of audio_features
8736
+ *
8737
+ * @generated from field: bool disable_dtx = 7 [deprecated = true];
8738
+ * @deprecated
8729
8739
  */
8730
8740
  disableDtx: boolean;
8731
8741
 
@@ -8752,7 +8762,10 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8752
8762
  sid: string;
8753
8763
 
8754
8764
  /**
8755
- * @generated from field: bool stereo = 12;
8765
+ * deprecated in favor of audio_features
8766
+ *
8767
+ * @generated from field: bool stereo = 12 [deprecated = true];
8768
+ * @deprecated
8756
8769
  */
8757
8770
  stereo: boolean;
8758
8771
 
@@ -8781,6 +8794,11 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8781
8794
  */
8782
8795
  backupCodecPolicy: BackupCodecPolicy;
8783
8796
 
8797
+ /**
8798
+ * @generated from field: repeated livekit.AudioTrackFeature audio_features = 17;
8799
+ */
8800
+ audioFeatures: AudioTrackFeature[];
8801
+
8784
8802
  constructor(data?: PartialMessage<AddTrackRequest>);
8785
8803
 
8786
8804
  static readonly runtime: typeof proto3;
package/dist/index.mjs CHANGED
@@ -271,7 +271,8 @@ const AudioTrackFeature = /* @__PURE__ */ proto3.makeEnum(
271
271
  { no: 2, name: "TF_AUTO_GAIN_CONTROL" },
272
272
  { no: 3, name: "TF_ECHO_CANCELLATION" },
273
273
  { no: 4, name: "TF_NOISE_SUPPRESSION" },
274
- { no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" }
274
+ { no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" },
275
+ { no: 6, name: "TF_PRECONNECT_BUFFER" }
275
276
  ]
276
277
  );
277
278
  const Pagination = /* @__PURE__ */ proto3.makeMessageType(
@@ -4615,7 +4616,8 @@ const AddTrackRequest = /* @__PURE__ */ proto3.makeMessageType(
4615
4616
  T: 9
4616
4617
  /* ScalarType.STRING */
4617
4618
  },
4618
- { no: 16, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) }
4619
+ { no: 16, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
4620
+ { no: 17, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }
4619
4621
  ]
4620
4622
  );
4621
4623
  const TrickleRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -6505,7 +6507,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6505
6507
  ]
6506
6508
  );
6507
6509
 
6508
- const version = "1.37.0";
6510
+ const version = "1.37.1";
6509
6511
 
6510
6512
  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 };
6511
6513
  //# sourceMappingURL=index.mjs.map