aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}
}