This function is deprecated.
int sm_vidmprx_ice_stun_config(struct sm_vidmprx_ice_stun_config_parms *configp)
typedef struct sm_vidmprx_ice_stun_config_parms {
tSMVidMPrxId vidmprx; /* 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_VIDMPRX_ICE_STUN_CONFIG_PARMS;
Enables or disables ICE compatible STUN on the VidMP[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.