Back in the day the setting to prefer H.264 was added as a technology
preview; it was not a finished feature, but a preview of a feature that
could be added in the future. However, H.264 does not work when the HPB
is used, it overrides the preference order already decided by the
browser and it does so by altering the SDP, which could lead to problems
if its format changes. Due to all that preferring H.264 is no longer
available.
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>
The limit can be set with OCC like "occ config:app:set spreed
--value=XXX grid_videos_limit". The changes will take effect once the
user reloads the page.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Whenever a user has zero quota, for example like guest app users, don't
display the upload button.
The quota value is retrieved for the attachment folder.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Expose whether the guests app (guests accounts) are enabled in initial
state.
Hide the guests checkbox if the app is disabled.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
The RightSidebar component always checks the value, so even if the
setting does not apply for guests it should be explicitly disabled in
that case.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>