Skip to content

Commit edfdd95

Browse files
Add webcamBackgroundURL (#214)
Co-authored-by: Felix Jacobi <felix@jacobi-hamburg.net>
1 parent 0df16da commit edfdd95

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/Parameters/JoinMeetingParameters.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
* @method $this setRole(Role $role)
5252
* @method bool|null isExcludeFromDashboard()
5353
* @method $this setExcludeFromDashboard(bool $excludeFromDashboard)
54+
* @method string getWebcamBackgroundURL()
55+
* @method $this setWebcamBackgroundURL(string $webcamBackgroundURL)
5456
*/
5557
class JoinMeetingParameters extends UserDataParameters
5658
{
@@ -63,6 +65,7 @@ class JoinMeetingParameters extends UserDataParameters
6365
protected ?string $errorRedirectUrl = null;
6466
protected ?bool $guest = null;
6567
protected ?bool $excludeFromDashboard = null;
68+
protected ?string $webcamBackgroundURL = null;
6669

6770
public function __construct(protected string $meetingID, protected string $fullName, protected Role $role)
6871
{

tests/unit/Parameters/JoinMeetingParametersTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,14 @@ public function testJoinMeetingParameters(): void
5252
$joinMeetingParams->setRedirect($redirect = $this->faker->boolean(50));
5353
$joinMeetingParams->setErrorRedirectUrl($newErrorRedirectUrl = $this->faker->url);
5454
$joinMeetingParams->setGuest($guest = $this->faker->boolean(50));
55+
$joinMeetingParams->setWebcamBackgroundURL($webcamBackgroundURL = $this->faker->url);
5556
$this->assertEquals($newId, $joinMeetingParams->getMeetingID());
5657
$this->assertEquals($newName, $joinMeetingParams->getFullName());
5758
$this->assertEquals($newRole, $joinMeetingParams->getRole());
5859
$this->assertEquals($avatarUrl, $joinMeetingParams->getAvatarURL());
5960
$this->assertEquals($redirect, $joinMeetingParams->isRedirect());
6061
$this->assertEquals($newErrorRedirectUrl, $joinMeetingParams->getErrorRedirectUrl());
6162
$this->assertEquals($guest, $joinMeetingParams->isGuest());
63+
$this->assertEquals($webcamBackgroundURL, $joinMeetingParams->getWebcamBackgroundURL());
6264
}
6365
}

0 commit comments

Comments
 (0)