Merge pull request #1988 from MediaBrowser/dev

Dev
This commit is contained in:
Luke 2016-07-27 13:18:30 -04:00 committed by GitHub
commit 359be978ba
8 changed files with 11 additions and 14 deletions

View File

@ -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)
{

View File

@ -16,7 +16,7 @@ namespace MediaBrowser.Api.Playback.Progressive
private readonly ILogger _logger;
// 256k
private const int BufferSize = 262144;
private const int BufferSize = 81920;
private long _bytesWritten = 0;

View File

@ -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;
/// <summary>
/// The default file stream buffer size
/// </summary>
public const int DefaultFileStreamBufferSize = 262144;
public const int DefaultFileStreamBufferSize = 81920;
}
}

View File

@ -28,8 +28,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
public Action OnComplete { get; set; }
private readonly ILogger _logger;
// 256k
private const int BufferSize = 262144;
private const int BufferSize = 81920;
/// <summary>
/// The _options

View File

@ -75,8 +75,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
{
}
// 256k
private const int BufferSize = 262144;
private const int BufferSize = 81920;
/// <summary>
/// Writes to.

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MediaBrowser.Common.Internal</id>
<version>3.0.653</version>
<version>3.0.654</version>
<title>MediaBrowser.Common.Internal</title>
<authors>Luke</authors>
<owners>ebr,Luke,scottisafool</owners>
@ -12,7 +12,7 @@
<description>Contains common components shared by Emby Theater and Emby Server. Not intended for plugin developer consumption.</description>
<copyright>Copyright © Emby 2013</copyright>
<dependencies>
<dependency id="MediaBrowser.Common" version="3.0.653" />
<dependency id="MediaBrowser.Common" version="3.0.654" />
<dependency id="NLog" version="4.3.5" />
<dependency id="SimpleInjector" version="3.2.0" />
</dependencies>

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MediaBrowser.Common</id>
<version>3.0.653</version>
<version>3.0.654</version>
<title>MediaBrowser.Common</title>
<authors>Emby Team</authors>
<owners>ebr,Luke,scottisafool</owners>

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MediaBrowser.Server.Core</id>
<version>3.0.653</version>
<version>3.0.654</version>
<title>Media Browser.Server.Core</title>
<authors>Emby Team</authors>
<owners>ebr,Luke,scottisafool</owners>
@ -12,7 +12,7 @@
<description>Contains core components required to build plugins for Emby Server.</description>
<copyright>Copyright © Emby 2013</copyright>
<dependencies>
<dependency id="MediaBrowser.Common" version="3.0.653" />
<dependency id="MediaBrowser.Common" version="3.0.654" />
<dependency id="Interfaces.IO" version="1.0.0.5" />
</dependencies>
</metadata>