Commit Graph

72 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
prlanzarin
8f77f4cd1f fix(layout): set external-video/screen share initial states on all layouts
Only smart layout takes screen sharing/external video states in account
when populating its initial state. The others don't, and that causes
some weird issues when switching back-and-forth between layout types due
to their input states becoming inconsistent - ie having an active screen
sharing and transitioning from Smart -> Custom would mark it as false
(due to its absence from the initial state) and pollute its state for
subsequent layouts.

This commit guarantees those features are taken into account when
populating initial input states for Focus On*/Custom layouts.
2022-07-21 18:07:49 +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
Ramón Souza
38d804da37 do not display external video message when it is minimized 2022-03-08 17:10:26 +00:00
Lucas Zawacki
43afef9bad feature(layout): Remove 'swap layout' concept 2022-02-24 16:05:18 -03:00
Ramón Souza
16cd3c4ebb Merge remote-tracking branch 'upstream/v2.4.x-release' into dev-24-0125 2022-01-25 16:56:52 +00:00
Max
38d95b0ea8 fix(layout): hide/show media in videoFocus
Fix an error that the hide/show button does not work when there is external
video/screenshare and the layout is "videoFocus".
2022-01-17 19:11:43 -03:00
Ramón Souza
d4c1b985b3 fix webcam overlap in breakout room 2022-01-12 19:30:14 +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
6b67527f8d fix sidebar media position with banner 2021-12-02 12:17:40 +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
Ramón Souza
4aab0eb043 fix fullscreen cameras with hidden presentation 2021-10-04 12:13:37 +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
30623b0c4f remove duplicated functions from video focus layout 2021-09-24 13:19:41 -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
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
2e8ac9af27 fix swap layout camera dock size 2021-09-02 15:29:35 -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
Ramon Souza
5c51b67d43 fix presentation position in focus on video layout 2021-08-12 11:08:43 -03:00
Vitor Mateus De Almeida
145ca61d40 linting some files 2021-08-09 11:24:02 -03:00
Ramon Souza
89079a9ebf prevent sidebar height > maxHeight - focus on video 2021-08-05 10:53:35 -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
Vitor Mateus De Almeida
429b76ad6b fix resize in mobile - videoFocus 2021-07-30 16:07:49 -03:00
Vitor Mateus De Almeida
d24dd84af9 linting 2021-07-30 10:31:15 -03:00
Anton Georgiev
9671c32f97
Merge pull request #12846 from ramonlsouza/rtl-new-layouts
fix: RTL issues - new layouts
2021-07-29 08:26:56 -04:00
Ramon Souza
919bc50503 sets default value for sidebar minimum height 2021-07-28 10:54:06 -03:00
Ramon Souza
07a2db6265 Merge remote-tracking branch 'upstream/develop' into rtl-new-layouts 2021-07-27 16:25:15 -03:00
Ramon Souza
f642175a59 rtl video focus layout 2021-07-27 14:39:10 -03:00
Anton Georgiev
9e644e8bc7
Merge pull request #12807 from ramonlsouza/actionsbar-new-lm
refactor: actions bar size calculation - new layouts
2021-07-27 11:29:54 -04:00
Ramon Souza
0f2ae0425c fix sidebar content when presentation is hidden 2021-07-22 17:37:46 -03:00
Ramon Souza
0a2a6b13bb Merge remote-tracking branch 'upstream/develop' into actionsbar-new-lm 2021-07-22 14:44:37 -03:00
Ramon Souza
27c5c9e3e7 isolate actions bar height calculation 2021-07-22 11:42:45 -03:00
Ramon Souza
2ef6d30a01 fix actions bar size calculation - new layouts 2021-07-22 11:04:38 -03:00
Ramon Souza
43e42d98cb display sidebar content when switching device to tablet 2021-07-21 15:34:34 -03:00
Ramon Souza
945bed95d3 fix chat stuck on resize 2021-07-21 15:12:05 -03:00
Ramon Souza
384fac8392 fix empty panel when switching layouts 2021-07-14 10:53:10 -03:00