Commit graph

112 commits

Author SHA1 Message Date
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
Sauw Ming
24c39a37ec Re #1324: Add checking of iOS SDK frameworks in the configure script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3701 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16 05:44:46 +00:00
Sauw Ming
d8aa67c204 Re #1320: Fixed configure script for detecting ffmpeg libraries (thanks to Samuel Vinson for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3691 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-09 04:31:41 +00:00
Benny Prijono
5b0af63777 Fixed #1329: Added --with-sdl option in aconfigure script to specify alternate libSDL location
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3672 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-20 03:16:25 +00:00
Sauw Ming
68c145760e Re #1278: Fixed linker error on Mac and iOS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3670 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-20 03:00:48 +00:00
Nanang Izzuddin
fe68f1dc55 Re #1326: Initial code integration from branch 2.0-dev to trunk as "2.0-pre-alpha-svn".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 03:42:28 +00:00
Sauw Ming
01095d8410 Re #1278: NSApplication and NSAutoreleasePool management for Mac OS X
Application now needs to call pj_run_app() from its main() function and pass a pointer to the application's main function. For some examples, please refer to aviplay, pjmedia_test, and pjsua.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3643 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 08:46:19 +00:00
Benny Prijono
c8ef0ac966 Re #1219: added configure option to specify ffmpeg path
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3533 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 19:13:56 +00:00
Benny Prijono
f8957786e2 Support for Intel IPP 7. This closes #1227
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3517 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 02:43:04 +00:00
Sauw Ming
21bd3fdd59 Re #1213:
Add OpenGL support for SDL renderer



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3499 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 11:30:18 +00:00
Benny Prijono
cd62c4e507 Intel IPP version 7 support on Linux. This closes #1200
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3464 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-18 08:33:29 +00:00
Sauw Ming
fe42f0c7c3 Re #3428: Fixed aconfigure for iOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3430 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01 10:42:11 +00:00
Sauw Ming
6a970a3e5a Implementation of re #1202 (PJLIB System Information API) on iPhone OS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3428 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01 05:25:27 +00:00
Benny Prijono
e3e6580803 Initial implementation for re #1202 (PJILB System Information API) for Linux/Unix
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28 07:44:19 +00:00
Sauw Ming
6e6c215f70 Fixed #1183
* QT capture device for Mac
 * iOS device for iOS (capture device only works for iOS 4.0 or above)
 * Add NSAutoReleasePool for sdl_dev (Mac)
 * Add NSAutoReleasePool for vid_dev_test (Mac)
 * build system for compilation of Obj-C files (.m)



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3395 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-14 13:03:10 +00:00