20200 Commits

Author SHA1 Message Date
Mike Jerris 9927baa7d8 FS-11412: [core] Fix crash caused by missing or malformed ice candidates in sdp 2018-09-26 15:07:38 +00:00
Mike Jerris a747db947c FS-11340: [core] fix merge conflict 2018-09-25 15:22:54 +00:00
Seven Du 710d011c85 FS-11340 export switch_vad_state2str and update vad_test to support the latest params
FS-11340 check the status for read frame avoid crash
2018-09-24 20:22:24 +00:00
Seven Du b77f8444c6 FS-11406 #resolve allow displace session replace both read and write audio
uuid_displace cannot replace audio on both direction at the same time,
this patch add a w mux flag so when both rw used at the same time,
it will displace both directions, then both sides can hear the same audio.
2018-09-24 18:56:37 +00:00
Seven Du bdc21a0607 FS-11405 #resolve tweak macro to use do while 0
the original one will leave an extra semicolon after }
2018-09-24 18:52:07 +00:00
Anthony Minessale 75d038bd36 FS-11407: [freeswitch-core] process media bugs in the order they were added #resolve 2018-09-24 17:38:50 +00:00
Seven Du 0de57c07d8 FS-11014 FS-11404 fix libfvad might be enabled unexpectedly when set_mode is called 2018-09-24 17:38:50 +00:00
Mike Jerris 1d6f53a19e FS-11393: [core] set record_record_trimmed_ms at the end of record app if the file interface has this info available 2018-09-20 04:50:02 +00:00
Chris Rienzo d9d763d2a8 FS-11397 [mod_rayo] add xmlns to exec <response> to make adhearsion's life easier. 2018-09-19 15:36:19 -04:00
Mike Jerris e08f819b5a Merge pull request #1588 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11394-hardware-encoder-support to master
* commit 'd541943e11497d194aeeea17748e2125fe52160c':
  FS-11394: [mod_av] Fix "restrict" regression.
2018-09-19 18:37:14 +00:00
Andrey Volk d541943e11 FS-11394: [mod_av] Fix "restrict" regression. 2018-09-19 21:36:02 +03:00
Mike Jerris a34d97b6b9 Merge pull request #1587 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11394-hardware-encoder-support to master
* commit '0b2f72ff973f7d4eb96548f333825ec69b0773e0':
  FS-11394: [mod_av] Enable HW acceleration on Windows. Use FFmpeg 3.4.4 instead of libav.
2018-09-19 17:23:26 +00:00
Mike Jerris b96b109501 FS-11393: [core] set record_trimmed_ms at the end of record_session if the file interface has this info available 2018-09-19 17:13:00 +00:00
Andrey Volk 0b2f72ff97 FS-11394: [mod_av] Enable HW acceleration on Windows. Use FFmpeg 3.4.4 instead of libav. 2018-09-19 19:16:36 +03:00
Seven Du 122983e107 FS-11394 reenable avcodec nvenc support 2018-09-19 04:34:33 +00:00
Andrey Volk 6005400994 FS-11390: [mod_codec2] Use system libcodec2. 2018-09-15 14:58:05 +03:00
Andrey Volk 9f72c99cd7 FS-11362: [mod_verto] Fix regression for the broken Windows build. 2018-09-13 00:14:20 +03:00
Chris Rienzo 4edd8a9751 FS-11387 [mod_loopback] add null endpoint 2018-09-10 14:57:24 -04:00
Mike Jerris 5f6ca30bb2 swigall 2018-09-06 17:58:43 +00:00
Mike Jerris 0367b3b023 FS-11382: [core] add switch_pool_strip_whitespace function to strip whitespace using pool allocation 2018-09-06 17:49:46 +00:00
Sergey Khripchenko 2d24475f57 FS-11362 Fix die_errnof() macro failing to compile on mac 2018-09-06 11:57:51 +00:00
Seven Du cc02a4abfc FS-11189 do not allow user change of g_timebase
the timebase logic is tighed to code internal logic and cannot be changed externally
2018-09-06 07:29:32 +00:00
Seven Du 827be99f9b FS-11189 add some default config to be consistent if default xml config is missing 2018-09-06 04:31:36 +00:00
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
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
Sergey Khripchenko ad3b396f9b FS-11362 Small macro tune based on James Dictos comment 2018-08-31 18:28:09 +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 bcd355fea3 FS-11368: [mod_flite] Use system libflite. 2018-08-30 00:41:12 +03: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
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