using System.Collections.Concurrent; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Yavsc.Models; 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, ApplicationUser user, string destDir, string fileName); } }