Browse Source

Add new options for segment deletion

Dominik 2 năm trước cách đây
mục cha
commit
832b36562a
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      MediaBrowser.Model/Configuration/EncodingOptions.cs

+ 6 - 0
MediaBrowser.Model/Configuration/EncodingOptions.cs

@@ -11,7 +11,9 @@ namespace MediaBrowser.Model.Configuration
             DownMixAudioBoost = 2;
             MaxMuxingQueueSize = 2048;
             EnableThrottling = false;
+            EnableSegmentDeletion = false;
             ThrottleDelaySeconds = 180;
+            SegmentKeepSeconds = 200;
             EncodingThreadCount = -1;
             // This is a DRM device that is almost guaranteed to be there on every intel platform,
             // plus it's the default one in ffmpeg if you don't specify anything
@@ -57,8 +59,12 @@ namespace MediaBrowser.Model.Configuration
 
         public bool EnableThrottling { get; set; }
 
+        public bool EnableSegmentDeletion { get; set; }
+
         public int ThrottleDelaySeconds { get; set; }
 
+        public int SegmentKeepSeconds { get; set; }
+
         public string HardwareAccelerationType { get; set; }
 
         /// <summary>