int sm_vmprx_ice_stun_change_role(struct sm_vmprx_ice_stun_change_role_parms *rolep)
typedef struct sm_vmprx_ice_stun_change_role_parms { tSMVMPrxId vmprx; /* in */ enum kSMICERole local_role; /* in */ } SM_VMPRX_ICE_STUN_CHANGE_ROLE_PARMS;
Changes the role of ICE compatible STUN on the VMP[rx].
Note: the role can only be changed when in either the controlled or controlling role and it can only be changed to the controlling or controlled role.
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.