Riza Sulistyo
08578e86ee
Changed version to 2.14 (2)-Change PJ_VERSION_NUM_EXTRA
2023-11-01 16:37:28 +07:00
Riza Sulistyo
b1c5377a2b
Changed version to 2.14
2023-11-01 11:41:09 +07:00
Nanang Izzuddin
e4bcc71f59
Miscellaneous fix ( #3750 )
...
* Fix various compile warnings (on MSVC2005 and Android)
* A function declaration without a prototype is deprecated in all versions of C
* Fix build warning on VS2022
* Minor update on sample app pjsua2 for Android Kotlin: add param to avoid activity recreation in activity config changes, useful in maintaining video window sizes on orientation change.
---------
Co-authored-by: sauwming <ming@teluu.com>
Co-authored-by: Riza Sulistyo <trengginas@users.noreply.github.com>
2023-11-01 11:32:43 +07:00
Riza Sulistyo
33f64ba933
Add TLS initial receive timeout for server connection ( #3744 )
2023-10-30 11:08:01 +08:00
Amilcar Ubiera
f2da44b720
Fix to uninitialized ssock in ssl_sock_imp_common. ( #3742 )
2023-10-27 10:45:22 +07:00
bogdan-mabo
e4cfc9b055
Ensure tdata ref count is decremented in all scenarios ( #3739 )
...
Ensure tdata ref count is decremented in the unlikely case the cseq header is not valid.
2023-10-27 10:42:46 +07:00
Nanang Izzuddin
5651d24ddb
Fix possible race condition in NAT detect between timer and socket. ( #3747 )
2023-10-25 11:00:59 +07:00
Riza Sulistyo
c94b5dd174
Fix tdata leak when pjsip_inv_initial_answer() return error ( #3741 )
...
* Fix tdata leak when pjsip_inv_initial_answer() return error
* Set the inv->last_answer with tdata
* Modification based on comments
- Add doc
- Add pjsip_tx_data_dec_ref() on failure case
* Modify doc
2023-10-19 20:53:40 +07:00
sauwming
6aa5349efd
Fixed buffer overflow when using Video Toolbox ( #3738 )
2023-10-13 23:39:12 +08:00
sauwming
5c5b3281c0
Fixed issue when using setting to use AVPF and receive AVP ( #3729 )
2023-10-13 23:37:00 +08:00
sauwming
bd9db5fe87
Fixed race condition between TURN session destroy and incoming data processing ( #3730 )
2023-10-13 23:35:39 +08:00
sauwming
03faa1c983
Fixed bug in SRTP ROC checking when using ICE ( #3733 )
2023-10-13 23:34:32 +08:00
sauwming
969bec9987
Fixed DTLS handshake issue when RTCP address changes ( #3732 )
2023-10-13 23:30:54 +08:00
Amilcar Ubiera
f33ef2dba2
Added missing pj_thread_destroy for media event manager. ( #3726 )
2023-10-13 12:31:53 +08:00
sauwming
eaf0f4516d
Changed DTLS transport to use recursive mutex, instead of a simple one ( #3731 )
2023-10-09 15:09:51 +08:00
Amilcar Ubiera
5c28fc6368
Fix to ssl_sock_imp_common warning 'io_read': 'void' function returning a value MSVC(C4098) ( #3727 )
2023-10-09 13:27:39 +08:00
Nanang Izzuddin
4f8b7513ae
Fix pjsip_mwi_notify() may be called without body ( #3723 )
2023-10-04 13:08:30 +07:00
Riza Sulistyo
be0c6c4049
Add on_rejected_incoming_call() callback ( #3683 )
...
* Add on_rejected_incoming_call() callback
* Modification based on comments
- save incoming rdata to be passed as callback parameter
* Fix failed unit test
* Call the callback from pjsua_call_on_incoming()
* Remove tdata from callback param
* Modification based on comments
* Modification based on comments
* Add doc
* Fix build error on C89 compiler (e.g: VS2005) and change the status code to using defined/enum error for uniformity
* Add call_id to the callback param
2023-10-03 18:04:37 +07:00
Nanang Izzuddin
6dc9b8c181
Merge pull request from GHSA-f76w-fh7c-pc66
...
* Add group lock to media transport
* Also add group lock to SRTP-DTLS
* Put lock protection to avoid race condition between destroy() & dtls_on_recv()
2023-10-03 10:59:03 +08:00
Riza Sulistyo
2c1207c30b
Call pjmedia_srtp_deinit_lib() when srtp_init() fail ( #3719 )
2023-10-02 21:08:42 +07:00
Nanang Izzuddin
b8fbdb2502
Fix build errors & warnings on MSVC2005 ( #3722 )
2023-10-02 09:00:56 +07:00
sauwming
e43a6dac98
Fixed deadlock between SIP transaction and dialog ( #3714 )
2023-09-29 10:18:07 +08:00
sauwming
05d03ad9ee
Fixed Coverity and build warnings ( #3707 )
2023-09-21 17:43:10 +08:00
sauwming
7ff31e3113
Set default SSL sockopt param to have TCP_NODELAY for GnuTLS backend ( #3708 )
2023-09-20 18:04:13 +08:00
sauwming
cde87db7d7
Add option to set RX telephone-event PT ( #3705 )
2023-09-19 14:51:56 +08:00
JRazek
01d37bf15a
update rust bindgen 0.60.1 -> 0.66.1 ( #3679 )
2023-09-18 15:25:54 +08:00
Nanang Izzuddin
d21ff6106d
Add MSG_NOSIGNAL flag to sendto() ( #3695 )
2023-09-18 12:37:37 +07:00
sauwming
431ddc71ed
Add video to iOS swift pjsua2 sample app ( #3381 )
2023-09-18 10:57:28 +08:00
Nanang Izzuddin
ad152c2f42
Update video handling in Android PJSUA2/SWIG sample apps ( #3673 )
2023-09-12 11:49:51 +07:00
Nanang Izzuddin
31d5e19fa0
Fix race condition in registration in updating last transport used. ( #3680 )
2023-09-06 13:03:40 +07:00
Nanang Izzuddin
eff4826803
Docs: more fixes on sample/source links ( #3675 )
2023-09-06 09:56:26 +07:00
Jad K. Haddad
e17b92b973
Fix invalid pointers #3670 ( #3672 )
2023-08-31 17:07:02 +08:00
Nanang Izzuddin
486053782b
Fix late PJSUA2 object destroy on Android ( #3674 )
2023-08-31 13:40:43 +07:00
sauwming
ee5879bda9
Fixed RTCP packet lost calculation ( #3653 )
2023-08-31 08:13:36 +08:00
Nanang Izzuddin
013c30304d
Fix docs for broken PJLIB sample links (currently the samples are doxygen pages and breathe-apidoc does not process doxygen page) ( #3671 )
2023-08-29 09:17:53 +07:00
Nanang Izzuddin
43a338e4c9
Fix bug in PJSUA2 media port signal adjustment info ( #3668 )
2023-08-28 16:52:03 +07:00
Riza Sulistyo
d51e247135
Add option to disable renegotiation on TLSv1.2 or earlier ( #3663 )
...
* Add option to enable SSL_OP_NO_RENEGOTIATION on OpenSSL
* Add the option to runtime configuration
* Modification based on comments
* Add the implementation files and pjsua2 modification
2023-08-23 09:52:04 +07:00
Nanang Izzuddin
fd8880397f
Add native SSL socket instance in TLS verification callback ( #3630 )
2023-08-22 13:49:07 +07:00
Riza Sulistyo
af82c9085a
Prevent crash when reading cert file on Apple's Network framework SSL backend ( #3664 )
2023-08-22 11:23:30 +07:00
sauwming
828d8d1907
Avoid race condition in SSL's on_handshake_complete() ( #3448 )
2023-08-08 09:19:30 +08:00
Evgeniy
c3575d05d2
Set default values in tonegen sample ( #3651 )
2023-08-04 11:02:07 +07:00
Shubham Fuloria
8f1e366560
Resolved: VidGUI Sample Application Linking Error ( #3637 )
2023-08-03 17:35:57 +07:00
Nanang Izzuddin
63b2f9ba41
Possible infinite loop in iOS replace socket ( #3650 )
2023-08-03 10:26:19 +07:00
sauwming
82d3fcff54
Fixed potentially duplicate RTCP FB attribute on response ( #3643 )
2023-07-21 16:42:28 +08:00
sauwming
378d752e85
Fixed pjmedia wsola test failure ( #3641 )
2023-07-20 17:19:24 +08:00
Nanang Izzuddin
5969541128
Add API to limit retransmission count for outgoing requests in transaction layer ( #3631 )
2023-07-20 09:31:29 +07:00
Mike Bradeen
d2c0c3daf3
Split logging to keep Warning regarding dropped packet at level 2 while moving the packet contents to 4 ( #3476 ) ( #3636 )
2023-07-20 10:23:33 +08:00
Matthew Fredrickson
1a324c632b
If we don't clear the thread local error queue prior to calling SSL functions, sometimes other connections leave stale errors which will be returned and falsely attributed to the current SSL connection when calling SSL_get_error() ( #3633 )
2023-07-17 14:44:57 +08:00
Shubham Fuloria
10d1cd9b75
redeclared variable error fixed ( #3629 )
2023-07-17 08:50:10 +08:00
Nanang Izzuddin
54bce14d2d
Fix compile errors on old compilers (C90 prohibits variable decl in mid block, C++98 does not have Vector::data(), MSVC2005 project misses some new SRTP files) ( #3625 )
2023-07-11 13:07:37 +07:00