Revision 5e9e29e0 ice.h

View differences:

ice.h
26 26
/*! \brief ICE stuff initialization
27 27
 * @param[in] stun_server STUN server address to use, if any
28 28
 * @param[in] stun_port STUN port to use, if any
29
 * @param[in] rtp_min_port Minimum port to use for RTP/RTCP, if a range is to be used
30
 * @param[in] rtp_max_port Maximum port to use for RTP/RTCP, if a range is to be used
29 31
 * @returns 0 in case of success, a negative integer on errors */
30
gint janus_ice_init(gchar *stun_server, uint16_t stun_port);
32
gint janus_ice_init(gchar *stun_server, uint16_t stun_port, uint16_t rtp_min_port, uint16_t rtp_max_port);
31 33
/*! \brief Method to get the STUN server IP address
32 34
 * @returns The currently used STUN server IP address, if available, or NULL if not */
33 35
char *janus_ice_get_stun_server(void);

Also available in: Unified diff