Browse Source

fix EnableThrottling override

Luke Pulverenti 8 years ago
parent
commit
b4bc403747

+ 1 - 1
MediaBrowser.Api/Playback/BaseStreamingService.cs

@@ -1241,7 +1241,7 @@ namespace MediaBrowser.Api.Playback
             }
         }
 
-        protected virtual bool EnableThrottling(StreamState state)
+        private bool EnableThrottling(StreamState state)
         {
             // do not use throttling with hardware encoders
             return state.InputProtocol == MediaProtocol.File &&

+ 0 - 5
MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs

@@ -922,11 +922,6 @@ namespace MediaBrowser.Api.Playback.Hls
                             ).Trim();
         }
 
-        protected override bool EnableThrottling(StreamState state)
-        {
-            return true;
-        }
-
         /// <summary>
         /// Gets the segment file extension.
         /// </summary>