- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjsip/include/pjsua2/endpoint.hpp
r5185 r5513 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. … … 1311 1337 static void on_mwi_info(pjsua_acc_id acc_id, 1312 1338 pjsua_mwi_info *mwi_info); 1313 1339 static void on_acc_find_for_incoming(const pjsip_rx_data *rdata, 1340 pjsua_acc_id* acc_id); 1314 1341 static void on_buddy_state(pjsua_buddy_id buddy_id); 1315 1342 // Call callbacks … … 1376 1403 pjmedia_transport *base_tp, 1377 1404 unsigned flags); 1405 static void 1406 on_create_media_transport_srtp(pjsua_call_id call_id, 1407 unsigned media_idx, 1408 pjmedia_srtp_setting *srtp_opt); 1378 1409 1379 1410 private:
Note: See TracChangeset
for help on using the changeset viewer.