update live stream management

This commit is contained in:
Luke Pulverenti 2017-04-05 13:16:44 -04:00
parent cf47dd0414
commit dd8edd28e9
2 changed files with 6 additions and 6 deletions

View file

@ -37,11 +37,11 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
{ {
var allStreams = _outputStreams.ToList(); var allStreams = _outputStreams.ToList();
if (allStreams.Count == 1) //if (allStreams.Count == 1)
{ //{
await allStreams[0].Value.WriteAsync(buffer, 0, bytesRead).ConfigureAwait(false); // await allStreams[0].Value.WriteAsync(buffer, 0, bytesRead).ConfigureAwait(false);
} //}
else //else
{ {
byte[] copy = new byte[bytesRead]; byte[] copy = new byte[bytesRead];
Buffer.BlockCopy(buffer, 0, copy, 0, bytesRead); Buffer.BlockCopy(buffer, 0, copy, 0, bytesRead);

View file

@ -1,3 +1,3 @@
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.2.10.5")] [assembly: AssemblyVersion("3.2.10.6")]