summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-13Re #1928: Change the cipher on pjlib-test since DES_CBC_SHA might not beRiza Sulistyo
supported on newer openssl. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5381 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-13Re #1942:Nanang Izzuddin
- Reverted back r5375, otherwise retrying next server will not work as it is using the ALLOCATING -> RESOLVED. - Don't set state to RESOLVED when pj_stun_session_send_msg() fails to avoid infinite loop, simply return the error code and let application destroy the TURN client session (which is already done by TURN socket). - Handle allocation error when delayed allocation fails (otherwise TURN client session may never get destroyed?). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5380 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-12Misc (re #1928): Fixed pjlib-util-test issue on Mac due to bad socket ↵Nanang Izzuddin
address length param for pj_sock_bind(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5379 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-11Re #1937: Do not build libyuv in shared mode if video is disabled.Liong Sauw Ming
Thanks to Ross Beer for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5378 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-05Misc (re #1928): Reverted back some dirty changes in r5376 about address ↵Nanang Izzuddin
info indexing. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5377 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-05Misc (re #1928): pj_getaddrinfo() is better to return error when no address ↵Nanang Izzuddin
is found, some codes in the library seem to expect pj_getaddrinfo() to behave this way. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5376 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-04Fix #1942: TURN socket should not start TURN allocation in state ↵Nanang Izzuddin
PJ_TURN_STATE_RESOLVED when previous state is already PJ_TURN_STATE_ALLOCATING. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5375 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-01Re #1928: max_bps on the param codec needs to be set properly on Opus.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5374 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30Fixed #1929: Fixed memory leak when using sip_auth_client since it's also ↵Liong Sauw Ming
used by other components, such as sip_dialog, publishc, and pjsua_im. Application should use the new API pjsip_auth_clt_deinit() to release the pool. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5373 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30Re #1931: Add one more session preset to support, i.e. resolution 960x540Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5372 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30Re #1928: Fixed set bitrate on opus codec might not change the codec param ↵Riza Sulistyo
and support opus automatic bitrate setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5371 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30Fixed #1931: Support more resolutions when opening the video capture and ↵Liong Sauw Ming
properly set the buffer's width and height as well. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5370 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1926: Fixed bug of premature app callback invocation in DNS A+AAAA ↵Nanang Izzuddin
resolution when DNS A record is available in the cache. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5369 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1928: fix silly mistake on r5365.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5368 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1930: Fixing stuck issue or server socket not closed after an incoming ↵Nanang Izzuddin
connection fails, e.g: due to no shared cipher, and timer heap is not set. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5367 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Misc (re #1928): Fixed various compile warnings.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5366 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1928: Allow setting opus bitrate to PJMEDIA_CODEC_OPUS_DEFAULT_BIT_RATE ↵Riza Sulistyo
when calling pjmedia_codec_opus_set_default_param. Thanks to Marcus Froeschl for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5365 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1937: Keep libyuv enabled in configure script even when ffmpeg swscale ↵Nanang Izzuddin
is detected because video orientation feature requires libyuv. However, put ffmpeg swscale priority higher than libyuv in video converter. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5364 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1928: Avoid assertion when using STUN on NAT64.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5363 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1937: Fixed compile warnings because of duplicate lines in libyuv's ↵Nanang Izzuddin
Makefile. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5362 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28Re #1937: Added libyuv build configs for GNU build systems.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5361 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28Re #1937: Change the include header format, so that user can specify ↵Riza Sulistyo
external library. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5360 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28Re #422: IPv6 support for NAT detectLiong Sauw Ming
Add API pj_stun_detect_nat_type2() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5359 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28Re #1937: Change project and folder name for consistency with existing third ↵Riza Sulistyo
party library. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5358 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-27Fixed #1939: Fixed crash when failed to initialize android jni dev ↵Riza Sulistyo
(AudioRecord). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5357 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-24Fix #1938: Wrong registration renewal flag info in PJSUA registration ↵Nanang Izzuddin
callback when unregistration fails. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5356 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-24Misc (re #1928): Fixed possible linking errors with Opus codec due to ↵Nanang Izzuddin
library dependency order issue, this only happens on some platforms, e.g: Android NDK r10e. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5355 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-23Re #1937: Add libyuv to Visual Studio 2005 and 2015 solution.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5354 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-22Fix #1936: Reset 'regc->has_tsx' when the sending fails.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5353 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-21Fix #1935: Avoid shallow-cloning header in SIP registration client as when ↵Nanang Izzuddin
sending REGISTER message is done asynchronously via DNS SRV resolution, pjsip_regc may get destroyed prematurely and some data allocated by pjsip_regc pool (e.g: Contact header) will become invalid too before the sending process is completed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5352 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-21Close #1934: Add reference counting APIs to event subscription.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5351 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-21Re #1933: Update pjnath-test for IPv6 support.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5350 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-20Close #1927: IPv6 support in DNS SRV:Nanang Izzuddin
- support DNS A and AAAA resolution for each target in DNS SRV record - support fallback to DNS A and DNS AAAA resolution when DNS SRV record is not available - support IPv6 nameservers. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5349 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-16Re #1931: Fixed configure script for iOS to be able to detect both ↵Liong Sauw Ming
AVFoundation and OpenGL ES git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5348 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-16Re #1931: Add support for AVFoundation on MacLiong Sauw Ming
- Deprecate QTKit - Rename ios_dev.m to darwin_dev.m - Important: Re-run configure and make dep after applying this change! git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5347 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-16Re #1928 (misc): Fixed missing the conversion of AccountMwiConfig in ↵Liong Sauw Ming
AccountConfig::toPj() Thanks to Žarko Coklin for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5346 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-15Re #1928 (misc): Add doc about unimplemented config fields of CLI telnet ↵Liong Sauw Ming
(passwd and welcome message) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5345 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-15Re #1930: Revert back the change to comment do_handshake() in ↵Liong Sauw Ming
on_accept_complete() committed in r5343. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5344 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-14Re #1930: Fixed race condition when more than one thread try to close the ↵Liong Sauw Ming
same activesock. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5343 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-13Re #422: Enable IPv6 in ICE transport in pjsua-lib:Nanang Izzuddin
- currently only IPv6 host candidate will be generated, still not sure whether IPv6 NAT is really used in real world - if the account enables IPv6 media and the host has IPv4 address, ICE will generate IPv4+IPv6 candidates, it should be very useful in NAT64 environment, and should not add delay in ICE nego in IPv6 only environment (note: candidate check pair must have same IP address family). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5342 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-10Re #1928(misc) : Align Big-AES names with latest RFC. Riza Sulistyo
Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5341 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08Re #422: Omit IPv6 link-local address in gathering ICE candidate.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5340 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08Re #422: Added IPv6 support to PJNATH, changes:Nanang Izzuddin
- Deprecated 'pj_ice_strans_cfg.af', if set, the value will be ignored, address family setting is now specified via transport setting, i.e: 'pj_ice_strans_cfg.stun_tp/turn_tp'. - Deprecated 'pj_ice_strans_cfg.stun/turn', for backward compatibility, this field value will be checked if 'pj_ice_strans_cfg.stun_tp_cnt/turn_tp_cnt' is set to zero. - Added 'pj_ice_strans_stun_cfg' & 'pj_ice_strans_stun_cfg' and the corresponding 'pj_ice_strans_stun/turn_cfg_default()' - Added 'pj_ice_strans_cfg.stun_tp/turn_tp' as replacement of 'pj_ice_strans_cfg.stun/turn', it is now an array so app can have multiple STUN/TURN transports. - Added macro PJ_ICE_MAX_STUN/TURN to specify maximum number of STUN/TURN transports in each ICE component in compile-time. - Miscellaneous: fixed socket number limit in concurrency test in pjnath-test, updated pjsua_media.c to use new 'pj_ice_strans_cfg' setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5339 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08Close #1930: Race condition in OpenSSL socketLiong Sauw Ming
A workaround to solve the race condition based on ticket #985. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5338 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08Close #1926: Support IPv6 address resolution without DNS resolver.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5337 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-07Re #1929: Avoid memory pool growing when doing re-Registration.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5336 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-06Misc (re #1928): Updated SDP parser to be able to consume IPv6 address in ↵Nanang Izzuddin
RTCP line. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5335 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-02Changed version to 2.5.1-svnRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5334 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-02Changed version to 2.5.1Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5332 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01Re 1917(misc): Fix silly mistake on r5330.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5331 74dad513-b988-da41-8d7b-12977e46ad98