|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMediaFileWriter
IMediaFileWriter
- media file reader writer.
Method Summary | |
---|---|
void |
close()
Closes media file and releases acquired resources. |
void |
flush()
Flushes pending track frames. |
MediaFileContainer |
getContainer()
Returns media file container. |
void |
writeTrackSample(MediaTrackInfo track,
long timestamp,
ByteArray data)
Notifies about a new track data frame. |
Method Detail |
---|
MediaFileContainer getContainer()
void writeTrackSample(MediaTrackInfo track, long timestamp, ByteArray data) throws java.io.IOException
data
frame.
track
- timestamp
- sample timestampdata
- sample data
java.io.IOException
- if an I/O exception occurredvoid flush() throws java.io.IOException
java.io.IOException
- if an I/O exception occurredvoid close() throws java.io.IOException
java.io.IOException
- if an I/O exception occurred
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |