14 lines
472 B
C#
14 lines
472 B
C#
using ErsatzTV.Core.Domain;
|
|
using ErsatzTV.Core.Streaming;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Streaming;
|
|
|
|
public interface IDirectStreamSessionTracker
|
|
{
|
|
IDisposable Register(string channelNumber, StreamingMode streamingMode);
|
|
bool IsActive(string channelNumber);
|
|
int GetViewerCount(string channelNumber);
|
|
IReadOnlyCollection<DirectStreamSession> GetActiveSessions();
|
|
IReadOnlyCollection<DirectStreamSession> GetActiveSessions(string channelNumber);
|
|
}
|