Class Packetizer
- java.lang.Object
-
- net.sf.fmj.media.BasicPlugIn
-
- net.sf.fmj.media.BasicCodec
-
- com.sun.media.BasicCodec
-
- com.ibm.media.codec.audio.AudioCodec
-
- com.ibm.media.codec.audio.AudioPacketizer
-
- org.jitsi.impl.neomedia.codec.audio.alaw.Packetizer
-
- All Implemented Interfaces:
javax.media.Codec,javax.media.Controls,javax.media.PlugIn
public class Packetizer extends com.ibm.media.codec.audio.AudioPacketizerImplements an RTP packetizer for the A-law codec.- Author:
- Damian Minkov, Lyubomir Marinov
-
-
Field Summary
-
Fields inherited from class com.ibm.media.codec.audio.AudioPacketizer
history, historyLength, packetSize, sample_count
-
Fields inherited from class com.ibm.media.codec.audio.AudioCodec
DEBUG, defaultOutputFormats, inputFormat, outputFormat, PLUGIN_NAME, supportedInputFormats, supportedOutputFormats
-
-
Constructor Summary
Constructors Constructor Description Packetizer()Initializes a new Packetizer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getControls()protected javax.media.Format[]getMatchingOutputFormats(javax.media.Format in)voidopen()-
Methods inherited from class com.ibm.media.codec.audio.AudioCodec
checkFormat, getInputFormat, getName, getOutputFormat, getSupportedInputFormats, getSupportedOutputFormats, setInputFormat, setOutputFormat
-
Methods inherited from class net.sf.fmj.media.BasicCodec
checkEOM, checkInputBuffer, close, getArrayElementSize, isEOM, processAtEOM, propagateEOM, updateOutput, updateRGBFormat
-
Methods inherited from class net.sf.fmj.media.BasicPlugIn
error, getClassForName, getControl, getInputData, getNativeData, getOutputData, matches, plugInExists, validateByteArraySize, validateData, validateIntArraySize, validateShortArraySize
-
-
-
-
Method Detail
-
getControls
public Object[] getControls()
- Specified by:
getControlsin interfacejavax.media.Controls- Overrides:
getControlsin classnet.sf.fmj.media.BasicPlugIn
-
getMatchingOutputFormats
protected javax.media.Format[] getMatchingOutputFormats(javax.media.Format in)
- Overrides:
getMatchingOutputFormatsin classcom.ibm.media.codec.audio.AudioCodec
-
open
public void open() throws javax.media.ResourceUnavailableException- Specified by:
openin interfacejavax.media.PlugIn- Overrides:
openin classnet.sf.fmj.media.BasicCodec- Throws:
javax.media.ResourceUnavailableException
-
-