Property | Type | Description | |
---|---|---|---|
Br | |||
Bw | |||
DataStream | Stream | ||
FileName | string | ||
FilePath | string | ||
UseCount | int |
Method | Description | |
---|---|---|
CacheMediaFile ( string path, FileAccess fileAccess = FileAccess.Read ) : MediaFile | ||
Dispose ( ) : void | ||
Initialize ( string path, FileMode fileMode = FileMode.Open, FileAccess fileAccess = FileAccess.Read ) : MediaFile | ||
MediaFile ( string path ) : System | ||
PeekBuffer ( byte pBuffer, int count ) : bool | ||
PeekByte ( byte &b ) : bool | ||
PeekUInt16 ( ushort &word ) : bool | ||
PeekUInt64 ( ulong &result ) : bool | ||
ReadBuffer ( byte pBuffer, int offset, int count ) : bool | ||
ReadInt24 ( int &result, bool networkOrder = true ) : bool | ||
ReadUInt8 ( byte &result ) : bool | ||
SeekAhead ( long count ) : bool | ||
SeekBegin ( ) : bool | ||
SeekBehind ( long count ) : bool | ||
SeekTo ( long p ) : bool | ||
WriteFlvHead ( ) : void | ||
WriteFlvTag ( |
public static CacheMediaFile ( string path, FileAccess fileAccess = FileAccess.Read ) : MediaFile | ||
path | string | |
fileAccess | FileAccess | |
return | MediaFile |
public static Initialize ( string path, FileMode fileMode = FileMode.Open, FileAccess fileAccess = FileAccess.Read ) : MediaFile | ||
path | string | |
fileMode | FileMode | |
fileAccess | FileAccess | |
return | MediaFile |
public PeekBuffer ( byte pBuffer, int count ) : bool | ||
pBuffer | byte | |
count | int | |
return | bool |
public ReadBuffer ( byte pBuffer, int offset, int count ) : bool | ||
pBuffer | byte | |
offset | int | |
count | int | |
return | bool |
public ReadInt24 ( int &result, bool networkOrder = true ) : bool | ||
result | int | |
networkOrder | bool | |
return | bool |
public WriteFlvTag ( |
||
pData | ||
timestamp | int | |
isAudio | bool | |
return | void |