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