initiating a live casting

This commit is contained in:
2018-11-28 13:56:35 +00:00
parent c00ba49281
commit 5d378da97a
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>();
}
}