Compare commits

...

2 Commits

Author SHA1 Message Date
Jonas b5897b4096
Merge 093e286e0f into c2e61304c1 2024-11-30 19:06:16 +00:00
brtbr 093e286e0f fix: add new hide_presentation_on_join flag
As of BBB 2.6 the userdata flag for hiding the presentation has changed. This commit adds the new `bbb_hide_presentation_on_join` flag when a clean layout is selected.

In order to keep backwards compatability for BBB 2.5 and lower we can
send both flags and remove the deprecated one later on.
2024-06-02 18:16:54 +02:00
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@ class API {
$joinMeetingParams->addUserData('bbb_skip_video_preview_on_first_join', !$room->getMediaCheck()); // 2.3
if ($room->getCleanLayout()) {
$joinMeetingParams->addUserData('bbb_auto_swap_layout', true);
$joinMeetingParams->addUserData('bbb_auto_swap_layout', true); // 2.5 and below // ToDo: remove in the future
$joinMeetingParams->addUserData('bbb_hide_presentation_on_join', true); // 2.6 and up
$joinMeetingParams->addUserData('bbb_show_participants_on_login', false);
$joinMeetingParams->addUserData('bbb_show_public_chat_on_login', false);
}