This function is deprecated.
int sm_vidmprx_ice_stun_change_role(struct sm_vidmprx_ice_stun_change_role_parms *rolep)
typedef struct sm_vidmprx_ice_stun_change_role_parms { tSMVidMPrxId vidmprx; /* in */ enum kSMICERole local_role; /* in */ } SM_VIDMPRX_ICE_STUN_CHANGE_ROLE_PARMS;
Changes the role of ICE compatible STUN on the VidMP[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.