|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Detailed DescriptionG.722.1 licensed from PolycomŽ This section describes functions to initialize and register G.722.1 codec factory to the codec manager. After the codec factory has been registered, application can use Codec Framework API to manipulate the codec. PJMEDIA G722.1 codec implementation is based on ITU-T Recommendation G.722.1 (05/2005) C fixed point implementation including its Annex C. G.722.1 is a low complexity codec that supports 7kHz and 14kHz audio bandwidth working at bitrates ranging from 16kbps to 48kbps. It may be used with speech or music inputs. 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. BitrateThe codec implementation supports standard and non-standard bitrates. Use pjmedia_codec_g7221_set_mode() to enable or disable the bitrates. By default, only standard bitrates are enabled upon initialization:
The usage of non-standard bitrates must follow these requirements:
Function Documentation
Initialize and register G.722.1 codec factory to pjmedia endpoint.
Enable and disable G.722.1 mode. By default, the standard modes are enabled upon initialization, i.e.:
Set the G.722.1 codec encoder and decoder level adjustment. If the value is non-zero, then PCM input samples to the encoder will be shifted right by this value, and similarly PCM output samples from the decoder will be shifted left by this value.
Default value is PJMEDIA_G7221_DEFAULT_PCM_SHIFT.
Unregister G.722.1 codecs factory from pjmedia endpoint.
Copyright (C) 2006-2008 Teluu Inc.
| |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||