Commit Graph

4938 Commits

Author SHA1 Message Date
Nanang Izzuddin 47ba92b893 Re #1954: Fixed WebRTC build config for mingw32/msys.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5548 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-25 11:21:32 +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
Nanang Izzuddin d83a154766 Re #1900: Updated audio device config to automatically enable WASAPI and disable WMME when PJ_WIN32_WINPHONE8 is set.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5546 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-25 04:15:11 +00:00
Riza Sulistyo d8d6a35cdf Re #1945 (misc): Prevent automatically adding Content-Type and Content-Length on
printing multipart data when its already printed.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5545 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:59:05 +00:00
Nanang Izzuddin 84ad7a0244 Misc (re #1945): Fixed compile warnings on Android 64bit platforms, e.g: dereferencing type-punned pointer, using uninitialized var.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5544 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:41:05 +00:00
Nanang Izzuddin 8e9b1a9d42 Misc (re #1945): Automatically define macro PJ_ANDROID=1 on Android platforms (previously should be defined manually via config_site_sample.h or config_site.h).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5543 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:36:50 +00:00
Sauw Ming 4d754c4fcc Re #1945 (misc): On iOS, print log in debugging console output when using ipjsua with cli.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5542 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 06:15:14 +00:00
Nanang Izzuddin b704bccfef Re #1900: Deleted dirty dir third_party/build/portaudio. The dir was copied from UWP branch (perhaps it was not deleted properly in the first sync from trunk?)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5541 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 05:24:44 +00:00
Nanang Izzuddin 17606031a8 Re #1932: Updated configure script for AES-GCM support detection.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5540 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 05:18:21 +00:00
Nanang Izzuddin 81f3607801 Re #1900: Reintegrated works in UWP branch to trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5539 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 04:32:34 +00:00
Nanang Izzuddin 1b25ccaf76 Re #1900: Merged changes from trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5538 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 04:18:59 +00:00
Nanang Izzuddin de3d744c2e Close #1932: Support OpenSSL 1.1.0.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5537 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 03:34:17 +00:00
Riza Sulistyo 4ab1838d0b Re #1945 (misc): Don't trigger SRV complete callback when there is a parse error.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5536 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 01:34:12 +00:00
Riza Sulistyo 1aadfca5bf Close #1919: Clear unused-variable warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5535 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19 10:31:38 +00:00
Nanang Izzuddin 7d9a05c9a3 Re #1513: Applied the new API pj_pool_safe_release().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5534 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19 07:41:25 +00:00
Nanang Izzuddin 377e5d4550 Close #1513: Added pj_pool_safe_release() API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5533 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19 06:10:15 +00:00
Nanang Izzuddin 101b72f638 Re #1900: Merged changes from trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5532 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 10:55:35 +00:00
Nanang Izzuddin fffe8ea945 Misc (re #1945): re r5530, reset SIP transport port setting to SIP_PORT before saving the configs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5531 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 10:44:49 +00:00
Nanang Izzuddin c40e9b5861 Misc (re #1945): Added TLS transport in pjsua2 sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5530 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 10:09:42 +00:00
Riza Sulistyo 429160d8b7 Re #1900: Misc updates, e.g: remove reference to wp8 gui sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5529 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 09:00:31 +00:00
Riza Sulistyo d88abe820d Re #1900: Misc updates, some projects are platform specific. Prevent it from being built for the unintended platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5528 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 07:01:37 +00:00
Sauw Ming 532eba77fc Re #1945 (misc): Add an alias REQUESTED-ADDRESS-FAMILY (which is used in the RFC 6156) for REQUESTED-ADDRESS-TYPE (which is used in the draft). Change the string literal to use the RFC version.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5527 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 03:50:32 +00:00
Nanang Izzuddin 598b098e2b Re #1900: Misc updates, e.g: Minimal Rebuild prop, SVN ignore prop.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5526 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-17 09:38:39 +00:00
Sauw Ming f40602acd9 Re #1945 (misc): Fixed occasional crash in pjsua Android sample app when initializing OpenGL renderer (crash in init_opengl()->ANativeWindow_setBuffersGeometry()). It doesn't happen in pjsua2 sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5525 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-17 04:28:39 +00:00
Sauw Ming ddbcae1896 Re #1945 (misc): move default setting of number of supported video device format to pjmedia-videodev config instead of config_site_sample, since not everybody will use the sample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5524 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-17 00:50:09 +00:00
Nanang Izzuddin 6d85bf82fe Misc (re #1945): Fixed bug in NAT detect: missing address family assignment in socket binding (thanks Howard Chalkley for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5523 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-12 02:22:18 +00:00
Sauw Ming 0f381d2516 Re #1960: Use boolean field to indicate whether the info is empty (instead of relying on bzero and memcmp)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5522 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 11:13:57 +00:00
Nanang Izzuddin bb2d69508e Fixed #1990:
- Added check for possibility of premature failure in pj_turn_sock_alloc() after pj_turn_session_set_server() returns PJ_SUCCESS.
 - Added more logs on ICE initialization progress for future debugging.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5521 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 07:29:46 +00:00
Riza Sulistyo e03e14b7f1 Re 1989: Implement pj_strtok()/pj_strtok() as a replacement to strtok().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5520 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 04:38:29 +00:00
Nanang Izzuddin 46979cfe6c Fixed #1988: Wait for any active spinning loop in read callback to complete before reinitiating read operation in UDP restart.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5519 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 03:35:17 +00:00
Sauw Ming a480a8ae91 Fixed #1960: Export SIP transport TLS state and TLS certificate info to PJSUA2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5518 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 01:41:31 +00:00
Riza Sulistyo bb71b914d6 Re #1975:
- Change autoconf detection in r5483 to compile time check.
- Don't use tls1_ec_nid2curve_id()/tls1_ec_curve_id2nid() since they are not public API.
Thanks to Alexander Traud for the suggestions.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5517 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-10 09:17:07 +00:00
Nanang Izzuddin 698254c51a Misc (re #1945): Fixed warning of missing braces in nested struct/union var initialization on recent GCC versions.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5516 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-03 12:44:08 +00:00
Nanang Izzuddin 04d4620359 Re #1900: Miscelaneous updates, e.g: enable/disable WMME/WASAPI automatically based on active platform, cosmetics.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5515 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 09:27:40 +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 c551b147fc Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5513 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 03:40:07 +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
Riza Sulistyo 9cf87434dd Re #1900: Move the cli runtime component to a more suitable folder.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5511 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 03:04:28 +00:00
Nanang Izzuddin 476cc27704 Fixed #1987: Verify 'med_prov_cnt' after media reinitialization (with a new call setting) to make sure it is not decreased.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5510 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-23 05:40:59 +00:00
Nanang Izzuddin efd63fca74 Misc (re #1945): Fixed WebRTC build failure for mips64 platform (thanks Oliver Wigley for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5509 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-22 09:33:55 +00:00
Nanang Izzuddin e67232ab2a Re #1986: Moved MainActivity.java of Android pjsua sample app, so it is not deleted by 'make clean'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5508 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-21 08:46:28 +00:00
Nanang Izzuddin 2b6b6f6c59 re #1986: Updated missing CFLAGS/LDFLAGS in Makefile of pjsua sample app for Android.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5507 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-21 08:38:41 +00:00
Nanang Izzuddin 4e00b0169e Re #1986: Convert pjsua sample app Android project from Eclipse to Android Studio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5506 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-21 08:33:57 +00:00
Nanang Izzuddin bd7c0b2a72 Misc (re #1945): Creates pjsip-apps/src/swig/android/app/src/main/jniLibs/armeabi automatically in SWIG Java Makefile, as sometime an empty folder is omitted by git.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5505 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-21 02:13:07 +00:00
Nanang Izzuddin 95601a86dd Misc (re #1945): Creates pjsip-apps/src/swig/java/output automatically in SWIG Java Makefile, as sometime an empty folder is omitted by git (thank you Oliver Wigley for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5504 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-20 11:19:41 +00:00
Nanang Izzuddin a299dc63ac Re #1986: Removed PjCamera.java and PjCameraInfo.java from pjsua2 sample app dir structure (it will be copied by build script from PJMEDIA).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5503 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-19 05:23:12 +00:00
Nanang Izzuddin f70c966edd Re #1986: Convert pjsua2 sample app Android project from Eclipse to Android Studio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5502 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-19 04:48:35 +00:00
Nanang Izzuddin f4e3ed6a2e Misc (re #1945): Fixed various compile warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5501 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-19 03:01:55 +00:00
Nanang Izzuddin 9f2f701296 Misc (re #1945): Update SRTP to restart crypto tag from 1 when generating reoffer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5500 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-19 03:00:37 +00:00
Nanang Izzuddin e4a1091168 Misc (re #1945 and re #1954): Export TARGET_ABI to env var in configure-android script. This var is needed by configure script to generate WebRTC source list for Android when "--use-ndk-cflags" is specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5499 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-16 06:22:31 +00:00