The Free Software Media System - Server Backend & API
increase static stream buffer size
Luke Pulverentie4dfbb6f55ac
diff --git a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.csindex 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);}}}