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
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
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
Nanang Izzuddin
486053782b
Fix late PJSUA2 object destroy on Android ( #3674 )
2023-08-31 13:40:43 +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
sauwming
82d3fcff54
Fixed potentially duplicate RTCP FB attribute on response ( #3643 )
2023-07-21 16:42:28 +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
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
Nanang Izzuddin
cea2a90c1f
Update transport config docs regarding QoS settings for TLS ( #3624 )
2023-07-10 14:08:13 +07:00
sauwming
bb09b94889
Transaction state not propagated properly to on_call_tsx_state() cb ( #3614 )
2023-07-07 10:01:46 +08:00
Riza Sulistyo
c5d7e438cb
Only validate public address when IP address is supplied on TCP/TLS ( #3599 )
...
* Only validate public address when IP address is supplied on TCP/TLS
* Add doc
2023-07-05 11:16:06 +07:00
sauwming
db78bc0c46
Check the return status of pj_getaddrinfo() when creating contact ( #3601 )
2023-06-27 14:07:04 +08:00
sauwming
c600708a3b
Make evsub expiry duration consistent ( #3602 )
2023-06-20 10:38:02 +08:00
sauwming
a5023f7fdd
Use configured bound or public address for outgoing UDP SIP messages ( #3595 )
2023-06-19 09:38:13 +08:00
sauwming
48800cbfbb
Add option for dual stack IPv4&IPv6 account config ( #3590 )
2023-06-09 13:59:35 +08:00
sauwming
0665c17f02
Fixed coverity warning and various warnings ( #3578 )
2023-05-25 17:47:25 +08:00
sauwming
c5b847a988
Add PJSUA2 interface to get and put audio frames ( #3569 )
2023-05-23 13:20:21 +08:00
sauwming
e8fa2237f2
Support for codec with non-integer ptime ( #3555 )
2023-05-16 13:13:10 +08:00
sauwming
e8f58dd6d6
Add ability in stream to modify video codec bitrate on the fly ( #3556 )
2023-05-16 13:12:53 +08:00
sauwming
de023c12fa
Add device id in audio device info ( #3563 )
2023-05-16 13:06:51 +08:00
sauwming
64eefdfd7b
Fixed assertion when starting video preview ( #3567 )
2023-05-16 13:04:27 +08:00
sauwming
78fc800239
Fixed PJSIP Developer's Guide link in sip_module doc ( #3566 )
2023-05-16 13:04:08 +08:00
jimying
b4921bfcd9
Add close-on-exec flag ( #3553 )
2023-05-16 11:59:37 +08:00
Nanang Izzuddin
d03000ac2d
Handle bad NAT type info in SDP ( #3552 )
2023-05-15 09:20:36 +08:00
sauwming
56ca435999
Fixed local address returned by API pjsip_tpmgr_find_local_addr() ( #3548 )
2023-05-15 09:20:11 +08:00
Riza Sulistyo
07265a3f28
Enable specifying format video when opening video preview using PJSUA2 API ( #3547 )
2023-05-15 09:19:54 +08:00
sauwming
454a6d55a5
Implement merged requests detection ( #3541 )
2023-05-15 09:19:35 +08:00
sauwming
98e4590cf0
Add SDP signaling for RTCP-XR ( #3522 )
2023-05-08 13:41:23 +08:00
sauwming
5b23889a79
Clarify pjsip_inv_create_uac() doc for use case where app specifies the local SDP later ( #3520 )
2023-05-08 13:40:43 +08:00
sauwming
dc4778ed8a
Fixed crash when incoming SIP transport is immediately closed ( #3527 )
2023-05-01 09:03:14 +08:00
sauwming
f3a261345f
Fixed crash when answering an outgoing call in early state ( #3537 )
2023-05-01 09:01:40 +08:00
jhting
aa99bc23ae
update pjsua_media.c is_media_changed ( #3536 )
2023-04-28 09:46:19 +08:00
sauwming
deb10fbbb6
Fixed crash when sip_inv reason is not NULL terminated ( #3518 )
2023-04-24 08:15:11 +08:00
Florian Xaver
a9f3204bdc
Fix PJSUA2 documentation ( #3473 )
...
Co-authored-by: sauwming <ming@teluu.com>
2023-04-21 13:29:27 +07:00
Nanang Izzuddin
76523f3a7e
Fix memory leak in PJSUA2 timer ( #3507 )
2023-04-19 09:29:18 +07:00