فهرست منبع

adjust static stream buffer size

Luke Pulverenti 12 سال پیش
والد
کامیت
f5ffd6ff0f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);
                     }
                 }
             }