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>();
|
|
|
|
|
}
|
|
|
|
|
}
|