org.mobicents.media.server.impl.dsp.audio.g729
Class Encoder
java.lang.Object
org.mobicents.media.server.impl.dsp.audio.g729.Encoder
- All Implemented Interfaces:
- Serializable, Codec
public class Encoder
- extends Object
- implements Codec
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Encoder
public Encoder()
getSupportedInputFormat
public Format getSupportedInputFormat()
- Specified by:
getSupportedInputFormat in interface Codec
getSupportedOutputFormat
public Format getSupportedOutputFormat()
- Specified by:
getSupportedOutputFormat in interface Codec
process
public Frame process(Frame frame)
- Specified by:
process in interface Codec
process
public byte[] process(byte[] media)
- Perform compression.
- Parameters:
input - media
- Returns:
- compressed media.
processTestDecoderWithFileITUEncoded
public void processTestDecoderWithFileITUEncoded(Frame buffer)
processTestFileWithoutDecoding
public void processTestFileWithoutDecoding(Frame buffer)
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.