summaryrefslogtreecommitdiff
path: root/pjlib/include/pj
AgeCommit message (Collapse)Author
2011-01-21Fixed #1197: WSAECONNRESET errors on Windows 2000 or 2003 may cause UDP ↵Benny Prijono
transport to stop working git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3408 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-20Misc (re #1134): enable doxygen documentation for ↵Benny Prijono
pj_actievsock_set_iphone_os_bg() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3350 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-11Fix #1145: API to enable/disable support for iOS BG feature during runtimeLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3336 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-30Re #1134 (misc fixes): fixed various doxygen warnings, as well as added ↵Benny Prijono
overview section in pjmedia documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3327 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22Fixed #1130Liong Sauw Ming
Since the problem may not be iOS4 specific, a general approach is adopted to fix the problem. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3316 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27Closed ticket #1107: iOS4 background featureLiong Sauw Ming
* pjlib: * add support for activesock TCP to work in background mode. * add feature in ioqueue to recreate closed UDP sockets. * pjsip-apps: * ipjsua: add support for iPhone OS 4 background mode * ipjsystest: add support for iPhone OS 4 background mode git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Misc (re #1110): modified config_site_sample.h to enable CoreAudio's iLBC ↵Benny Prijono
codec by default for iPhone target git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3279 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on ↵Liong Sauw Ming
iPhone to accommodate long path name when running on the simulator. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3258 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-23Re #1104: Fixed iPhone OS version detection in os_auto.h.inLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3240 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-15Fixed #1104: Append ".local" to the system's hostname in IOS 4.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3238 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Fix #1071: Increase default maximum SIP packet size to 4000Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3182 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1050, #1052, #1053, #1054 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-26Fixed ticket #1058 (Different size between pj_sockaddr_in6 and native ↵Benny Prijono
sockaddr_in6 on 64bit systems, causing failure in using SIP IPv6 UDP transport): - disabled u6_addr64 field in pj_in6_addr, as this seem to cause 32 byte alignment to be invoked git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3145 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25More ticket #1032:Nanang Izzuddin
- Updated transport state notification callback to return void. - Updated transport state enum to only contain connected and disconnected, no more bitmask value. - Added direction field to SIP transport. - Removed remote hostname hash from transport key. - Updated cert info dump to return -1 when buffer is insufficient. - Added new error code PJSIP_TLS_ECERTVERIF. - Updated get_cert_name() in ssl_sock_symbian.c to use heap buffer instead of stack. - Minors, e.g: added prefix PJ in cipher types, docs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-24Ticket #1032:Nanang Izzuddin
- Initial version of server domain name verification: - Updated SSL certificate info, especially identities info - Updated verification mechanism as in the specifications in ticket desc. - Added server domain name info in pjsip_tx_data. - Added alternative API for acquiring transport and creating transport of transport factory to include pjsip_tx_data param. - Server identity match criteria: - full host name match - wild card not accepted - if identity is URI, it must be SIP/SIPS URI - Initial version of transport state notifications: - Added new API to set transport state callback in PJSIP and PJSUA. - Defined states: connected/disconnected, accepted/rejected, verification errors. - Minors: - Updated SSL socket test: dump verification result, test of requiring client cert, and few minors. - Updated test cert to include subjectAltName extensions. - Added SSL certificate dump function. - Updated max number of socket async operations in Symbian sample apps (RSocketServ::Connect()) to 32 (was default 8). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3106 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-20Ticket #1026: Wrong endianness detection for Motorola m68k architecture in ↵Benny Prijono
pj/config.h (thanks Andreas Wehrmann for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3066 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Initial fixes for #993 (OpenSolaris issues)Benny Prijono
- configure script patch for FIONBIO and SIOCGIFFLAGS errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-06Ticket #992: Symbian build issues using RVCT compiler (thanks Gabor Tanka ↵Benny Prijono
for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3046 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-16Ticket #1004: Symbian timer heap fixBenny Prijono
- timer heap now records active timers and cancel them when it's destroyed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3034 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10Fixed ticket #989: Issues with Windows Unicode build (thanks Michele ↵Benny Prijono
Cicciotti for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3002 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Ticket #950 and #957: Benny Prijono
- added QoS options on PJLIB/PJLIB SSL/TLS socket/transport - added demo in Symbian ua.cpp git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2998 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Updated ticket #981: pj_perror() and PJ_PERROR() API:Benny Prijono
- added PJ_PERROR() macro to allow compile time omitting - changed pj_perror() API to allow formatting of the title using printf like format - added a simple test in pjlib-test - updated Doxygen documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2992 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Ticket #957:Nanang Izzuddin
- Added features in secure socket: handshake timeout timer, certificate info, renegotiation API. - Added unit test for secure socket, along with testing purpose certificate & private key. - Updated build configs for secure socket. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2970 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25More ticket #950 (QoS):Benny Prijono
- fixed wrong DSCP field operation with sock_qos_bsd.c backend - tested on Linux for SIP (UDP/TCP), UDP RTP/RTCP, and ICE - renamed 801_1_P names to SO_PRIO - changed a bit of doxygen documentation (the title etc) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2967 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Initial commit for ticket #950: QoS support:Benny Prijono
- implementation: - PJLIB (sock_qos*.*) - added QoS support in: - SIP UDP transport, - SIP TCP transport, - media UDP transport (done in pjsua-lib), - pjnath ICE stream transport, - pjnath STUN socket, - pjnath TURN client - added QoS options in pjsua-lib: - QoS fields in pjsua_transport_config - added "--set-qos" parameter in pjsua Notes: - QoS in TLS transport is not yet implemented, waiting for #957 - build ok on VS6, VS2005 (multiple targets), Carbide, and Mingw - no run-time testing yet git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Ticket #981: new pj_perror() utility APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2965 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24More ticket #972: fixed compilation error on Linux due to the last ↵Benny Prijono
introduction ot PJ_TCP_NODELAY. Everyone needs to re-run configure though (thanks Dan Arrhenius for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2962 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-16Ticket #957:Nanang Izzuddin
- Added SSL socket abstraction with OpenSSL backend. - Updated cipher data type and added cipher constants (Symbian SSL socket has also been updated). - Updated SIP TLS transport to allow setting certificate/credential (via file). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2950 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Ticket #972: setsockopt compatibility problems on Windows (thanks Yann and ↵Benny Prijono
John Ridges for the reports) - set PJ_SOL_IP, PJ_SOL_TCP, and PJ_SOL_UDP to IPPROTO_IP, IPPROTO_TCP, and IPPROTO_UDP respectively on Windows - also added PJ_TCP_NODELAY and PJ_SO_REUSEADDR git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2946 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-27Ticket #957: Initial version of TLS transport for Symbian, includes:Nanang Izzuddin
- Secure socket, generic abstraction and Symbian implementation (using CSecureSocket). - Initial rewriting of SIP TLS transport. - Updated symbian_ua.mmp to support SIP transport TLS (experimental). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2913 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-22Misc (#951): Updated the doxygen comment/documentation in pj_gethostname() ↵Benny Prijono
that specying IPv4 address will fail on some platforms (e.g. Windows). Thanks Robert Cichielo for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2908 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-14Fixed ticket #939: Throwing exception inside exception handler will cause ↵Benny Prijono
infinite loop (thanks Roman Puls for the report) - exception handler is now popped from the stack immediately in PJ_THROW git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2878 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #915 (misc fixes):Benny Prijono
- fixed wrong doxygen comment for pj_list_empty() function (thanks Roman Puls for the report!) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2872 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #935: new pj_sockaddr_parse2() APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2863 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-05Ticket #931: Logging function may infinitely recursively calls itself on ↵Benny Prijono
Windows Mobile (thanks Emil Sturniolo for the report) - Added feature to temporarily suspend the logging facility while we're in the pj_log() function. The suspension will be thread specific if the platform supports it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2853 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29Ticket #923: New API to retrieve current jitter buffer state from a ↵Benny Prijono
stream/session - added pjmedia_session_get_stream_stat_jbuf() and pjmedia_session_get_stream_stat_jbuf() - fixed const correctness in pjmedia_jbuf_get_state(), jb_framelist_size(), and pj_math_stat_get_stddev(), - modify the jitter buffer statistic log message printed by stream (it contains newlines) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2844 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-22Ticket #922: Option to enable mutex related logging to assist ↵Benny Prijono
troubleshooting concurrency problems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2843 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-21Ticket #921: New logging option/flag to include caller thread IDBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2842 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14Ticket #909:Nanang Izzuddin
- Added support for Nokia VAS 2.0. - Fixed wrong value assigned to last downstream state var in downstream callback. - Minor fix in config_site_sample.h related to VAS Direct setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2833 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #909:Nanang Izzuddin
- Added new audio device VAS for Symbian platform. - Updated symsndtest to use the latest audio device framework. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04Misc (ticket #838):Benny Prijono
- protect pj_strdup() for case when source and destination string are the same pointer. Without this, destination string will contain garbage value. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2749 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04Ticket #878: New PJLIB API to parse socket address stringBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2743 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06Ticket #818:Nanang Izzuddin
- Updated config_site_sample.h to enable resampling with small filter on WM platforms. - Updated quality setting in WM sample apps (PocketPJ & pjsua_wince) to use default value. - Updated VS projects of G722.1, Speex, libresample: turning on optimization for debug mode on WM platforms. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2678 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06Ticket #818:Nanang Izzuddin
- Added libresample.mmp - Modified config_site_sample.h to enable resampling with small filter on Symbian platforms. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2676 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28Ticket #706: Merged branch vs-reorg2 into trunk:Nanang Izzuddin
- Currently supported platforms are: Win32, WM6 std & pro, WM5 SP & PPC, WM2003 SP & PPC. - Added libpjproject into solution, this is a single 'combo' library that bundles all PJSIP libraries. - Cleaned up most of compile warnings, note that warning level of libgsmcodec has been reduced from 4 to 3. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2660 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06Ticket #772 (misc fix): Updated floating point version of math statistic to ↵Nanang Izzuddin
return the rounded mean value. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2577 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30Ticket #764: Bug with milliseconds time resolution in WinCE/Windows Mobile ↵Benny Prijono
targets (thanks Johan Lantz for the report) - use QueryPerformanceCounter() (via pj_get_timestamp() API) to emulate the msec precision) - more strict tests in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2560 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13Documentation error for pj_timer_heap_poll(): if no timer exists, the second ↵Benny Prijono
part of timeval will be filled with PJ_MAXINT32 and not -1. Thanks Phil Torre for the report git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2512 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13Ticket #729: MacOS X endianness detection on universal build (thanks Ruud ↵Benny Prijono
Klaver for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2510 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12(Major) Task #737 and #738: integration of APS-Direct and Audiodev from ↵Benny Prijono
aps-direct branch to trunk. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98