initiating a live casting
This commit is contained in:
16
Yavsc/ViewModels/Streaming/LiveCastMeta.cs
Normal file
16
Yavsc/ViewModels/Streaming/LiveCastMeta.cs
Normal 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>();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user