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();
if (allStreams.Count == 1)
{
await allStreams[0].Value.WriteAsync(buffer, 0, bytesRead).ConfigureAwait(false);
}
else
//if (allStreams.Count == 1)
//{
// await allStreams[0].Value.WriteAsync(buffer, 0, bytesRead).ConfigureAwait(false);
//}
//else
{
byte[] copy = new byte[bytesRead];
Buffer.BlockCopy(buffer, 0, copy, 0, bytesRead);

View File

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