int sm_vmptx_config_codec_comfort_noise(struct sm_vmptx_codec_comfort_noise_parms *codecp)
typedef struct sm_vmptx_codec_comfort_noise_parms { tSMVMPtxId vmptx; /* in */ tSM_INT payload_type; /* in */ } SM_VMPTX_CODEC_COMFORT_NOISE_PARMS;
Configures the comfort noise codec. This codec is only used if
the main codec for the VMP[tx] has been set to use RFC 3389 comfort
noise. For example, the A-law codec is configured to use comfort noise with
sm_vmptx_config_codec_alaw(),
by specifying a VADmode
of
kSMVMPTxVADModeComfortNoise
.
-1
will remove any payload type configuration from the
codec preventing its use.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.