C# Class PeerCastStation.FLV.FLVFileParser

ファイルを表示 Open project: kumaryu/peercaststation Class Usage Examples

Public Methods

Method Description
Read ( Stream stream, IRTMPContentSink sink ) : bool
ReadAsync ( Stream stream, IRTMPContentSink sink, CancellationToken cancel_token ) : Task

Private Methods

Method Description
GetUInt32 ( byte bin ) : long
ReadBytes ( Stream stream, int len, bool &eos ) : byte[]

Method Details

Read() public method

public Read ( Stream stream, IRTMPContentSink sink ) : bool
stream Stream
sink IRTMPContentSink
return bool

ReadAsync() public method

public ReadAsync ( Stream stream, IRTMPContentSink sink, CancellationToken cancel_token ) : Task
stream Stream
sink IRTMPContentSink
cancel_token System.Threading.CancellationToken
return Task