summaryrefslogtreecommitdiff
path: root/pjlib
AgeCommit message (Collapse)Author
2009-10-28Ticket #957: Removed DTLS proto in SSL socket with OpenSSL backend as it ↵Nanang Izzuddin
hasn't been really supported yet. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2972 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-27Ticket #957: Nanang Izzuddin
- Fixed SSL socket unit test issues (mostly on Linux platform): let OS manage the binding port (specify port to 0), use pj_sockaddr_get_len() instead of sizeof() for sockaddr size, DOS eol format for certificate and private key files. - Temporary fix for SSL_CTX_use_certificate_chain_file() false error alarm (after previous OpenSSL handshake error), by clearing OpenSSL thread error queue in reset_ssl_sock_state() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2971 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-26Misc fix (#951): Updated active socket to keep passing the packet pointer, ↵Nanang Izzuddin
instead of NULL, when connection is closed/error and no remainder data, as application, e.g: SSL sock, may need to have access on it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2969 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: SOL_UDP is not set properly on LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2964 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24Fixed ticket #980: Memory pool alignment error when alignment is set to be ↵Benny Prijono
greater than 4 bytes (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2963 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-20More ticket #972: compilation problem with IPPROTO_IPV6 constant (thanks ↵Benny Prijono
Robert Cichielo for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2952 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-15Fixed ticket #973: pj_ioqueue_accept() fails on Windows NT IOCP backend if ↵Benny Prijono
connection is immediately available and the "local" parameter is NULL (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2947 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-17Changed version to 1.4-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2902 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Changed version to 1.4Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2900 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #946: Fixed Symbian address resolver to have PJ_HAS_IPV6 check, so it ↵Nanang Izzuddin
will not try to resolve IPv6 address family when IPv6 is not enabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2888 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17More #935: don't call pj_sockaddr_init() for PJ_AF_INET6 if IPv6 is not enabledBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2886 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-13Ticket #886:Nanang Izzuddin
- Added C++ wrapper files for C source files using exception (PJ_TRY & PJ_THROW). - Updated Symbian MMPs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2873 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 #931: Fixed logging for non-multithreading platforms.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2868 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Misc (ticket #915): enlarge the column for pool name in ↵Benny Prijono
pj_pool_factory_dump() output git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2866 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-07-02Ticket #913: Concurrency problem in select ioqueue may corrupt descriptor setBenny Prijono
- fixed the concurrency problem - also fixed ioqueue unregister test in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2826 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-25Changed version to 1.3-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2796 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-23Changed version to 1.3Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2786 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22Ticket #893: Fixed timer test for Symbian to use Active Scheduler poll, ↵Nanang Izzuddin
instead of timer poll. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2783 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22Ticket #891: fixed deadlock on pjlib-test ioqueue unregister stress test. ↵Benny Prijono
This seems to have fixed the Bus error too git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2782 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-19Ticket #890: pjlib-test failed on select() test Windows Vista multi-coreBenny Prijono
- Added pj_thread_sleep(10) before calling sleep(). Tried with other ways too but this seems to be appropriate, as in the real application this shouldn't matter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2778 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #887: Minor update: added app registration info for Symbian ↵Nanang Izzuddin
pjlib-test, so there will be shortcut when installed on device. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2772 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #758 (Problem with TCP transport on Symbian)Benny Prijono
- fixed TCP recv() to use RecvOneOrMore() - fixed activesock unit test in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2771 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17More ticket #878:Benny Prijono
- pj_sockaddr_parse() is unable to parse "localhost" on Symbian, so disable the test in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2770 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Part of ticket #887:Benny Prijono
- added pj_shutdown() in pjlib-test's test.c - refactor main_symbian.cpp (it's not been used for a while) - compilation error/warning about initializing pj_str_t struct from non-constant value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2769 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Misc fix (#838): fixed warning about unitialized status variable with gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2767 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-07Updated version to 1.2-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2689 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-07Changed version to 1.2Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2687 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-07More ticket #825: added pointer to the ticket number in the comment.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2682 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-07Ticket #825: FILE_APPEND_DATA is not valid on Smartphone/Pocket PC2003 and ↵Benny Prijono
Windows Mobile 5, so remove the flag when PJ_WIN32_WINCE is set (thanks Robert Cichielo for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2681 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