@ -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)
{
@ -16,7 +16,7 @@ namespace MediaBrowser.Api.Playback.Progressive
private readonly ILogger _logger;
private long _bytesWritten = 0;
@ -9,11 +9,11 @@ namespace MediaBrowser.Common.IO
/// <summary>
/// The default copy to buffer size
/// </summary>
public const int DefaultCopyToBufferSize = 262144;
public const int DefaultCopyToBufferSize = 81920;
/// The default file stream buffer size
public const int DefaultFileStreamBufferSize = 262144;
public const int DefaultFileStreamBufferSize = 81920;
@ -28,8 +28,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
public Action OnComplete { get; set; }
/// The _options
@ -75,8 +75,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
/// Writes to.