C# Class Smoothget.Download.DownloadingMediaDataSource

Inheritance: IMediaDataSource, IStoppable
ファイルを表示 Open project: pinglossy/smoothget Class Usage Examples

Public Properties

Property Type Description
IsStopped bool

Public Methods

Method Description
ConsumeBlock ( int trackIndex ) : void
ConsumeBlocksUntil ( int trackIndex, ulong startTime ) : void
DownloadingMediaDataSource ( IList tracks, string manifestParentPath, ulong timeScale, bool isLive, ulong stopAfter, ulong totalTicks, DisplayDuration displayDuration ) : System
GetTrackCount ( ) : int
GetTrackEndTime ( int trackIndex ) : ulong
PeekBlock ( int trackIndex ) : MediaDataBlock
StartChunks ( IChunkStartTimeReceiver chunkStartTimeReceiver ) : void
Stop ( ) : void

Private Methods

Method Description
DownloadNextChunk ( int trackIndex ) : bool

Method Details

ConsumeBlock() public method

public ConsumeBlock ( int trackIndex ) : void
trackIndex int
return void

ConsumeBlocksUntil() public method

public ConsumeBlocksUntil ( int trackIndex, ulong startTime ) : void
trackIndex int
startTime ulong
return void

DownloadingMediaDataSource() public method

public DownloadingMediaDataSource ( IList tracks, string manifestParentPath, ulong timeScale, bool isLive, ulong stopAfter, ulong totalTicks, DisplayDuration displayDuration ) : System
tracks IList
manifestParentPath string
timeScale ulong
isLive bool
stopAfter ulong
totalTicks ulong
displayDuration DisplayDuration
return System

GetTrackCount() public method

public GetTrackCount ( ) : int
return int

GetTrackEndTime() public method

public GetTrackEndTime ( int trackIndex ) : ulong
trackIndex int
return ulong

PeekBlock() public method

public PeekBlock ( int trackIndex ) : MediaDataBlock
trackIndex int
return Smoothget.Mkv.MediaDataBlock

StartChunks() public method

public StartChunks ( IChunkStartTimeReceiver chunkStartTimeReceiver ) : void
chunkStartTimeReceiver IChunkStartTimeReceiver
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

IsStopped public_oe property

public bool IsStopped
return bool