aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs')
-rw-r--r--MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs15
1 files changed, 1 insertions, 14 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
index f4ecf3693..7de309699 100644
--- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
+++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
@@ -257,8 +257,7 @@ namespace MediaBrowser.Api.Playback.Hls
return await GetSegmentResult(state, playlistPath, segmentPath, requestedIndex, job, cancellationToken).ConfigureAwait(false);
}
- // 256k
- private const int BufferSize = 262144;
+ private const int BufferSize = 81920;
private long GetStartPositionTicks(StreamState state, int requestedIndex)
{
@@ -942,17 +941,5 @@ namespace MediaBrowser.Api.Playback.Hls
{
return isOutputVideo ? ".ts" : ".ts";
}
-
- protected override bool CanStreamCopyVideo(StreamState state)
- {
- var isLiveStream = IsLiveStream(state);
-
- //if (!isLiveStream && Request.QueryString["AllowCustomSegmenting"] != "true")
- //{
- // return false;
- //}
-
- return base.CanStreamCopyVideo(state);
- }
}
} \ No newline at end of file