#include <yateiax.h>
Public Types | |
enum | Audio { G723_1 = (1 << 0), GSM = (1 << 1), ULAW = (1 << 2), ALAW = (1 << 3), MP3 = (1 << 4), ADPCM = (1 << 5), SLIN = (1 << 6), LPC10 = (1 << 7), G729A = (1 << 8), SPEEX = (1 << 9), ILBC = (1 << 10) } |
enum | Video { JPEG = (1 << 16), PNG = (1 << 17), H261 = (1 << 18), H263 = (1 << 19) } |
Static Public Member Functions | |
static void | formatList (String &dest, u_int32_t formats, char sep= ',') |
static const char * | audioText (u_int32_t audio) |
static const char * | videoText (u_int32_t video) |
Static Public Attributes | |
static TokenDict | audioData [] |
static TokenDict | videoData [] |
This class holds the enumeration values for audio and video formats
enum Audio |
Audio format enumeration types
enum Video |
Video format enumeration types
static void formatList | ( | String & | dest, | |
u_int32_t | formats, | |||
char | sep = ',' | |||
) | [static] |
Create a string list from formats
dest | The destination | |
formats | The formats | |
sep | The separator to use |
static const char* audioText | ( | u_int32_t | audio | ) | [inline, static] |
Get the text associated with an audio format
audio | The desired format |
References TelEngine::lookup().
static const char* videoText | ( | u_int32_t | video | ) | [inline, static] |
Get the text associated with a video format
video | The desired format |
References TelEngine::lookup().