Commit Graph

33178 Commits

Author SHA1 Message Date
Sergey Khripchenko
75dae616be FS-11189 Rearrange VPX code to fix few bugs and make it more structured. 2018-09-06 04:24:35 +00:00
Hunyadvári Péter
434baefcd0 FS-10827 [mod_spandsp] Make thread safe and xmlreload do not affect already started detection 2018-09-05 22:48:21 +00:00
Mike Jerris
99df402921 Merge pull request #1492 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-8579-broadcast-hold-bleg to master
* commit '554387c8dc53b0e3a8b9d530a799d681cef5e6e6':
  Skip holding b leg only if it is on hold
2018-09-05 22:35:31 +00:00
Mike Jerris
a4db3a4355 Merge pull request #1491 in FS/freeswitch from ~HUNYI/freeswitch:feature/FS-8900-improve-record_follow_transfer to master
* commit '069da397f5b9e7adb10c2c9d8d03f83d195dae37':
  Improve recording transfer
2018-09-05 22:34:38 +00:00
Mike Jerris
8cd4b16451 Merge pull request #1453 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-10826-fix-sample-rate to master
* commit '87d4a6a0c8efcd1104875a972573cb489d179bd7':
  FS-10826 [core] Fix file handler sample rate after transfer
2018-09-05 22:29:03 +00:00
Mike Jerris
8bbb1f6760 Merge pull request #1526 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-11176-fix-do-not-restore-previous-codec to master
* commit '227a13497825f7ac890b6248c51570cb0d666164':
  FS-11176: [core] do not use previous codec if its not ready
2018-09-05 22:24:26 +00:00
Anthony Minessale
65524ea2c1 FS-11379: [freeswitch-core] Rare race condition in state machine #resolve 2018-09-05 18:20:58 -04:00
Anthony Minessale
b4a64d4817 FS-11380: [core] add new internal function 2018-09-05 18:20:54 -04:00
Chris Rienzo
48aebd7365 FS-11377 [freeswitch-core] lock/unlock mutexes in consistent order. 2018-09-05 20:56:09 +00:00
Mike Jerris
3fc867fa93 FS-11349: [mod_av] remove debug logging 2018-09-05 20:42:14 +00:00
John Briscoe
4b63d80b35 FS-10723: [mod_conference] Add event generation when video feed interrupted occurs 2018-09-05 20:26:43 +00:00
Mike Jerris
b2447967c6 FS-11287: [verto] update verto-min.js 2018-09-05 20:23:01 +00:00
shripchenko
4a90ac8b1c FS-11363 Fix unpredictable/random zoom, when camera's video aspect ratio (a/r) equal to conference layout's tile a/r 2018-09-05 20:03:05 +00:00
Mike Jerris
5dd445180c FS-11206: [mod_conference] rework behaviors of conference hold to still toggle states while on hold 2018-08-31 19:05:39 +00:00
Mike Jerris
f82e4a5944 Revert "FS-11209: [Debian] openssl linking"
This reverts commit 0342762f59.
2018-08-31 18:29:35 +00:00
Sergey Khripchenko
ad3b396f9b FS-11362 Small macro tune based on James Dictos comment 2018-08-31 18:28:09 +00:00
Mike Jerris
079086fe7e FS-11368: [mod_flite] Use system libflite. 2018-08-31 18:26:46 +00:00
Sergey Khripchenko
e7c5e2480a FS-11364 Fix tile flicker when layout has 'overlap' and 'zoom' options
Usually tiles recalculated when new image comes in, however when 'overlap' option is in effect - tiles recalculated multiple times.
And when layout also has 'zoom' option - when image recalculated it each round zooms itself deeper and deeper, until new images comes and image resets to proper state.
This looks like flicker.

The fix is to always take for zoom calculations real image dimensions instead of previously recalculated.

HOWEVER!
There are too many math and corner cases in mod_conference, so i propose it to be reviewed by widest audience of people who wrote mod_conference!
2018-08-30 22:58:30 +00:00
Sergey Khripchenko
25682d619c FS-11201 Fix 'rtt_valid = 0;' was incorrectly placed rendering whole RTT thing void.
+ don't shoot in a leg and keep 'rtt_now' value correct (even if we clear it few lines after), because after some time it could be changed.
2018-08-30 22:58:20 +00:00
Sergey Khripchenko
91e9633ce1 FS-11362 Rearrange poll() errors handling to properly report poll hangup. Handle and log case when client sent close request. Add errno to errors where applicable. 2018-08-30 22:58:14 +00:00
Sergey Khripchenko
523db20068 FS-11362 FS could close client verto connection due to incorrect handling of SSL function return values (when SSL layer need to communicate with client on its own, f.e. keys re-negotiation) 2018-08-30 22:58:07 +00:00
Sergey Khripchenko
2dcfc27963 FS-11360 Fix FS degradation over time in DTLS layer (especially if outdoing packets rate higher that incoming)
When we handle DTLS layer in do_dtls() and there are no incoming packets yet - we still call BIO_write() with NULL buffer and it is an error and BIO_write() will stuck for a long time in libssl/libcrypto error subsystem.
(that also possibly relates to fact that libssl/libcrypto init/deinit/error-handling is broken in general in FS, however that is another big issue)
2018-08-30 22:58:02 +00:00
Brian West
3102806390 FS-11372: [mod_commands] garbage uuid on output from bgapi #resolve 2018-08-30 14:33:52 -05:00
Andrey Volk
b0ea727851 Merge pull request #1580 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11368-use-system-flite1 to master
* commit 'ccc23b7870817d6778b4831b32e78048f964c47e':
  FS-11368: [mod_flite] Use system flite1 instead of libflite
2018-08-30 15:50:16 +00:00
Andrey Volk
ccc23b7870 FS-11368: [mod_flite] Use system flite1 instead of libflite 2018-08-30 18:06:47 +03:00
Andrey Volk
04bb21adbe Merge pull request #1577 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11361-switch-debian-packages-building to master
* commit 'f98da7d5cc8978e8dca6a77c339a85004eb3b99a':
  FS-11361: [Build-System] Switch Debian packages building script util.sh from jessie stable to stretch stable.
2018-08-30 10:57:09 +00:00
Andrey Volk
ad893d8af3 Merge pull request #1579 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11368-use-system-libflite to master
* commit 'bcd355fea3eb80a1d3b0d2806f44cd9fe17c9494':
  FS-11368: [mod_flite] Use system libflite.
2018-08-29 22:09:55 +00:00
Andrey Volk
bcd355fea3 FS-11368: [mod_flite] Use system libflite. 2018-08-30 00:41:12 +03:00
Andrey Volk
f98da7d5cc FS-11361: [Build-System] Switch Debian packages building script util.sh from jessie stable to stretch stable. 2018-08-29 00:00:04 +03:00
Christopher Rienzo
1cf4981a82 Merge pull request #1553 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11287-provide-option-for-user-managed to master
* commit '96af587bf325ce35459cbd82e2e79bda0133a810':
  FS-11287: Provide option for user managed streams in Verto
2018-08-28 14:16:50 +00:00
Christopher Rienzo
928a605a8c Merge pull request #1548 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11284-fix-legacy-broken-video-constraints to master
* commit '31641749a737e71390016483a7e6bfbff9f77cea':
  FS-11284: Fix legacy/broken video constraints for specifying a video deviceId
2018-08-28 13:06:46 +00:00
Christopher Rienzo
abca94578b Merge pull request #1544 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11280-allow-overriding-permissioncallback to master
* commit '36d9f7bc5e4a1644cdcf8c00df976d5283885ea3':
  FS-11280: Allow overriding permissionCallback per Verto dialog
2018-08-28 13:05:53 +00:00
Mike Jerris
22d022ab4a FS-11189: [mod_av] fix build on older libav 2018-08-27 22:13:30 +00:00
Seven Du
6d6f217a61 FS-11189 add H264 default private configs 2018-08-27 18:26:44 +00:00
Mike Jerris
515bbdc881 FS-11351: [swig] fix windows build with swig3 for mod_managed and fix make swigall 2018-08-24 18:57:40 +00:00
Christopher Rienzo
63bf70dd24 Merge pull request #1522 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11149-playing-video-files-assigned-a-res_id to master
* commit '1fc08365659ce87e16a9e3fced7b77ab494ff36e':
  FS-11149: Playing video files assigned a res_id not correctly updated on layout change
2018-08-24 18:45:32 +00:00
Mike Jerris
59df2a31b0 Merge pull request #1574 in FS/freeswitch from fs-11189-av-fix to master
* commit 'be782776b535c52f49f0d64145ee9dc3e12e4d19':
  FS-11189 add back default flags LOOP_FILTER and PSNR for H264
  FS-11189 set default cpu string to cpu/2/4 if not configured
  FS-11189 add helper functions and macros to dump encoder context params
  FS-11189 add default av conf to vanilla
  FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg
2018-08-24 15:27:00 +00:00
Christopher Rienzo
2fd87793b9 Merge pull request #1552 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11286-add-onremotestream-callback-to-verto to master
* commit '61cdf6361739f0ecaef8d2766aa0bd5bb45ed731':
  FS-11286: Add onRemoteStream callback to Verto dialogs
2018-08-24 13:16:54 +00:00
Christopher Rienzo
bbca34c6b2 Merge pull request #1546 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11282-remove-ios-controls-hack-not-needed to master
* commit '5038ca7613e71d84a706a6a5d8c8359d272778e4':
  FS-11282: Remove iOS 'controls' hack, not needed
2018-08-24 13:00:27 +00:00
Christopher Rienzo
288779cda2 Merge pull request #1545 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11281-verto.newcall-dialog-callback-overrides to master
* commit '5f96f669c2fe7f133164aab735b412bef794d932':
  FS-11281: Verto.newCall dialog callback overrides should be set before invite
2018-08-24 12:57:49 +00:00
Seven Du
be782776b5 FS-11189 add back default flags LOOP_FILTER and PSNR for H264 2018-08-24 11:30:34 +08:00
Seven Du
c1f8bfb442 FS-11189 set default cpu string to cpu/2/4 if not configured 2018-08-24 11:25:26 +08:00
Seven Du
f52b2d26a7 FS-11189 add helper functions and macros to dump encoder context params 2018-08-24 11:22:18 +08:00
Seven Du
dfd2dd51da FS-11189 add default av conf to vanilla 2018-08-24 10:58:54 +08:00
Seven Du
c2b2f49c1d FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg 2018-08-24 08:15:06 +08:00
Mike Jerris
50dcc7a422 Merge pull request #1573 in FS/freeswitch from fs-11164-fix-unused-func to master
* commit '82350aced53bf76dce581b1264512d61ddafc768':
  FS-11164 fix unused function regression from 578d914b9
2018-08-23 23:58:32 +00:00
Seven Du
82350aced5 FS-11164 fix unused function regression from 578d914b9 2018-08-24 07:56:40 +08:00
Brian West
723782ec7f FS-11308: fix segfault on invalid multipart sdp 2018-08-23 09:50:32 -05:00
Christopher Rienzo
8b58f6bdfb Merge pull request #1572 in FS/freeswitch from bugfix/FS-11276-regression-dedicated-video-layers to master
* commit 'ecdae10548188f23a59529497e040abeb9a2e6f8':
  FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function
2018-08-22 22:15:13 +00:00
Chad Phillips
ecdae10548 FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function
The verto.clientReady event calls the onMessage callback function passed in
the Verto object. We should check for the existence of this callback function
before trying to call it.
2018-08-22 18:12:13 -04:00