public class JavaEncoder extends AbstractCodec2 implements FormatParametersAwareCodec
Codec
.BUFFER_FLAG_FEC, BUFFER_FLAG_PLC, EMPTY_FORMATS, features, MAX_AUDIO_SEQUENCE_NUMBERS_TO_PLC, SEQUENCE_MAX, SEQUENCE_MIN
Constructor and Description |
---|
JavaEncoder()
Initializes a new iLBC JavaEncoder instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doClose()
Implements
AbstractCodec2.doClose() . |
protected void |
doOpen()
Implements
AbstractCodec2.doOpen() . |
protected int |
doProcess(javax.media.Buffer inBuffer,
javax.media.Buffer outBuffer)
Implements
AbstractCodec2.doProcess(Buffer, Buffer) . |
java.awt.Component |
getControlComponent()
Implements
Control.getControlComponent() . |
javax.media.Format |
getOutputFormat()
Get the output format.
|
void |
setFormatParameters(java.util.Map<java.lang.String,java.lang.String> fmtps)
Sets the format parameters to fmtps
|
calculateLostSeqNoCount, close, discardOutputBuffer, getMatchingOutputFormats, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setInputFormat, setOutputFormat, specialize, updateOutput, validateByteArraySize, validateShortArraySize
checkInputBuffer, dump, getInputFormat, getSupportedInputFormats, isEOM, propagateEOM
addControl, getControl, getControls, removeControl
protected void doClose()
AbstractCodec2.doClose()
.doClose
in class AbstractCodec2
AbstractCodec2.doClose()
protected void doOpen()
AbstractCodec2.doOpen()
.doOpen
in class AbstractCodec2
AbstractCodec2.doOpen()
protected int doProcess(javax.media.Buffer inBuffer, javax.media.Buffer outBuffer)
AbstractCodec2.doProcess(Buffer, Buffer)
.doProcess
in class AbstractCodec2
inBuffer
- the input bufferoutBuffer
- the output bufferAbstractCodec2.doProcess(Buffer, Buffer)
public java.awt.Component getControlComponent()
Control.getControlComponent()
.getControlComponent
in interface javax.media.Control
public javax.media.Format getOutputFormat()
getOutputFormat
in class net.sf.fmj.media.AbstractCodec
AbstractCodec.getOutputFormat()
public void setFormatParameters(java.util.Map<java.lang.String,java.lang.String> fmtps)
setFormatParameters
in interface FormatParametersAwareCodec
fmtps
- The format parameters to set
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.