The Free Software Media System - Server Backend & API
fix EnableThrottling override
Luke Pulverentib4bc4037471d
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.csindex 7ef9a1d5ba..371247ecd8 100644--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs+++ b/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 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>