Interface ILiveStream
Assembly: MediaBrowser.Controller.dll
public interface ILiveStream
Properties
Declaration
int ConsumerCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
DateTimeOffset DateOpened { get; }
Property Value
Type |
Description |
System.DateTimeOffset |
|
Declaration
bool EnableStreamSharing { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
MediaSourceInfo MediaSource { get; set; }
Property Value
Declaration
string OriginalStreamId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
bool SupportsCopyTo { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
string TunerHostId { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
Task CopyToAsync(PipeWriter writer, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.IO.Pipelines.PipeWriter |
writer |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
Task CopyToAsync(Stream writer, DateTimeOffset? wallClockStartTime, Action<SegmentedStreamSegmentInfo> onSegmentWritten, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.IO.Stream |
writer |
|
System.Nullable<System.DateTimeOffset> |
wallClockStartTime |
|
System.Action<SegmentedStreamSegmentInfo> |
onSegmentWritten |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
Task Open(CancellationToken openCancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
openCancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods