org.red5.io
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reader and free any allocated memory.
|
void |
decodeHeader()
Decode the header of the stream;
|
long |
getBytesRead()
Returns the amount of bytes read
|
long |
getDuration()
Return length in seconds
|
IStreamableFile |
getFile()
Return the file that is loaded.
|
int |
getOffset()
Returns the offet length
|
long |
getTotalBytes()
Get the total readable bytes in a file or ByteBuffer
|
boolean |
hasMoreTags()
Returns a boolean stating whether the FLV has more tags
|
boolean |
hasVideo()
Check if the reader also has video tags.
|
void |
position(long pos)
Move the reader pointer to given position in file.
|
ITag |
readTag()
Returns a Tag object
|
IStreamableFile getFile()
int getOffset()
long getBytesRead()
long getDuration()
long getTotalBytes()
void decodeHeader()
void position(long pos)
pos
- File position to move toboolean hasMoreTags()
ITag readTag()
void close()
boolean hasVideo()
Copyright © 2006-2012 The Red5 Project