increase static stream buffer size

This commit is contained in:
Luke Pulverenti 2013-09-06 15:48:42 -04:00
parent 1d9c163f5f
commit e4dfbb6f55

View File

@ -64,9 +64,9 @@ namespace MediaBrowser.Api.Playback
{
using (_msg)
{
using (var input = await _msg.Content.ReadAsStreamAsync().ConfigureAwait(false))
using (var remoteStream = await _msg.Content.ReadAsStreamAsync().ConfigureAwait(false))
{
await input.CopyToAsync(responseStream).ConfigureAwait(false);
await remoteStream.CopyToAsync(responseStream, 8192000).ConfigureAwait(false);
}
}
}