| 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
|
void close()
void decodeHeader()
long getBytesRead()
long getDuration()
IStreamableFile getFile()
int getOffset()
long getTotalBytes()
boolean hasMoreTags()
boolean hasVideo()
void position(long pos)
pos - File position to move toITag readTag()
Copyright © 2005–2017 Red5. All rights reserved.