The Free Software Media System - Server Backend & API
fix EnableThrottling override
Luke Pulverenti6f08e2152fa9
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.csindex 7a40d5bd19..39f3614580 100644--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs@@ -1226,7 +1226,7 @@ namespace MediaBrowser.Api.Playback}}- protected virtual bool EnableThrottling(StreamState state)+ private bool EnableThrottling(StreamState state){// do not use throttling with hardware encodersreturn state.InputProtocol == MediaProtocol.File &&diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.csindex 7de3096997..9cd55528d3 100644--- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs+++ b/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>