Commit Graph

79 Commits

Author SHA1 Message Date
Ramón Souza
b4fb203593 fix mobile init values for external video/screnshare 2022-07-27 10:56:04 -03:00
prlanzarin
b8811bafd4 fix(layout): use actual screen share size when calculating smart layout
Smart layout (et al) presumes screen sharing will always use 100%
width of the media area. That causes cameras to always be positioned on
top, which is not always the optimal position depending on the viewport
and stream aspect ratio/resolution - so space is wasted.

This commit uses the actual screen sharing video size as provided by
HTMLVideo's videoWidth/videoHeight properties. The calculation uses the
same logic as the one used for presentation/slides, which should make it
a bit familiar.

There's also a handler for HTMLVideo's `resize` event for those browsers
that support it - which enables handling of variable-sized screen
sharing streams. That handler is debounced at 500 ms to prevent
excessive CPU use.

Extra testing is needed with the widest range possible of
browsers/environments and feature combinations.
2022-07-22 13:28:43 +00:00
Ramon Souza
0d3a5326fc Merge remote-tracking branch 'upstream/v2.5.x-release' into 25260-may10 2022-05-10 10:53:00 -03:00
Ramon Souza
07f9a192b9 Merge remote-tracking branch 'upstream/v2.4.x-release' into merge-2425-apr27 2022-04-27 15:32:20 -03:00
Lucas Zawacki
83847a21aa Merge branch 'v2.5.x-release-Layouts' of github.com:lfzawacki/bigbluebutton into develop-bbb 2022-04-13 21:08:32 +00:00
Ramon Souza
0b26f066e0 change captions position to not depend on presentation 2022-04-13 15:10:40 -03:00
Ramon Souza
375cf41498 fix smart layout invisible video bug 2022-03-30 15:30:39 -03:00
Ramon Souza
7b86065e3f fix smart layout invisible video bug 2022-03-17 11:06:21 -03:00
Ramón Souza
9ec9bfc790 do not display presentation placeholder in smart layout 2022-03-07 20:21:58 +00:00
Lucas Zawacki
43afef9bad feature(layout): Remove 'swap layout' concept 2022-02-24 16:05:18 -03:00
Ramón Souza
dba04834c7 Merge remote-tracking branch 'upstream/v2.4.x-release' into 2524-feb08 2022-02-09 15:52:42 +00:00
Ramón Souza
b028e4f4aa do not use presentation size for screenshare and external video in smart layout 2022-02-07 19:29:27 +00:00
Ramón Souza
f6e65f58c5 merge 2.4 into develop and resolve conflicts - partial 2022-01-12 16:40:45 +00:00
Arthurk12
63d3d3efd2 fix(layout): sidebar inconsistent state
Fixes initial state of navigation sidebar.
Navigation sidebar opens along with the content sidebar.
2022-01-03 19:51:05 +00:00
Ramón Souza
d1c516fef6 resolve html5 conflicts 2021-12-10 21:07:35 +00:00
Anton Georgiev
797fc49633 TEMP 2021-12-09 20:37:05 +00:00
Ramón Souza
c43991e6b5 fix cameras margin RTL - smart layout 2021-11-22 11:58:35 +00:00
Max Franke
b507eeb80f feat(external-videos): rewrite fullscreen button
Following BBB v2.4 new layout manager fullscreen changes
2021-10-29 10:55:34 -03:00
Anton Georgiev
24d672a832 Merge branch 'v2.4.x-release' of github.com:bigbluebutton/bigbluebutton into merge-24-dev 2021-10-14 15:13:17 +00:00
Ramon Souza
4355601945 move isMobile and isTablet to layoutEngine 2021-09-24 14:38:44 -03:00
Ramon Souza
b22c12aef7 calculatesCameraDockBounds refactor - presentationFocus, smart and videoFocus layouts 2021-09-24 14:16:37 -03:00
Ramon Souza
5ed7c06763 remove duplicated functions from smart layout 2021-09-24 11:48:59 -03:00
Vitor Mateus De Almeida
f5bf6675de fixes user list appears even if custom parameters is false 2021-09-22 18:26:37 -03:00
Anton Georgiev
ab845b3078 Merge branch 'v2.4.x-release' of github.com:bigbluebutton/bigbluebutton into merge-24-rc-1-into-dev 2021-09-22 15:28:13 +00:00
Vitor Mateus De Almeida
f6e17ba398 change cameraDock size in vertical position 2021-09-15 09:33:31 -03:00
Vitor Mateus De Almeida
c47cf21ba2 place both buttons at the bottom of the video dock when cameras are vertically positioned 2021-09-15 09:13:17 -03:00
Ramon Souza
9300b9b382 Merge remote-tracking branch 'upstream/develop' into use-context-selector 2021-09-13 15:41:52 -03:00
Ramon Souza
098826c70a rename layout functions 2021-09-10 17:48:52 -03:00
Ramon Souza
e2ea9092f7 fix update bug 2021-09-09 14:43:06 -03:00
Ramon Souza
f10c34bc94 add use-context-selector changes to videoFocusLayout 2021-09-09 14:18:46 -03:00
Ramon Souza
998de7dfd5 add use-context-selector changes to smartLayout 2021-09-09 11:48:04 -03:00
Ramon Souza
2e8ac9af27 fix swap layout camera dock size 2021-09-02 15:29:35 -03:00
Ramon Souza
a201c873e4 fix incorrect camera position in mobile - smart layout 2021-08-30 08:54:49 -03:00
Ramon Souza
713ad36280 remove old pt-br comment 2021-08-24 17:29:20 -03:00
Ramon Souza
4c381a5805 remove unused imports/variables 2021-08-24 13:24:48 -03:00
Ramon Souza
e737b50bee width -> maxWidth 2021-08-17 11:20:26 -03:00
Ramon Souza
230cce6f3a restore captions feature in new layouts 2021-08-16 10:38:39 -03:00
Vitor Mateus De Almeida
145ca61d40 linting some files 2021-08-09 11:24:02 -03:00
Ramon Souza
c00ac3f18a Merge remote-tracking branch 'upstream/develop' into issue-12880 2021-08-05 13:24:37 -03:00
Vitor Mateus De Almeida
1b18977eac rename all NewLayout.. to Layout.. 2021-08-05 08:03:24 -03:00
Vitor Mateus De Almeida
abf089ae73 remove layout manager legacy 2021-08-05 01:22:07 -03:00
Ramon Souza
321eeb6cfa Merge remote-tracking branch 'upstream/develop' into issue-12880 2021-08-04 11:58:07 -03:00
Ramon Souza
523897c2d3 limit camera size based on toolbar size 2021-08-04 11:38:20 -03:00
Ramon Souza
c6f6f02f40 fix presentation toolbar position in small window - partial 2021-08-04 08:42:38 -03:00
Ramon Souza
cf220e0971 fix media and webcam position for RTL languages - smart layout 2021-08-03 13:33:54 -03:00
Ramon Souza
8a18c6103c fix min values - smart layout 2021-07-29 15:22:46 -03:00
Ramon Souza
41a8bc48bf Merge remote-tracking branch 'upstream/develop' into webcam-margin-new-lm 2021-07-29 09:36:07 -03:00
Ramon Souza
103922b010 fix smart layout margin 2021-07-28 17:13:45 -03:00
Ramon Souza
b99d67a421 add horizontal margin when camera is on left side 2021-07-28 15:48:22 -03:00
Ramon Souza
efe37a2ef9 code format 2021-07-27 16:34:21 -03:00