Riza Sulistyo
f817bacb73
modification based on comments
2023-12-26 15:02:37 +07:00
Riza Sulistyo
537640dea9
Move initialization
2023-12-26 13:42:44 +07:00
Riza Sulistyo
0ddd6b94c2
Fix return value for pjsua_set_snd_dev2() with no sound device option
2023-12-22 17:49:20 +07:00
sauwming
ca2e450edf
Prevent immediate tsx termination upon transport error ( #3805 )
2023-12-18 11:56:43 +08:00
Gregor Jasny
48f3723d71
build: use C++ compiler for linking ( #3766 )
2023-12-15 22:12:32 +08:00
sauwming
043926a584
Fixed SDP media transport protocol info parsing ( #3802 )
2023-12-14 12:22:14 +08:00
sauwming
378e97ca10
Fixed deadlock between stream and ICE ( #3801 )
2023-12-14 12:15:58 +08:00
Brad Smith
4140143493
Switch LibreSSL code path to utilizing OpenSSL 1.1 API ( #3758 )
2023-12-12 12:50:56 +08:00
Olle Axelsson
5229ce2473
Use of uninitialized values ( #3794 )
2023-12-12 10:08:25 +08:00
Santiago De la Cruz
648aa3c3f0
pjsua: fix deadlock setting null sound device ( #3799 )
2023-12-11 17:08:57 +08:00
Riza Sulistyo
78b73c977d
Fix inaccurate TX packet loss percentage and stats calculation in samples ( #3791 )
2023-11-29 17:37:32 +07:00
Nanang Izzuddin
04f81212a3
Reset stored remote name in dialog (dlg->initial_dest) if transport is server. ( #3783 )
2023-11-24 14:46:31 +07:00
Florian Xaver
f9ed97b87d
Fix transport loop ( #3773 )
...
Transport "loop" need set the `base.grp_lock`, as also shown in
`transport_adapter_sample.c` to have destroying of the loop transport
working.
Issue #3771
2023-11-24 09:08:35 +07:00
Ihor Olkhovskyi
9287ac21e6
add PJSUA_DETECT_MERGED_REQUEST parameter ( #3784 )
2023-11-22 15:22:48 +08:00
Nanang Izzuddin
e235868cef
Add option to shutdown all transports on IP change ( #3781 )
2023-11-21 09:23:31 +07:00
silentindark
6157218806
Fix warnings ( #3782 )
2023-11-20 12:38:55 +08:00
silentindark
c224f26420
Fix warnings ( #3778 )
2023-11-16 15:30:03 +08:00
jimying
5188d056a7
base64: support encode/decode with URL and Filename Safe Alphabet ( #3748 )
2023-11-16 13:52:06 +07:00
sauwming
ca5255795a
Add SIP transport data received callback ( #3751 )
2023-11-06 20:17:49 +08:00
Brad Smith
da91020a44
sdp.c: don't pass NULL pointer to log string format ( #3757 )
2023-11-03 19:15:07 +08:00
Gregor Jasny
cf4f2d84dc
Hide private symbols ( #3756 )
2023-11-03 12:14:36 +08:00
sauwming
58a101c945
Fixed race condition in ACK handling of INVITE message ( #3752 )
2023-11-03 11:55:21 +08:00
sauwming
528f90adfb
Check for buffer EOF in scanner ( #3753 )
2023-11-03 11:40:51 +08:00
Riza Sulistyo
b3e5f76788
Changed version to 2.14-dev
2023-11-01 16:45:39 +07:00
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