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


public interface Processor

Digital signaling processor. DSP transforms media from its original format to one of the specified output format. Output formats are specified as array where order of the formats defines format's priority. If frame has format matching to output format the frame won't be changed.

Author:
kulikov

Method Summary
 Codec[] getCodecs()
          Gets the list of supported codecs.
 Frame process(Frame frame, Format source, Format destination)
          Transforms supplied frame if frame's format does not match to any of the supported output formats and such transcoding is possible.
 

Method Detail

getCodecs

Codec[] getCodecs()
Gets the list of supported codecs.

Returns:
array of codecs

process

Frame process(Frame frame,
              Format source,
              Format destination)
Transforms supplied frame if frame's format does not match to any of the supported output formats and such transcoding is possible.

Parameters:
frame - the frame for transcoding
Returns:
transcoded frame


Copyright © 2013 TeleStax, Inc.. All Rights Reserved.