#include <frame.h>
Inheritance diagram for IAX2FullFrameVoice:
Public Types | |
enum | AudioSc { g7231 = 1, gsm = 2, g711ulaw = 4, g711alaw = 8, mp3 = 0x10, adpcm = 0x20, pcm = 0x40, lpc10 = 0x80, g729 = 0x100, speex = 0x200, ilbc = 0x400, supportedCodecs = 11 } |
Public Member Functions | |
IAX2FullFrameVoice (IAX2Frame &srcFrame) | |
IAX2FullFrameVoice (IAX2FullFrame &srcFrame) | |
IAX2FullFrameVoice (IAX2Processor *processor, PBYTEArray &sound, PINDEX usersTimeStamp=0) | |
virtual | ~IAX2FullFrameVoice () |
virtual PString | GetSubClassName () const |
virtual BYTE | GetFullFrameType () |
Static Public Member Functions | |
static PString | GetSubClassName (unsigned short testValue) |
static PString | GetSubClassName (unsigned int testValue) |
static PString | GetOpalNameOfCodec (PINDEX testValue) |
static PString | GetSubClassName (int testValue) |
static unsigned short | OpalNameToIax2Value (const PString opalName) |
This class has the ability to build audio codecs, and report on available formats.
The contents the data section is the compressed audio frame.
|
|
Construction from a supplied dataframe. In this case, this class is filled from an incoming data packet |
|
Construction from a supplied dataframe. In this case, this class is filled from an incoming data packet |
|
Construction from an encoded audio array (stored in a PBYTEArray), in preparation to sending to remote node. The constructor will not delete the supplied PBYTEArray structure. The full frame will use the specified timeStamp, if it is > 0. If the specified timeStamp == 0, the timeStamp will be calculated from when the call started. |
|
Declare an empty destructor |
|
Return the IAX2FullFrame type represented here (voice, protocol, session etc Reimplemented from IAX2FullFrame. |
|
Get text description of the subclass contents, given the supplied argument. The name returned is that recoginised by the OPAL library. |
|
Get text description of the subclass contents, given the supplied argument |
|
Get text description of the subclass contents, given the supplied argument |
|
Get text description of the subclass contents, given the supplied argument |
|
Get text description of the subclass contents Reimplemented from IAX2FullFrame. |
|
Turn the OPAL string (which describes the codec) into a AudioSc value. If there is no conversion found, return 0. |