Class DePacketizer

  • All Implemented Interfaces:
    javax.media.Codec, javax.media.Controls, javax.media.PlugIn

    public class DePacketizer
    extends AbstractCodec2
    Implements an RTP depacketizer for Adaptive Multi-Rate Wideband (AMR-WB).
    Author:
    Lyubomir Marinov
    • Constructor Detail

      • DePacketizer

        public DePacketizer()
        Initializes a new DePacketizer instance.
    • Method Detail

      • doOpen

        protected void doOpen()
                       throws javax.media.ResourceUnavailableException
        Opens this Codec and acquires the resources that it needs to operate. A call to 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.
        Specified by:
        doOpen in class AbstractCodec2
        Throws:
        javax.media.ResourceUnavailableException - if any of the resources that this Codec needs to operate cannot be acquired
      • doProcess

        protected int doProcess​(javax.media.Buffer inBuf,
                                javax.media.Buffer outBuf)
        Specified by:
        doProcess in class AbstractCodec2