Commit Graph

6463 Commits

Author SHA1 Message Date
sauwming 19c018affd
Fixed Service-Route update upon registration (#3823) 2024-01-10 16:55:23 +08:00
Brad Smith 26bdf998f0
Adjust code to support LibreSSL without the ASN1 macros (#3822) 2024-01-09 11:48:33 +08:00
sauwming ca0c4403ec
Fixed TURN session use after free (#3814) 2024-01-05 15:09:19 +08:00
sauwming 3ed76a11c0
Fixed data races in UPnP (#3819) 2024-01-05 15:08:59 +08:00
sauwming 86e22f4329
Enable PendingJob use on Python (#3817) 2024-01-03 19:05:46 +08:00
sauwming c6fd43208d
Fixed bug in pjsua_call_answer() (#3818) 2024-01-03 13:26:43 +08:00
Riza Sulistyo 4dfbdf7b1f
Terminate client transaction upon transport error (#3806)
* Terminate client transaction upon transport error
* Fixed UAS tsx tp error handling and PJSIP test
2024-01-02 15:57:45 +08:00
Florian Xaver 71e7087836
Fix answering a re-INVITE (#3770) 2024-01-02 13:33:16 +08:00
Nanang Izzuddin a31d048ecb
Fix parsing IPv6 TURN server in PJSUA (#3796) 2024-01-02 11:54:21 +08:00
Nanang Izzuddin 8e9857a81e
Miscelaneous Coverity fixes (#3792)
* Fix CID: 1527652, 1524421, 1524414, 1524392
* Fixed UPnP data races
2024-01-02 11:53:57 +08:00
Riza Sulistyo b981b45183
Fix return value for pjsua_set_snd_dev2() with no sound device option (#3809)
* Fix return value for pjsua_set_snd_dev2() with no sound device option

* Move initialization

* modification based on comments
2023-12-28 12:20:38 +07:00
sauwming 42a3e78d75
Fixed deprecation of Account.findBuddy() in pygui sample app (#3815) 2023-12-27 19:31:36 +08:00
sauwming 033e4d7ae3
Fixed printf format warnings (#3813) 2023-12-27 10:32:32 +08:00
sauwming 5601a20c1e
Fixed CI build failure due to Python setup (#3811) 2023-12-26 14:37:53 +08: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