Commit Graph

86 Commits

Author SHA1 Message Date
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 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 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
Benny Prijono 69b1f82cae Re #1176: fixed link error in GNU build system
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3393 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-10 11:33:01 +00:00
Benny Prijono c45d951901 Migration of current video works from private repository to this repository. This closed #1176
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3392 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-10 11:04:30 +00:00
Sauw Ming be3771a637 Closed ticket #1107: iOS4 background feature
* pjlib:
  * add support for activesock TCP to work in background mode.
  * add feature in ioqueue to recreate closed UDP sockets.
 * pjsip-apps:
  * ipjsua: add support for iPhone OS 4 background mode
  * ipjsystest: add support for iPhone OS 4 background mode



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27 06:46:29 +00:00
Benny Prijono 896be297d4 Misc (re #1110): error in setting the IPP architecture in the configure script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3275 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-17 12:16:46 +00:00
Benny Prijono fe3bf0e7cd Re #1068 (misc): fixed error in cross compiling Mingw on a Linux box (thanks Atik Khan for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3246 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05 06:27:20 +00:00
Benny Prijono 5bbebc0a1d Misc fixes (re #1068): fixed aconfigure to handle the case where ifaddrs.h is present but the functions are not available, as reported to happen with uClibc (thanks Jones Desougi for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3205 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15 05:21:43 +00:00
Benny Prijono b18e95000c Misc fix (re #1068): set default alignment in the configure script to 8 bytes on Sparc (thanks David Coppa for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3181 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19 05:51:38 +00:00
Benny Prijono 2d1f1b6c04 Re #1050: fixed aconfigure error caused by iPhone merging
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3176 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17 16:09:12 +00:00
Sauw Ming 7920fb2d16 Merge #1050, #1052, #1053, #1054 into the main trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17 13:07:39 +00:00
Benny Prijono 8ec5eae272 Support for iPhone tools in the build system:
- more flexible redeclaration of build tools. Now users may
   override build tools with environment variables, e.g.
   CC, AR, RANLIB, etc.
 - added configure-iphone: configure wrapper for iphone
 - tested with iPhone 2.x SDK

This closes #1050


git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/iphone@3168 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-12 10:59:20 +00:00
Benny Prijono d43064377b Fixed #1064:
- Removed orphaned third_party/gsm/inc/gsm.h.orig file
 - Added support for external GSM header in /usr/include/gsm.h (rather than <gsm/gsm.h>)
Thanks Christopher Zimmermann for the fixes


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3158 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-01 22:05:41 +00:00
Benny Prijono 46bd0840a9 More ticket #1009: Initial support for IPP on Mac
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3099 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-12 14:12:41 +00:00
Benny Prijono 3965f19782 Ticket #1009: Support for IPP 6.1 on Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3097 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10 18:46:05 +00:00
Benny Prijono 8a9b3b272c More #1025 (support for using external third party libraries):
- support for using external libspeex and libgsm
 - replaced --with-pa-path with --with-external-pa


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3062 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-14 14:46:54 +00:00
Benny Prijono a1aec0ec96 Initial fixes for #993 (OpenSolaris issues)
- configure script patch for FIONBIO and SIOCGIFFLAGS errors


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13 21:28:06 +00:00
Benny Prijono fe0c127516 Ticket #1025: Support for using different PortAudio installation/path
- added --with-pa-path configure option
 - remove the use of PaUtil_SetDebugPrintFunction() since this is not always available across all PA versions (?)


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3058 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13 16:28:15 +00:00
Benny Prijono d523370d48 Initial OpenBSD fixes (#994):
pjlib:
 - Autoconf fixes in detecting header availability
 - Undefined sched_get_priority_max() and sched_get_priority_min()
    - protect with #ifdef _POSIX_PRIORITY_SCHEDULING, and
    - return hardcoded (0, 31) if __OpenBSD__ macro is declared
 - Better GUID generation

pjlib-test:
 - Reduce the loop in PJILB activesock test
 - Fixed bug in ioqueue unregistration test which caused assertion error in destroying mutex

pjlib-util-test:
 - Fixed bug in pjlib-util resolver test



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3057 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13 13:09:45 +00:00
Nanang Izzuddin 9c7616f2e2 Ticket #957: Updated PJSIP_HAS_TLS_TRANSPORT default value to refer to PJ_HAS_SSL_SOCK.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2973 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-28 06:09:15 +00:00
Nanang Izzuddin ea6d3c4d6b Ticket #957:
- Added features in secure socket: handshake timeout timer, certificate info, renegotiation API.
 - Added unit test for secure socket, along with testing purpose certificate & private key.
 - Updated build configs for secure socket.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2970 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26 15:47:52 +00:00
Benny Prijono 1d61ba5e51 More ticket #972: fixed compilation error on Linux due to the last introduction ot PJ_TCP_NODELAY. Everyone needs to re-run configure though (thanks Dan Arrhenius for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2962 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24 00:00:40 +00:00
Nanang Izzuddin 56e380affa Ticket #774:
- Added build config for GNU autoconf & make.
 - Fixed some G.722.1 codes for linux & mingw32 targets, e.g: types 
defs, collision function name 'round'.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2601 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15 14:45:41 +00:00
Benny Prijono e27461311d Fixed ticket #644 and 648 again (hopefully once and for all): build error on VS6 with built-in SDK and on PocketPC 2003 SDK since they don't have multicast related socket options
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2331 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 13:16:35 +00:00
Benny Prijono 9489e7a098 Couple of fixes in ioqueue_epoll for ticket #622 (still not working)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2300 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-19 22:18:50 +00:00
Benny Prijono 99eec385bc Ticket #622: initial integration of ioqueue_epoll patch, updated the configure script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2295 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18 21:22:16 +00:00
Benny Prijono 0822c19f28 More ticket #583: autoconf support for Intel IPP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2232 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-21 20:59:58 +00:00
Benny Prijono 37fc9de7fd Fixed build error on FreeBSD (cannot use <netinet/ip.h> if <netinet/in_systm.h> is not included)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2190 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 14:45:02 +00:00