You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Controller/Library/ILiveStream.cs

34 lines
645 B

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