Commit Graph

6080 Commits

Author SHA1 Message Date
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
Nanang Izzuddin 1840604af5
Add two VS2015 projects for CSharp: SWIG binding builder & sample app (#3217) 2022-09-29 09:08:23 +08:00
Andreas Wehrmann 6bdcad8baf
SRTP transport: don't shadow local status variable (#3169) 2022-09-29 09:07:33 +08:00
Riza Sulistyo 3956663a6b
Update symbols due to #2722 (#3075) 2022-09-29 09:05:11 +08:00
sauwming 06dc90eaf9
Fixed assertion in Apple SSL when verification is retried (#3034) 2022-09-29 09:02:15 +08:00
sauwming 1c3f63e502
Set SRTP context to NULL after deallocation (#3097) 2022-09-29 08:59:20 +08:00
sauwming dbbeb06ed5
Add OpenSSL version check for SSL_SESSION_is_resumable() (#3120) 2022-09-29 08:58:46 +08:00
liviu-rolo b21000ec65
typos (#3118) 2022-09-29 08:58:22 +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
sauwming 875f76aa3e
Fix darwin_dev build failure on Mac (#3174) 2022-09-28 10:19:04 +08:00
Andreas Wehrmann 0fb32cd4c0
free SSL context and reset context pointer when setting the cipher list fails; this is a followup of issue #3069 (#3245) 2022-09-27 15:09:03 +07:00
Andreas Wehrmann 6f80f645d9
Windows: add FILE_SHARE_DELETE flag when opening/creating files to allow for interacting with temporary files (#3246) 2022-09-27 15:08:32 +07:00