update live stream buffers

This commit is contained in:
Luke Pulverenti
2017-06-01 02:25:07 -04:00
parent 0f1d253278
commit f96e5c84a2
6 changed files with 200 additions and 14 deletions

View File

@@ -57,13 +57,13 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
}
}
public async Task WriteAsync(byte[] bytes, int offset, int count, CancellationToken cancellationToken)
public void Write(byte[] bytes, int offset, int count)
{
//return _outputStream.WriteAsync(bytes, offset, count, cancellationToken);
try
{
await _outputStream.WriteAsync(bytes, offset, count, cancellationToken).ConfigureAwait(false);
_outputStream.Write(bytes, offset, count);
}
catch (OperationCanceledException)
{