A first flow was saved to disk
This commit is contained in:
parent
9f4d0b3aef
commit
4d48966d24
13 changed files with 363 additions and 241 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue