initiating a live casting
This commit is contained in:
parent
651994df94
commit
9dedb14d9b
3 changed files with 99 additions and 96 deletions
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>();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue