update live stream management
This commit is contained in:
parent
cf47dd0414
commit
dd8edd28e9
|
@ -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);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("3.2.10.5")]
|
||||
[assembly: AssemblyVersion("3.2.10.6")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user