|
|
This is just a holder for the list of media formats supported by Yate
const FormatInfo* getFormat (const String& name)
| getFormat |
[static]
Retrieve a format by name and type
Parameters:
name | Standard name of the format to find |
Returns: Pointer to the format info or NULL if not found
const FormatInfo* addFormat (const String& name, int drate, int fsize, const String& type = "audio", int srate = 8000, int nchan = 1)
| addFormat |
[static]
Add a new format to the repository
Parameters:
name | Standard no-blanks lowercase format name |
drate | Data rate in octets/second, 0 for variable |
fsize | Frame size in octets/frame, 0 for non-framed formats |
type | Format type: "audio", "video", "text" |
srate | Rate in samples/second (audio) or 1e-6 frames/second (video), 0 for unknown |
nchan | Number of channels, typically 1 |
Returns: Pointer to the format info or NULL if another incompatible format with the same name was already registered
Generated by: kk on nyx on Sat Jun 4 19:29:41 2005, using kdoc 2.0a54. |