#include <g711codec.h>
Inheritance diagram for Opal_G711_PCM:
Public Member Functions | |
Opal_G711_PCM (const OpalMediaFormat &inputMediaFormat) | |
virtual PBoolean | Convert (const RTP_DataFrame &input, RTP_DataFrame &output) |
Protected Attributes | |
OpalG711_PLC | plc |
PINDEX | lastPayloadSize |
Opal_G711_PCM::Opal_G711_PCM | ( | const OpalMediaFormat & | inputMediaFormat | ) |
virtual PBoolean Opal_G711_PCM::Convert | ( | const RTP_DataFrame & | input, | |
RTP_DataFrame & | output | |||
) | [virtual] |
Convert the data from one format to another. This function takes the input data as a RTP_DataFrame and converts it to its output format, placing it into the RTP_DataFrame provided.
Returns PFalse if the conversion fails.
input | Input data |
output | Output data |
Reimplemented from OpalStreamedTranscoder.
PINDEX Opal_G711_PCM::lastPayloadSize [protected] |
OpalG711_PLC Opal_G711_PCM::plc [protected] |