public static class Flv.TagProcessorAdapter extends java.lang.Object implements Flv.ITagProcessor
TagProcessorAdapter
- Flv.ITagProcessor
adapter.Constructor and Description |
---|
TagProcessorAdapter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onTag(int type,
int dataSize,
long timestamp,
int stream,
java.io.InputStream is)
Notifies about a new tag in the
is . |
void |
onTagSize(int size)
Notifies about previous tag size.
|
public void onTag(int type, int dataSize, long timestamp, int stream, java.io.InputStream is) throws java.io.IOException
Flv.ITagProcessor
is
.onTag
in interface Flv.ITagProcessor
type
- tag typedataSize
- tag data sizetimestamp
- tag timestampstream
- tag streamis
- input stream to read the tagjava.io.IOException
- if an I/O exception occurredpublic void onTagSize(int size)
Flv.ITagProcessor
onTagSize
in interface Flv.ITagProcessor
size
- size