Commit Graph

84 Commits

Author SHA1 Message Date
danielpetri1
b91e766184 Maximize webcams when all presentations removed 2023-04-05 15:37:56 +00:00
Ramón Souza
d20079e7b9 fix closed chat on join 2022-11-30 15:32:47 -03:00
Joao Victor
4c6050521b feat: pin/unpin shared notes on media area (HTML5 portion) 2022-10-24 10:11:28 -03:00
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
Ramon Souza
0b26f066e0 change captions position to not depend on presentation 2022-04-13 15:10:40 -03:00
Arthurk12
eacce4ee46 fix(layout): camera resize when pushing
Adds isResizing property to LayoutMeetings collection.
Moves the point where the last camera dock size is stored from webcam
component to custom layout component, since it is the only one with
this feature.
2022-03-22 15:29:49 -03:00
Arthurk12
1c3a5bd053 fix(layout): camera dock size
Fixes camera dock sudden increase when moving its position in custom layout.
Uses the last camera dock size stored for that dock position, if not,
make it default size.
2022-03-22 15:28:36 -03:00
Arthurk12
5100049c29 fix(layout): webcam container resize bar
Fixes missing webcam container's resize bar on custom layout when cameras
are placed at the bottom of the presentation and the chat is closed.
2022-03-09 16:49:24 -03: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
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
Anton Georgiev
797fc49633 TEMP 2021-12-09 20:37:05 +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
72bd47f457 move duplicated functions from customLayout to layoutEngine 2021-09-24 10:41:28 -03:00
Ramon Souza
4f54f32a1a rename BaseLayout -> LayoutEngine 2021-09-23 17:46:50 -03:00
Ramon Souza
7f9bf6d167 move calculatesNavbarBounds and calculatesActionbarHeight to BaseLayout 2021-09-23 17:43:02 -03:00
Ramon Souza
a7a68e7d11 calculatesCameraDockBounds refactor - customLayout 2021-09-23 16:21:06 -03:00
Ramon Souza
668d2f8a25 add baseLayout component 2021-09-23 10:34:36 -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
Ramon Souza
a86df37bfe fix camera resizing bug 2021-09-21 17:20:32 -03:00
Vitor Mateus De Almeida
f6e17ba398 change cameraDock size in vertical position 2021-09-15 09:33:31 -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
ada60253a2 fix presentation position - custom layout 2021-09-13 09:56:42 -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
d1a0020f0d fix sonarcloud alerts 2021-09-09 11:08:36 -03:00
Ramon Souza
f3bd32b5df add use-context-selector lib and changes to customLayout 2021-09-09 10:51:18 -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
e1b52321c7 fix camera position - rtl languages 2021-08-10 09:19:45 -03:00
Ramon Souza
5745d2d37d fix camera position when presentation is minimized 2021-08-10 09:05:34 -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
de11e88139 fix media and webcam position for RTL languages - custom layout 2021-08-03 14:03:06 -03:00