Commit Graph

4591 Commits

Author SHA1 Message Date
Nanang Izzuddin 0c9dd1d3d0 Re #1894: Fixed high socket descriptor check in ioqueue select, it should be against FD_SETSIZE instead of PJ_IOQUEUE_MAX_HANDLES, as PJ_IOQUEUE_MAX_HANDLES can be lower than FD_SETSIZE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5196 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06 11:36:06 +00:00
Riza Sulistyo a04656bb9d Re #1895: Terminate subscription when receiving non 2xx Notify response without Retry-After header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5195 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06 07:55:38 +00:00
Nanang Izzuddin af48998e29 Close #1894: Improve ioqueue performance on multithreadeded environment.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5194 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06 04:18:46 +00:00
Sauw Ming 649d3c58e3 Re #1882 (misc): related to r5192, fixed inaccurate index checking in pjmedia_sdp_attr_find() as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5193 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-30 00:37:14 +00:00
Sauw Ming 7416bdc608 Re #1882 (misc): Fixed inaccurate index checking assertion when removing SDP attributes in pjmedia_sdp_attr_remove() and pjmedia_sdp_attr_remove_all()
Thanks to Fredrik Hansson for the report.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5192 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-29 01:27:02 +00:00
Nanang Izzuddin ed308eb03f Misc (re #1882): Only check 'hide' URI parameter on SIP/SIPS URIs in printing route header, otherwise it may cause crash as other URI types may not have 'other_param' field (thanks thanks Fredrik Hansson for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5191 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23 09:50:16 +00:00
Nanang Izzuddin 786c6140a3 Misc (re #1882): Added array length check before inserting parsed bandwidth & attribute info to SDP structure (thanks Fredrik Hansson for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5190 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23 09:45:48 +00:00
Nanang Izzuddin 9093e07fad Misc (re #1882): Updated libresample makefile to also generate shared library when configure param '--enable-resample-dll' (see also #1462) is specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5189 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23 08:05:12 +00:00
Sauw Ming aa4c388fbe Fixed #1873: iOS application getting killed after pjsua fail to release a disconnected transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5188 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-08 08:55:52 +00:00
Sauw Ming b5c5b7fc25 Re #1882 (misc): Fixed possibly incorrect stream stats
When a codec is opened, it can modify its param (such as iLBC can normalize its frame ptime based on remote SDP), so the stream stats has to be updated accordingly.

Also in this fix is to increase the log level which shows the info of iLBC mode opened.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5187 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-07 03:57:17 +00:00
Sauw Ming 4021214257 Fixed #1888: Support for WebRtc AEC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5186 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-06 05:57:51 +00:00
Nanang Izzuddin 04ecb0376e Close #1892: Add pjsua/pjsua2 callback on_call_tx_offer()/Call::onCallTxOffer() to notify incoming re-INVITE without offer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5185 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-02 02:08:17 +00:00
Nanang Izzuddin 7cbdf0bcb1 Fix #1891: Also match base address in find local candidate after receiving ICE check response.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5184 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-01 04:43:28 +00:00
Nanang Izzuddin dcff08bc69 Fix #1889: DNS parser should return error on RR class != IN only when RR type is known.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5183 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-29 08:38:42 +00:00
Nanang Izzuddin 602a176bf9 Fix #1887: Feed only one PCM input frame at a time to iOS iLBC encoder.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5182 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-28 05:54:25 +00:00
Riza Sulistyo 5a5522dc6e Re #1881: Add filters file.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5181 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-21 05:25:04 +00:00
Sauw Ming 03134a7e92 Fixed #1886: Ddestruction of locked mutex in SIP dialog
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5180 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-17 06:11:01 +00:00
Sauw Ming a1ea97fd64 Re #1882 (misc): Related to r4852 and r4857, fixed problem in reopening sound device after setting it to null device
Thanks to Fredrik Hansson for the report and patch



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5179 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-17 03:44:17 +00:00
Nanang Izzuddin b8c96cf845 Re #1885: Fixed race condition in evsub scenario 2 (Subscription timer callback vs subscription destroy).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5178 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11 09:44:52 +00:00
Nanang Izzuddin 1184fcff7e Re #1885: Fixed race condition in evsub scenario 1 (Subscription timeout vs subscription refresh).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5177 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11 09:40:11 +00:00
Nanang Izzuddin c9566157a4 Misc (re #1882): Update doxygen of PJSIP_MAX_URL_SIZE as apparently it is currently much more than for logging purpose, e.g: restricting Contact header length (thanks Marcus Froeschl for the feedback).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5176 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11 02:59:01 +00:00
Nanang Izzuddin aefc097f15 Re #1881: Minor update on pjlib-util project to use default target platform version.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5175 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11 02:12:49 +00:00
Nanang Izzuddin e2c345747f Fix #1884: Fixed silence frame length in stream (frame length calculation didn't include frame per packet).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5174 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-10 07:17:22 +00:00
Nanang Izzuddin ba2e53cbb8 Fix #1883: Check transport validity after getting transport manager lock in {{{pjsip_transport_add/dec_ref()}}} as transport may already be destroyed by other thread.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5173 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-09 09:24:06 +00:00
Nanang Izzuddin 0eec5fc676 Re #1881: Removed WM5 & WM6 target from VS2015 solution, also fixed libmilenage not included in some build configs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5172 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-31 01:54:45 +00:00
Sauw Ming ac38922794 Re #1882 (misc): In iOS, set the option to notify other apps upon audio session deactivation. This will be useful so other apps can return to active state and resume its audio.
Thanks to Johan Lantz for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5171 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-27 02:23:55 +00:00
Nanang Izzuddin 88358fd268 Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:45:46 +00:00
Nanang Izzuddin 710aa0cc27 Re #1881:
- Updated build output naming 'vc8' -> 'vc14' for VS2015.
 - Fixed miscelaneous warnings in VS2015 project settings.
 - Updated SVN ignore property.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5169 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:41:17 +00:00
Riza Sulistyo bcfe1aea76 Re #1881: Add Visual Studio 2015 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5168 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 14:58:04 +00:00
Riza Sulistyo 0c52ca9e9f Re #1879: Fix bug in resetVideoCodecParam when not using Video build config.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5167 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 07:10:15 +00:00
Sauw Ming d3d2427ead Fixed #1880: Incorrect orientation after switching video capture or when using back camera
Included in this fix:
* Change the spec & doc of pjmedia_orient enumeration
* Change iOS sample app to rotate all video devices upon orientation change event.
* Set orientation as well when fast switching cameras (for iOS and Android)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5166 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:46:32 +00:00
Riza Sulistyo c6303bc81d Re #1879:
- Implement set video codec param in PJSUA2 API
- Fix bug in videoCodecEnum and updateCodecInfoList



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5165 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:00:46 +00:00
Riza Sulistyo 984e351df8 Changed version to 2.4.5-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5164 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-12 05:28:43 +00:00
Riza Sulistyo 9b5307b4ac Remove extra space on the revision number
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5162 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-12 04:43:50 +00:00
Riza Sulistyo 49bac29e12 Changed version to 2.4.5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5160 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-12 02:39:26 +00:00
Nanang Izzuddin 4666f3ff7c Updated r5158, as it introduced more warnings on Android about unknown pragma.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5159 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-12 00:35:26 +00:00
Nanang Izzuddin 53f21945a0 Misc (re #1843): Fixed GCC compile warnings of unused variables in third-party libs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5158 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-11 07:49:25 +00:00
Nanang Izzuddin f5727fc18c Misc (re #1843): Fixed compile warnings of unused variable.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5157 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-10 09:11:39 +00:00
Nanang Izzuddin c9ced6eee6 Re #1842: Updated automated test scenarios to invoke 'make distclean' first.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5156 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-10 03:47:45 +00:00
Nanang Izzuddin a03da25961 Re #1842: Added automated test scenarios for Android and iOS 64-bit
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5155 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-10 03:45:02 +00:00
Nanang Izzuddin 3bf608c631 Misc (re #1843): Fixed compile warnings of "command line option '-frtti' is valid for C++/ObjC++ but not for C" on "make depend" for Android targets.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5154 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07 12:52:09 +00:00
Sauw Ming 999cce3eb6 Re #1843 (misc): Fixed wrong calculation of timestamp in L16 codec (should be multiplied by samples per frame instead of frame size).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5153 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07 09:22:32 +00:00
Sauw Ming 9f5af4a020 Fixed #1878: Compile time option for TCP/TLS transport to not create a listener
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5152 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07 09:00:52 +00:00
Sauw Ming 52d41c713a Fixed #1877: Race condition between stopping ICE and sending data in ICE stream transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5151 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07 05:44:40 +00:00
Sauw Ming 464a116faf Re #1870: Modified the last identifier of the build triplet from darwin to darwin_ios to distinguish between iOS and MacOS platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5150 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 09:15:11 +00:00
Nanang Izzuddin a0ca842333 Fix #1876: Don't restart renderer when only fps is changing, just modify the clock instead.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5149 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 07:10:33 +00:00
Sauw Ming 7de146bfc6 Re #1843 (misc): Fixed typo in displaying error message in importsym.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5148 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 06:37:49 +00:00
Sauw Ming e0581081e3 Fixed #1875: Assertion in rescheduling PJSIP retransmission
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5147 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 06:28:51 +00:00
Sauw Ming a223ba3e84 Fixed #1874: Truncated IPv6 address during address lookup on iOS
Thanks to Brian Walker for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5146 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05 06:31:45 +00:00
Nanang Izzuddin 628a5c7bdd Re #1870: Fixed 64 bit arch issues on Android: pool alignment, updated suffix in lib file naming.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5145 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05 04:26:06 +00:00