summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-20Fix #1229: bug fix and enhancements for PJLIB-UTIL STUN client:Benny Prijono
Bug: 1. Bug: if UDP packet is lost, the resolver will wait until all retransmissions are done, which means 4 seconds delay. Enhancements: 1. Allow caller to specify only 1 STUN server, for faster result. 1. If both servers point to the same address, only one will be used. 1. Decrease retransmission delay from 1000 ms to 500 ms for more responsive result. 1. Reduce memory consumption (from 1024 to 400 bytes). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3540 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-14Fixed #1232: Possible memory corruptions caused by pjsua_acc_modify() ↵Benny Prijono
(thanks Viktor Krikun for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3538 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11Fixed #1230: Removed assertion in PJLIB for Posix when fails to release ↵Benny Prijono
mutex (thanks Marcus Froeschl for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3524 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-31Re #1221: Fixed wrong reference to the socket variable.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3492 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-31Fixed #1225: iPhone: UDP socket send error after waking up from background ↵Benny Prijono
mode (thanks Joe Meade for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3491 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-29Re #1224: Fixed silly bug in pjsua_acc_modify(): incremented wrong loop ↵Nanang Izzuddin
counter in updating credential info. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3490 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Fix #1223: Bug in initializing message body's media type from incoming ↵Benny Prijono
message (thanks Gang Liu for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3482 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Fix #1222: Assertion if BYE is received while callee is still in early stateBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3481 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Re #1221: Move setting the socket option to pjlib level (sock_bsd) instead ↵Liong Sauw Ming
of in the SIP transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3480 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Re #1221: Fix variable name error.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3479 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Fixed #1221: Crash when SIP transport tried to write to a broken pipe.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3478 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Misc (re #1175): added protection against broken pipe exception in python ↵Benny Prijono
unit test when handling error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3475 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Bug re #1161: the user header list was not cloned properlyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3474 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-18Intel IPP version 7 support on Linux. This closes #1200Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3464 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-18Fixed #1218: Modify configure-iphone to use the latest version of gccLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3462 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-17Re #1211 (new pj_gettickcount() API): fixed compilation error on LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3458 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fixed #1211: Add pjlib API pj_gettickcount() that returns a monotonically ↵Liong Sauw Ming
increasing timestamp * Changed the timer_heap to use pj_gettickcount(). * Changed ioqueue to use pj_gettickcount(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3456 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fix #1212:Nanang Izzuddin
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range and handler is being re-registered. - Removed the usage of static flag of error string handler registration in some modules, which prevent the re-registration of the handler, e.g: in restarting pjsua, as such flags never got reseted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Re #1175 (Misc): coreaudio fixes:Liong Sauw Ming
* Setting audio session category is now during stream creation instead of in the factory initialization. * Reset the audio session category after an interruption. * By default, audio route change property listener is disabled as it is no longer required. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3454 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Re #1209: clarified in the comment that PJSUA_CALL_UNHOLD is only valid for ↵Benny Prijono
pjsua_call_reinvite() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3453 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fixed #1209: new enhancement: Option to update Contact URI when sending ↵Benny Prijono
re-INVITE or UPDATE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3452 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Re #1205: If refresh timer is already running, it will be cancelled and ↵Liong Sauw Ming
rescheduled with the new delay. This can be useful if app wants to correct the delay after it checks the timeout in the callback. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3444 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Misc (re #1175) (thanks to Seth Hinze for the patch):Liong Sauw Ming
* uri_test: Fixes a divide by zero error when the benchmark is run on a really fast machine. * presence: Fixes a compiler warning about potential referencing of an uninitialized variable. * echo_speex: Allow for compilation when PJMEDIA_HAS_SPEEX_AEC is not defined. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3443 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Closed #1206: Add pjmedia_stream API to get the last frame type retrieved ↵Liong Sauw Ming
from the jitter buffer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3442 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Fixed #1205: Configurable delay before registration refresh setting in ↵Liong Sauw Ming
pjsua_acc_config git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3441 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Re #1204:Liong Sauw Ming
* Update audio device's list after refreshing the device. * Fixed WMME macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3440 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11Re #1204: Added audio device list refresh into auddemo.cNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3439 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11Fixed #1204: Support for refreshing audio device list.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3438 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-08Implementation of re #1202 (PJLIB System Information API) on Symbian/S60 ↵Nanang Izzuddin
platforms. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3437 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-02Re #1202: Fixed compilation preprocessor for os_info so that it's more ↵Liong Sauw Ming
robust across various device and simulator SDKs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3436 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-02Re #1202: Fixed compilation error in os_info_iphone.m on iPhoneSimulatorLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3434 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-02Re #1202: Fixed detection for iPhone simulator.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3433 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01Re #3428: Fixed aconfigure for iOSLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3430 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01Fix #1203: iPhone OS background mode detectionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3429 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01Implementation of re #1202 (PJLIB System Information API) on iPhone OS.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3428 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Misc (re #1175): fixed link error in OpenBSD 4.6 caused by lack of ↵Benny Prijono
sched_get_priority_min() and sched_get_priority_max() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3427 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Re #1202 (pjlib sysinfo): testing on OpenSolaris and added pjlib-test entryBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3426 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Implementation of re #1202 (PJLIB System Information API) on Win32 and ↵Benny Prijono
Windows mobile targets git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3424 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Initial implementation for re #1202 (PJILB System Information API) for ↵Benny Prijono
Linux/Unix git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Re #1174 (coreaudio_dev work): minor changes to replace "Error" message with ↵Benny Prijono
"Warning" for non-fatal errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3422 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Re #1175 (Misc fixes): fixed realclean and distclean target for Python makefileBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3421 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-22Re #1200: updated IPP codecs to support IPP v7.0 on MSVC, only include ↵Nanang Izzuddin
"ippsr.lib" in auto link when IPP major version is 6 or below. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3417 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-18Fix #1199:Nanang Izzuddin
- Modified G722 frame time to 10ms (was 20ms) and frame per packet to 2 (was 1). - Updated the detection mechanism of remote G722 frame-length in the stream to be flexible to any G722 frame length setting (was assumed to be always 20ms). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3416 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-17Misc (re #1175): fix sample app pcaputil.c bug, it always fails in reading ↵Nanang Izzuddin
the first/reference packet when the codec is not PCMU (default payload type was hardcoded to zero/PCMU). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3415 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-17Misc (re #1175): fixed possible division-by-zero bug when receiving ↵Nanang Izzuddin
problematic G722 payloads (e.g: sized less than 160 bytes) and remote clock-rate/timestamp-span detection is active (PJMEDIA_HANDLE_G722_MPEG_BUG is set). Thanks Erik Waling for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3414 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-15Re #1174: fixed crash when pjsua is restarted, causing inClientData to be ↵Liong Sauw Ming
invalid since AudioSessionInitialize can only be called once. Re #1175: cleaning up interruption and audio route handling in coreaudio for iOS. In the case of interruption, there is no need to reinstantiate the audio unit (a simple restart will do), while for audio route change, nothing needs to be done. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3413 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-11Re #1161: Support for adding custom presence subscription headers.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3412 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-10Re #1175: Modified default core audio unit used on iOS from VPIO to ↵Liong Sauw Ming
RemoteIO. To use VPIO, application needs to specify a nonzero value for the PJMEDIA_AUD_DEV_CAP_EC capability. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3411 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-31Re #1192: Fixes stereo support.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3410 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-21Re #1197: also increase MAX_IMMEDIATE_PACKET from 10 to 50 to make it more ↵Benny Prijono
resilient against errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3409 74dad513-b988-da41-8d7b-12977e46ad98