jellyfin/MediaBrowser.Controller/Library/ILiveStream.cs

28 lines
544 B
C#
Raw Normal View History

#pragma warning disable CS1591
using System.Threading;
2018-12-27 16:27:57 -07:00
using System.Threading.Tasks;
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Controller.Library
{
public interface ILiveStream
{
int ConsumerCount { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
string OriginalStreamId { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
string TunerHostId { get; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
bool EnableStreamSharing { get; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
MediaSourceInfo MediaSource { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
string UniqueId { get; }
Task Open(CancellationToken openCancellationToken);
Task Close();
2018-12-27 16:27:57 -07:00
}
}