Package org.red5.io.flv.meta
Interface IMetaService
-
- All Known Implementing Classes:
MetaService
public interface IMetaServiceIMetaService Defines the MetaData Service API- Author:
- The Red5 Project, Dominick Accattato (daccattato@gmail.com), Luke Hubbard, Codegent Ltd (luke@codegent.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FilegetFile()Returns the file being accessedIMetaCue[]readMetaCue()Read the Meta Cue PointsMetaData<?,?>readMetaData(org.apache.mina.core.buffer.IoBuffer buffer)Read the MetaDatavoidsetFile(File file)Media file to be accessedvoidwrite(IMetaData<?,?> meta)Initiates writing of the MetaDatavoidwriteMetaCue()Writes the Meta Cue PointsvoidwriteMetaData(IMetaData<?,?> metaData)Writes the MetaData
-
-
-
Method Detail
-
write
void write(IMetaData<?,?> meta) throws IOException
Initiates writing of the MetaData- Parameters:
meta- Metadata- Throws:
IOException- I/O exception
-
writeMetaData
void writeMetaData(IMetaData<?,?> metaData)
Writes the MetaData- Parameters:
metaData- Metadata
-
writeMetaCue
void writeMetaCue()
Writes the Meta Cue Points
-
readMetaData
MetaData<?,?> readMetaData(org.apache.mina.core.buffer.IoBuffer buffer)
Read the MetaData- Parameters:
buffer- IoBuffer source- Returns:
- metaData Metadata
-
readMetaCue
IMetaCue[] readMetaCue()
Read the Meta Cue Points- Returns:
- Meta cue points
-
setFile
void setFile(File file)
Media file to be accessed- Parameters:
file- file
-
getFile
File getFile()
Returns the file being accessed- Returns:
- file
-
-