Commit Graph

6091 Commits

Author SHA1 Message Date
sauwming bb2287b3a8 Changed version to 2.13.1 2023-07-05 11:59:07 +08:00
Riza Sulistyo 806b7c2f7e Don't call SSL_shutdown() when receiving SSL_ERROR_SYSCALL or SSL_ERROR_SSL (#3577) 2023-07-05 11:53:13 +08:00
Matthew Fredrickson bbf7f229de Locking fix so that SSL_shutdown and SSL_write are not called at same time (#3583) 2023-07-05 11:52:54 +08:00
sauwming 6d72311fc8 Merge pull request from GHSA-q9cp-8wcq-7pfr
* Prevent heap buffer overflow when parsing DNS packet

* Fixed incorrect check in get_name*()
2023-07-05 11:51:41 +08:00
sauwming 4cea72a4db Merge pull request from GHSA-cxwq-5g9x-x7fr
* Fixed heap buffer overflow when parsing STUN errcode attribute

* Also fixed uint parsing
2023-07-05 11:51:22 +08:00
Nanang Izzuddin 563f34c097 Merge pull request from GHSA-9pfh-r8x4-w26w
* Fix buffer overread in STUN message decoder

* Updates based on comments
2023-07-05 11:50:47 +08:00
Nanang Izzuddin 24006a72c9 Fix bug in video conference in disconnecting ports (#3325) 2023-07-05 11:49:54 +08:00
sauwming f1e6313389 Fixed native iOS preview issue (#3350) 2023-07-05 11:48:58 +08:00
sauwming 43c745789d Changed version to 2.13 (2)-change PJ_VERSION_NUM_EXTRA 2022-11-24 13:24:24 +08:00
sauwming f25c7457cb Changed version to 2.13 2022-11-24 13:21:13 +08:00
sauwming 6e0f8e469c Disable editorconfig trailing whitespace trimming 2022-11-24 13:20:21 +08:00
Nanang Izzuddin bff4a3f4df
Fix problem in detecting Android STL shared library on msys (#3294)
* Fix problem in detecting Android STL shared library on msys
* Fix build warning when 'ar' creating static lib
2022-11-24 11:35:34 +07:00
Riza Sulistyo a415e2ef9d
Add .git-blame-ignore-revs for #3292 (#3293) 2022-11-23 11:51:51 +07: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
Riza Sulistyo b7aff72764
Use environment LDFLAGS when building with resample as shared lib (#3290) 2022-11-22 11:21:55 +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 f0be616769
Fix false error 'Invalid RTP packet length (PJMEDIA_RTP_EINLEN)' when decoding empty RTP. (#3283) 2022-11-07 09:49:49 +07:00
Nanang Izzuddin c95d2962f3
Fix random fail in UDP sock replace on iOS due to uninitialized status (#3284) 2022-11-07 09:48:36 +07: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 43c8343c3d
Fixed video unhold failure when using SRTP (#3282) 2022-11-04 20:52:02 +08:00
sauwming 1128f9dc18
Fixed repeated identical OpenSSL error (#3281) 2022-11-04 19:38:27 +08:00
sauwming 85cb6660fa Misc (re #3087): Suppress deprecation warning in iOS pjsua sample app 2022-11-01 12:15:29 +08:00
sauwming 40a06fba2c Misc (re #3087): Update iOS sample app projects and fix build warnings 2022-11-01 12:02:49 +08:00
sauwming 0610327775 Misc (re #3087): Fixed build warning on iOS (sprintf deprecated) 2022-11-01 11:21:29 +08:00
sauwming ae580f351f Misc (re #3087): Suppressed build warning on Mac 2022-11-01 11:01:45 +08:00
Riza Sulistyo 74569f926a
Fix build warning and error for UWP (#3276)
* Fix build warning and error for UWP

* Include in6_addr.h directly on UWP
2022-10-27 10:47:21 +07:00
sauwming 31874008d1
Prevent integer underflow of sip regc's next registration time (#3274) 2022-10-24 11:15:01 +08:00
jimying 0b0488f17b
Add --disable-libuuid to autoconf (#3100) 2022-10-19 10:56:30 +07:00
jimying 6f2ea3aec3
Remove valgrind warning for pjnath (points to uninitialised byte) (#3052) 2022-10-19 10:51:52 +07:00
Riza Sulistyo 41c24942f1
Fix crash after updating contact (#3102) 2022-10-19 10:46:43 +07:00
Sébastien Blin 35b00d53ce
ice_session: fix crash if all ipv6 addresses are deprecated (#3109) 2022-10-19 10:46:28 +07:00
Riza Sulistyo 3c14c31790 Update windows openssl download link 2022-10-19 10:22:50 +07:00
Riza Sulistyo 37cc6e88a7
Return error when it fails to create stream using opensl (#3182) 2022-10-19 10:16:53 +08: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
lukas-nowak 304f8dc48f
conditional compilation removed from macro expansion to satisfy MSVC (#3264) 2022-10-14 09:54:40 +08:00
Nanang Izzuddin 15633c4ba2
Skip building SWIG-CSharp projects in VS14 solution (#3266) 2022-10-12 14:25:46 +07: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
Riza Sulistyo d2acb9af4e
Merge pull request from GHSA-wx5m-cj97-4wwg 2022-10-06 14:55:13 +08:00
sauwming c4d34984ec
Merge pull request from GHSA-fq45-m3f7-3mhj
* Initial patch

* Use 'pj_scan_is_eof(scanner)'

Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>

* Use 'pj_scan_is_eof(scanner)'

Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>

* Use 'pj_scan_is_eof(scanner)'

Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>

* Use `!pj_scan_is_eof` instead of manually checking `scanner->curptr < scanner->end`

Co-authored-by: Maksim Mukosey <mmukosey@gmail.com>

* Update pjlib-util/src/pjlib-util/scanner.c

Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>

* Update pjlib-util/src/pjlib-util/scanner.c

Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>

* Update pjlib-util/src/pjlib-util/scanner.c

Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>

* Revert '>=' back to '>' in pj_scan_stricmp_alnum()

* Fix error compiles.

Co-authored-by: Nanang Izzuddin <nanang@teluu.com>
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
Co-authored-by: Maksim Mukosey <mmukosey@gmail.com>
2022-10-03 08:07:22 +08:00
Nanang Izzuddin e948f48e2e
Fix compile error due to variable not in beginning of block (C89 compatibility). (#3257) 2022-09-30 16:45:30 +07:00
Gregor Jasny a5320984a7
Add additional H.264 levels (#3053) 2022-09-29 10:15:59 +07:00
lukas-nowak 79421add77
Find closest camera format when resolution is presented more than once (#3062) 2022-09-29 10:10:25 +07:00
jimying b0a0fc785e
Fix ioqueue_kqueue: error convert milliseconds to nanoseconds (#3206) 2022-09-29 09:53:23 +07:00
liviu-rolo 947cd77fc4
Update endpoint.cpp (#3163) 2022-09-29 09:15:09 +08:00
Riza Sulistyo 97d38dc989
Support ffmpeg 5.1 (#3242) 2022-09-29 09:10:32 +08:00