update hls
This commit is contained in:
parent
12d47e1e94
commit
5048914445
|
@ -1077,7 +1077,7 @@ namespace MediaBrowser.Api.Playback
|
|||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user