Use proper buffer size

This commit is contained in:
crobibero 2020-09-04 08:24:21 -06:00
parent 2a8653b309
commit 23df4991b6

View File

@ -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);