Commit Graph

2185 Commits

Author SHA1 Message Date
sauwming f1e6313389 Fixed native iOS preview issue (#3350) 2023-07-05 11:48:58 +08:00
Riza Sulistyo 5ac9104514
Expand tab to spaces and remove $Id$ (#3292) 2022-11-22 16:26:54 +07:00
Nanang Izzuddin d00fc12807
Miscellaneous fixes (#3280)
* Suppress compile warnings
* Disable ioqueue stress test on VS2005 due to compile errors on structure data initialization (using C99 way, while VS2005 does not seem to support it).
2022-11-22 11:22:31 +08:00
sauwming caf9471769
Ignore closing transport when acquiring SIP UDP transport (#3286) 2022-11-08 15:28:53 +08:00
Alexey Vasilyev 4c81caa411
Don't terminate call on failed SDP negotiation during EARLY state (#3137) 2022-11-07 11:09:14 +08:00
Nanang Izzuddin 3bf821c1af
Fix IP change returning false error (PJSIP_ESESSIONTERMINATED) when there is no call (#3285) 2022-11-07 09:48:14 +07:00
sauwming 0610327775 Misc (re #3087): Fixed build warning on iOS (sprintf deprecated) 2022-11-01 11:21:29 +08:00
sauwming 31874008d1
Prevent integer underflow of sip regc's next registration time (#3274) 2022-10-24 11:15:01 +08:00
Riza Sulistyo 41c24942f1
Fix crash after updating contact (#3102) 2022-10-19 10:46:43 +07:00
Nanang Izzuddin c12693f3d9
Option to use SIP UPDATE for refreshing calls in IP change (#3146)
* Option to use SIP UPDATE for refreshing calls in IP change

* Updated docs

* Add AccountIpChangeConfig.reinvUseUpdate in PJSUA2

* Add logs for debugging and display menu 'I' for IP change in pjsua app (the IP change action was already there just hidden).
2022-10-19 09:12:59 +07:00
orbea c804b31f85
Fix build fail on alpine linux (with musl libc) : no execinfo.h (#3263)
The execinfo.h header is GNU specific and is not available with musl.

Gentoo Issue: https://bugs.gentoo.org/867343

Co-authored-by: jimying <yingqw.js@gmail.com>
2022-10-17 13:32:23 +08:00
SebaLedesma 6f311ab873
Doc fixes of the default value of Media Quality (#3241) 2022-10-17 11:50:23 +08:00
Nanang Izzuddin d98f3c3036
Add PJSUA_LOCK_CODEC_DONT_USE_UPDATE for forcing lock codec to always use INVITE method. (#3230) 2022-10-12 09:45:24 +07:00
Riza Sulistyo 505b027920
Update media state when SDP contain "a=inactive" attribute (#3237)
* Don't set media state to active when SDP contains "a=inactive" attribute

* Implement alternative 2

* Handle release hold using PJSUA_CALL_SET_MEDIA_DIR

* Revert "Handle release hold using PJSUA_CALL_SET_MEDIA_DIR"

This reverts commit 63b4d43ec7.

* Revert "Implement alternative 2"

This reverts commit 08fbd7dd32.

* Implement suggestion

* Implement changes in #1899 for video
2022-10-06 15:38:33 +07:00
liviu-rolo 947cd77fc4
Update endpoint.cpp (#3163) 2022-09-29 09:15:09 +08:00
BeardedSkunk 5b0f9c8c6f
fix missing init of tp_type in initialize_acc() (#3258)
With changing accounts, memory of obsolete account gets re-used for
 new one, be sure tp_type does not keep random type of whatever
 account-setup was using the memory beforehand.
2022-09-28 14:51:22 +07:00
Martin Flaska 00f2f4000c
pjsua2: Endpoint: Make transportGetInfo and transportEnum methods const (#3250) 2022-09-27 15:02:55 +07:00
Nanang Izzuddin 6929550e08
Add logs for RTP/RTCP socket binding error in PJSUA (#3208) 2022-09-19 17:18:44 +07:00
Riza Sulistyo 797088ed13
Fix port_range/portRange documentation (#3221)
* Fix port_range/portRange doc

* Modify doc text
2022-08-23 15:12:52 +07:00
sauwming 4f280161f1
Fix potential buffer overrun when printing SIP header/message (#3175) 2022-08-10 12:59:38 +08:00
Benny Prijono c03ab41ed5
Documentation fixes for docs.pjsip.org v2.0 project (#3202)
* Improve robustness of sample apps. Fixing crash in aviplay

* Changes in documentation

* Add first pjsua2 hello world sample (from PJSUA2 guide)

* Fix doxygen documentation for docs.pjsip.org v2

* Add make clean-doc target

* Replace Trac ticket URL with GitHub issues URL

* Remove pjsip-book because the correct one is in pjproject_docs
2022-08-09 06:16:16 +07:00
Riza Sulistyo d4dc67706b
Add option to use default settings when switching sound device (#3181)
* Add option to use default settings when switching sound device

* Update doc

* Modification based on comments
2022-08-05 14:49:31 +07:00
sauwming 8861441ec8
Move UPnP to PJNATH (#3195) 2022-07-29 17:05:28 +08:00
sauwming e0b15546df Misc (re #3087): Fixed incorrect doc param name 2022-07-28 10:14:15 +08:00
sauwming 12aa75e317
Add ability in stream to modify Opus codec parameters on the fly (#3189) 2022-07-26 15:06:24 +08:00
sauwming 82247cb8c0
Add UPnP support for SIP UDP and media UDP transports (#3184) 2022-07-21 11:25:05 +08:00
Riza Sulistyo 0d7157c167
Support OpenSSL3 (#3168)
* Support OpenSSL3

* Modify code order
2022-07-08 09:25:38 +07:00
Nanang Izzuddin 80d3385b69
Update VAD docs/help (#3165)
Update VAD docs/help, some codecs (e.g: Opus & SILK) have VAD disabled by default.
2022-07-05 09:40:47 +07:00
Nanang Izzuddin d5fc07cc03
Random crash due to invoking SRTP APIs on custom media transport instance (#3145) 2022-06-20 12:26:59 +08:00
sauwming 772d690613
Add option to check if UPDATE sent during EARLY inv state has completed SDP nego using reliable prov response (#3138) 2022-06-10 07:24:02 +08:00
sauwming c4ee4db426
Add API pjsip_evsub_get_expires() (#3139) 2022-06-09 11:35:45 +08:00
sauwming b04abebc33
Fixed issues with event subscription regarding on_rx_refresh() and unsubscription (#3126) 2022-06-06 11:40:41 +08:00
Nanang Izzuddin d671704abe
Add run time settings to enable/disable RTCP-XR in account config (#3110) 2022-05-20 11:42:55 +07:00
Bastian Triller 3c2d4b3ae2
fix typos (#3096) 2022-05-05 13:46:43 +08:00
Riza Sulistyo fa7087461e
Don't schedule re-Registration on IP change case (#3027) 2022-05-04 09:34:36 +08:00
sauwming 0297a3bf57
Add account id parameter checking in pjsua im APIs (#3035) 2022-05-04 09:32:36 +08:00
sauwming f1c0e284a3
Added conference port id checking in pjsua (#3038) 2022-05-04 09:15:34 +08:00
Riza Sulistyo 0fd9cb0d0f
Fix missing argument due to changes on #2979 (#3076) 2022-05-04 09:14:30 +08:00
liviu-rolo 7a7c17d364
wrong documentation about default jbInit (#3006) 2022-05-04 09:13:02 +08:00
liviu-rolo 712225bd48
Wrong default values for JB prefetch (#3007) 2022-05-04 09:12:40 +08:00
Nanang Izzuddin 41023dad10
Some callbacks not invoked in call replace in PJSUA2 (#3059)
Warning: potential backward incompatibility issue, previously the replacing call can use any account (selected using pjsua_acc_find_for_incoming() and app may override via callback), now it is forced to use the same account.
2022-04-26 13:30:41 +07:00
sauwming 189e6c0330 Fix bug when hanging up call (#3026) 2022-04-06 17:21:12 +08:00
sauwming 38c13afa1c
Fixed missing field in CodecParam (#3037) 2022-03-25 17:30:46 +08:00
mscdex 4d422dbf17
Only generate call stats if logging is enabled (#3020) 2022-03-25 09:16:42 +08:00
Emre TUFEKCI 2fd5e76d8e
third party media build error fix (#3019) 2022-03-25 09:14:37 +08:00
Riza Sulistyo 8e95490e37
Add compile time option to allow multiple Authorization header (#3010) 2022-03-24 13:53:03 +08:00
sauwming 601f0c7af1
Update registration transport upon account's modification or transport setting (#3004) 2022-03-11 14:29:42 +08:00
Riza Sulistyo d27f79da11
Use PJ_ASSERT_RETURN() on pjsip_auth_create_digest() and pjsua_init_tpselector() (#3009)
* Use PJ_ASSERT_RETURN on pjsip_auth_create_digest

* Use PJ_ASSERT_RETURN on pjsua_init_tpselector()

* Fix incorrect check.

* Add return value to pjsip_auth_create_digest() and pjsip_auth_create_digestSHA256()

* Modification based on comments.
2022-03-08 22:20:39 +07:00
liviu-rolo 5102096ab1
wrong default value for jitter buffer max (#3001) 2022-03-03 12:44:43 +08:00
sauwming 18281d8a7d
Add option to randomize RTP starting port (#3000) 2022-03-03 12:43:44 +08:00