org.red5.io.flv
public interface IFLV extends IStreamableFile
Modifier and Type | Method and Description |
---|---|
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
|
getAppendWriter, getReader, getWriter
boolean hasMetaData()
true
if file has injected metadata, false
otherwisevoid setMetaData(IMetaData metadata) throws FileNotFoundException, IOException
metadata
- Metadata objectFileNotFoundException
- File not foundIOException
- Any other I/O exceptionvoid setMetaService(IMetaService service)
service
- Metadata serviceIMetaData 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 exceptionvoid flushHeaders() throws IOException
IOException
- Any I/O exceptionITagReader readerFromNearestKeyFrame(int seekPoint)
seekPoint
- Point in file we are seeking aroundITagWriter writerFromNearestKeyFrame(int seekPoint)
seekPoint
- Point in file we are seeking aroundvoid setCache(ICacheStore cache)
cache
- cacheCopyright © 2006-2012 The Red5 Project