This function is deprecated.
int sm_vmptx_config_codec(struct sm_vmptx_codec_parms *codecp)
typedef struct sm_vmptx_codec_parms {
tSMVMPtxId vmptx; /* in */
enum kSMCodecType codec; /* in */
tSM_INT payload_type; /* in */
enum kSMVMPTxVADMode VADMode; /* in */
tSM_INT ptime; /* in */
} SM_VMPTX_CODEC_PARMS;
This function is deprecated because it will not be updated to add any new codecs. The codecs it covers can also be configured using sm_vmptx_config_codec_alaw(), sm_vmptx_config_codec_comfort_noise(), sm_vmptx_config_codec_g729ab(), sm_vmptx_config_codec_mulaw(), and sm_vmptx_config_codec_rfc2833() and new codecs will be added by adding new functions for each codec.
-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.