int sm_vmprx_config_profile_specific(struct sm_vmprx_config_profile_specific_parms *psp)
typedef struct sm_vmprx_config_profile_specific_parms { tSMVMPrxId vmprx; /* in */ tSM_INT enable; /* in */ char *plugin; /* in */ tSM_INT paramlen; /* in */ char *paramval; /* in */ } SM_VMPRX_CONFIG_PROFILE_SPECIFIC_PARMS;
Normally profile specific RTP extensions (such as use of RTP extension header) are ignored. Invoking this call allows profile specific processing to be performed on received RTP packets by a specified ProsodyS plugin. Typically such a plugin will cause occasional VMP[rx] events and status notifications to occur in order to indicate that profile specific state transitions have taken place. Information pertaining to a state transition can then be obtained by invoking sm_vmprx_status() and sm_vmprx_status_profile_specific() . See documentation supplied with ProsodyS profile specific plugin for further details.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.