C# Class BDInfo.TSStreamFile

Show file Open project: Tripplesixty/BDInfoCLI Class Usage Examples

Public Properties

Property Type Description
FileInfo System.IO.FileInfo
InterleavedFile TSInterleavedFile
Length double
Name string
Size long
StreamDiagnostics List>.Dictionary
Streams TSStream>.Dictionary

Public Methods

Method Description
Scan ( List playlists, bool isFullScan ) : void
TSStreamFile ( FileInfo fileInfo ) : BDInfoCli

Private Methods

Method Description
CreateStream ( ushort streamPID, byte streamType, List streamDescriptors ) : TSStream
ScanStream ( TSStream stream, TSStreamState streamState, TSStreamBuffer buffer ) : bool
UpdateStreamBitrate ( ushort PID, ushort PTSPID, ulong PTS, ulong PTSDiff ) : void
UpdateStreamBitrates ( ushort PTSPID, ulong PTS, ulong PTSDiff ) : void

Method Details

Scan() public method

public Scan ( List playlists, bool isFullScan ) : void
playlists List
isFullScan bool
return void

TSStreamFile() public method

public TSStreamFile ( FileInfo fileInfo ) : BDInfoCli
fileInfo System.IO.FileInfo
return BDInfoCli

Property Details

FileInfo public property

public FileInfo,System.IO FileInfo
return System.IO.FileInfo

InterleavedFile public property

public TSInterleavedFile,BDInfo InterleavedFile
return TSInterleavedFile

Length public property

public double Length
return double

Name public property

public string Name
return string

Size public property

public long Size
return long

StreamDiagnostics public property

public Dictionary> StreamDiagnostics
return List>.Dictionary

Streams public property

public Dictionary Streams
return TSStream>.Dictionary