int sm_vmprx_config_dtls(struct sm_vmprx_config_dtls_parms *configp)
typedef struct sm_vmprx_config_dtls_parms {
tSMVMPrxId vmprx; /* in */
tSMDTLSrxId dtlsrx; /* in */
tSM_INT use_RTCP_port; /* in */
} SM_VMPRX_CONFIG_DTLS_PARMS;
Configures a VMP[rx] to pass incoming DTLS packets to a DTLS[rx].
Requires the modules dtlsrx and vmprx to have been downloaded.
kSMNullDTLSrxId
then the VMP[rx] will no longer pass on DTLS packets.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody DTLS processing API.