aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-07-27 15:32:07 -0400
committerGitHub <noreply@github.com>2016-07-27 15:32:07 -0400
commit06b0cfb86fec5f1de83080f4fece2513dfa9cf6c (patch)
treeb94e74277d1b64d804acb12c6e4c482452381353 /MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
parentb785e919f375d1b876d2e82e0e377db9b6cfbc71 (diff)
parent897e0566294e854395f61040a8b922c1d0166930 (diff)
Merge pull request #1991 from MediaBrowser/beta
Beta
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