Changeset 5297 for pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp
- Timestamp:
- May 13, 2016 10:56:48 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp
r5278 r5297 903 903 */ 904 904 pj_stun_nat_type natGetType() throw(Error); 905 906 /** 907 * Update the STUN servers list. The libInit() must have been called 908 * before calling this function. 909 * 910 * @param prmServers Array of STUN servers to try. The endpoint 911 * will try to resolve and contact each of the 912 * STUN server entry until it finds one that is 913 * usable. Each entry may be a domain name, host 914 * name, IP address, and it may contain an 915 * optional port number. For example: 916 * - "pjsip.org" (domain name) 917 * - "sip.pjsip.org" (host name) 918 * - "pjsip.org:33478" (domain name and a non- 919 * standard port number) 920 * - "10.0.0.1:3478" (IP address and port number) 921 * @param prmWait Specify if the function should block until 922 * it gets the result. In this case, the 923 * function will block while the resolution 924 * is being done, and the callback 925 * onNatCheckStunServersComplete() will be called 926 * before this function returns. 927 * 928 */ 929 void natUpdateStunServers(const StringVector &prmServers, 930 bool prmWait) throw(Error); 905 931 906 932 /** … … 1190 1216 * Callback when the Endpoint has finished performing STUN server 1191 1217 * checking that is initiated when calling libInit(), or by 1192 * calling natCheckStunServers() .1218 * calling natCheckStunServers() or natUpdateStunServers(). 1193 1219 * 1194 1220 * @param prm Callback parameters.
Note: See TracChangeset
for help on using the changeset viewer.