int sm_vmprx_config_sprt(struct sm_vmprx_config_sprt_parms *configp)
typedef struct sm_vmprx_config_sprt_parms { tSMVMPrxId vmprx; /* in */ tSM_INT payload_type; /* in */ tSMSPRTId sprt; /* in */ } SM_VMPRX_CONFIG_SPRT_PARMS;
Configure the association of a VMP[rx] with a SPRT end point. If
payload_type
is -1
then
sprt
can be kSMNullSPRTId
, otherwise it must be a value created
by a call to
sm_sprt_create().
This requires the module sprt to have been downloaded.
-1
will remove any payload type configuration from the
SPRT end point, preventing its use.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.