A first flow was saved to disk

This commit is contained in:
Paul Schneider 2019-06-27 10:30:28 +01:00
commit 4d48966d24
13 changed files with 363 additions and 241 deletions

View file

@ -1,5 +1,6 @@
using System.Collections.Concurrent;
using System.Net.WebSockets;
using System.Threading;
namespace Yavsc.ViewModels.Streaming
{
@ -13,10 +14,12 @@ namespace Yavsc.ViewModels.Streaming
public string FlowId { get; set; }
}
public class LiveCastMeta
public class LiveCastHandler
{
public WebSocket Socket { get; set; }
public ConcurrentDictionary<string, WebSocket> Listeners { get; set; } = new ConcurrentDictionary<string, WebSocket>();
public CancellationTokenSource TokenSource { get; set; } = new CancellationTokenSource();
}
}