Commit Graph

470 Commits

Author SHA1 Message Date
Nanang Izzuddin 6bed9637fb Changed version to 2.3
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4913 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-03 08:39:58 +00:00
Nanang Izzuddin 69a713c7ff Misc (#1751): Change default sound device on Android to use Android JNI (due to stuck issue with OpenSL ES).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4912 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-02 07:10:39 +00:00
Nanang Izzuddin 6cbe3651b5 Fix #1773: Added group lock to SIP transport to avoid race condition between transport callback and destroy.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4862 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19 09:42:02 +00:00
Riza Sulistyo caef1f2398 Re #1771: Implement run-time configuration to set specific socket option.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4860 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19 05:07:12 +00:00
Sauw Ming 37e8cd9fb1 Fixed #1763: Add pj_ssl_cipher_id() API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4829 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-30 08:21:28 +00:00
Riza Sulistyo 6163e7409e Changed version to 2.2.1-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4797 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-14 10:01:50 +00:00
Riza Sulistyo 7339542beb Changed version to 2.2.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4795 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-14 06:58:10 +00:00
Benny Prijono 5ed3ec85d3 Changed version to 2.2-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4769 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-27 04:47:59 +00:00
Benny Prijono 9c89d08b3a Changed version to 2.2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4764 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-27 02:13:25 +00:00
Nanang Izzuddin 1d865bcd8d Misc (re #1630): Fixed missing PJ_DECL on pj_run_app() and bad type casts in WMME audio dev (thanks Louis Solomon for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4760 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-24 08:49:40 +00:00
Nanang Izzuddin 3537c545df Misc (re #1630): Fixed some more typos in the codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31 08:52:09 +00:00
Sauw Ming f33813f793 Closed #1723: Merging pjsua2 branch into trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 05:30:46 +00:00
Nanang Izzuddin 20838ee07c Re #1519: Minor update on PJ_UINT64() macro for GCC compiler. "LLU" is not recognized by C preproc on mingw/msys.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4654 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-22 10:18:08 +00:00
Benny Prijono a6bcf96f7f Re #1519: added pj_strtof() to convert string to float in PJLIB, as part of pjsua2 persistent API development
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4642 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-06 07:41:40 +00:00
Benny Prijono f673a6ef92 Re #1519: Major change in pjsua2.i and etc after actual test in Python:
- Major changes in SWIG interface file (pjsua2.i). 
    - The "ignore" and "unignore" approach caused link error with vector (duplicate symbols because SWIG generates two identical vector functions in the wrapper) so it cannot be used (tried with many combinations and still doesn't work).
    - So scrap that, and now we use "importing" approach, where needed symbols must be listed in symbols.lst file, then use importsym.py to import the symbol declarations to symbols.i. Then include symbols.i in pjsua.i
    - Due to the way importsym.py work, some macros and naked constants need to be placed into a named enumeration, for example:
       - #define PJ_SUCCESS 0  ==> enum pj_constants_ { PJ_SUCCESS=0 }; [types.h]
       - enum { PJMEDIA_VID_DEFAULT_CAPTURE_DEV = -1 } ==> enum pjmedia_vid_dev_std_index { PJMEDIA_VID_DEFAULT_CAPTURE_DEV = -1 }; [videodev.h]
    - Makefile was changed so that symbols.i would be generated if symbols.lst has changed
 - Added "make install" and "make uninstall" targets for swig. Only implemented on Python. This will install to user's lib dir so doesn't need sudo.
 - Deleted approachX.hpp files
 - Added libVersion() method to Endpoint along with Version struct.
 - Fix pjsua2.i to make exception (or redirection?) works in Python
 - Add polling and worker thread related API:
    - PJSUA-LIB: pjsua_register_worker_thread(), pjsua_stop_worker_threads()
    - Endpoint: libRegisterWorkerThread(), libStopWorkerThreads(), libHandleEvents();



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4639 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-01 07:11:48 +00:00
Sauw Ming 1afe01bf0f Re #1630 (misc):
Fixed os_darwinos.h (however, if PJ_AUTOCONF is defined, this file should not be used)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4626 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 07:04:38 +00:00
Sauw Ming ab249ac0e5 Re #1630 (misc):
Fixed compiler warnings. Thanks to Mark Michelson for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4624 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 06:37:30 +00:00
Benny Prijono ead3aa062f Misc (re #1630): fixed link error when logging is completely disabled via PJ_LOG_MAX_LEVEL macro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4584 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-30 04:03:22 +00:00
Benny Prijono c8cf7ae493 Closed #1690: Assertion in timer in SIP transaction: Timer being rescheduled when already running
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4567 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-19 06:31:28 +00:00
Nanang Izzuddin 69498fb477 Close #1681:
- Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE.
 - Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4538 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 09:06:55 +00:00
Riza Sulistyo 25b575b336 Re #1680: Add initial support for Win64
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 06:47:43 +00:00
Benny Prijono b36ae3f293 Fixed #1661: Option to use SO_REUSEADDR for TCP and TLS listeners and use it by default on non-Windows platforms
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4506 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-26 06:01:43 +00:00
Benny Prijono 31e19f0755 Re #1657: set default pjsua media quality to 4 for BB10 to activate the small filter resampling
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4479 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 08:52:14 +00:00
Benny Prijono 7e02b4660b Re #1657: config_site_sample.h settings for BB10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4469 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-15 10:39:00 +00:00
Riza Sulistyo bc9c677287 Re #1643: Code restructure+add callback to support symbian gui app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4461 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-05 03:02:19 +00:00
Riza Sulistyo 7da46cd3bd Re #1643: add initial support for CLI
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4440 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-14 07:18:13 +00:00
Nanang Izzuddin ed05649d8d Re #1639: merged android branch into trunk (except sample apps, i.e: apjsua & apjloader)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4435 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-11 06:32:58 +00:00
Sauw Ming dcd5738270 Changed version to 2.1.0-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4419 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 11:23:52 +00:00
Sauw Ming 54fc4c0338 Changed version to 2.1.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4415 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 08:34:45 +00:00
Benny Prijono ac932bb522 Fixed #1616: Implementation of Group lock and other foundation in PJLIB for fixing synchronization issues
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4359 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 11:18:36 +00:00
Nanang Izzuddin a2174066e7 Close #1602: configurable local port range for ICE transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07 09:35:34 +00:00
Nanang Izzuddin ecd48f6446 Fix #1593: avoid wrap around in caching pool capacity value.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4298 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-22 05:00:01 +00:00
Benny Prijono 02eced275e Close #1589: Enable floating point by default for iOS target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4274 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-02 04:00:19 +00:00
Sauw Ming 4c54ead138 Re #1518: Add JNI-based Android audio device
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4231 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-15 07:58:46 +00:00
Sauw Ming 643d2644d9 Re #1516: Add help info for configure-android, add support for selecting target architecture
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4221 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07 09:06:10 +00:00
Benny Prijono c7abc1b598 Fixed #1412: Account specific NAT settings: STUN, ICE, and TURN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07 02:18:15 +00:00
Sauw Ming 8a208a2e0a Re #1516: Add sample config for Android build
Please refer to [http://trac.pjsip.org/repos/wiki/Getting-Started/Android Android Getting Started guide]



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4211 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-19 01:59:38 +00:00
Sauw Ming 969227ce0c Fixed #1556: Fix From/To tag and Via branch comparison to be case insensitive
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4208 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-18 07:52:33 +00:00
Sauw Ming 6d3b427f93 Re #1516: Build system for Android
How to use:
 * export ANDROID_NDK=/path_to_android_ndk_dir
 * Run ./configure-android



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4192 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 07:46:49 +00:00
Sauw Ming e9915d8380 Changed version to 2.0.1-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4191 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 06:41:46 +00:00
Sauw Ming 2faa365bcb Changed version to 2.0.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4189 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 03:11:24 +00:00
Benny Prijono 30154d3fbc Re #1527: added debugging facility to the timer heap. By enabling PJ_TIMER_DEBUG, application can use pj_timer_heap_dump() or pjsip_endpt_dump() to dump the timer entries along with the source location where it is scheduled from. The macro will also enable dumping the timer heap entries when the SIP endpoint is being destroyed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4154 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-05 10:41:17 +00:00
Nanang Izzuddin 2cc31c9a07 Fix #1522:
1. Updated the 'shifter' (expected max openssl reason code) to 1200.
 2. Done, added pj_ssl_sock_info::last_native_err. Also fixed pjsip/sip_transport_tls.c to include TLS transport specific info in invoking transport state callback on disconnection event.
 3. Fixed.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4146 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-30 06:35:59 +00:00
Benny Prijono 9a60f7b6d8 Changed version to 2.0-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4141 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22 11:11:08 +00:00
Benny Prijono 6b9bfb1545 Changed version to 2.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4139 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22 09:52:29 +00:00
Benny Prijono cf6b2b7c8a Changed version to 2.0-rc-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4114 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-27 11:58:28 +00:00
Benny Prijono 8ec44afab2 Changed version to 2.0-rc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4112 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-27 09:47:20 +00:00
Benny Prijono 28d3c56283 Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30 07:10:13 +00:00
Nanang Izzuddin 75d34e125b Changed version to 2.0-beta-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3933 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-29 05:18:39 +00:00
Nanang Izzuddin 77b532da01 Changed version to 2.0-beta
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3931 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-29 03:17:51 +00:00
Sauw Ming e7dbbc8f30 Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk
* Backport of r3557:r3832

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 09:28:13 +00:00
Benny Prijono e19748990f Changed version to 2.0-alpha2-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3808 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10 07:32:30 +00:00
Benny Prijono e1c94ca738 Changed version to 2.0-alpha2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3806 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10 06:10:39 +00:00
Benny Prijono 9cc7850153 Implemented re #1372: New log features: indentation and thread switching indication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3752 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-18 14:38:46 +00:00
Benny Prijono 71b10fd2f7 Changed version to 2.0-alpha-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3740 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 11:21:57 +00:00
Benny Prijono b9d2d7549f Changed version to 2.0-alpha!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3738 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 10:01:26 +00:00
Nanang Izzuddin fe68f1dc55 Re #1326: Initial code integration from branch 2.0-dev to trunk as "2.0-pre-alpha-svn".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 03:42:28 +00:00
Sauw Ming 01095d8410 Re #1278: NSApplication and NSAutoreleasePool management for Mac OS X
Application now needs to call pj_run_app() from its main() function and pass a pointer to the application's main function. For some examples, please refer to aviplay, pjmedia_test, and pjsua.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3643 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 08:46:19 +00:00
Benny Prijono 517580b290 Break the compilation in svn trunk to make people switch to new svn URL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3558 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-06 03:40:47 +00:00
Nanang Izzuddin c4d57ad0c8 Changed version to 1.10-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3556 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 10:49:02 +00:00
Nanang Izzuddin ead2bd64bb Changed version to 1.10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3554 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 09:10:15 +00:00
Nanang Izzuddin a62ffc9d03 Re #1250: Updated the year in all copyright texts with 2011!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 06:14:19 +00:00
Sauw Ming a4b628f8f6 Fixed #1246: Use CFHost for pj_getaddrinfo() on iOS
* Replace the fix for ticket #1104 with this fix
 * Modify pjturn-client/client_main's shutdown() function which conflicts with an existing function

Re-run configure-iphone to use this fix automatically.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3543 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-26 03:07:24 +00:00
Sauw Ming ae2f21303d Re #1213: Fixed error space number allocation for video devices.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3516 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-10 23:54:07 +00:00
Sauw Ming d9d2f5e932 Fixed #1221: Crash when SIP transport tried to write to a broken pipe.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3478 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23 06:08:36 +00:00
Benny Prijono 0ca45f44bd Re 1220: typo in PJ_ALIGN_DATA implementation for gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3473 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-22 10:10:30 +00:00
Nanang Izzuddin 4415031cee Close #1220:
- Added macro PJ_ALIGN_DATA for aligning data (compiler specific), currently needed by ffmpeg encoder to provide 16-bytes aligned stack for SSE/MMX operation.
 


git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3468 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-22 09:38:49 +00:00
Sauw Ming 59d2c8c271 Fixed #1211: Add pjlib API pj_gettickcount() that returns a monotonically increasing timestamp
* Changed the timer_heap to use pj_gettickcount().
 * Changed ioqueue to use pj_gettickcount().



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3456 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16 09:22:24 +00:00
Benny Prijono e3e6580803 Initial implementation for re #1202 (PJILB System Information API) for Linux/Unix
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28 07:44:19 +00:00
Benny Prijono a61c43d571 Fixed #1197: WSAECONNRESET errors on Windows 2000 or 2003 may cause UDP transport to stop working
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3408 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-21 07:15:22 +00:00
Benny Prijono 027d01819b Misc (re #1134): enable doxygen documentation for pj_actievsock_set_iphone_os_bg()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3350 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-20 09:54:45 +00:00
Sauw Ming 3e310ec787 Fix #1145: API to enable/disable support for iOS BG feature during runtime
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3336 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-11 10:59:37 +00:00
Benny Prijono b8aeb9d297 Re #1134 (misc fixes): fixed various doxygen warnings, as well as added overview section in pjmedia documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3327 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-30 04:23:27 +00:00
Sauw Ming 47b77a8918 Fixed #1130
Since the problem may not be iOS4 specific, a general approach is adopted to fix the problem.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3316 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22 13:11:11 +00:00
Sauw Ming be3771a637 Closed ticket #1107: iOS4 background feature
* 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: https://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27 06:46:29 +00:00
Benny Prijono 949d7dc109 Misc (re #1110): modified config_site_sample.h to enable CoreAudio's iLBC codec by default for iPhone target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3279 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 03:57:36 +00:00
Sauw Ming 9b206052c1 Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on iPhone to accommodate long path name when running on the simulator.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3258 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09 06:40:38 +00:00
Sauw Ming c28ecd0fb1 Re #1104: Fixed iPhone OS version detection in os_auto.h.in
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3240 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-23 04:27:32 +00:00
Sauw Ming d39818b18c Fixed #1104: Append ".local" to the system's hostname in IOS 4.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3238 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-15 13:32:11 +00:00
Benny Prijono 609fff5054 Fix #1071: Increase default maximum SIP packet size to 4000
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3182 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19 06:07:40 +00:00
Sauw Ming 7920fb2d16 Merge #1050, #1052, #1053, #1054 into the main trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17 13:07:39 +00:00
Benny Prijono cce6b9e601 Re #1050: added iPhone specific settings in config_site_sample.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/iphone@3166 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-12 10:46:02 +00:00
Benny Prijono 40168a413f Fixed ticket #1058 (Different size between pj_sockaddr_in6 and native 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: https://svn.pjsip.org/repos/pjproject/trunk@3145 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-26 07:08:53 +00:00
Nanang Izzuddin 5e69da528f More ticket #1032:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25 11:58:19 +00:00
Nanang Izzuddin 2fb937eb02 Ticket #1032:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3106 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-24 05:43:34 +00:00
Benny Prijono 16b2053b7e Ticket #1026: Wrong endianness detection for Motorola m68k architecture in pj/config.h (thanks Andreas Wehrmann for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3066 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-20 19:42:46 +00:00
Benny Prijono a1aec0ec96 Initial fixes for #993 (OpenSolaris issues)
- configure script patch for FIONBIO and SIOCGIFFLAGS errors


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13 21:28:06 +00:00
Benny Prijono caecfd4c40 Ticket #992: Symbian build issues using RVCT compiler (thanks Gabor Tanka for the fix)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3046 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-06 08:34:41 +00:00
Benny Prijono d53ed17152 Ticket #1004: Symbian timer heap fix
- timer heap now records active timers and cancel them when it's destroyed


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3034 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-16 13:30:34 +00:00
Benny Prijono 2ef519fb8c Fixed ticket #989: Issues with Windows Unicode build (thanks Michele Cicciotti for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3002 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10 04:30:46 +00:00
Benny Prijono a25bc9dc21 Ticket #950 and #957:
- added QoS options on PJLIB/PJLIB SSL/TLS socket/transport
 - added demo in Symbian ua.cpp


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2998 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09 08:51:34 +00:00
Benny Prijono c6768e5b4e Updated ticket #981: pj_perror() and PJ_PERROR() API:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2992 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09 04:09:13 +00:00
Nanang Izzuddin ea6d3c4d6b Ticket #957:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2970 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26 15:47:52 +00:00
Benny Prijono 610973a068 More ticket #950 (QoS):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2967 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25 10:50:17 +00:00
Benny Prijono 4d79b0f7f1 Initial commit for ticket #950: QoS support:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25 09:02:07 +00:00
Benny Prijono 9055f57a83 Ticket #981: new pj_perror() utility API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2965 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25 08:46:40 +00:00
Benny Prijono 1d61ba5e51 More ticket #972: fixed compilation error on Linux due to the last introduction ot PJ_TCP_NODELAY. Everyone needs to re-run configure though (thanks Dan Arrhenius for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2962 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24 00:00:40 +00:00
Nanang Izzuddin 006cc01eeb Ticket #957:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2950 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-16 03:06:13 +00:00
Benny Prijono db04cd5260 Ticket #972: setsockopt compatibility problems on Windows (thanks Yann and 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: https://svn.pjsip.org/repos/pjproject/trunk@2946 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15 03:48:20 +00:00
Nanang Izzuddin 6c62bf450d Ticket #957: Initial version of TLS transport for Symbian, includes:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2913 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-27 19:55:13 +00:00
Benny Prijono 5f1991706d Misc (#951): Updated the doxygen comment/documentation in pj_gethostname() that specying IPv4 address will fail on some platforms (e.g. Windows). Thanks Robert Cichielo for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2908 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-22 11:18:50 +00:00
Benny Prijono f561b7ef3b Fixed ticket #939: Throwing exception inside exception handler will cause infinite loop (thanks Roman Puls for the report)
- exception handler is now popped from the stack immediately in PJ_THROW


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2878 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-14 10:41:00 +00:00
Benny Prijono 05eb3e357e Ticket #915 (misc fixes):
- fixed wrong doxygen comment for pj_list_empty() function (thanks Roman Puls for the report!)


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2872 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12 22:31:49 +00:00
Benny Prijono 9f0ef0908f Ticket #935: new pj_sockaddr_parse2() API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2863 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12 10:56:06 +00:00
Benny Prijono b1a3e73533 Ticket #931: Logging function may infinitely recursively calls itself on 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: https://svn.pjsip.org/repos/pjproject/trunk@2853 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-05 10:58:02 +00:00
Benny Prijono 4d8846bc96 Ticket #923: New API to retrieve current jitter buffer state from a 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: https://svn.pjsip.org/repos/pjproject/trunk@2844 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29 12:14:21 +00:00
Benny Prijono be6d5db124 Ticket #922: Option to enable mutex related logging to assist troubleshooting concurrency problems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2843 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-22 11:12:35 +00:00
Benny Prijono f940be43f2 Ticket #921: New logging option/flag to include caller thread ID
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2842 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-21 12:20:17 +00:00
Nanang Izzuddin fc279de2ab Ticket #909:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2833 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14 14:33:39 +00:00
Nanang Izzuddin d687a5028c Ticket #909:
- Added new audio device VAS for Symbian platform.
 - Updated symsndtest to use the latest audio device framework.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:37:26 +00:00
Benny Prijono 7764f17927 Misc (ticket #838):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2749 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04 22:08:16 +00:00
Benny Prijono 0f4b9db4f4 Ticket #878: New PJLIB API to parse socket address string
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2743 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04 15:11:25 +00:00
Nanang Izzuddin c91cd64b13 Ticket #818:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2678 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06 18:59:31 +00:00
Nanang Izzuddin 494ff7f82c Ticket #818:
- Added libresample.mmp
 - Modified config_site_sample.h to enable resampling with small filter on Symbian platforms.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2676 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06 15:37:47 +00:00
Nanang Izzuddin 2e4f03fd27 Cleaned up bunch of compile warnings. Special for libgsmcodec, its warning level is reduced from 4 to 3.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2654 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 19:18:38 +00:00
Nanang Izzuddin 8caf31cce5 Ticket #772 (misc fix): Updated floating point version of math statistic to return the rounded mean value.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2577 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06 16:41:54 +00:00
Benny Prijono f1a47b840c Ticket #764: Bug with milliseconds time resolution in WinCE/Windows Mobile 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: https://svn.pjsip.org/repos/pjproject/trunk@2560 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 18:22:16 +00:00
Benny Prijono ae53fdc951 Documentation error for pj_timer_heap_poll(): if no timer exists, the second part of timeval will be filled with PJ_MAXINT32 and not -1. Thanks Phil Torre for the report
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2512 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13 15:49:06 +00:00
Benny Prijono d24c7aadbf Ticket #729: MacOS X endianness detection on universal build (thanks Ruud Klaver for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2510 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13 12:15:43 +00:00
Benny Prijono 9920dc304b (Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 18:11:37 +00:00
Nanang Izzuddin da37ea3e5d - Fixed compile errors/warnings for Symbian targets.
- Updated module dependencies of symbian auddev implementations.
- Minor updates, e.g: missing update on symbian_ua UID changing, updated default log level for logfile.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2491 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-06 16:24:43 +00:00
Benny Prijono 64f9138598 Ticket #736 (aps-direct branch): implemented the compatibility layer for the old sound API
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2489 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-05 18:02:28 +00:00
Benny Prijono 8eeab0bbf5 Ticket #734: error codes in audiodev
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2488 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-04 19:00:28 +00:00
Nanang Izzuddin 90b8320681 Ticket #732:
- Added new Symbian specific API in PJLIB, pj_symbianos_set_connection_status(), to let PJLIB knows the connection status.
 - Added connection status checks before Symbian socket operations.
 - Added loop limiter in Symbian busy_sleep() to avoid the possibility of infinite loop.
 - Added sample of connection monitor in Symbian sample application (ua.cpp).




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2481 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-02 15:48:45 +00:00
Benny Prijono 5b2b445500 Minor fixes/ticket #703: added some more macros to enable software build under Apple XCode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2427 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-22 20:30:32 +00:00
Benny Prijono 95b5340fa6 Fixed unreached code, deprecated fopen(), unused arguments, and other warnings with MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 20:56:36 +00:00
Benny Prijono 844653c1f2 Updated copyright notice in all files to Teluu Inc., and changed the year as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono 55c6ecc903 Ticket 685: Crash or assertion on debug mode when processing large SIP packet
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2381 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-18 13:15:32 +00:00
Benny Prijono 0789519b6a Ticket #655: Compilation error on Linux when PJ_HAS_POOL_ALT_API is used (thanks Gang Liu for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2341 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-02 22:13:01 +00:00
Benny Prijono e27461311d Fixed ticket #644 and 648 again (hopefully once and for all): build error on VS6 with built-in SDK and on PocketPC 2003 SDK since they don't have multicast related socket options
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2331 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 13:16:35 +00:00
Nanang Izzuddin b79ff937ff Fixed previous accidental check in r2329.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2330 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 12:50:12 +00:00
Nanang Izzuddin fa144d5200 Fixed assertion in echo suppressor when recording and playing level is equal.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2329 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 11:53:39 +00:00
Benny Prijono 513d135f98 Fixed ticket #644 and #648: incorrect muticast related socket constant names, missing ws2tcpip.h include causing build error on Mingw, and error building on Visual Studio 6 due to PJ_SOCK_HAS_GETADDRINFO being declared accidentally.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2327 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 09:35:34 +00:00
Benny Prijono d61e532783 More ticket #639: fixed warning with gcc about comparison always true
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2307 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 09:11:20 +00:00
Benny Prijono 54f938956f Ticket #639: Assertion in <ctype.h> functions with Visual Studio 2005 when handling non-ASCII characters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2302 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21 21:11:49 +00:00
Nanang Izzuddin 57dd8e0e0b Ticket #636: Fixed linux compilation issue when autoconf is not used (thanks Seth Hinze for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2289 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17 12:55:26 +00:00
Nanang Izzuddin b76154ed03 Ticket #629: Added IGMPv2 multicast socket options (thanks David Parker for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2283 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 16:11:44 +00:00
Benny Prijono 0ab816ffc8 Ticket #612: division by zero in pjlib stddev calculation causes crash/floating point exception in pjsua "dq" command on ARM platform
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2263 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-05 13:35:01 +00:00
Benny Prijono 36e76ef160 Ticket #594: Improvements in PocketPJ Windows Mobile application: added TCP option, VAD option, option to select codec priority order, and auto-answer option
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2211 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13 13:56:24 +00:00
Benny Prijono 37fc9de7fd Fixed build error on FreeBSD (cannot use <netinet/ip.h> if <netinet/in_systm.h> is not included)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2190 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 14:45:02 +00:00
Benny Prijono bd344ff0ba Added new active socket API's to specify application buffers in start_read() and start_recv() functions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2187 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 09:59:02 +00:00
Benny Prijono 417d6054a7 Initial work for ticket #579: added option to make the active socket sends all the (TCP) data before calling completion callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2185 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29 20:15:15 +00:00
Benny Prijono 901a2c3f8d Added PJ_LOG_HAS_LEVEL_TEXT logging flag to display the log verbosity level (thanks Ondrej Sterbak for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2181 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 21:15:04 +00:00
Benny Prijono 1dd5420a03 Fixed linking errors in pjnath when TCP is disabled in PJLIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2177 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-25 10:45:34 +00:00
Benny Prijono 6ee5fb133e pj_strtoul() should stop the conversion as soon as it finds a non-digit character in the input
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2169 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-23 13:26:33 +00:00
Benny Prijono b726d268a6 Fixed build error with some Mingw configuration related to socklen_t
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2160 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 18:05:04 +00:00
Benny Prijono d6e362a2b5 Ticket #571: Coloring for logs in Linux/UNIX, two more spaces in logs and runtime log colors configuration (thanks Ondrej.Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2159 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 17:53:47 +00:00
Benny Prijono 40032fd449 More ticket #559: added PJ_POOL_SIZE macro in pool_alt.h to make it work with some pjlib-test files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2137 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-14 16:48:13 +00:00
Benny Prijono d7c6d050a5 Ticket 559 (minor): Update the pool alternative API (pool_alt.h) with the latest pool API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2123 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-12 09:31:34 +00:00
Benny Prijono 90cc76e9ac Fixed gcc function is not a prototype warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2121 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-11 00:56:07 +00:00