Commit Graph

126 Commits

Author SHA1 Message Date
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
Sauw Ming d48abc7e59 Re #1843 (thanks to Alexander Traud for the patch):
Defines like OPENSSL_NO_SSL3_METHOD and OPENSSL_NO_SSL2 are set in
"include/openssl/opensslconf.h". There is no need to query the OpenSSL
libraries. If the installed library does not match the installed headers,
the system is misconfigured.

This will undo r4892



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5073 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-22 03:40:41 +00:00
Sauw Ming d39cc28701 Re #1790: Fixed failed Android OpenGL detection if aconfigure is called with --use-ndk-cflags
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5034 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-27 02:31:49 +00:00
Nanang Izzuddin 904be7610d Re #1822: Updated build script to auto define PJMEDIA_VIDEO_DEV_HAS_ANDROID.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5027 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 05:08:40 +00:00
Nanang Izzuddin 659d6e2d07 Misc (re #1782): Fixed OpenSSL detection in configure script due to incomplete dependencies and bad library order, which causes OpenSSL detection failure on some platform such as Android mips and arm64.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4966 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-03 04:16:24 +00:00
Nanang Izzuddin 59ffd6aa01 Misc (re #1782): Skip libyuv and libopenh264 lookups when passing '--disable-video' param to configure script (thanks Sean Bright for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4953 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-21 08:11:52 +00:00
Sauw Ming 991d91dffd Re #1790: Initial basic implementation of Android OpenGL renderer
To use it, app has to specify PJMEDIA_HAS_VIDEO to 1



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4928 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24 04:01:34 +00:00
Sauw Ming d6ef3231d9 Re #1751 (misc): Fixed compilation error due to the lack of the SSLv2 methods.
The fix will autodetect this and define OPENSSL_NO_SSL2 if necessary. Related to #1321.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4892 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-19 02:18:07 +00:00
Benny Prijono 29920cc74e Re #1757, re #1758: fix configure script. Now OpenGL renderer is enabled by default by the configure script. And added missing dependency to -lstdc++ for the openh274 library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4881 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-22 07:44:53 +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 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 c598da33ba More #1758: updated to the latest OpenH264 code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4827 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-25 07:52:27 +00:00
Benny Prijono b3034d498f Re #1758: Initial implementation of OpenH264 wrapper. Supports:
- library detection via autoconf
 - CBP
 - packetization modes: 0, 1
 - key frame request and indication
 - obey remote's fmtp

Also added video codec test in samples (similar to the one in pjmedia test though).
And there are some fixes here and there too (e.g. in vid_codec_util.c).


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4815 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-10 10:01:07 +00:00
Riza Sulistyo c41812a4f5 Re #1751: Fix build error when using 'disable-libsamplerate' on configure.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4800 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-20 05:35:27 +00:00
Benny Prijono fdff733444 Re #1516: fixing multiple inclusions of crtbegin.o and -lgcc in the makefiles. The former causes link errors due to multiple symbols
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4732 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-05 05:52:10 +00:00
Nanang Izzuddin 68cb865f25 Close #1730: Added srtp_deinit()/shutdown() detection for external SRTP in configure script.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4723 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-30 04:33:27 +00:00
Nanang Izzuddin 6ca4a4997b Misc (re #1630): Modified configure script to only include libnsl if needed, e.g: on Solaris networking functions are in libnsl (thanks Jeremy Laine for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4721 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 10:08:28 +00:00
Nanang Izzuddin 1683d49f75 Close #1720:
- Added configure flags --with-external-srtp and --disable-resample.
 - Added macro setting PJMEDIA_LIBSRTP_AUTO_INIT_DEINIT to allow application to handle libsrtp init & deinit by itself.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4701 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-03 03:44:05 +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
Sauw Ming c8b3e27e8c Re #1697: Removed extra spaces in aconfigure.ac
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4636 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-24 07:07:39 +00:00
Benny Prijono 350e07cb1d Re #1697: fixed build error with the new coreaudio_dev.m introduced by r4617, because build process looks for an ObjC compiler
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4635 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-24 06:27:14 +00:00
Sauw Ming 83fe3b5b7c Re #1630 (misc): Thanks to Mark Michelson for the patch
This changes the autoconfigure script to use different checks for ar and ranlib.
The previous methods were causing compilation failures since it may cause a non-existent "ccar" command to be run.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4628 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 07:52:35 +00:00
Sauw Ming 37a4cc7439 Re #1630 (misc): related to r4623, missing the generated configure script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4625 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 06:49:58 +00:00
Nanang Izzuddin ed05649d8d Re #1639: merged android branch into trunk (except sample apps, i.e: apjsua & apjloader)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4435 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-11 06:32:58 +00:00
Sauw Ming 2f67f4741c Re #1608: Add support for OpenCORE AMR-WB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4331 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23 06:18:18 +00:00
Sauw Ming ec02c0850b Re #1586: Removed configure warning when using --with-silk option
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4271 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01 11:08:08 +00:00
Sauw Ming 03df4246da Re #1568: Add build config for SILK
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4265 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-25 02:23:06 +00:00
Sauw Ming 6d3b427f93 Re #1516: Build system for Android
How to use:
 * export ANDROID_NDK=/path_to_android_ndk_dir
 * Run ./configure-android



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4192 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 07:46:49 +00:00
Sauw Ming 2f91da070f Re #1529: Modify configure script to search for SDL2 first.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4159 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-07 02:24:51 +00:00
Nanang Izzuddin 08b20fe01b Close #1529:
- replaced obsoleted SDL constants SDL_*_OVERLAY
 - updated build config/scripts



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4157 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-06 09:37:25 +00:00
Sauw Ming 4e4ec7e756 Fixed #1525: Modify configure script to disable autodetection when cross-compiling.
This fix disable autodetection for:
 * SDL
 * ffmpeg
 * SSL
 * OpenCORE AMR-NB



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4149 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-01 04:27:01 +00:00
Nanang Izzuddin 6898bfded8 Close #1500:
- Added configure options to disable video.
 - Fixed exporting env var PKG_CONFIG_PATH for pkg_config(.py) script (didn't work on MacOS).




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4131 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-17 11:23:41 +00:00
Benny Prijono b15e7caa0b Re #1474: merged r4100-4107
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4108 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-27 01:32:12 +00:00
Benny Prijono eeebfabbf7 Re #1469: Changed aconfigure to use pkg-config to detect ffmpeg dependencies. On systems where pkg-config is not available (such as Mac OS X), use the supplemented pkgconfig.py Python script. If Python is not available, users then need to configure CFLAGS and LDFLAGS manually prior to running configure
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4069 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23 13:46:21 +00:00
Benny Prijono 28d3c56283 Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30 07:10:13 +00:00
Benny Prijono 36d324914e re #1393: error in detecting libavformat in mac os if ffmpeg was built and libbzip2-dev is installed. This caused ffmpeg to be built with dependency to libbz2, while our configure does not, causing link error during libavformat detection. This is temporarily fixed by adding libbz2 detection in aconfigure.ac
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3927 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-28 08:42:23 +00:00
Benny Prijono e110523801 More H.264 (re #1390): added x264 in aconfigure
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3859 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26 06:49:34 +00:00
Sauw Ming e7dbbc8f30 Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk
* Backport of r3557:r3832

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 09:28:13 +00:00
Benny Prijono 6a0a49a532 Added libz in aconfigure as this is needed by newer ffmpeg (re #1390)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3827 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18 11:17:23 +00:00
Sauw Ming 1d8ceb1cf5 Re #1334:
* Removed support for SDL 1.2

 * Add job queue inside SDL



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3718 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24 05:54:25 +00:00