Commit Graph

215 Commits

Author SHA1 Message Date
sauwming c36802585d
Fixed ioqueue backend selection configure script (#3878) 2024-03-06 13:27:37 +08:00
sauwming b3ea8a29ac
Add Metal renderer for Mac and iOS (#3841) 2024-01-29 09:28:10 +08:00
Gregor Jasny 48f3723d71
build: use C++ compiler for linking (#3766) 2023-12-15 22:12:32 +08:00
Riza Sulistyo 914ce755a6
Support OpenSSL3 with "no-deprecated" build option (#3603) 2023-07-05 11:39:01 +08:00
jimying 649c05eb70
Fix scan-build (Clang Static Analyzer) build fail (#3443) 2023-03-16 14:07:02 +08:00
Ryo ONODERA 7e974cd929
Improve POSIX shell portability (#3326) 2023-01-10 14:34:16 +08:00
jimying 0b0488f17b
Add --disable-libuuid to autoconf (#3100) 2022-10-19 10:56:30 +07:00
orbea c804b31f85
Fix build fail on alpine linux (with musl libc) : no execinfo.h (#3263)
The execinfo.h header is GNU specific and is not available with musl.

Gentoo Issue: https://bugs.gentoo.org/867343

Co-authored-by: jimying <yingqw.js@gmail.com>
2022-10-17 13:32:23 +08:00
Jaco Kroon bae7e5f4ff
aconfigure: fix bashism. (#3220)
${var//string/replacement} is considered a bashism and should be avoided in configure scripts.
2022-09-20 10:15:38 +07:00
jimying de56dda311
Add new api pj_sock_socketpair() (#3179)
* Add new api pj_sock_socketpair()
2022-08-08 08:36:48 +07:00
Riza Sulistyo 86b6711777
Fix configure error on android NDK r25 (#3200)
* Fix configure error on android NDK r25

* Pass libc++_shared.so path to Makefile (java/csharp)

* Only pass the STD Cpp lib and env var rename
2022-08-05 14:49:15 +07:00
sauwming 8861441ec8
Move UPnP to PJNATH (#3195) 2022-07-29 17:05:28 +08:00
sauwming 82247cb8c0
Add UPnP support for SIP UDP and media UDP transports (#3184) 2022-07-21 11:25:05 +08:00
jimying cbc2051d7b
Set thread display name (#3156) 2022-07-06 09:15:58 +08:00
sauwming fe6cbbc397
Add configure option to disable srtp (#3002) 2022-05-04 09:33:28 +08:00
jimying 22f4d0e78f
add kqueue support for macos/BSD (#3029) 2022-04-11 12:32:43 +08:00
sauwming 3c2219e4d3
Fixed Android build issues on NDK r23 and r24 (#2974) 2022-02-16 11:38:44 +08:00
sauwming eda6fb5894
Fixed build failure for libwebrtc-aec3 (#2978) 2022-02-15 10:51:12 +08:00
Nanang Izzuddin 639e7dc7e6
Add Oboe audio device backend for Android (#2707) 2022-02-08 13:58:29 +08:00
sauwming 57376c13ac
Add aarch64 check for building libwebrtc and webrtc-aec3 (#2884) 2021-11-16 11:26:41 +08:00
jimying 06e28755d4
BSD (freebsd,openbsd,netbsd..) generate uuid use os native api (#2816) 2021-09-10 08:54:38 +07:00
sauwming 0ceb274989
Add Mac and iOS implementation of guid generation (#2784) 2021-08-09 11:12:04 +08:00
Nanang Izzuddin 5b591b44be
Add option --enable-speex-resample to configure script (#2742) 2021-06-29 09:17:32 +07:00
sauwming 0046373595
Add support for WebRTC AEC3 (#2722) 2021-06-03 11:50:47 +08:00
Riza Sulistyo 940e3c0443
Support Android AMediaCodec (#2552)
* Implement android AMediaCodec AVC/VPX codec.

* - Change "anmed" to "and_media" prefix for clearity.
- Check if encoder/decoder exists before enabling codec.

* Fix bug on enum info.

* Add support to AMRNB and AMRWB audio codec.

* Modification based on comments.

* - move VPX packetizer from codec implementation.

* - Remove unwanted changes.
- Fix bug on vpx (VP9) packetize method.

* - New method to initialize vpx packetizer config.
- Don't use pt as codec id.

* add compiler option to prioritze using software or hardware codec.

* add documentation related to packetization mode for H264.

* fix some potential compile error.

* Specify video codec PT to support #2656.
2021-03-05 21:59:07 +07:00
Alex Kalmuk 974cb47351
Add --disable-pjsua2 option for targets which lacks C++ (#2630) 2021-01-28 10:45:32 +08:00
sauwming caa34e8cbd
Support new Mac M1 ARM64 architecture (#2591) 2020-12-14 11:48:46 +08:00
Nikolai ZHUBR dad6a34680
Fix building with video support (including dshow camera) on mingw (#2589) 2020-12-10 15:54:40 +07:00
Nanang Izzuddin 2a0095175f
Supporting mingw-w64 (#2598) 2020-12-10 15:50:56 +07:00
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