ソースを参照

Use proper buffer size

crobibero 4 年 前
コミット
23df4991b6

+ 1 - 1
Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs

@@ -83,7 +83,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
             await _streamHelper.CopyUntilCancelled(
                 await response.Content.ReadAsStreamAsync().ConfigureAwait(false),
                 output,
-                81920,
+                IODefaults.CopyToBufferSize,
                 cancellationToken).ConfigureAwait(false);
 
             _logger.LogInformation("Recording completed to file {0}", targetFile);