Skip to content

Commit

Permalink
Add enforce layout and new layout options (#219)
Browse files Browse the repository at this point in the history
* Add enforce layout and new layout options

* Update JoinMeetingParameters.php
  • Loading branch information
SamuelWei authored Oct 4, 2024
1 parent 9a3bc94 commit 7a7f832
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Enum/MeetingLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ enum MeetingLayout: string
case SMART_LAYOUT = 'SMART_LAYOUT';
case PRESENTATION_FOCUS = 'PRESENTATION_FOCUS';
case VIDEO_FOCUS = 'VIDEO_FOCUS';
case CAMERAS_ONLY = 'CAMERAS_ONLY';
case PARTICIPANTS_CHAT_ONLY = 'PARTICIPANTS_CHAT_ONLY';
case PRESENTATION_ONLY = 'PRESENTATION_ONLY';
}
4 changes: 4 additions & 0 deletions src/Parameters/JoinMeetingParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

namespace BigBlueButton\Parameters;

use BigBlueButton\Enum\MeetingLayout;
use BigBlueButton\Enum\Role;

/**
Expand Down Expand Up @@ -51,6 +52,8 @@
* @method $this setRole(Role $role)
* @method bool|null isExcludeFromDashboard()
* @method $this setExcludeFromDashboard(bool $excludeFromDashboard)
* @method string getEnforceLayout()
* @method $this setEnforceLayout(MeetingLayout $enforceLayout)
* @method string getWebcamBackgroundURL()
* @method $this setWebcamBackgroundURL(string $webcamBackgroundURL)
*/
Expand All @@ -65,6 +68,7 @@ class JoinMeetingParameters extends UserDataParameters
protected ?string $errorRedirectUrl = null;
protected ?bool $guest = null;
protected ?bool $excludeFromDashboard = null;
protected ?MeetingLayout $enforceLayout = null;
protected ?string $webcamBackgroundURL = null;

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

0 comments on commit 7a7f832

Please sign in to comment.