|
||||||||||||||||||||||||||||||||||||||
Detailed DescriptionDetailed codec attributes used in configuring a codec and in querying the capability of codec factories. Default attributes of any codecs could be queried using pjmedia_codec_mgr_get_default_param() and modified using pjmedia_codec_mgr_set_default_param(). Please note that codec parameter also contains SDP specific setting, dec_fmtp and enc_fmtp, which may need to be set appropriately based on the effective setting. See each codec documentation for more detail. Field Documentation
Sampling rate in Hz
Channel count. Average bandwidth in bits/sec Maximum bandwidth in bits/sec Decoder frame ptime in msec. Encoder ptime, or zero if it's equal to decoder ptime. Bits/sample in the PCM side Payload type. Source format, it's format of encoder input and decoder output.
The "info" part of codec param describes the capability of the codec, and the value should NOT be changed by application. Number of frames per packet.
Voice Activity Detector.
Comfort Noise Generator.
Perceptual Enhancement
Packet loss concealment
Reserved, must be zero. Encoder's fmtp params. Decoder's fmtp params.
The "setting" part of codec param describes various settings to be applied to the codec. When the codec param is retrieved from the codec or codec factory, the values of these will be filled by the capability of the codec. Any features that are supported by the codec (e.g. vad or plc) will be turned on, so that application can query which capabilities are supported by the codec. Application may change the settings here before instantiating the codec/stream. The documentation for this struct was generated from the following file:
Copyright (C) 2006-2008 Teluu Inc.
| |
|||||||||||||||||||||||||||||||||||||