org.mobicents.media.server.spi.dsp
Interface Codec

All Superinterfaces:
java.io.Serializable

public interface Codec
extends java.io.Serializable

Author:
Oleg Kulikov

Field Summary
static AudioFormat G729
           
static AudioFormat GSM
           
static AudioFormat LINEAR_AUDIO
           
static AudioFormat PCMA
           
static AudioFormat PCMU
           
static AudioFormat SPEEX
           
 
Method Summary
 Format getSupportedInputFormat()
           
 Format getSupportedOutputFormat()
           
 void process(Buffer buffer)
          Perform encoding/decoding procedure.
 

Field Detail

PCMU

static final AudioFormat PCMU

PCMA

static final AudioFormat PCMA

SPEEX

static final AudioFormat SPEEX

G729

static final AudioFormat G729

GSM

static final AudioFormat GSM

LINEAR_AUDIO

static final AudioFormat LINEAR_AUDIO
Method Detail

getSupportedInputFormat

Format getSupportedInputFormat()

getSupportedOutputFormat

Format getSupportedOutputFormat()

process

void process(Buffer buffer)
Perform encoding/decoding procedure.

Parameters:
buffer - the media buffer.


Copyright © 2010. All Rights Reserved.