2020-08-22 19:56:24 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
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
|
|
|
|
{
|
|
|
|
int ConsumerCount { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
string OriginalStreamId { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
string TunerHostId { get; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
bool EnableStreamSharing { get; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
MediaSourceInfo MediaSource { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
string UniqueId { get; }
|
2020-08-22 19:56:24 +00:00
|
|
|
|
|
|
|
Task Open(CancellationToken openCancellationToken);
|
|
|
|
|
|
|
|
Task Close();
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|