Skip to content

Commit 7a7f832

Browse files
authored
Add enforce layout and new layout options (#219)
* Add enforce layout and new layout options * Update JoinMeetingParameters.php
1 parent 9a3bc94 commit 7a7f832

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Enum/MeetingLayout.php

+3
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@ enum MeetingLayout: string
3131
case SMART_LAYOUT = 'SMART_LAYOUT';
3232
case PRESENTATION_FOCUS = 'PRESENTATION_FOCUS';
3333
case VIDEO_FOCUS = 'VIDEO_FOCUS';
34+
case CAMERAS_ONLY = 'CAMERAS_ONLY';
35+
case PARTICIPANTS_CHAT_ONLY = 'PARTICIPANTS_CHAT_ONLY';
36+
case PRESENTATION_ONLY = 'PRESENTATION_ONLY';
3437
}

src/Parameters/JoinMeetingParameters.php

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
namespace BigBlueButton\Parameters;
2424

25+
use BigBlueButton\Enum\MeetingLayout;
2526
use BigBlueButton\Enum\Role;
2627

2728
/**
@@ -51,6 +52,8 @@
5152
* @method $this setRole(Role $role)
5253
* @method bool|null isExcludeFromDashboard()
5354
* @method $this setExcludeFromDashboard(bool $excludeFromDashboard)
55+
* @method string getEnforceLayout()
56+
* @method $this setEnforceLayout(MeetingLayout $enforceLayout)
5457
* @method string getWebcamBackgroundURL()
5558
* @method $this setWebcamBackgroundURL(string $webcamBackgroundURL)
5659
*/
@@ -65,6 +68,7 @@ class JoinMeetingParameters extends UserDataParameters
6568
protected ?string $errorRedirectUrl = null;
6669
protected ?bool $guest = null;
6770
protected ?bool $excludeFromDashboard = null;
71+
protected ?MeetingLayout $enforceLayout = null;
6872
protected ?string $webcamBackgroundURL = null;
6973

7074
public function __construct(protected string $meetingID, protected string $fullName, protected Role $role)

0 commit comments

Comments
 (0)