From e4dfbb6f55ac8583cddae822d68bb35e05e4308c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 6 Sep 2013 15:48:42 -0400 Subject: [PATCH] increase static stream buffer size --- MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs index 89e13acb38..227bd954ab 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); } } }