]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-11117: font_scale float values, add min/max_font_size when setting video banner
authorChad Phillips <chad@apartmentlines.com>
Tue, 17 Apr 2018 06:03:52 +0000 (23:03 -0700)
committerChad Phillips <chad@apartmentlines.com>
Wed, 25 Jul 2018 15:26:38 +0000 (10:26 -0500)
commitfecb5d364e09e7daf4fd9ffd1eb31eac6f475b8f
treea56c5304e9c261de21658ffcb7d244556319d53c
parent78aec0fe81336228f14c9870d099cea7aaaf4834
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"
  />
src/mod/applications/mod_conference/conference_video.c