Explorar o código

adjust static stream buffer size

Luke Pulverenti %!s(int64=12) %!d(string=hai) anos
pai
achega
f5ffd6ff0f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs

+ 1 - 1
MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs

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