jellyfin/MediaBrowser.Controller/Library/ILiveStream.cs
2021-07-24 10:58:50 -07:00

30 lines
571 B
C#

#nullable disable
#pragma warning disable CA1711, CS1591
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Controller.Library
{
public interface ILiveStream
{
int ConsumerCount { get; set; }
string OriginalStreamId { get; set; }
string TunerHostId { get; }
bool EnableStreamSharing { get; }
MediaSourceInfo MediaSource { get; set; }
string UniqueId { get; }
Task Open(CancellationToken openCancellationToken);
Task Close();
}
}