Sauw Ming
ab6022bae3
Fixed #2087 : Support for RTP and RTCP multiplexing
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5788 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-09 06:58:48 +00:00
Sauw Ming
e82c5e9a95
Re #2059 (misc):
...
- Allow USE_PYTHON3 to be obtained from environment variable.
- Change PYTHON_EXE. Reasons:
* The platform Arch Linux defaults to Python 3 already. Therefore, when /usr/bin/python is called, it is not Python 2.7 but Python 3.6.
* The platform NetBSD and Gentoo Linux does not offer /usr/bin/python3 but only /usr/bin/python3.6.
Thanks to Alexander Traud for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5777 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-06 06:07:32 +00:00
Sauw Ming
c954c262bb
Re #2059 (misc): Replace the warning text so it won't conflict with C compiler warning message.
...
Also revert accidental local modification caused by r5767.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5776 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-06 00:52:35 +00:00
Sauw Ming
1be0d4b228
Re #2100 : Fixed SrtpCrypto vector definition
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5775 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-03 05:02:23 +00:00
Sauw Ming
bd4e680cd6
Re #2059 (misc): Replace the warning text so it won't conflict with C compiler warning message.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5767 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-02 06:18:09 +00:00
Sauw Ming
e483bf4605
Re #2059 (misc): Remove -Wunused-but-set-variable in Python SIP module.
...
Thanks to Alexander Traud for the patch.
Note that the patch is a contribution and the module itself has been deprecated and will no longer be maintained (https://trac.pjsip.org/repos/wiki/Python_SIP/Build_Install ).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5763 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-02 05:01:41 +00:00
Riza Sulistyo
111322c0e1
Re #2059 (misc): Don't include test app (exe) when building for Android.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5761 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-27 05:35:03 +00:00
Riza Sulistyo
173b0b5171
Re #2059 (misc): Add swig_java_pjsua2 project files to build pjsua2 java binding using Visual Studio 2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5760 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-26 11:41:03 +00:00
Nanang Izzuddin
922b4e2ed6
Close #2100 :
...
- Added new APIs:
* PJMEDIA: pjmedia_srtp_enum_crypto(), pjmedia_srtp_enum_keying()
* PJSUA: pjsua_config.srtp_opt, pjsua_acc_config.srtp_opt, pjsua_srtp_opt_default()
* PJSUA2: AccountMediaConfig::srtpOpt, Endpoint::srtpCryptoEnum()
- Deprecated PJSUA callback on_create_media_transport_srtp() (not removed yet, just warnings).
- Slightly refactored SRTP code:
* Fixed potential issue with on_create_media_transport_srtp(), some PJSUA internal values in pjmedia_srtp_setting may be overridden by app.
* Fixed few issues in SRTP and keying mechanism, e.g: premature local SDP modification (it should be done after verification).
* Potential minor backward compatibility issue: default value of pjmedia_srtp_setting.crypto_count is now zero, previously it was initialized with all crypto via pjmedia_srtp_setting_default(), actually zero and all cryptos in this setting semantically are the same.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5755 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-15 03:00:59 +00:00
Nanang Izzuddin
486266b850
Close #2097 : Updated UDP media transport to start socket read operation in pjmedia_transport_media_start().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5747 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-26 10:14:27 +00:00
Nanang Izzuddin
4223637bd0
Fixe #2096 :
...
- Fixed re-INVITE scenario: always generate SRTP attr in SDP re-offer/answer as both offerer/answerer (as long as SRTP is not disabled of course), currently it does not generate SRTP attr if active session does not use SRTP.
- Fixed bug in retrieving video stream info from SDP that caused DTLS transport (UDP/TLS/RTP/SAVP) getting rejected.
- Added pjsua app param '--srtp-keying=0/1' to choose SRTP keying to be used in the outgoing offer (0=SDES (default), 1=DTLS-SRTP).
- Few minors, e.g: adding transport_srtp_dtls/sdes.c to pjmedia MSVC2015 project.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5746 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-26 07:50:18 +00:00
Nanang Izzuddin
6a833fdbff
Misc ( #2059 ): Update Android & Java app samples to avoid call instance deletion in the library callback context (thanks Kai Ludwig for the feedbacks).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5738 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-16 09:37:00 +00:00
Sauw Ming
8f28537db2
Re #2086 : Add more info for better understanding of the lifetime of PJSUA2 objects. And add an example to explicitly delete PJSUA2 objects.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5736 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-12 07:07:02 +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
Riza Sulistyo
0d8fc52ae7
Re #2059 (misc): Use PJSIP_MAX_URL_SIZE to print remote info (URL) instead of
...
hard-coded.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5729 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-18 05:44:41 +00:00
Nanang Izzuddin
dc991f5636
Close #2080 : Added call flag PJSUA_CALL_UPDATE_TARGET for updating remote target, the new remote target can be specified in pjsua_msg_data.target_uri.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5721 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-08 04:08:35 +00:00
Nanang Izzuddin
3a92ff29be
Close #2077 : New PJSUA & PJSUA2 APIs for instantiating extra audio device.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5717 74dad513-b988-da41-8d7b-12977e46ad98
2017-12-19 01:45:37 +00:00
Riza Sulistyo
054ae59549
Close #2067 : Fix linker error when building as dll on VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5701 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-22 06:59:47 +00:00
Sauw Ming
945170f7b2
Re #2059 (misc): Fixed potential buffer underflow when reading config file.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5691 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-10 11:17:14 +00:00
Sauw Ming
8aafacebe4
Re #2045 (misc): Fixed build error in streamutil sample app if PJMEDIA_HAS_SRTP is disabled.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5681 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-06 10:30:07 +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
Sauw Ming
0a1f0aa252
Fixed #2053 : Update pjsua_get_snd_dev() info before calling on_snd_dev_operation() callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5677 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-27 06:30:50 +00:00
Sauw Ming
eb5182db65
Re #2045 (misc): Fixed assertion in pcaputil sample app if using SRTP.
...
The assertion is caused by passing NULL as tp parameter.
Thanks to Stefan Hörnqvist for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5664 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-28 02:56:36 +00:00
Riza Sulistyo
e58d5bfec9
Re #1994(misc): Fix warning on VS2015 when enabling video, opus, webrtc ec.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5659 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-25 02:58:42 +00:00
Sauw Ming
7c6147688e
Re #1994 (misc): Add check in our sample alt_pjsua_aud when stopping stream (similar to alt_pjsua_vid).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5657 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-25 02:18:57 +00:00
Riza Sulistyo
e307352851
Re #1994(misc): Fixed various warnings on VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5654 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-20 04:34:27 +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
ab8e049fa0
Misc (re #1994 ): Fixed compile error in pjsua2_demo.cpp due to unrecognized 'unique_ptr'.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5650 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-18 07:10:11 +00:00
Riza Sulistyo
fdce1c4b1a
Re #2041 : Implement API to handle IP address change.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5649 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-15 05:32:08 +00:00
Sauw Ming
6327086923
Re #1994 (misc): Fixed various warnings thrown by GCC 6.3. Thanks to Alexander Traud for the info.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5646 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-08 11:16:09 +00:00
Riza Sulistyo
dd30c396b1
Close #2034 : Add support to Python3 using PJSUA2 API.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5638 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-02 09:45:09 +00:00
Sauw Ming
e34fa7ed5e
Fixed #2032 : NAT64 support for IPv4 interoperability
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5636 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-02 02:51:59 +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
Sauw Ming
3d50dd93ed
Re #1994 (misc): Fixed warning during runtime on iOS 11:
...
UI API called on a background thread
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5628 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-18 11:55:25 +00:00
Sauw Ming
328c76944e
Re #1994 (misc): Suppresses implicit conversion warning (on iOS)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5626 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-18 00:43:43 +00:00
Nanang Izzuddin
ceae447b4f
Re #2018 : Added API pjmedia_transport_srtp_dtls_start_nego() to start DTLS-SRTP nego without SDP offer/answer.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5621 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-05 05:37:24 +00:00
Riza Sulistyo
2cc8271977
Fix #1968 : Failure in configure-android when specifying --use-ndk-cflags with
...
Android NDK r13 or later.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5620 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-05 04:01:33 +00:00
Nanang Izzuddin
5388bd15ee
Re #1993 : Updated sample apps streamutil.c/vid_streamutil.c as the new libsrtp removes hex_string_to_octet_string().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5618 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-04 13:00:42 +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
d24b351b7d
Misc (re #1994 ): Updated Android pjsua2 sample app:
...
- print call statistics when call is disconnected
- add template for writing log to file
- change STUN setting, now it is disabled by default
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5611 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-30 09:24:50 +00:00
Sauw Ming
55456d6ed7
Re #2022 : Add VideoToolbox framework to ipjsua XCode project.
...
- Add libyuv to XCode project. Users that do not require video can safely remove this library from the project.
- Also add some privacy mic and camera usage settings in Info.plist
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5609 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-22 10:46:44 +00:00
Sauw Ming
62fc956061
Fixed #2015 : Add multicast option in streamutil sample app
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5590 74dad513-b988-da41-8d7b-12977e46ad98
2017-05-09 02:39:08 +00:00
Riza Sulistyo
58ae1b89f5
Re #1994 (misc): Fix build error on pjsua_cli_uwp_comp pjsua_cli_wp8 for Release Win32.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5580 74dad513-b988-da41-8d7b-12977e46ad98
2017-04-07 04:22:48 +00:00
Riza Sulistyo
d0c1efce8e
Re #1994 (misc): Remove an extra double quote on pjsua.vcxproj.
...
Thanks to Sean Bright for the report and patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5567 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-09 05:06:12 +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
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
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
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