Commit Graph

1003 Commits

Author SHA1 Message Date
Riza Sulistyo 6e2f999842 Re #1994 (misc): Prevent crash on pj_ssl_get_info() triggered by an error on ioqueue_on_read_complete().
Thanks to Alexander Traud for the report and suggested fix.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5565 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-09 03:36:10 +00:00
Riza Sulistyo 90eb224f16 Re #1994: Prevent overflow on pj_generate_unique_string() for android.
Thanks to Esed Alihodzic for the report and patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5563 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-07 03:28:56 +00:00
Sauw Ming 394279af15 Re #1994 (misc): Make the log's sender and thread width a compile-time configurable setting.
Thanks to Richard Mudgett for the suggestion.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5554 74dad513-b988-da41-8d7b-12977e46ad98
2017-02-20 00:57:15 +00:00
Nanang Izzuddin a8d4778494 Changed version to 2.6-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5552 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-26 03:47:58 +00:00
Nanang Izzuddin 6708aa8be6 Changed version to 2.6
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5550 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-26 02:29:59 +00:00
Nanang Izzuddin 84ad7a0244 Misc (re #1945): Fixed compile warnings on Android 64bit platforms, e.g: dereferencing type-punned pointer, using uninitialized var.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5544 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:41:05 +00:00
Nanang Izzuddin 8e9b1a9d42 Misc (re #1945): Automatically define macro PJ_ANDROID=1 on Android platforms (previously should be defined manually via config_site_sample.h or config_site.h).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5543 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:36:50 +00:00
Nanang Izzuddin 1b25ccaf76 Re #1900: Merged changes from trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5538 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 04:18:59 +00:00
Nanang Izzuddin de3d744c2e Close #1932: Support OpenSSL 1.1.0.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5537 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 03:34:17 +00:00
Nanang Izzuddin 7d9a05c9a3 Re #1513: Applied the new API pj_pool_safe_release().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5534 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19 07:41:25 +00:00
Nanang Izzuddin 377e5d4550 Close #1513: Added pj_pool_safe_release() API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5533 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19 06:10:15 +00:00
Nanang Izzuddin 101b72f638 Re #1900: Merged changes from trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5532 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 10:55:35 +00:00
Sauw Ming ddbcae1896 Re #1945 (misc): move default setting of number of supported video device format to pjmedia-videodev config instead of config_site_sample, since not everybody will use the sample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5524 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-17 00:50:09 +00:00
Riza Sulistyo e03e14b7f1 Re 1989: Implement pj_strtok()/pj_strtok() as a replacement to strtok().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5520 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 04:38:29 +00:00
Riza Sulistyo bb71b914d6 Re #1975:
- Change autoconf detection in r5483 to compile time check.
- Don't use tls1_ec_nid2curve_id()/tls1_ec_curve_id2nid() since they are not public API.
Thanks to Alexander Traud for the suggestions.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5517 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-10 09:17:07 +00:00
Nanang Izzuddin 04d4620359 Re #1900: Miscelaneous updates, e.g: enable/disable WMME/WASAPI automatically based on active platform, cosmetics.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5515 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 09:27:40 +00:00
Nanang Izzuddin c551b147fc Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5513 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 03:40:07 +00:00
Nanang Izzuddin f4e3ed6a2e Misc (re #1945): Fixed various compile warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5501 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-19 03:01:55 +00:00
Nanang Izzuddin 6c47f59bc8 Re #1900: Updated project files for target platform version configuration, it is configurable via property sheet build/vs/pjproject-vs14-common-config.props.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5497 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-09 13:43:07 +00:00
Sauw Ming ce5f04ad5a Fixed #1984: Remove the implementation of PJ_HASH_USE_OWN_TOLOWER
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5494 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-07 03:24:16 +00:00
Sauw Ming 812618e1f8 Fixed #1979: Add support to parse address string with scope ID
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5485 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-17 04:38:25 +00:00
Sauw Ming b247753f80 Re #1975: Add autoconf detection of OpenSSL elliptic curve and sigalg support
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5483 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-16 05:53:23 +00:00
Sauw Ming 6264b9ee43 Re #1961: Fallback to CLOCK_MONOTONIC if /dev/alarm is not found, or getting ANDROID_ALARM_ELAPSED_REALTIME fails.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5482 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-15 02:23:38 +00:00
Sauw Ming 4d0ef2547b Re #1945 (misc): Disable local host resolution (PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION) for macOS as well (instead of for iOS only).
Please refer to #1342 for more details.

Thanks to Jeff Anderson for the report and the fix.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5480 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-14 03:23:51 +00:00
Sauw Ming 121e46bb8c Fixed #1975: Add support to select elliptic curve and signature algorithm for TLS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5472 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-27 07:58:01 +00:00
Riza Sulistyo 8afc25ab08 Re #1900:
- Modify some project files for x64 build.
- Add some files/folder to the global ignore list.
- Disable PJ_OS_HAS_CHECK_STACK as default.
- Use ip_helper_generic.c which provides implementation to pj_enum_ip_interface() and pj_enum_ip_route(). 



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5470 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-26 07:16:01 +00:00
Nanang Izzuddin 3e8a70aeab Misc (re #1945): Avoid calling memchr() or memcpy() with NULL pointer (thanks Kal from the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5468 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-24 03:22:46 +00:00
Riza Sulistyo 568ba7a2e5 Re #1969: Fix crash on using an already destroyed SSL socket.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5459 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-13 09:02:50 +00:00
Riza Sulistyo a9bd0fd451 Re #1945 (misc): Use localtime_r() instead of localtime() (if available) since localtime() is not thread safe.
This fixes a data race in pj_time_decode() which is called from multiple threads.
Thanks to Kal (b17 c0de) for the patch.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5458 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-13 04:32:29 +00:00
Nanang Izzuddin 0db777a6cc Re #1961: Updated Android pj_gettimestamp() implementation to use ANDROID_ALARM_ELAPSED_REALTIME.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5457 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-10 08:20:54 +00:00
Nanang Izzuddin 6f96a93a9b Fix #1961: Updated Android timestamp to use CLOCK_BOOTTIME (or ANDROID_ALARM_ELAPSED_REALTIME for older NDK version), to avoid suspended clock when CPU is in deep sleep.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5447 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-06 04:05:02 +00:00
Riza Sulistyo b1490d57d8 Re #1964: Implement QoS for darwin OS which supports SO_NET_SERVICE_TYPE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5445 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-05 09:52:39 +00:00
Riza Sulistyo 88044b49a5 Re #1963: Implement QoS for IPv6 for platform that supports IPV6_TCLASS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5444 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-05 09:07:17 +00:00
Nanang Izzuddin 23ed970882 Re #1900: Fixed crash in destroying UDP socket after being initialized but not used (for sending/receiving).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5439 74dad513-b988-da41-8d7b-12977e46ad98
2016-09-26 07:57:54 +00:00
Nanang Izzuddin 5a3047399a Misc (re #1945): Added PJ_HAS_IPV6 in pj_dump_config(), thanks Alexei Gradinari for the suggestion, also updated the year in copyright line.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5421 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-18 08:04:37 +00:00
Nanang Izzuddin b977d2fdb0 Fixed #1953: Skip IPv6 socket in resolver on system without IPv6 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5420 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-17 04:29:17 +00:00
Sauw Ming dadfcb7557 Re #1945 (misc): Set IPv6 sockets to be IPv6 only
Auto-detect in configure script if this option is supported, and if yes, Set IPv6 sockets to be IPv6 only.

Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5403 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-02 08:35:28 +00:00
Sauw Ming 55cfb7f4ab Changed version to 2.5.5-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5396 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-21 07:18:06 +00:00
Sauw Ming f996f75514 Changed version to 2.5.5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5394 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-21 03:28:11 +00:00
Riza Sulistyo b95f9dfd42 Re #1928: Change the cipher on pjlib-test since DES_CBC_SHA might not be
supported on newer openssl.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5381 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-13 11:03:01 +00:00
Nanang Izzuddin 928b27f6fb Misc (re #1928): Reverted back some dirty changes in r5376 about address info indexing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5377 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-05 13:21:31 +00:00
Nanang Izzuddin 8388e64845 Misc (re #1928): pj_getaddrinfo() is better to return error when no address is found, some codes in the library seem to expect pj_getaddrinfo() to behave this way.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5376 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-05 12:53:20 +00:00
Nanang Izzuddin 1889a7a954 Re #1930: Fixing stuck issue or server socket not closed after an incoming connection fails, e.g: due to no shared cipher, and timer heap is not set.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5367 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 06:23:20 +00:00
Sauw Ming 1f9e6d9f34 Re #1930: Revert back the change to comment do_handshake() in on_accept_complete() committed in r5343.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5344 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-15 01:59:14 +00:00
Sauw Ming 882bbf656d Re #1930: Fixed race condition when more than one thread try to close the same activesock.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5343 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-14 10:28:19 +00:00
Sauw Ming 5283ca4581 Close #1930: Race condition in OpenSSL socket
A workaround to solve the race condition based on ticket #985.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5338 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08 02:55:24 +00:00
Riza Sulistyo 4bcf7379e2 Changed version to 2.5.1-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5334 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-02 10:33:50 +00:00
Riza Sulistyo 68ec5c49b3 Changed version to 2.5.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5332 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-02 07:36:05 +00:00
Riza Sulistyo 92a8451488 Re 1917(misc): Fix silly mistake on r5330.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5331 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01 10:34:12 +00:00
Riza Sulistyo 806e030aae Re #1917(misc): Fix failed purity_test() on pjlib-test since getaddrinfo() might return multiple addrinfo.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5330 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01 10:05:22 +00:00
Riza Sulistyo 9bbd5af8be Re #1917 (misc): Fix failed pjlib-test when built using Visual Studio 2015 caused by defined EINVAL with different string error.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5328 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31 08:11:48 +00:00
Nanang Izzuddin e350feef33 Misc (re #1917): Disable ALSA audio device backend on BB10 in config_site_sample.h.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5320 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25 12:31:47 +00:00
Nanang Izzuddin d24cb4dc6b Fix #1925: pj_getaddrinfo() should invoke getaddrinfo() even when IP address is inputted, except on Windows Mobile platforms (see #458).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5319 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25 08:38:49 +00:00
Sauw Ming 2cdf297769 Re #1917 (misc): Suppress empty-body warning and "logical not is only applied to the left hand side of this comparison" warning
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5317 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25 06:33:26 +00:00
Riza Sulistyo 8d70225a1c Re #1917(misc): Fix tpipv6.h not found when enabling IPv6 on Visual Studio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5312 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20 07:19:26 +00:00
Sauw Ming 3733338bc1 Re #1922: Replace IPv4 specific APIs as per Apple's recommendations
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20 04:17:00 +00:00
Nanang Izzuddin d5083ec7f8 Re #1900: Various fixes in sock_uwp.cpp, mostly about error/exception handlings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5298 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17 08:51:14 +00:00
Sauw Ming 7af79a2ddc Re #1917 (misc): Fixed pj_getaddrinfo()'s CFHost version (such as on iOS) which may return truncated IP address if (af == PJ_AF_UNSPEC) and the address is of IPv6 family.
Thanks to Johan Lantz for the fix.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5295 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13 01:24:03 +00:00
Nanang Izzuddin df67f9a06f Changed version to 2.5-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5294 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 08:58:37 +00:00
Nanang Izzuddin afa08c8dae Changed version to 2.5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5292 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 07:05:03 +00:00
Riza Sulistyo 39391e025b Misc (re #1882): Fixed buffer size not sufficient when setting cipher list.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5285 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10 06:32:30 +00:00
Riza Sulistyo 77b7415ecf Fixed #1912: Build Error on Alpine linux (musl libc).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5277 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-13 06:24:48 +00:00
Riza Sulistyo 97359dea42 Re #1909: Fixed crash related to r5264.
- pj_generate_unique_string() expecting the user to specify the slen of the output string, this will lead to assert on pj_strncpy() if not set
- modify PJ_GUID_STRING_LENGTH to 36



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5272 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-01 02:34:48 +00:00
Sauw Ming 46c6578883 Fixed #1909: GUID implementation for Android.
Thanks to Johan Lantz for the contribution.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5264 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-17 02:56:27 +00:00
Nanang Izzuddin 31c9c139fd Re #1900:
- Works on UWP socket & ioqueue.
 - Media transport UDP: cancel any pending send on detach, otherwise there is possibility that send buffer is already freed by application (stream) when the send op starts.
 - Ioqueue common abs: rename 'generic' as it seems to be a keyword in C++/CX, fixed #if/#endif possition in ioqueue_init_key().
 - pjsua GUI app: fixed thread registration status check.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5256 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-11 04:17:32 +00:00
Riza Sulistyo 4660ce3230 Re: #1900:
- Add new property file (pjproject-vs14-api-def.props) to define the API used
- Add ioqueue specific to uwp using winRT networking API
- Add uwp GUI sample APP using Voip architecture
- Add async activation for wasapi dev



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5254 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-07 23:15:34 +00:00
Nanang Izzuddin a2eac68457 Misc (re #1882): Updated ioqueue epoll related vars in build config, e.g: update 'ac_linux_poll' value, introduce PJ_HAS_LINUX_EPOLL flag (thanks George Joseph for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5247 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-25 04:54:17 +00:00
Riza Sulistyo f748884498 Misc (Re #1882): Add raw certificate information to pj_ssl_cert_info data. Thanks to Peter Koletzki for the suggestion.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5238 74dad513-b988-da41-8d7b-12977e46ad98
2016-01-27 09:55:13 +00:00
Sauw Ming 3811a7bf42 Re #1882 (misc): Add checks as ssocket_cli and state_cli can be NULL
Thanks to Dusan Klinec for the original patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5231 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31 10:28:19 +00:00
Sauw Ming e7469c2232 Re #1882 (misc): Add assertion checks in pj_strncpy() and pj_strncpy_with_null(). When max is negative, it may go undetected and cause crash since it will be cast to an unsigned when calling pj_memcpy().
Thanks to Dusan Klinec for the suggestion.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5229 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31 05:06:03 +00:00
Sauw Ming ce2ce483a8 Re #1882 (misc): Fixed incorrect sizeof argument when using pj_bzero() and pj_memcpy() in ssl_sock_ossl.c
Thanks to Dusan Klinec for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5220 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30 03:40:16 +00:00
Nanang Izzuddin cdb73f16ce Misc (re #1882): Fixed wrong specifier used in ssl_sock_ossl.c (should be 'PJ_DEF' instead of 'PJ_DECL').
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5216 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-23 04:33:42 +00:00
Sauw Ming 2d446d8810 Fixed #1901: crash when async_cnt is set to a value greater than one for SIP TLS transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5214 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-11 04:59:56 +00:00
Riza Sulistyo e67887e55e Re #1900: Initial implementation with pjsua cli/telnet sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5210 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-10 01:58:38 +00:00
Nanang Izzuddin 0c9dd1d3d0 Re #1894: Fixed high socket descriptor check in ioqueue select, it should be against FD_SETSIZE instead of PJ_IOQUEUE_MAX_HANDLES, as PJ_IOQUEUE_MAX_HANDLES can be lower than FD_SETSIZE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5196 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06 11:36:06 +00:00
Nanang Izzuddin af48998e29 Close #1894: Improve ioqueue performance on multithreadeded environment.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5194 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06 04:18:46 +00:00
Riza Sulistyo 5a5522dc6e Re #1881: Add filters file.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5181 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-21 05:25:04 +00:00
Nanang Izzuddin 88358fd268 Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:45:46 +00:00
Riza Sulistyo bcfe1aea76 Re #1881: Add Visual Studio 2015 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5168 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 14:58:04 +00:00
Riza Sulistyo 984e351df8 Changed version to 2.4.5-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5164 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-12 05:28:43 +00:00
Riza Sulistyo 49bac29e12 Changed version to 2.4.5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5160 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-12 02:39:26 +00:00
Sauw Ming a223ba3e84 Fixed #1874: Truncated IPv6 address during address lookup on iOS
Thanks to Brian Walker for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5146 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05 06:31:45 +00:00
Sauw Ming 93efad4c9b Fixed #1861: Add support for video capture orientation on Android
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5138 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-30 06:23:35 +00:00
Sauw Ming 80467f5ebc Fixed #1862: Crash on iOS when destroying an activesock and creating a new one at the same time
Thanks to Itay Bianco for the report.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5119 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 08:53:02 +00:00
Sauw Ming a717a79328 Re #1843 (misc): Fixed target machine auto-detection for Windows 64 platform when using Visual Studio
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5093 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-14 06:06:27 +00:00
Sauw Ming 0d9345ea53 Re #1843 (misc): Fixed incorrect memcpy size in sock_common (thanks to Richard Mudgett for the patch and Joshua Colp for the report)
If an IPv6 UDP transport is configured with a link-local address, say fe80::21c:c0ff:fe4e:1a9e%eth0, which is an invalid format for an IPv6 address, it may cause crash. The invalid format causes pjproject to use an incorrect size parameter with memcpy().



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5092 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-12 01:56:29 +00:00
Nanang Izzuddin d6596d91ab Close #1849: Enabled multiple TLS certificate chains (RSA+ECC+DSA) for server socket.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5087 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-07 04:48:19 +00:00
Nanang Izzuddin a862f11212 Misc (re #1843): Fixed compile warnings on pjlib SSL socket with BoringSSL backend (thanks Alexander Traud for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5083 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-05 06:41:17 +00:00
Riza Sulistyo 98babafa48 Re #1843: Enable OpenSSL to use legacy certificates(1024 bit root certificate) send by server.
This is supported on OpenSSL 1.0.2. Thanks to Alexander Traud for the patch.
 


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5080 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-27 08:05:31 +00:00
Sauw Ming 9331c0893b Fixed #1846: Update to use 'HIGH' ciphers as default in OpenSSL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5078 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23 10:18:52 +00:00
Sauw Ming 3ba6b97f46 Fixed #1845: Add support if OpenSSL library has more than 100 cipher suites
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5076 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23 02:42:49 +00:00
Sauw Ming fd4d53641c Re #1843:
Support compilation with OpenSSL without OpenSSLv3 support

Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5074 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-22 03:43:00 +00:00
Sauw Ming 26d4eef986 Changed version to 2.4-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5064 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13 05:11:35 +00:00
Sauw Ming fa7b335659 Changed version to 2.4
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5062 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13 02:45:03 +00:00
Riza Sulistyo 24ca01f0df Misc (re #1782): Fixed build error when using PJ_POOL_DEBUG=1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5061 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-10 13:19:47 +00:00
Nanang Izzuddin d2a76eb70b Misc (re #1782): Suppress compile warnings on MSVC.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5060 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-10 11:47:48 +00:00
Sauw Ming 2b79e65eb9 Re #1782 (misc): Fixed activesock's lock msg w.r.t iOS background to be more precise.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5044 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-02 06:44:08 +00:00
Sauw Ming 6f19425c22 Re #1782 (misc): Prevent build error if using another ioqueue backend (such as epoll) or if using PJ_CONFIG_MAXIMUM_SIZE on platforms that do not support setting FD_SETSIZE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5042 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-01 07:50:23 +00:00
Sauw Ming e67656d494 Fixed #1827: Video port's clock thread may get stuck during format change event
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5012 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 07:50:28 +00:00
Sauw Ming 833a87f30b Fixed #1821: Remove unnecessary locking in pjsip transaction and add new API to create a group lock with handler in a single atomic instruction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4992 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-06 06:09:22 +00:00
Sauw Ming da1192b073 Re #1782 (misc): Suppress Helgrind's warning about possible data race when doing ioq select.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4991 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-06 06:04:21 +00:00
Sauw Ming 10c3fbbdd7 Re #1782 (misc): Fixed unitialized mutex owner variable when creating mutex
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4990 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-05 04:12:16 +00:00
Nanang Izzuddin 0629361e85 Misc (re #1782): Enabled G722 in config_site_sample.h for iOS and Android platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4984 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-26 04:00:44 +00:00
Nanang Izzuddin 869db13381 Close #1810: Adding CA path support into SSL socket.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4973 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-15 06:55:02 +00:00
Riza Sulistyo a60233729f Re #1782 (misc): Change assert check of ssl_state to non assert check on OpenSSL wrapper implementation.
(thanks to Joshua Colp for the suggestion)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4972 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-05 04:34:17 +00:00
Riza Sulistyo 24bae56fbc Re #1806: Implement SSL/TLS setting to set protocol operation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-18 04:40:35 +00:00
Sauw Ming 22cb947ee3 Fixed #1792: Create generic JNI OnLoad function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4927 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-23 04:13:40 +00:00
Nanang Izzuddin e16386431d Changed version to 2.3-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4915 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-03 11:18:02 +00:00
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
Riza Sulistyo 4baa476078 Misc (re #1751): fixed printing value issue when using %02X format. (Thanks Itay Bianco for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4910 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-01 06:32:50 +00:00
Riza Sulistyo 736ab2a480 Misc (re #1751): Avoid confusion caused by double variable declaration. (Thanks Itay Bianco for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4905 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-26 05:14:13 +00:00
Nanang Izzuddin f609626e3a Misc (re #1751): Suppress compile warnings of OpenSSL deprecation on MacOSX.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4901 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-22 01:44:29 +00:00
Benny Prijono 2ccd237527 Misc re #1751: disable one pjlib-test entry on socket address parsing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4894 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-20 06:15:23 +00:00
Benny Prijono d1803e61dd Re #1751: fixed miscellaneous gcc warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4890 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-19 00:54:34 +00:00
Riza Sulistyo 4d41dda2ab Re #1765:
- Fixed unnecessary white-space error
 - Limiting log message to servers
 - Adding SSL_OP_SINGLE_ECDH_USE optionally
 - OpenSSL could be built without elliptic curve support, or too old



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4871 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-07 06:40:01 +00:00
Benny Prijono 1d55a26625 Closed #1775: Changing OpenSSL default method from TLSv1 to SSLv23 to enable enable AES-GCM cipher suites in default (thanks Alexander Traud for the patch).
Also fixed a bug in SIP TLS transport (sip_transport_tls.c). According to [https://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h#L94 sip_transport_tls.h:94], when PJSIP_SSL_UNSPECIFIED_METHOD is set as method, PJSIP_SSL_DEFAULT_METHOD will be used. But the implementation uses PJ_SSL_SOCK_PROTO_DEFAULT instead of PJSIP_SSL_DEFAULT_METHOD. Currently this is fine because both resolve to TLSv1, but the patch will break it.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4869 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 18:57:53 +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
Benny Prijono 5d4eec623f Misc (re #1751): fixed error when retrieving SSL error. Thanks Vittorio Giovara for the patch
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4858 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-06 10:08:47 +00:00
Benny Prijono d085d2f425 Misc (re #1751): invalidate timer entry for every cancel() scenario to avoid assertion next time the entry is scheduled if cancellation fails (thanks Johan Lantz for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4855 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-04 09:23:10 +00:00
Nanang Izzuddin 2364977192 Misc (re #1751): Fixed AF_INET should be PJ_AF_INET in sock_common.c (thanks Lars Helgeson for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4850 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23 09:26:34 +00:00
Sauw Ming 4400a234d1 Fixed #1765: Add PFS support
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4832 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-02 10:20:14 +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
Nanang Izzuddin 9aedf941bc Re #1745 (Shared lib on MinGW): Fixed multiple definition of pj_time_decode/encode().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4784 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-10 08:58:49 +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 797a52d3dc Re #1680: Fixed compile warnings on VS2005 for x64/win64 config.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4761 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-24 09:02:44 +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
Benny Prijono 241474d94d Misc (re #1630): Fixing warnings about variable set but not used with recent gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 10:13:56 +00:00
Sauw Ming 4bf06e69fa Re #1519 (commited to SVN trunk): Add lib target to build system to enable building the library only (without the executables)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4727 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 07:39:55 +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
Nanang Izzuddin 93252d7e89 Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:13:11 +00:00
Nanang Izzuddin 288461dd42 Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:09:29 +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 70bde3b601 Re #1519: Misc fixes in pjsua2:
- Changed AccountConfig::toPj() signature, because a pjsua_acc_config instance should not be copied/assigned to another pjsua_acc_config instance as it contains list.
 - Fixed assertion in Endpoint destructor caused by access to pjlib mutex after pjlib is destroyed.
 - Changed VS2005 sample_debug project to allow debugging C++ code such as pjsua2_demo.cpp.
 - Compile warnings on VS2005.
 - Fixed SWIG python unit test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4692 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 11:44:51 +00:00
Nanang Izzuddin 8ccd01859a Re #1516: Avoid duplicated LDFLAGS in pjlib-test, which may raise linking errors (e.g: on Android).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4689 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 01:16:10 +00:00
Benny Prijono f912318dd8 Fixed #1713: Enable building the libraries as shared libraries/DLLs for GNU targets
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4656 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-23 07:13:40 +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 fc1fb24b87 Re #1630 (misc): Use the right compiler and flags to compile C++ (.cpp) files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4637 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-24 07:12:39 +00:00
Sauw Ming fdd63c3b60 Fixed #1707: Add support for paralel build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4632 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-23 06:39:47 +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 58dba631ff Re #1703: fixing general bugs. First installment: correct handling of snprintf return value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 09:08:13 +00:00
Sauw Ming eecf85e11c Re #1697: Add device info in pj_get_sys_info() and set default clock rate for iPhone 5 running iOS7 to 44100Hz
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4610 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-03 10:26:14 +00:00
Nanang Izzuddin 435cff993b Misc (re #1630): Fixed compile warning of assigning var to itself.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4601 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-25 04:20:01 +00:00