From dd8edd28e9b2649c4239964538fd79a70e8e9583 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 5 Apr 2017 13:16:44 -0400 Subject: [PATCH] update live stream management --- .../LiveTv/TunerHosts/MulticastStream.cs | 10 +++++----- SharedVersion.cs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/MulticastStream.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/MulticastStream.cs index 281632590a..abd7a00a9d 100644 --- a/Emby.Server.Implementations/LiveTv/TunerHosts/MulticastStream.cs +++ b/Emby.Server.Implementations/LiveTv/TunerHosts/MulticastStream.cs @@ -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); diff --git a/SharedVersion.cs b/SharedVersion.cs index 46fbec6c1b..5056448087 100644 --- a/SharedVersion.cs +++ b/SharedVersion.cs @@ -1,3 +1,3 @@ using System.Reflection; -[assembly: AssemblyVersion("3.2.10.5")] +[assembly: AssemblyVersion("3.2.10.6")]