Commit Graph

33278 Commits

Author SHA1 Message Date
Seven Du 9a0a594d07 FS-11278 #resolve fix if clause does not guard compiler warning 2018-07-26 11:24:40 -05:00
Chad Phillips c83f7871fa FS-11276: dedicated video layers can no longer become audio floor holder
In mod_conference 1.6.x, all conference users could get the audio floor
regardless of the kind of video layer they were placed in.

In 1.8.x, the concept of a 'dedicated video layer' was introduced, such that
video layout slots with a reservation ID or a role ID are marked with the
'MFLAG_DED_VID_LAYER' member flag when a member is in the slot, and such
marked layers are prevented from becoming the conference audio/video floor
holder.

This makes sense for the video floor in all circumstances, and the audio floor
in most circumstances.

However, there are some circumstances where allowing users in these dedicated
video layers to become the conference audio floor holder is preferred, such as
when all slots in the layout have reservation IDs, and the audio floor events
are used to manage users in those slots manually.

This adds a conference profile flag, 'ded-vid-layer-audio-floor, which, when
enabled, allows conference members in dedicated video layers to become the
conference audio floor holder.
2018-07-25 20:43:05 -05:00
Seven Du 6e76f630fd FS-10450 #resolve fix zero and negative file duration 2018-07-25 16:58:56 -05:00
Mike Jerris d5af929660 Merge pull request #1509 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11117-allow-passing-float-values-to-font_scale to master
* commit 'fecb5d364e09e7daf4fd9ffd1eb31eac6f475b8f':
  FS-11117: font_scale float values, add min/max_font_size when setting video banner
2018-07-25 19:30:57 +00:00
Mike Jerris 4b5a514ba4 Merge pull request #1355 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-10554-add-conference-api-command-vid-res-id-force to master
* commit 'cc084c9fb461a9180eeda0f428f0dbeac59db143':
  FS-10554: Refactor conference vid-res-id command, add 'force' option
2018-07-25 19:26:37 +00:00
Chad Phillips cc084c9fb4 FS-10554: Refactor conference vid-res-id command, add 'force' option
The 'conference vid-res-id' sub command previously used the CONF_API_SUB_MEMBER_TARGET
command parsing strategy. The standard options exposed by that strategy didn't make
sense for this sub command, so it's now been switched to use the CONF_API_SUB_ARGS_SPLIT
command parsing strategy.

A third, optional 'force' argument has also been added. The default behavior of the
command is to toggle the user in and out of a reservation slot, use the force argument
to ensure the user is placed into the reservation slot provided.

The new signature of the sub command is:

  vid-res-id <member_id> <val>|clear [force]
2018-07-25 14:24:30 -05:00
Chad Phillips fecb5d364e FS-11117: font_scale float values, add min/max_font_size when setting video banner
Previously, the font_scale parameter available for the video_mute_banner/video_banner_text
conference channel variable would only accept integer values. It now can accept float
values for more fine grained control, eg:

  <action
    application="set"
    data="video_banner_text={font_scale=.75}Banner Text"
  />

Add params to set min_font_size and max_font_size for video banners.

The hard-coded defaults of 5/24 for min/max font size don't always look good
depending on the layout use case. This adds min_font_size and max_font_size
params for more fine-grained control, eg:

  <action
    application="set"
    data="video_banner_text={min_font_size=8,max_font_size=14}Banner Text"
  />
2018-07-25 10:26:38 -05:00
Chad Phillips 1fc0836565 FS-11149: Playing video files assigned a res_id not correctly updated on layout change
Regular conference members that are assigned a reservation ID in a layout
are automatically placed in that same reservation ID upon change of a layout.

However, playing files that are assigned a reservation ID are not properly
assigned to the same reservation ID upon layout change.

This patch makes the behavior consistent between the two types.
2018-07-25 10:18:01 -05:00
Chad Phillips c037fc8c55 FS-9258: Recursive calls to $.verto.rpcClient.speedTest() don't work
Assigning the speedTest callback funtion to a local variable and unsetting
the this.speedCB instance variable prior to calling the callback function
allows the rpcClient.speedTest functionality to be used more creatively
(such as calling it recursively for multiple runs) without affecting existing
functionality.
2018-07-24 21:05:09 -05:00
Mike Jerris 78aec0fe81 Merge pull request #1539 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189-windows-build-regression to master
* commit '5c4211e43d69191e9d83a19fb9f47e6b90c5d804':
  FS-11189: [Build-System] Windows build regression fix.
2018-07-24 14:47:37 +00:00
Andrey Volk 5c4211e43d FS-11189: [Build-System] Windows build regression fix. 2018-07-24 17:46:38 +03:00
Mike Jerris ea40876efd Merge pull request #1538 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189-add-video-settings to master
* commit '2323421b5ad25563be7b56adeabf65543f7de2d5':
  FS-11189: [Build-System] Fix Windows build.
2018-07-24 13:13:16 +00:00
Andrey Volk 2323421b5a FS-11189: [Build-System] Fix Windows build. 2018-07-24 16:11:54 +03:00
Mike Jerris bec920c990 FS-11189: [mod_av] fix build on older libav 2018-07-24 07:21:58 +00:00
Mariah Yang 3930250b79 FS-11260 fix set_tts_params segs when the second arg is NULL 2018-07-24 07:21:58 +00:00
Anthony Minessale bf6b61f911 FS-11264: [freeswitch-core] Remove old speech handle when asr failure happens #resolve 2018-07-24 07:21:58 +00:00
Seven Du 6d1b8e12b5 FS-11014 fix fvad_free and validate vad_mode 2018-07-24 07:21:58 +00:00
Anthony Minessale 3323809985 FS-11259: [mod_perl] mod_perl tweaks #resolve 2018-07-24 07:21:58 +00:00
Seven Du 9d0ad92d10 FS-11237 #resolve speak text with colon 2018-07-24 07:21:58 +00:00
Seven Du 12e3b7177c FS-11189 refactor to support any possible codec specific private options 2018-07-24 07:21:57 +00:00
Seven Du 18bcc4ddff FS-11189 add avcodec settings 2018-07-24 07:21:57 +00:00
Seven Du 0ad867f3dd FS-11189 make rtp-slice-size and key-frame-min-freq configurable 2018-07-24 07:21:57 +00:00
Seven Du e19687e0f2 FS-11189 refactor and add more params 2018-07-24 07:21:57 +00:00
Seven Du 1eacc9f418 FS-11189 add vpx codec specific and debug controls 2018-07-24 07:21:57 +00:00
Seven Du c58da50f44 FS-11189 tweak log 2018-07-24 07:21:57 +00:00
Seven Du 32b1559417 FS-11189 add vpx config 2018-07-24 07:21:57 +00:00
Seven Du 7fe031a9f5 FS-11189: add vpx settings
load time:
first load config default settings
merge any settings in XML

run time:
merge any dynamic settings
2018-07-24 07:21:57 +00:00
Seven Du e1e8ebc0ab FS-11189: [core] add func to parse cpu string 2018-07-24 07:21:57 +00:00
Mike Jerris 7f3878dfcb FS-11206: [mod_conference] add conference hold feature 2018-07-24 07:21:56 +00:00
Seven Du 868e92649e FS-11183 improve strip to save out buffer size 2018-07-24 07:21:56 +00:00
Seven Du 2cb4e49432 FS-11231 #resolve deprecate start_input_timers and add start-input-timers 2018-07-24 07:21:56 +00:00
Anthony Minessale 79ccf87ae7 FS-11226: [freeswitch-core,mod_conference] Missing font files can lead to crash in conference #resolve 2018-07-24 07:21:56 +00:00
Anthony Minessale bc3e1c9e7d FS-11225: [freeswitch-core] Crash in fs_cli #resolve 2018-07-24 07:21:56 +00:00
Anthony Minessale 8bacb4991d FS-11224: [freeswitch-core] Fix VC build #resolve 2018-07-24 07:21:56 +00:00
Anthony Minessale d88df785f1 FS-11211: [Verto-Communicator] Add turnServer and verto server fallback options -- FS side to only do relay as a last resort #resolve 2018-07-24 07:21:56 +00:00
Andrey Volk 671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Anthony Minessale 837df198a5 FS-11238: [mod_conference] Regression from FS-10448 can cause stuck sessions #resolve 2018-07-24 07:21:55 +00:00
Mike Jerris 84c97ea3ab FS-11223: [core] fix Crash when firefox sends only rtcp and not rtp candidates on video media 2018-07-24 07:21:55 +00:00
Mike Jerris 3e50947295 FS-11222: [core] NACK for multiple packets sends wrong packet after the first one 2018-07-24 07:21:55 +00:00
Mike Jerris bd794e6e08 FS-10949: [mod_conference] allow vblind vunblind tvblind commands when caller is not sending video 2018-07-24 07:21:55 +00:00
Muteesa Fred db2ee2692e FS-11209: [Debian] openssl linking 2018-07-24 07:21:55 +00:00
Muteesa Fred 0342762f59 FS-11209: [Debian] openssl linking 2018-07-24 07:21:55 +00:00
Muteesa Fred fe35b50926 FS-11208: [Debian] Prefer libssl1.0 in deb packages 2018-07-24 07:21:54 +00:00
Piotr Gregor e554d48ef6 FS-11202 Add sanity check
Check value of sanity while looping over
switch_cache_db_get_db_handle_dsn() in switch_user_sql_thread.
2018-07-24 07:21:54 +00:00
Piotr Gregor e66de38ba2 FS-11201 Filter out erroneous RTT values #fix
Erroneous DLSR in received RTCP report could
cause RTT to be negative (RTT = A - DLSR - LSR).
Add check for this and prevent corruption
of statistics and estimations (estimator code used
bad RTT values).
2018-07-24 07:21:54 +00:00
Brian West 70f21b8287 reswig 2018-07-24 07:21:54 +00:00
Brian West a46cb42cdd reswig 2018-07-24 07:21:54 +00:00
Anthony Minessale b81f432b84 FS-11177: [freeswitch-core] h264 vid tweaks -- increase gop #resolve 2018-07-24 07:21:54 +00:00
Joshua Young afcb1f8d51 FS-11178: [core] return switch_status_t from switch_ivr_intercept_session 2018-07-24 07:21:53 +00:00
Anthony Minessale fe8c1be575 FS-11177: [freeswitch-core] h264 vid tweaks #resolve 2018-07-24 07:21:53 +00:00