net.sf.fmj.media.codec.audio.ulaw
Class Packetizer

java.lang.Object
  extended by net.sf.fmj.media.AbstractControls
      extended by net.sf.fmj.media.AbstractPlugIn
          extended by net.sf.fmj.media.AbstractCodec
              extended by net.sf.fmj.media.AbstractPacketizer
                  extended by net.sf.fmj.media.codec.audio.ulaw.Packetizer
All Implemented Interfaces:
Codec, Controls, PlugIn

public class Packetizer
extends AbstractPacketizer

ULAW/RTP packetizer codec.

Author:
Ken Larson

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
Packetizer()
           
 
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.AbstractPacketizer
doBuildPacketHeader, process, setDoNotSpanInputBuffers, setPacketSize
 
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

outputFormats

protected Format[] outputFormats
Constructor Detail

Packetizer

public Packetizer()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface PlugIn
Overrides:
getName in class AbstractPlugIn

getSupportedOutputFormats

public Format[] getSupportedOutputFormats(Format input)
Specified by:
getSupportedOutputFormats in interface Codec
Specified by:
getSupportedOutputFormats in class AbstractCodec

open

public void open()
Specified by:
open in interface PlugIn
Overrides:
open in class AbstractPlugIn

close

public void close()
Specified by:
close in interface PlugIn
Overrides:
close in class AbstractPlugIn

setInputFormat

public Format setInputFormat(Format arg0)
Specified by:
setInputFormat in interface Codec
Overrides:
setInputFormat in class AbstractCodec

setOutputFormat

public Format setOutputFormat(Format arg0)
Specified by:
setOutputFormat in interface Codec
Overrides:
setOutputFormat in class AbstractCodec