C# Class hdsdump.F4F

Inheritance: IDisposable
Afficher le fichier Open project: WendyH/hdsdump Class Usage Examples

Méthodes publiques

Свойство Type Description
AAC_HeaderWritten bool
AVC_HeaderWritten bool
audio bool
auth string
baseTS long
baseUrl string
bootstrapUrl string
currentTS long
discontinuity int
duration int
fileCount int
filesize int
fixWindow int
format string
fragCount int
fragNum int
fragUrl string
fragUrlTemplate string
fragsPerSeg int
fromTimestamp long
lastFrag int
live bool
manifesttype int
metadata bool
negTS long
pAudioTagLen long
pAudioTagPos long
pVideoTagLen long
pVideoTagPos long
pipeHandle Microsoft.Win32.SafeHandles.SafeFileHandle
pipeStream System.IO.FileStream
pipeWriter System.IO.BinaryWriter
play bool
prevAAC_Header bool
prevAVC_Header bool
prevAudioTS long
prevTagSize int
prevVideoTS long
quality string
redir2Proc bool
segNum int
start int
tagHeaderLen int
threads int
usePipe bool
video bool

Méthodes publiques

Méthode Description
CheckLastTSExistingFile ( ) : void
Dispose ( ) : void
DownloadFragments ( string manifestUrl ) : void
F4F ( ) : System
GetFragmentUrl ( int segNum, int fragNum ) : string
GetSegmentFromFragment ( int fragN ) : int
NormalizePath ( string path ) : string
ValidateXML ( string sXML ) : string

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AttrExist ( XmlNode node, string name ) : bool
ByteBlockCopy ( byte &bytesData1, long pos1, byte &bytesData2, long pos2, long len ) : void
CheckRequestRerutnCode ( int statusCode, string statusMsg ) : void
ConvertHexStringToByteArray ( string hexString ) : byte[]
DecodeFragment ( byte &frag, bool notWrite = false ) : void
DecodeFrom64 ( string encodedData ) : string
ExtractBaseUrl ( string dataUrl ) : string
FindFragmentInTabe ( int needle ) : int
GetManifest ( string &manifestUrl ) : XmlElement
GetNodeProperty ( XmlNode node, string propertyName, string defaultvalue = "" ) : string
GetString ( XmlNode xmlObject ) : string
InitDecoder ( ) : void
ParseAfrtBox ( byte &afrt, long pos ) : void
ParseAsrtBox ( byte &asrt, long pos ) : void
ParseBootstrapBox ( byte &bootstrapInfo, long pos ) : void
ParseManifest ( string manifestUrl ) : void
ParseSegAndFragTable ( ) : void
ReadBoxHeader ( byte &bytesData, long &pos, string &boxType, long &boxSize ) : void
ReadByte ( byte &bytesData, long pos ) : byte
ReadInt24 ( byte &bytesData, long pos ) : uint
ReadInt32 ( byte &bytesData, long pos ) : uint
ReadInt64 ( byte &bytesData, long pos ) : long
ReadString ( byte &bytesData, long &pos ) : string
ReadStringBytes ( byte &bytesData, long pos, long len ) : string
StartNewThread2DownloadFragment ( ) : void
ThreadDownload ( ) : void
UpdateBootstrapInfo ( string bootstrapUrl ) : void
VerifyFragment ( byte &frag ) : bool
Write2File ( string outFile, byte &data, FileMode fileMode = FileMode.Append, long pos, long datalen ) : void
WriteBoxSize ( byte &bytesData, long pos, string type, long size ) : void
WriteByte ( byte &bytesData, long pos, byte byteValue ) : void
WriteFlvHeader ( string outFile, bool audio = true, bool video = true ) : void
WriteFlvTimestamp ( byte &frag, long fragPos, long packetTS ) : void
WriteFragment ( byte &data, int fragNum ) : void
WriteInt24 ( byte &bytesData, long pos, long intValue ) : void
WriteInt32 ( byte &bytesData, long pos, long intValue ) : void
WriteMetadata ( string outFile ) : void
isHttpUrl ( string url ) : bool
isRtmpUrl ( string url ) : bool

Method Details

CheckLastTSExistingFile() public méthode

public CheckLastTSExistingFile ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DownloadFragments() public méthode

public DownloadFragments ( string manifestUrl ) : void
manifestUrl string
Résultat void

F4F() public méthode

public F4F ( ) : System
Résultat System

GetFragmentUrl() public méthode

public GetFragmentUrl ( int segNum, int fragNum ) : string
segNum int
fragNum int
Résultat string

GetSegmentFromFragment() public méthode

public GetSegmentFromFragment ( int fragN ) : int
fragN int
Résultat int

NormalizePath() public static méthode

public static NormalizePath ( string path ) : string
path string
Résultat string

ValidateXML() public méthode

public ValidateXML ( string sXML ) : string
sXML string
Résultat string

Property Details

AAC_HeaderWritten public_oe property

public bool AAC_HeaderWritten
Résultat bool

AVC_HeaderWritten public_oe property

public bool AVC_HeaderWritten
Résultat bool

audio public_oe property

public bool audio
Résultat bool

auth public_oe property

public string auth
Résultat string

baseTS public_oe property

public long baseTS
Résultat long

baseUrl public_oe property

public string baseUrl
Résultat string

bootstrapUrl public_oe property

public string bootstrapUrl
Résultat string

currentTS public_oe property

public long currentTS
Résultat long

discontinuity public_oe property

public int discontinuity
Résultat int

duration public_oe property

public int duration
Résultat int

fileCount public_oe property

public int fileCount
Résultat int

filesize public_oe property

public int filesize
Résultat int

fixWindow public_oe property

public int fixWindow
Résultat int

format public_oe property

public string format
Résultat string

fragCount public_oe property

public int fragCount
Résultat int

fragNum public_oe property

public int fragNum
Résultat int

fragUrl public_oe property

public string fragUrl
Résultat string

fragUrlTemplate public_oe property

public string fragUrlTemplate
Résultat string

fragsPerSeg public_oe property

public int fragsPerSeg
Résultat int

fromTimestamp public_oe property

public long fromTimestamp
Résultat long

lastFrag public_oe property

public int lastFrag
Résultat int

live public_oe property

public bool live
Résultat bool

manifesttype public_oe property

public int manifesttype
Résultat int

metadata public_oe property

public bool metadata
Résultat bool

negTS public_oe property

public long negTS
Résultat long

pAudioTagLen public_oe property

public long pAudioTagLen
Résultat long

pAudioTagPos public_oe property

public long pAudioTagPos
Résultat long

pVideoTagLen public_oe property

public long pVideoTagLen
Résultat long

pVideoTagPos public_oe property

public long pVideoTagPos
Résultat long

pipeHandle public_oe property

public Microsoft.Win32.SafeHandles.SafeFileHandle pipeHandle
Résultat Microsoft.Win32.SafeHandles.SafeFileHandle

pipeStream public_oe property

public FileStream,System.IO pipeStream
Résultat System.IO.FileStream

pipeWriter public_oe property

public BinaryWriter,System.IO pipeWriter
Résultat System.IO.BinaryWriter

play public_oe property

public bool play
Résultat bool

prevAAC_Header public_oe property

public bool prevAAC_Header
Résultat bool

prevAVC_Header public_oe property

public bool prevAVC_Header
Résultat bool

prevAudioTS public_oe property

public long prevAudioTS
Résultat long

prevTagSize public_oe property

public int prevTagSize
Résultat int

prevVideoTS public_oe property

public long prevVideoTS
Résultat long

quality public_oe property

public string quality
Résultat string

redir2Proc public_oe property

public bool redir2Proc
Résultat bool

segNum public_oe property

public int segNum
Résultat int

start public_oe property

public int start
Résultat int

tagHeaderLen public_oe property

public int tagHeaderLen
Résultat int

threads public_oe property

public int threads
Résultat int

usePipe public_oe property

public bool usePipe
Résultat bool

video public_oe property

public bool video
Résultat bool