- Timestamp:
- Dec 4, 2013 3:01:20 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/include/pjsua2/endpoint.hpp
r4670 r4672 21 21 22 22 /** 23 * @file pjsua2/ ua.hpp23 * @file pjsua2/endpoint.hpp 24 24 * @brief PJSUA2 Base Agent Operation 25 25 */ … … 33 33 34 34 /** 35 * @defgroup PJSUA2_UA Base Endpoint Operations35 * @defgroup PJSUA2_UA Endpoint 36 36 * @ingroup PJSUA2_Ref 37 37 * @{ … … 163 163 164 164 ////////////////////////////////////////////////////////////////////////////// 165 165 /** 166 * SIP User Agent related settings. 167 */ 166 168 struct UaConfig : public PersistentObject 167 169 { … … 213 215 * 214 216 * When nameserver is not configured, entries will be resolved with 215 * #pj_gethostbyname() if it's not an IP address. Port number may be217 * pj_gethostbyname() if it's not an IP address. Port number may be 216 218 * specified if the server is not listening in standard STUN port. 217 219 */ … … 343 345 344 346 /** 345 * Additional flags to be given to #pj_file_open() when opening347 * Additional flags to be given to pj_file_open() when opening 346 348 * the log file. By default, the flag is PJ_O_WRONLY. Application 347 349 * may set PJ_O_APPEND here so that logs are appended to existing … … 499 501 500 502 /** 501 * Echo canceller options (see #pjmedia_echo_create())503 * Echo canceller options (see pjmedia_echo_create()) 502 504 * 503 505 * Default: 0. … … 791 793 /** 792 794 * Schedule a timer with the specified interval and user data. When the 793 * interval elapsed, Endpoint::onTimer() callback will be795 * interval elapsed, onTimer() callback will be 794 796 * called. Note that the callback may be executed by different thread, 795 797 * depending on whether worker thread is enabled or not. … … 811 813 * previous utilTimerSchedule() call. 812 814 */ 813 void utilTimerCancel(Token prmT imerToken);815 void utilTimerCancel(Token prmToken); 814 816 815 817 /** … … 824 826 * This is a utility function to detect NAT type in front of this endpoint. 825 827 * Once invoked successfully, this function will complete asynchronously 826 * and report the result in Endpoint::onNatDetectionComplete().828 * and report the result in onNatDetectionComplete(). 827 829 * 828 830 * After NAT has been detected and the callback is called, application can 829 * get the detected NAT type by calling #natGetType(). Application830 * can also perform NAT detection by calling #natDetectType()831 * get the detected NAT type by calling natGetType(). Application 832 * can also perform NAT detection by calling natDetectType() 831 833 * again at later time. 832 834 * … … 836 838 837 839 /** 838 * Get the NAT type as detected by #natDetectType() function. This839 * function will only return useful NAT type after #natDetectType()840 * has completed successfully and Endpoint::onNatDetectionComplete()840 * Get the NAT type as detected by natDetectType() function. This 841 * function will only return useful NAT type after natDetectType() 842 * has completed successfully and onNatDetectionComplete() 841 843 * callback has been called. 842 844 * … … 848 850 /** 849 851 * Auxiliary function to resolve and contact each of the STUN server 850 * entries (sequentially) to find which is usable. The #pjsua_init() must852 * entries (sequentially) to find which is usable. The libInit() must 851 853 * have been called before calling this function. 852 854 * … … 966 968 * @param media media to be added. 967 969 */ 968 void addMedia(AudioMedia &media);970 void mediaAdd(AudioMedia &media); 969 971 970 972 /** … … 973 975 * @param media media to be removed. 974 976 */ 975 void removeMedia(AudioMedia &media);977 void mediaRemove(AudioMedia &media); 976 978 977 979 /** … … 1005 1007 const AudioMediaVector &mediaEnumPorts() const throw(Error); 1006 1008 1009 /** 1010 * Get the instance of Audio Device Manager. 1011 * 1012 * @return The Audio Device Manager. 1013 */ 1007 1014 AudDevManager &audDevManager(); 1008 1015 … … 1060 1067 /** 1061 1068 * Callback when the Endpoint has finished performing NAT type 1062 * detection that is initiated with Endpoint::natDetectType().1069 * detection that is initiated with natDetectType(). 1063 1070 * 1064 1071 * @param prm Callback parameters containing the detection … … 1071 1078 /** 1072 1079 * Callback when the Endpoint has finished performing STUN server 1073 * checking that is initiated with Endpoint::natCheckStunServers().1080 * checking that is initiated with natCheckStunServers(). 1074 1081 * 1075 1082 * @param prm Callback parameters. … … 1090 1097 /** 1091 1098 * Callback when a timer has fired. The timer was scheduled by 1092 * Endpoint::utilTimerSchedule().1099 * utilTimerSchedule(). 1093 1100 * 1094 1101 * @param prm Callback parameters.
Note: See TracChangeset
for help on using the changeset viewer.