Commit Graph

176 Commits

Author SHA1 Message Date
Gregor Jasny cf4f2d84dc
Hide private symbols (#3756) 2023-11-03 12:14:36 +08:00
Nanang Izzuddin e4bcc71f59
Miscellaneous fix (#3750)
* Fix various compile warnings (on MSVC2005 and Android)

* A function declaration without a prototype is deprecated in all versions of C

* Fix build warning on VS2022

* Minor update on sample app pjsua2 for Android Kotlin: add param to avoid activity recreation in activity config changes, useful in maintaining video window sizes on orientation change.

---------

Co-authored-by: sauwming <ming@teluu.com>
Co-authored-by: Riza Sulistyo <trengginas@users.noreply.github.com>
2023-11-01 11:32:43 +07:00
Nanang Izzuddin 54bce14d2d
Fix compile errors on old compilers (C90 prohibits variable decl in mid block, C++98 does not have Vector::data(), MSVC2005 project misses some new SRTP files) (#3625) 2023-07-11 13:07:37 +07:00
Riza Sulistyo 914ce755a6
Support OpenSSL3 with "no-deprecated" build option (#3603) 2023-07-05 11:39:01 +08:00
jimying b4921bfcd9
Add close-on-exec flag (#3553) 2023-05-16 11:59:37 +08:00
bennylp d63c18136a Fix gcc sign-compare warnings 2023-03-29 13:30:36 +07:00
Riza Sulistyo 5ac9104514
Expand tab to spaces and remove $Id$ (#3292) 2022-11-22 16:26:54 +07:00
Riza Sulistyo b7aff72764
Use environment LDFLAGS when building with resample as shared lib (#3290) 2022-11-22 11:21:55 +08:00
Nanang Izzuddin eafce473c6
Remove unused files from webrtc_aec3 Makefile (#3249) 2022-09-27 15:04:09 +07:00
sauwming fe6cbbc397
Add configure option to disable srtp (#3002) 2022-05-04 09:33:28 +08:00
sauwming eda6fb5894
Fixed build failure for libwebrtc-aec3 (#2978) 2022-02-15 10:51:12 +08:00
Riza Sulistyo 661a8cef67
Add support to windows on ARM build (#2807)
* Add support to ARM64 configuration for win32 build

* Add changes notes to webrtc and webrtc_aec3 third party sources

* Remove reference to libwebrtc_aec3 from libpjproject. Add reference it manually if libwebrtc_aec3 is needed.

* Fix build error on Release configuration.
2021-08-30 10:39:48 +07:00
Riza Sulistyo 115b1db6dc
Support webrtc-aec3 on windows (#2775)
* Support webrtc-aec3 on windows

* Add modification to PJSIP_NOTES
2021-07-28 14:39:47 +07:00
Nanang Izzuddin b88ba9be64 Misc (re #2698): Update libsamplerate license info (thanks to Olle Frimanson for the info). 2021-06-18 13:43:12 +07:00
sauwming 0046373595
Add support for WebRTC AEC3 (#2722) 2021-06-03 11:50:47 +08:00
nanangizz c1ebf338d7 Misc (#2504): Fix compile warnings in libyuv on Mac introduced by 681b1f34a9 (reverted, put the warning suppression in Makefile so libyuv app won't be affected) 2021-03-08 16:44:06 +07:00
nanangizz 681b1f34a9 Misc (re #2504): Suppress some compile warnings on Linux 2021-03-08 15:00:53 +07: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 95c09007dc Misc (re #2210): Fixed various compile warnings on MSVC2005.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6157 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-05 03:05:30 +00:00
Sauw Ming 92571dd89a Re #589: Suppresses warning of unused var
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6143 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-29 04:29:14 +00:00
Riza Sulistyo 54d3f774d7 Re #589: Add scal.c to Visual Studio project files.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6135 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-16 09:13:35 +00:00
Sauw Ming fe7a4e1135 Re #589: Fixed missing include file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6130 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-09 10:09:49 +00:00
Sauw Ming e98fe43314 Closed #589: Update Speex AEC to the latest version to get multichannel EC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6129 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-09 09:05:50 +00:00
Nanang Izzuddin a414fb61f4 Re #2256: Readjusted build configs (after r6120 & r6121) to accomodate the convention that CXXFLAGS always includes CFLAGS in all PJSIP modules.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6122 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-19 11:31:55 +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 e472147378 Fixed #2251: Deadlock between PJSUA LOCK and conference mutex
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6112 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-29 04:21:17 +00:00
Sauw Ming 9a21903a2f Fixed #2207: build failure when using Android NDK r20
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6032 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-20 00:09:00 +00:00
Nanang Izzuddin 43e40d16a4 Misc (re #2147): Fixed various build warnings (when building for Android).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6010 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-28 04:11:37 +00:00
Riza Sulistyo 18f5bc2535 Fix #2116: iLBC using memcpy instead of memmove for overlapping memory.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5798 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-29 09:02:51 +00:00
Riza Sulistyo 6f7a8b0fbf Close #2083: Fix build error when building using LibreSSL.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5726 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-17 11:15:34 +00:00
Riza Sulistyo 126a428c1e Re #2065: We still need to modify some source code to avoid build error on
Visual Studio 2005.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5708 74dad513-b988-da41-8d7b-12977e46ad98
2017-12-04 07:23:36 +00:00
Riza Sulistyo 77545dfdac Close #2065: Update libyuv to fix linker error when building libyuv as dll on Visual Studio 2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5699 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-21 09:25:11 +00:00
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
Sauw Ming d2faa6d17a Re #1994 (misc): Fixed various warnings when using gcc/clang
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5653 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-20 02:57:26 +00:00
Nanang Izzuddin 494f58b07d Misc (re #1994): Fixed compile warnings on MSVC 2005 & 2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5635 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-01 07:49:34 +00:00
Nanang Izzuddin 4b6c5064c3 Re #2004: Update libyuv version from libyuv git master repo dated 27 July 2017, the compile errors on old gcc versions issue persists though.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5633 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-28 02:51:44 +00:00
Nanang Izzuddin d7395e8c6c Re #1993: Minor: cleaned up few more unused files.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5615 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-04 05:39:40 +00:00
Nanang Izzuddin 0e6af12b9e Close #1993: Updated bundled libSRTP version to 2.1.0.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5614 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-04 05:22:51 +00:00
Nanang Izzuddin 2bf25fb6c9 Misc (re #1994): Fixed linking errors when configuring with '--disable-speex-codec' and without '--disable-speex-aec' params.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5568 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-13 10:27:14 +00:00
Riza Sulistyo d76dcc020d Re #1900: Fixed some build error for UWP arm.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5547 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-25 07:52:32 +00:00
Riza Sulistyo 6044d8b204 Re #1900: Fix merge conflict for solution file and project files. And fix some compile error found for UWP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5514 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 05:20:16 +00:00
Nanang Izzuddin 3b3df6f577 Re #1900: Merged from trunk (without 3 text conflicts in sln & vcxproj).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5512 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 03:28:05 +00:00
Nanang Izzuddin 6c47f59bc8 Re #1900: Updated project files for target platform version configuration, it is configurable via property sheet build/vs/pjproject-vs14-common-config.props.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5497 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-09 13:43:07 +00:00
Riza Sulistyo e67887e55e Re #1900: Initial implementation with pjsua cli/telnet sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5210 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-10 01:58:38 +00:00
Nanang Izzuddin 9093e07fad Misc (re #1882): Updated libresample makefile to also generate shared library when configure param '--enable-resample-dll' (see also #1462) is specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5189 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23 08:05:12 +00:00
Riza Sulistyo 5a5522dc6e Re #1881: Add filters file.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5181 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-21 05:25:04 +00:00
Nanang Izzuddin 88358fd268 Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:45:46 +00:00
Riza Sulistyo bcfe1aea76 Re #1881: Add Visual Studio 2015 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5168 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 14:58:04 +00:00
Nanang Izzuddin 4666f3ff7c Updated r5158, as it introduced more warnings on Android about unknown pragma.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5159 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-12 00:35:26 +00:00
Nanang Izzuddin 53f21945a0 Misc (re #1843): Fixed GCC compile warnings of unused variables in third-party libs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5158 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-11 07:49:25 +00:00