Nanang Izzuddin
95c09007dc
Misc (re #2210 ): Fixed various compile warnings on MSVC2005.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6157 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-05 03:05:30 +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
0e129f8665
Fixed #2264 : Potential deadlock between pjsua lock and sip transport's lock
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6142 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-29 04:05:51 +00:00
Nanang Izzuddin
5cb740f72b
Misc ( #2210 ): Added early check whether account is registered before sending unregistration in pjsua_acc_modify() (thanks to Peter Koletzki for the suggestion).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6141 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-29 03:48:51 +00:00
Sauw Ming
bde1167cc3
Closed #2143 : Add AEC info to call info & statistics dump
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6140 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-28 06:58:45 +00:00
Nanang Izzuddin
d5ec2f4592
Misc (re #2210 ): Get rid of annoying persistent log lines due to video conference connection between active capturer and stopped/hidden renderer (thanks to Dmytrii Gonchar for the feedback).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6138 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-28 02:42:42 +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
Sauw Ming
2f3a1234d0
Closed #2261 : Prevent unnecessary locking when adding group lock handler
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6136 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-17 00:59:51 +00:00
Sauw Ming
45675996ab
Fixed #2260 : Potential deadlock between sip_transaction and sip_reg
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6134 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-16 06:37:40 +00:00
Sauw Ming
824298c8ee
Closed #2259 : Fix check to cleanup provisional media
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6126 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-26 03:36:57 +00:00
Nanang Izzuddin
a414fb61f4
Re #2256 : Readjusted build configs (after r6120 & r6121) to accomodate the convention that CXXFLAGS always includes CFLAGS in all PJSIP modules.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6122 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-19 11:31:55 +00:00
Nanang Izzuddin
1a1db21d52
Re #2256 : Fixed build error for iOS target due to changes in r6120.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6121 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-19 10:00:53 +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
Riza Sulistyo
dfb6aa264d
Close #2258 : Add PJSUA2 API to get and set OPUS codec setting.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6119 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-17 10:06:01 +00:00
Nanang Izzuddin
b9fd883dc2
Close #2255 : Add API for making video window full screen.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6117 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-10 03:55:51 +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
Nanang Izzuddin
2d9f105d82
Close #1437 : Video keyframe request/response using RTCP-FB PLI.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6106 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 09:11:04 +00:00
Nanang Izzuddin
666251bbf9
Misc (re #2210 ): Fixed macro setting PJSIP_MAX_TIMER_COUNT issues: not overridable and bad docs (thanks to Christian Ambach for the report and the patch).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6102 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-07 03:22:42 +00:00
Sauw Ming
4976aaa25e
Re #2210 (misc): Clarify in the doc that on_stream_created()/destroyed() callback is for audio stream
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6097 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-25 01:42:02 +00:00
Sauw Ming
a0be35b381
Fixed #1778 : Support for Voice Processing IO Audio Unit on Mac
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6094 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-17 07:02:50 +00:00
Nanang Izzuddin
fc665ef46f
Fix #2245 : Reconnect video stream listeners in video conference bridge after format changed.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6093 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-15 08:58:41 +00:00
Nanang Izzuddin
3589e6f759
Re #2241 : Fixed compile error due to declaration after code on older compilers or pre-C99 specs, such as MSVC2005.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6092 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-14 02:33:04 +00:00
Nanang Izzuddin
755f33d492
Fixed #2243 :
...
- pjsip_tpmgr_acquire_transport2() should skip transports being shutdown in the lookup iteration.
- Added some tracing logs in sip_transport.c.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6090 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-11 02:23:03 +00:00
Nanang Izzuddin
dc4ed48423
Fixed #2242 : Message buffer not set correctly in pjsip_rx_data_clone().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6089 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-10 06:54:12 +00:00
Riza Sulistyo
d2938b4cdc
Fixed #2241 : Update "sent-by" field of Via header on CANCEL request for proxy scenario.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6088 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-08 08:32:53 +00:00
Nanang Izzuddin
d5a9caf6aa
Fixed #2240 :
...
- Avoid double pjsip_inv_dec_ref() by evaluating the local var 'state' instead of 'inv->state' in checking DISCONNECTED state in 'inv_set_state()', as the 'on_state_changed()' callback may recursively call 'inv_set_state()' and shift the state to DISCONNECTED.
- Avoid inv sess destroy in the callback by increasing ref count.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6087 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-04 07:31:40 +00:00
Nanang Izzuddin
33a3c9e0a5
Fixed #2239 :
...
- Deinit OpenGL immediately when initialization fails, so video device {{{start()}}} and {{{put_frame()}}} will return immediately.
- Introduced new media event {{{PJMEDIA_EVENT_VID_DEV_ERROR}}}, used for notifying app when video device reinit (due to format change) fails.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6085 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-04 04:26:39 +00:00
Sauw Ming
de55ff2b28
Fixed #2238 : Local hold is not reset if there's failure during reinvite/update
...
We set local_hold later, after sending the message is successful.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6083 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-02 03:42:13 +00:00
Sauw Ming
67cafdf1ec
Re #2210 (misc): Add doc and extra check for Endpoint::utilLogWrite(LogEntry)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6081 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-30 06:08:48 +00:00
Riza Sulistyo
7ba4ca7835
Close #2232 : Crash on Endpoint::libDestroy() when there is an active call.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6074 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-23 22:47:05 +00:00
Sauw Ming
8ed4a1c9eb
Re #2209 : Add checking if expiration is specified for determining if there's an active registration
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6068 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-11 01:03:47 +00:00
Nanang Izzuddin
e4d0bb45d7
Misc (re #2210 ): Set local media port to zero when remote media port is zero in PJSUA early SDP verification, so disabled media will not be verified, otherwise unnecessary assertion due to failure verification may be raised.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6063 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-06 01:59:50 +00:00
Nanang Izzuddin
354d7da9fa
Fix #2227 : Added callback for sending ACK.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6062 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-05 05:03:12 +00:00
Nanang Izzuddin
7dbfebb815
Fix #2226 : Skip authentication handling in evsub module if it is already done by other module.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6060 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-04 07:49:44 +00:00
Riza Sulistyo
29883b397c
Close #2222 : Introduce a new compiler setting to allow to use cnonce for SIP authentication without hyphen character
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6055 74dad513-b988-da41-8d7b-12977e46ad98
2019-08-28 14:13:32 +00:00
Nanang Izzuddin
737e915274
Close #2219 : Initialize enum fields in PJSUA2 objects.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6051 74dad513-b988-da41-8d7b-12977e46ad98
2019-08-15 05:11:41 +00:00
Nanang Izzuddin
3464650ee0
Misc (re #2210 ): Added SIP transport type DLTS. Note that this is not an implementation, just for app so it can register its own implementation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6047 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-29 02:32:55 +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
Nanang Izzuddin
747a9c190e
Re #2211 : Fixed compile error in pjsip_dlg_create_uac() on MSVC2005, var declaration should be at the beginning of function.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6042 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-22 08:53:01 +00:00
Riza Sulistyo
0fe5acf5e9
Close #2211 : Use group lock for SIP dialog.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6037 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-10 07:15:08 +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
Riza Sulistyo
2c5dc72dd5
Re #2210 (misc): Minor patch for SSL error message. Thanks to George Joseph for the patch.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6034 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-01 05:41:29 +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
Sauw Ming
65bc26e7c1
Re #2198 :
...
* Do not return IPv6 address for loop transport
* Fixed failed PJSIP test because of result count mismatch due to the additional IPv6 address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6025 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-12 05:04:32 +00:00
Nanang Izzuddin
0a6ca0c45f
Re #2181 : Fixed incorrect index in getEncodingVideoMedia() & getDecodingVideoMedia iterations.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6024 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-12 04:51:10 +00:00
Riza Sulistyo
8cefecd714
Re #2147 (misc): Fix failed pjsip-test (transport_loop_test) caused by r6002.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6021 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-31 10:13:40 +00:00
Sauw Ming
58593ba22c
Fixed #2205 : Use bound address for outgoing UDP SIP messages
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6015 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-29 08:02:02 +00:00
Riza Sulistyo
c217c850f7
Re #2147 (misc): Fix various compilation warnings on VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6009 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-27 15:01:08 +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