Commit graph

1146 commits

Author SHA1 Message Date
Riza Sulistyo
76f34a1d23
Add wildcard to represent "All" codec when changing codec priority on CLI mode on pjsua sample app. (#2307) 2020-02-27 17:43:02 +07:00
Perry Ismangil
5516ebfbcb
Bitrise Android builds (#2291)
* For #2281 upgrading Gradle plugin

* For #2281 upgrading Gradle plugin

* Upgrading Gradle in swig Android
2020-02-22 15:43:28 +00:00
Riza Sulistyo
2d9261c1ae Add more VS 2015 stuff to .gitignore and fix some projects settings. 2020-02-19 19:17:22 +07:00
Riza Sulistyo
ae2e919d9e Misc (re #2210): Fixed various warnings on Visual Studio 2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6159 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-06 04:02:56 +00:00
Riza Sulistyo
4f035f338e Close #2105: Add option to specify SWIG bindings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6156 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 11:14:21 +00:00
Sauw Ming
f73d0a2416 Re #2210: Update sample app ipjsua project files based on Xcode 11.3.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6154 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 05:25:48 +00:00
Nanang Izzuddin
b99e98bb09 Close #2265: Fixed compatibility issues on Python 3.7 or above.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6152 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 04:47:32 +00:00
Sauw Ming
c5e970e850 Re #2262: Suppressed compile warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6144 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-29 04:40:45 +00:00
Riza Sulistyo
ec2c39edc4 Close #2262: Notify when IP change handling is completed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6137 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-28 01:47:56 +00:00
Nanang Izzuddin
4f5a7a5016 Re #2255: Fixed wrong check of fullscreen mode in window creation and added pjsua app commands for fullscreen.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6123 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-23 03:27:09 +00:00
Nanang Izzuddin
192a6bfc43 Fix #2256: Mini refactored Android configure script:
- added CXXFLAGS & LDFLAGS parsing (from ndk-build output), CXXFLAGS was set to CFLAGS.
 - updated WebRTC instruction set to use SSE2, was generic, for Android emulator (x86 ABI).
 - updated C++ library/STL backend to use c++_shared, somehow '-lc++_static' is ignored after the refactor, also the official NDK docs mentions that c++_static may cause undefined behavior for app with multiple shared libraries (note pjsua2 app may use other shared libraries).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6120 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-19 02:57:20 +00:00
Sauw Ming
e472147378 Fixed #2251: Deadlock between PJSUA LOCK and conference mutex
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6112 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-29 04:21:17 +00:00
Sauw Ming
3c9fa7ae2d Fixed #2253: Support for VP8 and VP9 video codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6110 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-22 06:18:55 +00:00
Sauw Ming
ab93cd51b6 Re #2210 (misc): Update JavaFX sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6086 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-04 06:59:57 +00:00
Riza Sulistyo
3e45db57b1 Re #2232: Fix build error for swig wrapper. This fix will allow swig to import the preprocessor in config_site.h and config.hpp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6080 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-26 12:06:07 +00:00
Nanang Izzuddin
0dda8c8cca Close #2233: Changed enumeration approach in SWIG Java to type-unsafe enums.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6075 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-24 11:12:45 +00:00
Sauw Ming
d024a392ec Fixed #2229: Limitations in ICE data sending
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6071 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-23 07:25:41 +00:00
Nanang Izzuddin
b1f400b6d4 Fix #2216: reverted back changes in ticket #2198: r6025, r5998, r5995.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6044 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-26 05:40:42 +00:00
Sauw Ming
5e8cbdb548 Re #2209: Fixed build failure on Android due to incompatible type
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6036 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-01 08:30:17 +00:00
Sauw Ming
3f58d4d10d Fixed #2209: Insufficient variable storage to contain Expires header field/ parameter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6035 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-01 07:12:43 +00:00
Sauw Ming
e281f2e8ec Re #2147 (misc): Suppressed various warnings from XCode (iOS)
- this function declaration is not a prototype, and some typecasts



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6028 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-13 05:58:18 +00:00
Sauw Ming
428569df63 Re #2147 (misc): Suppressed warnings of unused function and misused comma
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6027 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-13 03:59:27 +00:00
Nanang Izzuddin
b81fd15124 Misc (re #2147): Fixed compile warnings "dynamic exception specifications are deprecated in C++11".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6026 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-12 06:00:35 +00:00
Nanang Izzuddin
bdd13d3e3a Misc (re #2147): Updated Android pjsua2 sample app: enable SRTP optional mode without requiring SIP TLS transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6012 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-28 05:21:00 +00:00
Nanang Izzuddin
fb6fe27aaf Misc (re #2147): Fix Android pjsua2 sample app: call state text & call button text in call activity not updated accordingly.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6011 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-28 04:59:45 +00:00
Sauw Ming
215a173519 Re #2181: Suppressed a couple of compilation warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6008 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-27 06:34:57 +00:00
Riza Sulistyo
4724f14af5 Close #2202: Limit the number of ignored error when receiving RTP/RTCP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6005 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-26 13:18:02 +00:00
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