Commit Graph

186 Commits

Author SHA1 Message Date
sauwming fb8a7772ef
Apple SSL backend using Network framework (#2482) 2020-09-29 11:31:01 +08:00
H5117 a9f4e1a8c3
libpjproject.pc: correct the field 'cflags' (#2403) 2020-08-04 14:29:24 +07:00
sauwming 4f26a6dd3b
More consistent configure script detection message (#2409) 2020-04-29 15:09:06 +08:00
sauwming 567c8e271f
Disable vpx if video is disabled (#2407) 2020-04-29 14:07:54 +08:00
Sauw Ming 187524186f Re #2210 (misc): Disable Darwin SSL if deprecated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6145 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-29 04:45:27 +00:00
Nanang Izzuddin 192a6bfc43 Fix #2256: Mini refactored Android configure script:
- added CXXFLAGS & LDFLAGS parsing (from ndk-build output), CXXFLAGS was set to CFLAGS.
 - updated WebRTC instruction set to use SSE2, was generic, for Android emulator (x86 ABI).
 - updated C++ library/STL backend to use c++_shared, somehow '-lc++_static' is ignored after the refactor, also the official NDK docs mentions that c++_static may cause undefined behavior for app with multiple shared libraries (note pjsua2 app may use other shared libraries).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6120 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-19 02:57:20 +00:00
Sauw Ming 3c9fa7ae2d Fixed #2253: Support for VP8 and VP9 video codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6110 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-22 06:18:55 +00:00
Nanang Izzuddin c381ed7e11 Misc (re #2210): Workaround for compile error 'unknown type name uint64_t' when building for Android x86 with NDK r20.
M    aconfigure
M    aconfigure.ac


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6066 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-06 08:29:25 +00:00
Sauw Ming 62fae52a43 Re #2185: Modified the autodetection in configure script to try to compile a sample code instead.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6018 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-31 05:03:21 +00:00
Sauw Ming 6814d38f53 Re #2185: Darwin SSL backend
* Security framework availability will be automatically detected for Mac OS and iOS, and if found, Darwin SSL will be the default SSL backend.
* OpenSSL availability will still be checked regardless of the above result, as it may be needed for DTLS.
* Add configure option --disable-darwin-ssl to disable the automatic detection



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5959 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-26 07:25:57 +00:00
Sauw Ming cff4487def Fixed #2185: Darwin (Mac OS & iOS) native SSL backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5957 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-25 01:33:12 +00:00
Riza Sulistyo f56014a118 Re #2147 (misc): Include unicode_win32.c on the build configuration for windows (mingw). Without it, the build will fail when enabling PJMEDIA_WMME_DEV_USE_MMDEVICE_API. Thanks to Niclas Larsson for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5924 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-13 10:03:36 +00:00
Sauw Ming f4ef7f8649 Re #2059 (misc): Link AVFoundation framework for iOS build since it's required for using AVAudioSession.
Thanks to Sebastian Marek for the report.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5819 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-05 11:16:11 +00:00
Nanang Izzuddin f31f77289b Misc (re #2059): Updated configure script to:
- make sure that C++ compiler is available, and
 - disable ALSA when ALSA development library is not found.

Thanks Alexander Traud for the feedbacks.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5814 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-26 07:08:24 +00:00
Riza Sulistyo 87a809c03d Re #2059 (misc): Patch to build Arch Linux on ARMv7 (e.g: Raspberry Pi).
Thanks to Attila Bogár for the patch.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5804 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-13 16:27:32 +00:00
Riza Sulistyo 90ecb626c8 Re #2059 (misc): Define missing CPPFLAGS in the aconfigure. Thanks to Alexander
Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5796 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-29 02:49:32 +00:00
Riza Sulistyo 1d030de05f Re #2059 (misc): Fix some warnings related to use of external Portaudio.
Thanks to Alexander Traud for the report and patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5779 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-09 12:30:48 +00:00
Sauw Ming 08ff24ac94 Fixed #2086: Add C# binding using SWIG, and support for Xamarin
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5735 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-12 06:50:00 +00:00
Sauw Ming c4279ec635 Re #2082: Initial implementation of GnuTLS support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5725 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-15 08:52:29 +00:00
Riza Sulistyo eb4d878e78 Re #2054: When setting CXXCFLAGS manually, make sure it's applied correctly.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5679 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-01 05:23:36 +00:00
Nanang Izzuddin 075ed502b7 Close #2044: Compile time setting for QoS using IP_TOS/IPV6_TCLASS on Darwin OS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5658 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-25 02:25:39 +00:00
Sauw Ming 51519471d8 Re #1993: With the update of bundled libSRTP to 2.1, external SRTP needs to be of version 2.x as well. This changeset will allow external SRTP users the option to continue using their current version 1.x.
* Also add autodetection of external SRTP version via the configure script.

Thanks to Alexander Traud for the report.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5656 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-22 02:42:22 +00:00
Riza Sulistyo 10882ddde2 Re #2029: Support for G.729 backend implementation from bcg729.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5630 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-19 10:29:10 +00:00
Nanang Izzuddin af17b763fc Misc (re #1994): Rearrange H264 default backend priority to avoid multiple H264 backends. Currently OpenH264 has higher priority than FFmpeg, and VideoToolBox (for MacOS/iOS) should be manually enabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5624 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-07 08:40:04 +00:00
Nanang Izzuddin b267904a2e Re #1993: Updated configure script to enable AES-GCM with OpenSSL 1.1.0 after updating bundled libsrtp version.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5622 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-06 05:00:30 +00:00
Sauw Ming 101682a15a Re #2022: Fixed build configuration to make sure that it's not included in other platforms (such as Android).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5606 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-15 02:56:48 +00:00
Sauw Ming d71eeaf882 Fixed #2022: Video Toolbox H264 encoder and decoder for Mac and iOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5603 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-08 06:23:56 +00:00
Riza Sulistyo 48228a9345 Fix #2006: Fix android build failed using NDK r14 caused by by the removal of android_alarm.h.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5574 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-29 05:07:47 +00:00
Nanang Izzuddin 08f9907e3d Re #1964: Fixed QoS build config for mingw32/msys.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5549 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-25 11:23:08 +00:00
Nanang Izzuddin 47ba92b893 Re #1954: Fixed WebRTC build config for mingw32/msys.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5548 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-25 11:21:32 +00:00
Nanang Izzuddin 17606031a8 Re #1932: Updated configure script for AES-GCM support detection.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5540 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 05:18:21 +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
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 efd63fca74 Misc (re #1945): Fixed WebRTC build failure for mips64 platform (thanks Oliver Wigley for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5509 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-22 09:33:55 +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
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
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
Sauw Ming 7be7ba1f62 Re #1954: Fixed compilation flags for building on arm64 iOS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5431 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-26 01:22:14 +00:00
Sauw Ming faea1af7ed Re #1954: Fixed compilation flags for Android armeabi build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5429 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 02:28:00 +00:00
Sauw Ming 3469abaa11 Re #1954: Add WebRTC to third party component
* Add build config for GNU build systems



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5428 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 01:36:33 +00:00
Riza Sulistyo 292f41cfa1 Re #1943: Improve the clarity of configure log message.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5416 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-11 03:10:37 +00:00
Sauw Ming 77a12fccab Re #1943: Fixed incorrect configure script.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5414 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-08 11:19:35 +00:00
Sauw Ming a9f5f14b4f Re #1943: AES-GCM crypto support for SRTP
Special thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5412 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-08 09:09:29 +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
Riza Sulistyo a1d83438e8 Re #1928 (misc): Remove trailing comma that might cause --disable-libyuv to not
work.
Thanks to Kyle Kurz for the report.
 


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5393 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 07:03:49 +00:00
Nanang Izzuddin 22295d8972 Re #1937: Keep libyuv enabled in configure script even when ffmpeg swscale is detected because video orientation feature requires libyuv. However, put ffmpeg swscale priority higher than libyuv in video converter.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5364 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 04:58:16 +00:00
Nanang Izzuddin 5a0186f493 Re #1937: Added libyuv build configs for GNU build systems.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5361 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 14:32:08 +00:00
Nanang Izzuddin e05b63091d Misc (re #1928): Fixed possible linking errors with Opus codec due to library dependency order issue, this only happens on some platforms, e.g: Android NDK r10e.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5355 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-24 09:28:08 +00:00
Sauw Ming 118fc60dee Re #1931: Fixed configure script for iOS to be able to detect both AVFoundation and OpenGL ES
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5348 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-16 10:55:23 +00:00
Sauw Ming cfeae392cb Re #1931: Add support for AVFoundation on Mac
- Deprecate QTKit
- Rename ios_dev.m to darwin_dev.m
- Important: Re-run configure and make dep after applying this change!



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5347 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-16 10:38:34 +00:00