Commit Graph

1269 Commits

Author SHA1 Message Date
Riza Sulistyo 765e804fda Close #1017: TURN TLS transport implementation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6004 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-24 03:32:17 +00:00
Riza Sulistyo 2b49e900ca Re #2147 (misc): Avoid swig error caused by pjsua_snd_dev_id enum definition.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6001 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-23 13:57:48 +00:00
Nanang Izzuddin d53bc8244c Re #2179: Fixed linking error when PJSIP_HAS_TLS_TRANSPORT is not defined.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5999 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-23 09:07:36 +00:00
Sauw Ming 6a8a5920b6 Fixed #2198: SIP resolve to return both IPv4 and IPv6 synthesized addresses (if any) for IPv4 address literals.
- Also included in this changeset: ipv6 option of sample pjsua_app will now try IPv6 STUN, bind the account to IPv6 transport and set the IPv6 media



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5995 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-17 09:37:18 +00:00
Nanang Izzuddin 5dfa75be7d Re #2179: Wipe out memory used for storing SSL keys in PJSIP TLS transport and pjsua app. Thanks Peter Koletzki for the feedback.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5994 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-15 09:41:52 +00:00
Nanang Izzuddin 0fb43551c0 Close #2142: Export pjmedia_echo_flag to PJSUA2 SWIG Java interface
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5993 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-15 06:06:12 +00:00
Sauw Ming 2a8a1ff81f Re #2189: Fixing various bugs:
* assertion: !Endpoint::instance().mediaExists(*this) in Media::registerMediaPort() when using AudioMedia
Sound device is already registered in the conference bridge, while AudioMediaPlayer/Recorder creation function, i.e. pjsua_player_create(), pjsua_playlist_create(), and pjsua_recorder_create() already call pjmedia_conf_add_port(), so mediaExists() will always return TRUE.

* Endpoint.mediaAdd() should check in its own internal list if the media exists, rather than querying pjsua.

* Calling Endpoint::libDestroy() first, then deleting Endpoint will cause crash, since the mutex to remove the medias has been deleted in libDestroy().
The introduction of the mutex is in r5964.

* DevAudioMedia never removes itself from mediaList, potentially causing infinite loop/crash.

* Call medias, i.e. AudioMediaHelper, also never gets removed from mediaList.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5986 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-10 08:27:22 +00:00
Riza Sulistyo 65c171f790 Misc (re #2147): Allow application exceptions to be enriched with Error specific information on CSharp binding. Thanks to Jeremy Franzen for the suggestion.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5974 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-25 10:22:51 +00:00
Nanang Izzuddin 0971e7dd7d Re #2181: Implemented video conference APIs for PJSUA2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5972 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-23 10:49:56 +00:00
Nanang Izzuddin 8fda2f9f36 Close #2189: fixed PJSUA2 thread safety issue in list of objects manipulation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5969 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-15 10:52:16 +00:00
Sauw Ming 6fcec7b8eb Re #2185: Add Security framework to ipjsua sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5958 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-25 08:04:15 +00:00
Nanang Izzuddin ecdbbe998e Misc (re #2147): Updated SVN property svn:eol-style to native for Java sample app (avoid rejection in merging patch from Linux on Windows).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5952 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-13 11:02:50 +00:00
Sauw Ming 93d1de1092 Re #2147 (misc): missed !VideoToolbox deinit in r5942
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5943 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-08 02:57:22 +00:00
Sauw Ming 0261784a9e Re #2147 (misc): Fixed assertion in simpleua sample for not creating event manager.
Also add support for VideoToolbox codec.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5942 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-08 02:53:51 +00:00
Nanang Izzuddin eafc04d5bf Re #2181: Initial version of video conference implementation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5939 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-05 06:23:02 +00:00
Nanang Izzuddin 906b9a6460 Fixed #2177: Updated configure-android script for NDK r17, r18, r19.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5932 74dad513-b988-da41-8d7b-12977e46ad98
2019-02-11 03:43:51 +00:00
Nanang Izzuddin 7fdb4bf16d Re #2168:
- Added a new PJSUA callback on_media_event().
 - Added audio device error handling into PJSUA2.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5923 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-13 06:57:23 +00:00
Sauw Ming aef92670e1 Fixed #2165: Support video only call in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5918 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-04 02:16:47 +00:00
Nanang Izzuddin 627f5d8b8c Misc (re #2147): pjmedia_transport_media_stop() should not be called before pjmedia_stream_destroy(), otherwise RTCP BYE, DTMF 'End' flag, etc cannot be sent (thanks Lauri Vänskä for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5910 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-21 08:39:45 +00:00
Sauw Ming 0d71a76ab2 Re #2147 (misc): Add pjmedia_transport_media_stop() to streamutil sample app, for good practice since we now require media transport to be started since #2097
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5908 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-07 23:28:36 +00:00
Sauw Ming 1b03b7ae74 Re #2147 (misc): Fixed assertion in streamutil sample for not creating event manager
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5905 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-05 09:36:47 +00:00
Nanang Izzuddin 47eec2b367 Close #2158:
- Added OnCallTransferRequestParam.newCall to allow application to instantiate a new Call for the new outgoing call in transfer scenario.
 - Also added OnCallReplacedParam.newCall mainly for informational purpose (that app should instantiate new Call for replace scenario).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5899 74dad513-b988-da41-8d7b-12977e46ad98
2018-10-17 04:38:39 +00:00
Sauw Ming 6349c51844 Re #2147 (misc): Change Android libpjsua2.so target directory according to the target architecture
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5895 74dad513-b988-da41-8d7b-12977e46ad98
2018-10-03 02:38:26 +00:00
Nanang Izzuddin ee896a31ad Misc (re #2059): Fixed crash in pjsua2 sample app (perhaps due to access to invalid MyCall instance).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5863 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-21 07:23:25 +00:00
Riza Sulistyo 070dece2e9 Close #2036: Support DTMF via SIP INFO.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5834 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-23 07:32:54 +00:00
Riza Sulistyo 696a919a31 Close #2070: Print IPv6 addresses with brackets.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5833 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-23 07:15:08 +00:00
Riza Sulistyo b34ad8be7f Close #2038: Review pjsua app sample about pjsua_call_info usage.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5822 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-15 14:29:50 +00:00
Nanang Izzuddin 8a883d4ffb Close #2126: Initial implementation of RTCP Feedback.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5820 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-12 08:22:31 +00:00
Nanang Izzuddin b992afa503 Misc (re #2059): Fixed pjsua.py: inconsistent use of tabs and spaces in indentation (thanks Alexander Traud for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5808 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-21 04:15:24 +00:00
Nanang Izzuddin a388bc5d64 Fix #2121: Initialize basic type data member of PJSUA2/C++ objects in its constructor.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5807 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-20 07:56:45 +00:00
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
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 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 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 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 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
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 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 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
Sauw Ming 81fa6b4b20 Fixed #1983: Add option to update call Via address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5493 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-06 11:23:39 +00:00
Sauw Ming 3099588831 Re #1982: Add the new call flag for PJSUA2 swig
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5491 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-06 07:52:19 +00:00
Riza Sulistyo 8afc25ab08 Re #1900:
- Modify some project files for x64 build.
- Add some files/folder to the global ignore list.
- Disable PJ_OS_HAS_CHECK_STACK as default.
- Use ip_helper_generic.c which provides implementation to pj_enum_ip_interface() and pj_enum_ip_route(). 



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5470 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-26 07:16:01 +00:00
Nanang Izzuddin e134556947 Misc (re #1945): Updated SIP URI in sample app pjsua2_demo.cpp (for debugging convenience).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5467 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-21 07:55:41 +00:00
Sauw Ming 4515bdb345 Re #1945 (misc): Get rid of 64-bit compiler warnings for pjsua_app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5461 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-14 04:53:07 +00:00
Sauw Ming cf630db1d6 Re #1941: Add support to specify min iOS versions in configure-iphone and update the default for ipjsua sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5453 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-07 05:49:14 +00:00
Riza Sulistyo 070981eb07 Re #1964: Add PJ_QOS_TYPE_SIGNALLING to pjsua2 swig symbol and the deprecated pjsua python module.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5448 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-06 07:20:41 +00:00
Sauw Ming 5a6c810022 Re #1954: Add option to use WebRtc EC in aectest sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5446 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-06 00:52:12 +00:00
Sauw Ming 2f3374260b Re #1954: Add libwebrtc to ipjsua sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5443 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-05 09:03:10 +00:00
Sauw Ming fcd490b08a Re #1954: Add support for VS2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5432 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-26 01:59:53 +00:00
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 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
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
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
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 0d27f4a1f3 Misc (re #1928): Fixed various compile warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5366 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 05:53:10 +00:00
Nanang Izzuddin 5a0186f493 Re #1937: Added libyuv build configs for GNU build systems.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5361 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 14:32:08 +00:00
Riza Sulistyo 6e472e9320 Re #1937: Change project and folder name for consistency with existing third party library.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5358 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 06:04:19 +00:00
Riza Sulistyo 0ebbabf445 Re #1937: Add libyuv to Visual Studio 2005 and 2015 solution.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5354 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-23 05:28:54 +00:00
Nanang Izzuddin b4320dd18b Misc (re #1917): Fixed pjsua build error of 'exception handling disabled' on Android.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5318 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25 07:30:46 +00:00
Nanang Izzuddin 0b56a55dc3 Misc (re #1917): Added capability of receiving incoming call in pjsua2_demo.cpp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5313 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-24 07:13:44 +00:00
Sauw Ming 3733338bc1 Re #1922: Replace IPv4 specific APIs as per Apple's recommendations
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20 04:17:00 +00:00
Sauw Ming 4048dad7c5 Fixed #1921: Add support to handle IPv6 transports in pjsua_transport API and transport keep alive
Also:
- add more detailed transport info for TCP and TLS transport
- fixed pjsua sample app which tries to get IPv4 local address from IPv6 transport.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5308 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19 06:55:16 +00:00
Sauw Ming 61ad8bd388 Re #1882 (misc): re r5290, wrong value of Enable Bitcode setting, should be NO
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5291 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 04:54:16 +00:00
Sauw Ming 346320a2c7 Re #1882 (misc): Set Enable bitcode to No in ipjsua sample app for iOS
For future reference about bitcode: https://developer.apple.com/library/watchos/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html#//apple_ref/doc/uid/TP40012582-CH35-SW2



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5290 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 04:51:57 +00:00
Nanang Izzuddin d8b32fc020 Re #1906: Fixed build error 'lib !PortAudio not found' in project Samples on MSVC2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5289 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 03:15:12 +00:00
Nanang Izzuddin 43afb3f280 Misc (re #1882): Update Python setup.py to get 'make' from environment variable MAKE, if it doesn't exist, just use 'make'. On some systems, such as FreeBSD, default 'make' command is not GNU compatible.
Thanks George Joseph for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5281 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-03 04:27:07 +00:00
Riza Sulistyo 77b7415ecf Fixed #1912: Build Error on Alpine linux (musl libc).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5277 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-13 06:24:48 +00:00
Riza Sulistyo a39f16728d Re #1908: Implement new API to open speaker only in pjsua/pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5273 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-04 01:44:10 +00:00
Nanang Izzuddin 17e3246fc8 Close #1906: Removed PortAudio from PJSIP source package.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5268 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-23 07:52:41 +00:00
Sauw Ming c290cf2c07 Re #1882 (misc): Fixed crash caused by typo when initializing pjsua_msg_data
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5265 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-17 03:37:13 +00:00
Sauw Ming b6779d4f7e Re #1882 (misc): Fixed library open error on Android when using SDK version 23 and warning: library has invalid DT_NEEDED entry for SDK version below 23
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5263 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-16 10:47:27 +00:00
Nanang Izzuddin 5eea7d96f9 Misc (re #1882): Fixed crash due to insufficient buffer in printing video device capabilities and formats in pjsua app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5259 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-14 06:40:45 +00:00
Nanang Izzuddin 31c9c139fd Re #1900:
- Works on UWP socket & ioqueue.
 - Media transport UDP: cancel any pending send on detach, otherwise there is possibility that send buffer is already freed by application (stream) when the send op starts.
 - Ioqueue common abs: rename 'generic' as it seems to be a keyword in C++/CX, fixed #if/#endif possition in ioqueue_init_key().
 - pjsua GUI app: fixed thread registration status check.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5256 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-11 04:17:32 +00:00
Riza Sulistyo 4660ce3230 Re: #1900:
- Add new property file (pjproject-vs14-api-def.props) to define the API used
- Add ioqueue specific to uwp using winRT networking API
- Add uwp GUI sample APP using Voip architecture
- Add async activation for wasapi dev



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5254 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-07 23:15:34 +00:00
Benny Prijono 0b33ce5ea5 Misc (Re #1882): encdec print the bitrate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5253 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-04 08:41:42 +00:00
Nanang Izzuddin 21b28984d8 Misc (Re #1882): Fixed crash in sample app encdec.c due to insufficient buffer when using codec with clockrate > 16000Hz.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5251 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-03 08:05:55 +00:00
Riza Sulistyo c58101bb69 Misc (Re #1882): Add compile time option (PJMEDIA_HAS_DTMF_FLASH) to enable/disable DTMF flash as specified in rfc2833.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5242 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-18 03:15:19 +00:00
Nanang Izzuddin 4b36447313 Fixed #1902:
- Crash when endpoint has multiple worker threads and SIP TCP transport is disconnected during incoming call handling.
 - Deprecated pjsip_dlg_create_uas(), replaced by pjsip_dlg_create_uas_and_inc_lock().
 - Serialized transaction state notifications (of 'terminated' and 'destroyed') in case of transport error.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5241 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-05 04:29:17 +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
Sauw Ming 4021214257 Fixed #1888: Support for WebRtc AEC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5186 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-06 05:57:51 +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
Nanang Izzuddin 710aa0cc27 Re #1881:
- Updated build output naming 'vc8' -> 'vc14' for VS2015.
 - Fixed miscelaneous warnings in VS2015 project settings.
 - Updated SVN ignore property.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5169 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:41:17 +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
Sauw Ming d3d2427ead Fixed #1880: Incorrect orientation after switching video capture or when using back camera
Included in this fix:
* Change the spec & doc of pjmedia_orient enumeration
* Change iOS sample app to rotate all video devices upon orientation change event.
* Set orientation as well when fast switching cameras (for iOS and Android)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5166 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:46:32 +00:00
Riza Sulistyo c6303bc81d Re #1879:
- Implement set video codec param in PJSUA2 API
- Fix bug in videoCodecEnum and updateCodecInfoList



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5165 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:00:46 +00:00
Sauw Ming 464a116faf Re #1870: Modified the last identifier of the build triplet from darwin to darwin_ios to distinguish between iOS and MacOS platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5150 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 09:15:11 +00:00
Nanang Izzuddin a0ca842333 Fix #1876: Don't restart renderer when only fps is changing, just modify the clock instead.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5149 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 07:10:33 +00:00
Sauw Ming 7de146bfc6 Re #1843 (misc): Fixed typo in displaying error message in importsym.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5148 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 06:37:49 +00:00
Nanang Izzuddin 563ea87359 Misc (re #1843): Fixed compile error in app samples on some compiler due to implicit conversion of 'void *' to 'pj_pool_t *'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5141 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-31 07:18:33 +00:00
Sauw Ming 93efad4c9b Fixed #1861: Add support for video capture orientation on Android
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5138 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-30 06:23:35 +00:00
Nanang Izzuddin 1596803296 Re #1870: Fixed 64 bit arch issues on iOS: pool alignment, updated config.sub, updated lib/app file naming, lib dependencies on XCode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5137 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-29 02:31:12 +00:00
Sauw Ming 4c34c04ab9 Fixed #1868: Disable serialization in pjsua2 Error class
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5132 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-13 11:14:30 +00:00
Sauw Ming 33bd0fd547 Re #1861: Changed pjsua API for setting the orientation using a more generic API, pjsua_vid_dev_set_setting() instead
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5125 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-03 06:21:30 +00:00
Riza Sulistyo bfb34064bc Re #1863: Initial implementation of PJSUA2 Video Codec API and Video Device API.
- Codec management (enum codec, set prio, get param, set param)
- Device management (enum dev, dev count, dev info).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5123 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-01 02:20:12 +00:00
Sauw Ming b02c2cebd6 Re #1861: Initial implementation of video orientation support
- Utility to resize and rotate video frame
- Support for iOS + sample
- pjsua API to set video device's orientation



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5118 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 08:17:52 +00:00
Sauw Ming deb04d5747 Re #1843 (misc): Removed accidental inclusion of local library search paths.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5116 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 01:39:22 +00:00
Riza Sulistyo 15ba413ef8 Re #1855 (Pjsua2 Video Preview API): Add Pjsua2 Preview API and sample usage in pjsua2 app for android.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5102 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-28 07:14:24 +00:00
Nanang Izzuddin b0fc5390fa Misc (re #1843): Fixed missing SWIG director feature for class AudioMediaPlayer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5100 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-27 10:33:50 +00:00
Sauw Ming 58bac9a015 Re #1843 (misc): Sample app streamutil: Set the receiving payload type as well, instead of only the outgoing pt
Thanks to Chris Cox for the suggestion.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5095 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-15 06:47:00 +00:00
Sauw Ming 70d2dfd292 Re #1845: Remove the hardcoded buffer size in one more place, to use PJ_SSL_SOCK_MAX_CIPHERS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5077 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23 02:47:49 +00:00
Sauw Ming 3ba6b97f46 Fixed #1845: Add support if OpenSSL library has more than 100 cipher suites
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5076 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23 02:42:49 +00:00
Nanang Izzuddin c3246980da Re #1842: Updated pjsua app to avoid stdout buffering, and also adjusted python tests accordingly.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5065 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13 12:14:02 +00:00
Riza Sulistyo 006243d376 Re #1803: Add Application.mk which is necessary for ndk-build to define APP_ABI (needed for targets other than armeabi).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5056 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-09 04:29:36 +00:00
Sauw Ming 3cfd08af0d Re #1782 (misc): Improve layout in ipjsua sample app, so it can display both preview and incoming video together.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5041 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-31 04:59:54 +00:00
Nanang Izzuddin 92be094078 Re #1832: Update Android pjsua CLI build config to automatically replace prebuilt libraries on each ndk-build invocation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5036 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-27 08:30:53 +00:00
Nanang Izzuddin b20d77c49f Re #1828: Fixed misc compile warnings (on iOS).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5035 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-27 06:17:27 +00:00
Nanang Izzuddin 3b6d9fced1 Re #1790: Fixed error build of undefined "ANativeWindow_fromSurface()" when video is disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5032 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 10:57:05 +00:00
Nanang Izzuddin d980a041ba Re #1790: Misc fixes on renderer viewing in pjsua CLI app sample, e.g: handle NULL surface, handle video disabled, cleanup unused codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5030 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 10:06:45 +00:00
Nanang Izzuddin 991d0815f3 Re #1822: Misc fix in Android video device build setting:
- fixed silly typo caused Android video device sources not being built
 - avoid copying Android camera helper codes when video is disabled



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5029 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 09:54:18 +00:00
Nanang Izzuddin 9b517ec8a7 Re #1822: Re r5018, removed non cross-platform "cp" command flag "-u".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5025 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 03:17:25 +00:00
Nanang Izzuddin 900e5d6f5f Re #1823: Video settings on sample apps:
- enabled video on pjsua CLI if video is configured
 - enabled video auto-rx/tx of any account on pjsua2 sample app



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5022 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-25 03:41:21 +00:00
Nanang Izzuddin 4bddb61dbd Re #1822: Moved Android camera helper (PjCamera.java and PjCameraInfo.java) from sample app to pjmedia-video dev dir.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5018 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-23 06:28:40 +00:00
Nanang Izzuddin 335ebba0bb Misc (re #1782): Coding style works (indentation, etc) on Android pjsua2 sample app codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5017 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 10:22:44 +00:00
Sauw Ming c52460741a Re #1790: Misc fixes:
* Fixed crash when trying to set NULL surface
* Fixed race condition between setting surface and rendering
* Fixed crash due to GC of VideoWindow



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5016 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 09:39:31 +00:00
Nanang Izzuddin 013a33bf26 Re #1790:
- Removed android_opengl_get_surface() for renderer view setup, Java application can directly supply Surface object as renderer window.
 - Added renderer view on pjsua CLI app sample.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5014 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 08:53:03 +00:00
Perry Ismangil 7cb9340ed2 Removing XCode userdata
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5011 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 01:47:35 +00:00
Perry Ismangil d347848c6f Shared scheme for remote builds
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5010 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-21 23:23:05 +00:00
Perry Ismangil b988903fa4 Experimental adding scheme for continuous integration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5009 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-21 10:21:41 +00:00
Perry Ismangil 5e0cdf371c Added Xcode workspace for iOS app continuous integration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5008 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-21 09:53:42 +00:00
Nanang Izzuddin b058a4c57f Misc (re #1782): Setup log writer function on pjsua CLI (useful for debugging library initialization).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5005 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-20 10:19:12 +00:00
Nanang Izzuddin 31b6876606 Re #1822: Skipped FPS setting on staring Android video capturer, unsupported/non-exact range value may be rejected by some devices such as Nexus.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5004 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-20 10:15:38 +00:00
Sauw Ming a07c866b24 Re #1823 (pjsua2 video api): sample usage of Video Window API in pjsua2 app for android
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4997 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-18 12:02:51 +00:00
Sauw Ming 0341f920b9 Re #1823 (PJSUA2 Video API): Add Pjsua2 Video Window API and Pjsua API to set output window
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4996 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-18 08:25:24 +00:00
Nanang Izzuddin b5ab265a3c Re #1822: Initial implementation of Android video capturer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4994 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-17 04:02:44 +00:00
Riza Sulistyo 24bae56fbc Re #1806: Implement SSL/TLS setting to set protocol operation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-18 04:40:35 +00:00
Riza Sulistyo 9ee01b1fea Misc (re #1782): Update the xcode interface builder (xib) file for iPad.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4940 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-06 17:47:35 +00:00
Sauw Ming 991d91dffd Re #1790: Initial basic implementation of Android OpenGL renderer
To use it, app has to specify PJMEDIA_HAS_VIDEO to 1



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4928 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24 04:01:34 +00:00
Sauw Ming 00c7b04a3c Re #1782 (misc): Removes ffmpeg libraries from XCode project.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4916 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-08 03:37:30 +00:00
Nanang Izzuddin 3610f6f78e Re #1768: Add forced GC to libDestroy() in SWIG Java.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4906 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-26 07:27:23 +00:00
Benny Prijono cd7a313a58 Misc re #1751: changing Android java's String.isEmpty() to String.length()==0 for better portability since the former is only available on API level 9
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4870 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-03 09:43:19 +00:00
Benny Prijono d08da0a012 Misc re #1751: removed --tls-srv-name from pjsua usage text since that feature has been removed long time ago by #1448 (thanks Alexander Traud for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4868 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 18:07:12 +00:00
Sauw Ming d06ace5d10 Re #1768: move access to MainActivity class from MyApp to avoid undefined symbol error when not compiling for Android app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4866 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 02:58:01 +00:00
Nanang Izzuddin 97bd35d547 Misc (re #1751): Fixed uninitialized config filename in ui_write_settings() in pjsua app (thanks Lars Helgeson for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4851 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23 09:29:09 +00:00
Sauw Ming 31da64e8ae Re #1757: Modify display video function in r4813 so it can display video preview as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4848 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-22 04:52:53 +00:00
Benny Prijono a5e86c3eb4 Fixed #1767: Tone generation API in pjsua2 and SWIG wrappers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4845 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-19 05:51:10 +00:00
Benny Prijono aa36908a4a Re #1768: fixed potential GC problem when rejecting incoming call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4844 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 10:39:39 +00:00
Benny Prijono 4b0375c37d Re #1768: added APP_PLATFORM to avoid this warning "WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 11" which would make native debugging fail
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4842 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:51:54 +00:00
Benny Prijono da23a224b6 Re #1768: fixed wrong JNI compilation flags used by pjsua2 Android sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4841 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:50:08 +00:00
Benny Prijono 424d80b479 Re #1768: Fixed problems with Java garbage collection on call and buddy object
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4840 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:47:06 +00:00
Riza Sulistyo 12ca3d81cc Misc (re #1751): Fix crash when retrieving dynamic choice(video stream info) caused by the use of invalid array index.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4826 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-24 09:45:52 +00:00
Nanang Izzuddin 97fc0976fc Misc (re #1751): Fixed compile error 'Implicit declaration of function is invalid in C99' on Xcode 5.1.1.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4822 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-22 07:31:32 +00:00