|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fmj.media.AbstractControls net.sf.fmj.media.AbstractPlugIn net.sf.fmj.media.AbstractCodec net.sf.fmj.media.AbstractDePacketizer net.sf.fmj.media.codec.audio.ulaw.DePacketizer
public class DePacketizer
DePacketizer for ULAW/RTP. Doesn't have to do much, just copies input to output. Uses buffer-swapping observed in debugging and seen in other open-source DePacketizer implementations.
Field Summary | |
---|---|
protected Format[] |
outputFormats
|
Fields inherited from class net.sf.fmj.media.AbstractCodec |
---|
inputFormat, inputFormats, opened, outputFormat |
Fields inherited from interface javax.media.PlugIn |
---|
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
Constructor Summary | |
---|---|
DePacketizer()
|
Method Summary | |
---|---|
void |
close()
|
java.lang.String |
getName()
|
Format[] |
getSupportedOutputFormats(Format input)
|
void |
open()
|
Format |
setInputFormat(Format arg0)
|
Format |
setOutputFormat(Format arg0)
|
Methods inherited from class net.sf.fmj.media.AbstractDePacketizer |
---|
process |
Methods inherited from class net.sf.fmj.media.AbstractCodec |
---|
checkInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOM |
Methods inherited from class net.sf.fmj.media.AbstractPlugIn |
---|
reset |
Methods inherited from class net.sf.fmj.media.AbstractControls |
---|
addControl, getControl, getControls, removeControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.media.PlugIn |
---|
reset |
Methods inherited from interface javax.media.Controls |
---|
getControl, getControls |
Field Detail |
---|
protected Format[] outputFormats
Constructor Detail |
---|
public DePacketizer()
Method Detail |
---|
public java.lang.String getName()
getName
in interface PlugIn
getName
in class AbstractPlugIn
public Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats
in interface Codec
getSupportedOutputFormats
in class AbstractCodec
public void open()
open
in interface PlugIn
open
in class AbstractPlugIn
public void close()
close
in interface PlugIn
close
in class AbstractPlugIn
public Format setInputFormat(Format arg0)
setInputFormat
in interface Codec
setInputFormat
in class AbstractCodec
public Format setOutputFormat(Format arg0)
setOutputFormat
in interface Codec
setOutputFormat
in class AbstractCodec
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |