Class g729a

java.lang.Object
javaforce.voip.g729a
All Implemented Interfaces:
Coder

public class g729a extends Object implements Coder
Encodes/decodes g729a packets. http://tools.ietf.org/html/rfc4749
  • Constructor Details

    • g729a

      public g729a(RTP rtp)
  • Method Details

    • encode

      public byte[] encode(short[] samples)
      Specified by:
      encode in interface Coder
    • decode

      public short[] decode(byte[] encoded, int off)
      Specified by:
      decode in interface Coder
    • getSampleRate

      public int getSampleRate()
      Specified by:
      getSampleRate in interface Coder