Commit Graph

5209 Commits

Author SHA1 Message Date
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
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 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 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 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
Brian West 3102806390 FS-11372: [mod_commands] garbage uuid on output from bgapi #resolve 2018-08-30 14:33:52 -05: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
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
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 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
Christopher Rienzo 350225a446 Merge pull request #1541 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11276-regression-dedicated-video-layers to master
* commit 'c83f7871fa8c5464c39a04b9b09938081c071155':
  FS-11276: dedicated video layers can no longer become audio floor holder
2018-08-22 21:24:44 +00:00
Anthony Minessale d3e320ef56 FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate
SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);

add switch_dial_handle_t *dh to end of args for switch_ivr_originate
2018-08-22 18:20:13 +00:00
Anthony Minessale d521e708d3 FS-11321: [mod_conference] Don't set avatar when its not allowed anyway #resolve 2018-08-13 19:01:14 +00:00
Mike Jerris 3f51f3b4e4 FS-11206: [mod_conference] add conference hold feature 2018-08-13 18:59:49 +00:00
Seven Du 8cbe796831 FS-11333: [mod_mp4v2] improvements
update mod_mp4v2 fix record video and lipsync
refactor to use a dedicated video write thread
read frame_size from encoder to support mp3 and aac codec
fix audio only mode
control bandwidth and fps
2018-08-13 17:58:14 +00:00
Mike Jerris a1c0e7eb92 Merge pull request #1564 in FS/freeswitch from fs-11310-switch-core-file-pre-close to master
* commit '720128b61ed0fba0c45ba7caa0d3d7a4bde2ffb4':
  FS-11310 #resolve add more params for conference record stop event
  FS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file and possible to get file size related params
2018-08-09 06:53:04 +00:00
Liyang 720128b61e FS-11310 #resolve add more params for conference record stop event 2018-08-04 01:17:55 +08:00
Andrey Volk 21b135cc16 FS-11297: [Build-System] Add mod_cidlookup to the Windows build. 2018-07-31 23:20:14 +03:00
Andrey Volk 5f61553da7 FS-11294: [mod_av] Fix mod_av build on Windows. 2018-07-30 22:58:05 +03:00
Mike Jerris a380f125e1 Merge pull request #1551 in FS/freeswitch from fs-10450 to master
* commit '6e76f630fd69f1dad0e5abb69a1cf7326a9c96cf':
  FS-10450 #resolve fix zero and negative file duration
2018-07-26 20:40:22 +00: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
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
Mike Jerris bec920c990 FS-11189: [mod_av] fix build on older libav 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
Mike Jerris 7f3878dfcb FS-11206: [mod_conference] add conference hold feature 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
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 bd794e6e08 FS-10949: [mod_conference] allow vblind vunblind tvblind commands when caller is not sending video 2018-07-24 07:21:55 +00:00
Anthony Minessale b81f432b84 FS-11177: [freeswitch-core] h264 vid tweaks -- increase gop #resolve 2018-07-24 07:21:54 +00:00
Anthony Minessale fe8c1be575 FS-11177: [freeswitch-core] h264 vid tweaks #resolve 2018-07-24 07:21:53 +00:00
Anthony Minessale d3d7b6878e FS-11173: [mod_conference] Don't send tmmbr for any higher than input res #resolve 2018-07-24 07:21:53 +00:00
Anthony Minessale 578d914b96 FS-11164: [freeswitch-core] Improve audio JB in bad conditions 2018-07-24 07:21:53 +00:00
Brian West 5efecb1ffa FS-11156: [mod_dptools] wait for ack in application "deflect" #resolve 2018-07-24 07:21:52 +00:00
Andrey Volk e7ff903629 FS-11150: [Build-System] Fix broken ESL in .Net project. 2018-07-24 07:21:52 +00:00
Anthony Minessale 0734899b9a FS-10892: [mod_av] Lip Sync Improvements -- increase delta #resolve 2018-07-24 07:21:51 +00:00
Andrey Volk 561d187085 FS-11125: [Build-System] Remove unused files left from previous Visual Studio version. 2018-07-24 07:21:51 +00:00