Commit Graph

165 Commits

Author SHA1 Message Date
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
Riza Sulistyo f2735eb226 Re #1920: Fix typo on configuration script when trying to detect FFMpeg
package (libavdevice).

Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5303 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17 16:01:59 +00:00
Riza Sulistyo 0f529759d7 Re #1920: In the development branch of FFmpeg 0.8 (in July 2010), a new library
was created AVCore. Just a half year later (February 2011), AVCore was
merged into AVUtil (52.38.0).

Furthermore, nothing in pjproject uses libavcore. Therefore, it is save
to remove all references to that library.

Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5301 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17 15:25:51 +00:00
Riza Sulistyo 9b39f3182a Re #1882 (misc): Error raised from aconfigure on CentOS6(autoconf 2.63) related to opencore-amrnb.
Thanks to George Joseph for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5276 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-12 07:46:12 +00:00
Nanang Izzuddin 5a7e650edb Re #1897: Updated ffmpeg_util.h/.c to support older ffmpeg.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5271 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-24 13:16:25 +00:00
Nanang Izzuddin 6dda95fea0 Re #1609: Minor fix in configure scripts in ALSA detection message.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5270 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-23 11:57:41 +00:00
Nanang Izzuddin 601508ce50 Re #1906: Fixed configure script error due to missing PortAudio makefile.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5269 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-23 11:37:51 +00:00
Nanang Izzuddin 17e3246fc8 Close #1906: Removed PortAudio from PJSIP source package.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5268 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-23 07:52:41 +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 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
Sauw Ming d3ece1d774 Fixed #1904: Support for Opus codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5239 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-04 06:11:58 +00:00
Nanang Izzuddin eeca9e82e7 Re #1896: Updated default audio device backends: mingw uses WMME, linux/*nix uses alsa (if available).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5199 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-10 10:36:14 +00:00
Nanang Izzuddin a9a3238ed9 Close #1896: Update default audio device backend on MacOS to CoreAudio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5197 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-09 10:28:16 +00:00
Sauw Ming 4021214257 Fixed #1888: Support for WebRtc AEC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5186 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-06 05:57:51 +00:00
Sauw Ming 464a116faf Re #1870: Modified the last identifier of the build triplet from darwin to darwin_ios to distinguish between iOS and MacOS platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5150 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 09:15:11 +00:00
Nanang Izzuddin 628a5c7bdd Re #1870: Fixed 64 bit arch issues on Android: pool alignment, updated suffix in lib file naming.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5145 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05 04:26:06 +00:00
Sauw Ming b734822b51 Re #1870: Handle configuration for iPhone simulator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5144 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05 02:52:15 +00:00
Nanang Izzuddin 1596803296 Re #1870: Fixed 64 bit arch issues on iOS: pool alignment, updated config.sub, updated lib/app file naming, lib dependencies on XCode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5137 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-29 02:31:12 +00:00
Nanang Izzuddin 64d67d7c93 Misc (re #1843): Fixed OpenH264 detection failure in configure script due to bad library order.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5134 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-14 04:12:15 +00:00
Sauw Ming e64df95fb9 Re #1843 (misc): Add libyuv_neon for other arm architectures as well (instead of just armv7)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5112 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-22 02:34:21 +00:00
Sauw Ming c86505df32 Re #1843 (misc): related to r4966, remove ldl and lz from OpenSSL dependencies since both libraries are actually optional for OpenSSL, and may be unavailable in some platforms, such as BB10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5091 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-11 09:18:24 +00:00
Nanang Izzuddin 1124c0cf04 Misc (re #1843): Updated few configure script output messages for better consistency and clarity (thanks Alexander Traud for the feedback).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5084 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-05 07:07:19 +00:00