Commit Graph

4814 Commits

Author SHA1 Message Date
Sauw Ming 8f1d068b65 Re #1956: Support for setting audio input source capability in Android JNI audio device
* modify the sample code
* add symbols for pjsua2



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5430 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 03:28:54 +00:00
Sauw Ming faea1af7ed Re #1954: Fixed compilation flags for Android armeabi build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5429 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 02:28:00 +00:00
Sauw Ming 3469abaa11 Re #1954: Add WebRTC to third party component
* Add build config for GNU build systems



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5428 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 01:36:33 +00:00
Sauw Ming b86d83f88f Fixed #1957: ICE stagnation when connectivity check fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5427 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 01:32:42 +00:00
Sauw Ming f69b5d2fdd Fixed #1956: Support for setting audio input source capability in Android JNI audio device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5426 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-23 09:13:28 +00:00
Nanang Izzuddin e8f460ff83 Fixed #1955: Fixed assertions in DNS SRV resolution with IPv6 TCP/TLS target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5425 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-23 06:22:27 +00:00
Sauw Ming 5489f8a82a Re #1945 (misc): Fixed typo in libyuv Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5424 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-22 03:01:18 +00:00
Nanang Izzuddin 973f9f89ac Misc (re #1945): fixed STUN server resolution should be retried, as PJSUA_STUN_RETRY_ON_FAILURE is set, in media transport creation after the one in startup failed (thanks Marcus Froeschl for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5423 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-19 07:25:33 +00:00
Nanang Izzuddin f8d033ff82 Misc (re #1945): Added opus.h/c to VS2005 & VS2015 project pjmedia-codec (thanks Arkadiusz Wronski for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5422 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-18 09:54:37 +00:00
Nanang Izzuddin 5a3047399a Misc (re #1945): Added PJ_HAS_IPV6 in pj_dump_config(), thanks Alexei Gradinari for the suggestion, also updated the year in copyright line.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5421 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-18 08:04:37 +00:00
Nanang Izzuddin b977d2fdb0 Fixed #1953: Skip IPv6 socket in resolver on system without IPv6 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5420 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-17 04:29:17 +00:00
Nanang Izzuddin 25c71542c5 Fix #1952: Skip address type matching in pjmedia_stream_info_from_sdp() when both sides use ICE, the ICE transport will do the matching when it generates ICE checklist.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5419 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-15 09:59:09 +00:00
Riza Sulistyo 4cca53c97b Re #1943: Raise linking error if libsrtp doesn't support the crypto.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5418 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-15 07:32:29 +00:00
Sauw Ming fc7b89425a Fixed #1951: Add callback to configure SRTP setting and key in pjsua/pjsua2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5417 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-12 03:47:26 +00:00
Riza Sulistyo 292f41cfa1 Re #1943: Improve the clarity of configure log message.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5416 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-11 03:10:37 +00:00
Sauw Ming 7cd0883a5e Fixed #1943: (Windows) Add SRTP OpenSSL sources in Visual Studio libsrtp project file.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5415 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-09 02:57:05 +00:00
Sauw Ming 77a12fccab Re #1943: Fixed incorrect configure script.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5414 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-08 11:19:35 +00:00
Riza Sulistyo 528c374870 Re #1950: Check for ndk-build on configure-android.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5413 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-08 10:19:15 +00:00
Sauw Ming a9f5f14b4f Re #1943: AES-GCM crypto support for SRTP
Special thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5412 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-08 09:09:29 +00:00
Riza Sulistyo 2180c8aed1 Re #1910: Send the additional keyframe only after the initial one.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5411 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 13:06:14 +00:00
Riza Sulistyo 968508c801 Re #1910: Implement option to regularly send video keyframe in the beginning of video call session.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5410 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 07:26:18 +00:00
Sauw Ming 50e392b0e4 Fixed #1950: Failure in configure-android when specifying --use-ndk-cflags with Android NDK r11 or later
* Create our own dummy (empty) Android sample app
* Unspecify the toolchain version and use default instead



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5409 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 04:42:48 +00:00
Sauw Ming dc8990b4a1 Re #1945 (misc): Fixed incorrect SRTP crypto suite name and doc.
Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5408 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 01:14:20 +00:00
Sauw Ming c221a10734 Fixed #1949: Support video window manipulation for native preview
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5407 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-04 04:17:30 +00:00
Sauw Ming c6831f27ef Fixed #1948: Modify async dispatch to synchronous on Mac and iOS video device implementation
Thanks to Marc Etcheverry for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5406 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-03 10:22:29 +00:00
Sauw Ming 2fc4124143 Fixed #1947: Support for OpenH264 v1.6.0 codec
Thanks to Marc Etcheverry for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5405 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-03 07:08:07 +00:00
Sauw Ming c32be339ca Re #1945 (misc): Fixed missing doxygen group doc for SIP transport TCP.
Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5404 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-02 09:59:32 +00:00
Sauw Ming dadfcb7557 Re #1945 (misc): Set IPv6 sockets to be IPv6 only
Auto-detect in configure script if this option is supported, and if yes, Set IPv6 sockets to be IPv6 only.

Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5403 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-02 08:35:28 +00:00
Riza Sulistyo 990448ede1 Re #1945 (misc): Add pjsua2 sample app using javafx.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5402 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-28 08:50:08 +00:00
Nanang Izzuddin d557c8510b Fix #1946: Avoid deinitialization of uninitialized client auth session.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5401 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-28 08:21:45 +00:00
Nanang Izzuddin 3ae35ecc4a Misc (re #1945): Updated checks in pjsip_tx_data_dec_ref(). Thanks Alexei Gradinari for the feedback and the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5400 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-28 03:17:04 +00:00
Nanang Izzuddin 57e10a2a18 Misc (re #1945): Updated ffmpeg video device to query supported format from the device/ffmpeg instead of hardcoded to RGB24.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5399 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-27 07:49:14 +00:00
Nanang Izzuddin 0aa92d744f Misc (re #1945): Fixed assertion when outgoing call without SDP is answered with 200 also without SDP (on NDEBUG mode, assertion shouldn't occur and call is disconnected immediately).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5398 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-26 07:48:59 +00:00
Nanang Izzuddin 6ab00bd2be Misc (re #1945): Updated array limit checks and docs in pjsip_evsub_register_pkg() and pjsip_endpt_add_capability(). Thanks Alexei Gradinari for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5397 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-26 02:58:44 +00:00
Sauw Ming 55cfb7f4ab Changed version to 2.5.5-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5396 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-21 07:18:06 +00:00
Sauw Ming f996f75514 Changed version to 2.5.5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5394 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-21 03:28:11 +00:00
Riza Sulistyo a1d83438e8 Re #1928 (misc): Remove trailing comma that might cause --disable-libyuv to not
work.
Thanks to Kyle Kurz for the report.
 


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5393 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 07:03:49 +00:00
Riza Sulistyo 76eb2a2a4a Re #1944: Allow native window to be set for video output window on SDL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5392 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 06:55:11 +00:00
Nanang Izzuddin a8e81715b0 Misc (re #1928): Fixed build error in Android SWIG wrapper after modification r5389 (using --sysroot instead of -I in CFLAGS).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5391 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 05:21:51 +00:00
Nanang Izzuddin 8dcd2e3a5b Misc (re #1928): Added MSVC2005 project 'swig_java_pjsua2.vcproj' for building Java binding of pjsua2 via SWIG.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5390 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 03:28:37 +00:00
Nanang Izzuddin 304e69f3c7 Misc (re #1928): Updated configure-android to add sysroot setting in CFLAGS and LDFLAGS. This update will also remove linking warning 'cannot find entry symbol _start'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5389 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-19 07:41:15 +00:00
Nanang Izzuddin bf599934e7 Misc (re #1928): Fixed possible stuck issue in pjnath-test caused by blocking recvfrom() upon concurrent socket events.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5388 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-18 11:02:02 +00:00
Riza Sulistyo acb57f2daa Re #1933: Handle link-local address that cause the test to fail.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5387 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-15 15:02:09 +00:00
Sauw Ming 2cf3583841 Re #1928 (misc): Re #1878 (Compile time option for TCP/TLS transport to not create a listener)
When not creating a TLS listener, still call pj_ssl_sock_set_certificate(), since it will later still be used by clients.
 


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5386 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-15 10:16:58 +00:00
Nanang Izzuddin 2545ac9127 Re #1933: Updated pjnath sess_auth.c test to use loopback address on IPv6.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5385 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-15 02:56:21 +00:00
Nanang Izzuddin 9fcb9e3fb3 Misc (re #1928): Cleaned up STUN transport config setup for ICE in pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5384 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-14 06:14:46 +00:00
Nanang Izzuddin b8f9191b6b Misc (re #1928): Print explicit log message about PJSUA ignoring IPv6 STUN server.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5383 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-14 05:15:16 +00:00
Nanang Izzuddin 37447d50b4 Misc (re #1928): Use host IP for SIP UDP transport address when STUN resolution fails to avoid zero address.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5382 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-14 04:37:37 +00:00
Riza Sulistyo b95f9dfd42 Re #1928: Change the cipher on pjlib-test since DES_CBC_SHA might not be
supported on newer openssl.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5381 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-13 11:03:01 +00:00
Nanang Izzuddin 7df7703982 Re #1942:
- Reverted back r5375, otherwise retrying next server will not work as it is using the ALLOCATING -> RESOLVED.
 - Don't set state to RESOLVED when pj_stun_session_send_msg() fails to avoid infinite loop, simply return the error code and let application destroy the TURN client session (which is already done by TURN socket).
 - Handle allocation error when delayed allocation fails (otherwise TURN client session may never get destroyed?).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5380 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-13 09:57:26 +00:00