yavsc/src/Yavsc/ViewModels/Streaming/LiveCastMeta.cs

22 lines
589 B
C#
Raw Normal View History

2018-11-28 13:56:35 +00:00
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; }
}
2019-01-10 12:30:56 +00:00
public class LiveEntryViewModel {
public string UserName { get; set; }
public string FlowId { get; set; }
}
2018-11-28 13:56:35 +00:00
public class LiveCastMeta
{
public WebSocket Socket { get; set; }
public ConcurrentDictionary<string, WebSocket> Listeners { get; set; } = new ConcurrentDictionary<string, WebSocket>();
}
2019-01-15 16:02:35 +00:00
2018-11-28 13:56:35 +00:00
}