Commit Graph

2352 Commits

Author SHA1 Message Date
Nanang Izzuddin 1dab9b63ac
Add TLS/SSL backend: Windows Schannel (#3867) 2024-05-08 10:25:03 +07:00
Nanang Izzuddin ca2dacf024
Print log on successful send (#3942) 2024-05-07 09:22:35 +07:00
sauwming 4f3df90a3e
Fixed PJSUA2 API to get/set Opus config (#3935) 2024-04-23 17:01:38 +08:00
sauwming 472bda5087
Support Push Notification in iOS sample app (#3913) 2024-04-23 12:59:52 +08:00
sauwming c5bc3d1ef5
Add function to initialize MediaFormat audio & video (#3925) 2024-04-17 11:21:57 +08:00
Amilcar Ubiera 12d0468cb6
Fix to ext_fmts accessed out of stack scope. (#3916) 2024-04-15 10:25:30 +08:00
Amilcar Ubiera 6d114d71d5
pjsua_acc: Fix warnings for comparison between ‘pjsua_nat64_opt’ and ‘enum pjsua_ipv6_use’ (#3915) 2024-04-05 14:05:36 +08:00
sauwming e7e7f28f16
Improve IP address change IPv4 <-> IPv6 (#3910) 2024-04-03 18:04:51 +08:00
Nanang Izzuddin 478aeb95e9
Fix data race reported by ThreadSanitizer in caching pool (#3897) 2024-03-26 15:20:44 +07:00
Santiago De la Cruz 427a2b3ab8
Add some missing unlocks (#3893) 2024-03-26 11:52:13 +08:00
Amilcar Ubiera ca4b078cc1
Fix warnings for 32-bit compiler and misc fixes. (#3896) 2024-03-25 11:28:36 +08:00
Nanang Izzuddin a974061441
Update listener restart in IP change: don't create/restart listener if currently no listener, also update docs that bound address setting will be reset. (#3873) 2024-03-15 09:41:16 +07:00
Andreas Wehrmann ed40439b0d
add missing unlock (#3885) 2024-03-15 10:01:08 +08:00
Fil 70332e3510
Rephrase some type definitions in the docs for a better understanding (#3880) 2024-03-12 10:28:42 +08:00
Nanang Izzuddin 7d2248f38a
Add checks in restarting listeners in IP change scenario (#3872) 2024-03-06 12:21:34 +07:00
sauwming a32d7c2907
Prevent data race in PJSIP presence (#3847) 2024-01-31 09:09:51 +08:00
sauwming 776c70ef01
Fixed missing unlocks in dialog event (#3849) 2024-01-30 17:29:51 +08:00
sauwming e12a8d17a0
Fixed dialog event Coverity warnings (#3846) 2024-01-30 13:01:25 +08:00
Goodicus d692a9940f
Implement Dialog Event subscription (client only) (#3754) 2024-01-29 14:28:15 +08:00
Nanang Izzuddin 569aac1b1c
Potential issues when IPv6 is disabled (#3835) 2024-01-23 12:52:53 +07:00
Amilcar Ubiera 53d96cd5b8
pjsua_handle_ip_change: Added missing null check for on_ip_changed_progress callback (#3830) 2024-01-17 14:19:30 +07:00
sauwming 98d51a0e58
Fixed account's route set update when modifying account (#3825) 2024-01-16 10:12:09 +08:00
Riza Sulistyo b6cc71ad19
Retransmit 2xx response when transport is closed (#3828) 2024-01-15 08:57:46 +07:00
sauwming f2055ef7a3
Fixed issues when adding new media and deinitializing media (#3821) 2024-01-12 15:26:29 +08:00
sauwming 19c018affd
Fixed Service-Route update upon registration (#3823) 2024-01-10 16:55:23 +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 033e4d7ae3
Fixed printf format warnings (#3813) 2023-12-27 10:32:32 +08:00
sauwming ca2e450edf
Prevent immediate tsx termination upon transport error (#3805) 2023-12-18 11:56:43 +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
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
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
sauwming ca5255795a
Add SIP transport data received callback (#3751) 2023-11-06 20:17:49 +08:00
sauwming 58a101c945
Fixed race condition in ACK handling of INVITE message (#3752) 2023-11-03 11:55:21 +08: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
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
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 03faa1c983
Fixed bug in SRTP ROC checking when using ICE (#3733) 2023-10-13 23:34:32 +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 b8fbdb2502
Fix build errors & warnings on MSVC2005 (#3722) 2023-10-02 09:00:56 +07:00