int sm_vmptx_config_codec_g722(struct sm_vmptx_codec_g722_parms *codecp)
typedef struct sm_vmptx_codec_g722_parms {
tSMVMPtxId vmptx; /* in */
tSM_INT payload_type; /* in */
tSM_INT packetlen; /* in */
} SM_VMPTX_CODEC_G722_PARMS;
Configures a VMP[tx] to use G.722 for encoding wideband data.
This requires the module g722 to have been downloaded.
-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.