public class Packetizer extends AbstractCodec2
Modifier and Type | Field and Description |
---|---|
(package private) static javax.media.format.AudioFormat[] |
SUPPORTED_INPUT_FORMATS
The list of Formats of audio data supported as input by
Packetizer instances.
|
(package private) static javax.media.format.AudioFormat[] |
SUPPORTED_OUTPUT_FORMATS
The list of Formats of audio data supported as output by
Packetizer instances.
|
BUFFER_FLAG_FEC, BUFFER_FLAG_PLC, EMPTY_FORMATS, features, MAX_AUDIO_SEQUENCE_NUMBERS_TO_PLC, SEQUENCE_MAX, SEQUENCE_MIN
Constructor and Description |
---|
Packetizer()
Initializes a new Packetizer instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doClose() |
protected void |
doOpen()
Opens this Codec and acquires the resources that it needs to
operate.
|
protected int |
doProcess(javax.media.Buffer inBuf,
javax.media.Buffer outBuf) |
calculateLostSeqNoCount, close, discardOutputBuffer, getMatchingOutputFormats, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setInputFormat, setOutputFormat, specialize, updateOutput, validateByteArraySize, validateShortArraySize
checkInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOM
addControl, getControl, getControls, removeControl
static final javax.media.format.AudioFormat[] SUPPORTED_INPUT_FORMATS
static final javax.media.format.AudioFormat[] SUPPORTED_OUTPUT_FORMATS
protected void doClose()
doClose
in class AbstractCodec2
protected void doOpen() throws javax.media.ResourceUnavailableException
PlugIn.open()
on this instance will result in
a call to doOpen only if AbstractCodec.opened
is
false. All required input and/or output formats are assumed to
have been set on this Codec before doOpen is called.doOpen
in class AbstractCodec2
javax.media.ResourceUnavailableException
- if any of the resources that this
Codec needs to operate cannot be acquiredprotected int doProcess(javax.media.Buffer inBuf, javax.media.Buffer outBuf)
doProcess
in class AbstractCodec2
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.