aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-09-04 08:24:21 -0600
committercrobibero <cody@robibe.ro>2020-09-04 08:24:21 -0600
commit23df4991b67576d9150bdf2b3240738968cad9a1 (patch)
treed74d232ae936ac5209a25a8b4ec47aa3940e349f /Emby.Server.Implementations
parent2a8653b3094d967e55b8bd012429d523629cdb38 (diff)
Use proper buffer size
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs
index cdabc07054..44560d1e21 100644
--- a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs
+++ b/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);