This is specially important if the height of the recording is limited,
due to the minimum fixed height of the stripe.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
When the call view is shown in recording mode the local participant is
not shown, and there is no visible button to show the grid stripe
either.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This means the "decorative" is added to the span element, causing the
HTML validation to fail:
> Attribute decorative not allowed on element span at this point.
Upstream commit
c65d8ea786
> This patch also removes the default title, encouraging better
> accessibility by removing unhelpful titles that dont indicate usage. The
> `decorative` prop has been removed and any icons that do not have a
> meaningful title will be hidden from screen readers.
Signed-off-by: Joas Schilling <coding@schilljs.com>
Now the remote videos will be blocked when not needed, that is, when
explicitly disabled by the local user or when not visible.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Since the LocalMediaControls were moved to the TopBar that component is
no longer a descendant of CallView, so the "switch-to-screen-id" event
is not propagated up to it. Therefore it is replaced by an event bus
event, which can be listened from the CallView.
Moreover, the "switch-to-screen-id" events emitted by other components
is not correctly propagated either up to the CallView. For consistency
and simplicity the event is moved to an event bus event in those cases
too.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
When "videosCap" is set it was always applied, no matter the actual
number of videos. Due to this, even if there was just a single remote
video, as the available size was calculated based on the limit rather
than on the actual number of videos a mostly empty grid was shown.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The hard limit can be enabled with OCC with "occ config:app:set spreed
--value=yes grid_videos_limit_enforced". The changes will take effect
once the user reloads the page
The grid videos limit by default is a fuzzy limit, as the number of
videos shown could be larger due to the available space and aspect ratio
to distribute the videos on. When the limit is made a hard limit the
distributed slots will be the same as before, but only as many videos as
allowed by the limit will be filled in each page.
However, note that with the hard limit the grid may look "broken", as
there is still space to be filled with videos yet they are in the next
page.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>