Commit Graph

4277 Commits

Author SHA1 Message Date
Nanang Izzuddin b5411f5f4d Misc (re #1751): Updated configure script to pass params using "$@" (thanks Alexander Traud for the feedback).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4878 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-15 05:48:29 +00:00
Nanang Izzuddin 0e056499b8 Misc (re #1751): Delete config.log and config.status on "make distclean/realclean".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4877 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-14 07:21:58 +00:00
Nanang Izzuddin 92ca5b5756 Misc (re #1751): Fixed possible bad assertion caused by race condition between regc_tsx_callback() and pjsip_regc_send() (thanks John Ryan for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4876 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-14 04:49:25 +00:00
Riza Sulistyo ec2f27eff9 Re #1776: Initial implementation of Libyuv wrapper. Supports:
- library detection via autoconf
 - scaling and conversion function (from/to I420 or BGRA)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4875 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-14 02:37:06 +00:00
Benny Prijono 8148542208 Re #1758: misc: reverted accidentally checked in test.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4874 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-11 04:25:04 +00:00
Benny Prijono bf9dd9e5f5 Closed #1758: use OpenH264 lib version 1.0.0 release instead of the latest git version which is still changing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4873 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-11 04:20:08 +00:00
Riza Sulistyo cdda91daeb Misc (re #1751): fix crash when receiving unhold message caused by access to invalid data as a result of pool reset (Thanks to Itay Bianco for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4872 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-09 06:43:32 +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 cd7a313a58 Misc re #1751: changing Android java's String.isEmpty() to String.length()==0 for better portability since the former is only available on API level 9
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4870 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-03 09:43:19 +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
Benny Prijono d08da0a012 Misc re #1751: removed --tls-srv-name from pjsua usage text since that feature has been removed long time ago by #1448 (thanks Alexander Traud for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4868 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 18:07:12 +00:00
Benny Prijono 9d091816ef Re #1758: updated with the latest OpenH264 to fix compilation error with bsi->eOutuptFrameType and missing int32_t type on Windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4867 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 17:55:45 +00:00
Sauw Ming d06ace5d10 Re #1768: move access to MainActivity class from MyApp to avoid undefined symbol error when not compiling for Android app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4866 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 02:58:01 +00:00
Sauw Ming d442412ed4 Fixed #1774: Unfreed transports upon stack shutdown/restart
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4865 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-26 10:39:35 +00:00
Nanang Izzuddin 0ff9141463 Re #1758: updated wrapper with Visual Studio specific settings, also added the wrapper to VS project.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4864 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-26 08:32:48 +00:00
Benny Prijono 7d92b81b2f Re #1758: Updated with the latest OpenH264 to fix compilation error and codec initialization error for packing mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4863 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-23 06:21:21 +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
Nanang Izzuddin 67d033cb02 Close #1772: Fixed error handling in pjsua_create() and pjsua_init().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4861 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19 08:06:50 +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
Riza Sulistyo 6d43f917ef Re #1770: Fixed issue with "other params" quotes when proxying WWW-authenticate header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4859 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-10 02:56:56 +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 1520759586 Misc (re #1751): fixed problem in r4852 which caused sound not to be opened
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4857 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-06 09:43:22 +00:00
Benny Prijono 77e9412b79 Misc (re #1751): added additional checking to invite and dialog instances when terminating the call when media initialization fails due to suspected crash
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4856 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-05 05:04:42 +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 09a710ec56 Fix #1769: Fixed maximum size/resolution calculation of H264 video in decoding direction.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4854 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-04 03:48:28 +00:00
Nanang Izzuddin 68807a88d5 Re #1762: Fixed native preview cannot be stopped.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4853 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-30 06:13:24 +00:00
Sauw Ming 01d927ef9e Re #1751 (misc): Avoid setting sound device if sound devices are the same (thanks to Christian Ambach for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4852 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-28 08:44:31 +00:00
Nanang Izzuddin 97bd35d547 Misc (re #1751): Fixed uninitialized config filename in ui_write_settings() in pjsua app (thanks Lars Helgeson for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4851 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23 09:29:09 +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
Nanang Izzuddin 6c03df1ea3 Misc (re #1751): Fixed SIP status phrase of status code 484 to be "Address Incomplete" (thanks Graeme Robertson for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4849 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23 03:24:55 +00:00
Sauw Ming 31da64e8ae Re #1757: Modify display video function in r4813 so it can display video preview as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4848 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-22 04:52:53 +00:00
Nanang Izzuddin c6811d496b Misc (re #1751): Fixed build error when PJ_LOG_MAX_LEVEL is set to 0 (thanks Fredrik Hansson for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4847 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-20 04:39:46 +00:00
Benny Prijono 67671ee549 Re #1758: changing library name from libwels to libopenh264 in recent OpenH264 update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4846 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-20 04:27:01 +00:00
Benny Prijono a5e86c3eb4 Fixed #1767: Tone generation API in pjsua2 and SWIG wrappers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4845 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-19 05:51:10 +00:00
Benny Prijono aa36908a4a Re #1768: fixed potential GC problem when rejecting incoming call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4844 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 10:39:39 +00:00
Benny Prijono 89f70f7855 Re #1768: avoid crash if outgoing call fails during media initialization, because on_call_state() is called with NULL event, which is unexpected by pjsua2 (and possibly other unsuspecting apps)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4843 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:57:15 +00:00
Benny Prijono 4b0375c37d Re #1768: added APP_PLATFORM to avoid this warning "WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 11" which would make native debugging fail
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4842 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:51:54 +00:00
Benny Prijono da23a224b6 Re #1768: fixed wrong JNI compilation flags used by pjsua2 Android sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4841 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:50:08 +00:00
Benny Prijono 424d80b479 Re #1768: Fixed problems with Java garbage collection on call and buddy object
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4840 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:47:06 +00:00
Benny Prijono 720b9b52e4 Fixed #1766: Assertion due to stray retransmit timer in UAC transaction completed state
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4839 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-08 09:21:04 +00:00
Nanang Izzuddin 652ce73b85 Re #1762: Support more capture sizes (was only 352x288) and automatically find the closest supported size from the requested size.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4838 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-07 08:11:10 +00:00
Nanang Izzuddin 8d63602ddb Re #1762: Fix native preview not shown issue by starting capture session from main thread.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4837 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-07 05:30:29 +00:00
Nanang Izzuddin d001e05934 Re #1762: Add I420/IYUV output format to capture devices.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4836 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-06 12:55:49 +00:00
Sauw Ming b9dce8db80 Re #1757: Avoid calling OpenGL ES functions when in the background (which may cause app to be killed by iOS)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4835 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-05 07:53:31 +00:00
Sauw Ming 72cf29ff2c Re #1762: Add capability enumerations and native preview capability
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4834 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-05 07:47:48 +00:00
Riza Sulistyo 386c257406 Misc (re #1751): Fix build error (Ubuntu 14.04) when building Pjsip with OpenCore-AMR.Thanks to Alexander Traud for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4833 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-05 06:29:41 +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 404f26b960 Re #1764: Add reference to ticket number
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4831 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-30 15:12:49 +00:00
Sauw Ming 6fe453c229 Fixed #1764: Use latest early media SDP received on forked early media on 18x response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4830 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-30 15:04: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