update hls

This commit is contained in:
Luke Pulverenti 2015-05-24 23:02:09 -04:00
parent 12d47e1e94
commit 5048914445
2 changed files with 2 additions and 2 deletions

View File

@ -1077,7 +1077,7 @@ namespace MediaBrowser.Api.Playback
{
get
{
return true;
return false;
}
}

View File

@ -889,7 +889,7 @@ namespace MediaBrowser.Api.Playback.Hls
var startNumberParam = isEncoding ? GetStartNumber(state).ToString(UsCulture) : "0";
var toTimeParam = string.Empty;
if (state.RunTimeTicks.HasValue && state.IsOutputVideo)
if (state.RunTimeTicks.HasValue && state.IsOutputVideo && ApiEntryPoint.Instance.GetEncodingOptions().EnableThrottling)
{
var startTime = state.Request.StartTimeTicks ?? 0;
var durationSeconds = ApiEntryPoint.Instance.GetEncodingOptions().ThrottleThresholdInSeconds;