initiating a live casting

This commit is contained in:
Paul Schneider 2018-11-28 13:56:35 +00:00
commit 9dedb14d9b
3 changed files with 99 additions and 96 deletions

View file

@ -0,0 +1,16 @@
using System.Collections.Concurrent;
using System.Net.WebSockets;
namespace Yavsc.ViewModels.Streaming
{
public class LiveCastClient {
public string UserName { get; set; }
public WebSocket Socket { get; set; }
}
public class LiveCastMeta
{
public WebSocket Socket { get; set; }
public ConcurrentDictionary<string, WebSocket> Listeners { get; set; } = new ConcurrentDictionary<string, WebSocket>();
}
}