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
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
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
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
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
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
Nanang Izzuddin
5969541128
Add API to limit retransmission count for outgoing requests in transaction layer ( #3631 )
2023-07-20 09:31:29 +07:00
Nanang Izzuddin
cea2a90c1f
Update transport config docs regarding QoS settings for TLS ( #3624 )
2023-07-10 14:08:13 +07: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
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
78fc800239
Fixed PJSIP Developer's Guide link in sip_module doc ( #3566 )
2023-05-16 13:04:08 +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
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
Florian Xaver
a9f3204bdc
Fix PJSUA2 documentation ( #3473 )
...
Co-authored-by: sauwming <ming@teluu.com>
2023-04-21 13:29:27 +07:00
bennylp
52fe443ea1
Minor changes based on reviews
2023-03-29 11:28:27 +07:00
bennylp
7a058dee81
Replace unsafe string functions such as sprintf, strcpy with the safer counterparts e.g. snprintf, strxcpy
2023-03-27 18:48:25 +07:00
sauwming
b9005d85b9
Fixed adding note to a tuple when adding RPID element ( #3453 )
2023-03-22 08:23:33 +08:00
sauwming
29d872af40
Merge branch 'master' into coverity01
2023-03-20 18:29:57 +08:00
sauwming
86b2ed38be
Fixed printf format warnings (part 1)
2023-03-20 18:29:25 +08:00
sauwming
15902a8184
Respond with ACK first before hanging up call for dialog fork ( #3445 )
2023-03-20 09:38:49 +08:00
bennylp
f94ec926da
Fix coverity scan warnings
2023-03-17 16:24:38 +07:00
bennylp
ce8508ab51
Fixed coverity scan warnings
2023-03-16 16:51:42 +07:00
bennylp
319bbab087
Fix coverity scan warnings
2023-03-15 17:15:00 +07:00
sauwming
4680c7add7
Merge master
2023-03-14 10:24:59 +08:00
sauwming
93b6d942cf
Limit the number of searched blocks searched for pool allocation ( #3423 )
2023-03-13 07:58:05 +08:00
sauwming
456b38700c
Fixed reports classified as high impact
2023-03-03 10:53:22 +08:00
Riza Sulistyo
88d2c65d57
Add doc to pjsua_config::enable_unsolicited_mwi and UaConfig::mwiUnsolicitedEnabled ( #3415 )
...
* Add doc to pjsua_config::enable_unsolicited_mwi and UaConfig::mwiUnsolicitedEnabled
* Fix text
2023-03-01 19:30:56 +07:00
sauwming
ecddafbb1d
Fixed warnings (3)
2023-02-28 12:50:51 +08:00
sauwming
37862667bf
Use better initial values for pool initialization ( #3396 )
2023-02-23 12:47:08 +08:00
sauwming
35924fbc2d
Handle invalid SDP when call is in early state ( #3359 )
2023-02-07 09:37:29 +08:00
sauwming
4095686a52
Update account config's contact_rewrite doc ( #3356 )
2023-02-03 16:24:52 +08:00
sauwming
7d1803309b
Optimize memory usage for SRTP ROC checking functionality ( #3349 )
2023-02-03 16:24:27 +08:00
Florian Xaver
4d233ecbba
Fix SIP-module documentation regarding return values ( #3343 )
2023-01-30 11:45:02 +08:00
Nanang Izzuddin
58bfd3dd58
TLS uses remote IP address instead of hostname when sending BYE ( #3310 )
2023-01-21 14:04:38 +07:00
sauwming
0d3be5a417
Allow transport other than TLS to be used for SIPS scheme ( #3332 )
2023-01-19 10:24:23 +08:00
Florian Xaver
67070c5e46
Support different From URI in outgoing calls ( #3320 )
2023-01-18 17:09:56 +08:00
Riza Sulistyo
5ac9104514
Expand tab to spaces and remove $Id$ ( #3292 )
2022-11-22 16:26:54 +07:00