|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFLV
Represents FLV file
| Method Summary | |
|---|---|
void |
flushHeaders()
Flushes Header |
Map |
getKeyFrameData()
Gets the keyframe data |
IMetaData |
getMetaData()
Returns a map of the metadata |
boolean |
hasKeyFrameData()
Returns a boolean stating whether a flv has keyframedata |
boolean |
hasMetaData()
Returns a boolean stating whether the flv has metadata |
ITagReader |
readerFromNearestKeyFrame(int seekPoint)
Returns a Reader closest to the nearest keyframe |
void |
refreshHeaders()
Refreshes the headers. |
void |
setCache(ICacheStore cache)
Sets the caching implemenation |
void |
setKeyFrameData(Map keyframedata)
Sets the keyframe data of a flv file |
void |
setMetaData(IMetaData metadata)
Sets the metadata |
void |
setMetaService(IMetaService service)
Sets the MetaService through Spring |
ITagWriter |
writerFromNearestKeyFrame(int seekPoint)
Returns a Writer based on the nearest key frame |
| Methods inherited from interface org.red5.io.IStreamableFile |
|---|
getAppendWriter, getReader, getWriter |
| Method Detail |
|---|
boolean hasMetaData()
true if file has injected metadata, false otherwise
void setMetaData(IMetaData metadata)
throws FileNotFoundException,
IOException
metadata - Metadata object
FileNotFoundException - File not found
IOException - Any other I/O exceptionvoid setMetaService(IMetaService service)
service - Metadata service
IMetaData getMetaData()
throws FileNotFoundException
FileNotFoundException - File not foundboolean hasKeyFrameData()
true if file has keyframe metadata, false otherwisevoid setKeyFrameData(Map keyframedata)
keyframedata - Keyframe metadataMap getKeyFrameData()
void refreshHeaders()
throws IOException
IOException - Any I/O exception
void flushHeaders()
throws IOException
IOException - Any I/O exceptionITagReader readerFromNearestKeyFrame(int seekPoint)
seekPoint - Point in file we are seeking around
ITagWriter writerFromNearestKeyFrame(int seekPoint)
seekPoint - Point in file we are seeking around
void setCache(ICacheStore cache)
cache - cache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||