int sm_vmprx_ice_stun_config(struct sm_vmprx_ice_stun_config_parms *configp)
typedef struct sm_vmprx_ice_stun_config_parms { tSMVMPrxId vmprx; /* in */ enum kSMICERole { kSMICERoleNone, kSMICERoleLite, kSMICERoleControlled, kSMICERoleControlling, } local_role; /* in */ char *local_ice_ufrag; /* in */ tSM_UT32 local_ice_ufrag_length; /* in */ char *local_ice_pwd; /* in */ tSM_UT32 local_ice_pwd_length; /* in */ tSM_UT64 role_tiebreaker; /* in */ } SM_VMPRX_ICE_STUN_CONFIG_PARMS;
Enables or disables ICE compatible STUN on the VMP[rx]. See IETF RFC 5245 and IETF RFC 5389 for more details.
This requires the module icestun to have been downloaded.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.