using System.Collections.Concurrent; using System.Threading.Tasks; using Microsoft.AspNet.Http; using Yavsc.ViewModels.Streaming; namespace Yavsc.Services { public interface ILiveProcessor { /// /// instance keeping reference on /// all collections of casting and listenning websockets /// /// ConcurrentDictionary Casters { get; } /// /// Try and accept websocket from aspnet http context /// /// /// Task AcceptStream (HttpContext context); /// /// live cast entry point /// /// PathString LiveCastingPath {get; set;} } }