|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Detailed DescriptionThis section describes functions to initialize and register speex codec factory to the codec manager. After the codec factory has been registered, application can use Codec Framework API to manipulate the codec. The Speex codec uses multiple bit rates, and supports ultra-wideband (32 kHz sampling rate), wideband (16 kHz sampling rate) and narrowband (telephone quality, 8 kHz sampling rate) By default, the speex codec factory registers three Speex codecs: "speex/8000" narrowband codec, "speex/16000" wideband codec, and "speex/32000" ultra-wideband codec. This behavior can be changed by specifying pjmedia_speex_options flags during initialization. Codec SettingsGeneral SettingsGeneral codec settings for this codec such as VAD and PLC can be manipulated through the Codec Specific SettingsThe following settings are applicable for this codec. Quality vs ComplexityThe Speex codec quality versus computational complexity and bandwidth requirement can be adjusted by modifying the quality and complexity setting, by calling pjmedia_codec_speex_set_param(). The RFC 5574 Section 5 shows the relationship between quality setting and the resulting bitrate. The default setting of quality is specified in PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY. And the default setting of complexity is specified in PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY. Enumeration Type DocumentationFunction Documentation
Initialize and register Speex codec factory to pjmedia endpoint.
Initialize Speex codec factory using default settings and register to pjmedia endpoint.
Change the settings of Speex codec.
Unregister Speex codec factory from pjmedia endpoint and deinitialize the Speex codec library.
Copyright (C) 2006-2008 Teluu Inc.
| |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||