2019-01-13 20:01:16 +00:00
|
|
|
using System.Threading;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Threading.Tasks;
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
|
|
|
public interface ILiveStream
|
|
|
|
{
|
|
|
|
Task Open(CancellationToken openCancellationToken);
|
|
|
|
Task Close();
|
|
|
|
int ConsumerCount { get; set; }
|
|
|
|
string OriginalStreamId { get; set; }
|
|
|
|
string TunerHostId { get; }
|
|
|
|
bool EnableStreamSharing { get; }
|
|
|
|
MediaSourceInfo MediaSource { get; set; }
|
|
|
|
string UniqueId { get; }
|
|
|
|
}
|
|
|
|
}
|