update encoded recorder

This commit is contained in:
Luke Pulverenti
2017-05-02 08:53:21 -04:00
parent f0ebe1cac8
commit 9212ffb528
3 changed files with 43 additions and 26 deletions
@@ -29,6 +29,11 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
byte[] buffer = new byte[BufferSize];
if (source == null)
{
throw new ArgumentNullException("source");
}
while (!cancellationToken.IsCancellationRequested)
{
var bytesRead = await source.ReadAsync(buffer, 0, buffer.Length, cancellationToken).ConfigureAwait(false);