aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-06 15:48:42 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-06 15:48:42 -0400
commite4dfbb6f55ac8583cddae822d68bb35e05e4308c (patch)
tree6ffda592644a94ad13afc2146006ae7197507be7 /MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs
parent1d9c163f5ff0207442ff008d8799a5bc602c3d39 (diff)
increase static stream buffer size
Diffstat (limited to 'MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs')
-rw-r--r--MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs
index 89e13acb3..227bd954a 100644
--- a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs
+++ b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs
@@ -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);
}
}
}