class IAXFormat
|
Wrapper class for audio and video formats. More... |
|
|
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),
}
Public Static Methods
Public Members
This class holds the enumeration values for audio and video formats
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),
}
| Audio |
Audio format enumeration types
enum Video { JPEG = (1 << 16),
PNG = (1 << 17),
H261 = (1 << 18),
H263 = (1 << 19),
}
| Video |
Video format enumeration types
void formatList (String& dest, u_int32_t formats, char sep = ',')
| formatList |
[static]
Create a string list from formats
Parameters:
dest | The destination
|
formats | The formats
|
sep | The separator to use
|
inline const char* audioText (u_int32_t audio)
| audioText |
[static]
Get the text associated with an audio format
Parameters:
Returns: A pointer to the text associated with the format or 0 if the format doesn't exist
inline const char* videoText (u_int32_t video)
| videoText |
[static]
Get the text associated with a video format
Parameters:
Returns: A pointer to the text associated with the format or 0 if the format doesn't exist
static TokenDict audioData[]
| audioData[] |
static TokenDict videoData[]
| videoData[] |
Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54. |