Skip to content

Commit

Permalink
Merge pull request #90 from joisarjignesh/analysis-e0GGQr
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
joisarjignesh authored Feb 13, 2024
2 parents db73e55 + 3d6a822 commit fdfcbd5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
66 changes: 33 additions & 33 deletions config/bigbluebutton.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Default BigBlueButton Server Configurations
* By default load this configuration not a multiple server configuration.
*/
'BBB_SECURITY_SALT' => env('BBB_SECURITY_SALT', ''),
'BBB_SECURITY_SALT' => env('BBB_SECURITY_SALT', ''),
'BBB_SERVER_BASE_URL' => env('BBB_SERVER_BASE_URL', ''),

/*
Expand All @@ -20,51 +20,51 @@
*/
'servers' => [
'server1' => [
'BBB_SECURITY_SALT' => '',
'BBB_SECURITY_SALT' => '',
'BBB_SERVER_BASE_URL' => '',
],
'server2' => [
'BBB_SECURITY_SALT' => '',
'BBB_SECURITY_SALT' => '',
'BBB_SERVER_BASE_URL' => '',
],
],

'create' => [
'create' => [
/**
* if user does not pass attendee or moderator password then
* generate random password (length should be there).
*
* var @numeric
*/
'passwordLength' => 8,
'passwordLength' => 8,

/**
* A welcome message that gets displayed on the chat window when the participant joins
* if null then default server welcome message will be show..
* var @mixed.
**/
'welcomeMessage' => null,
'welcomeMessage' => null,

/**
* The dial access number that participants can call in using regular phone.
*
* var @string
*/
'dialNumber' => null,
'dialNumber' => null,

/**
* Set the maximum number of users allowed to joined the conference at the same time.
* Note : zero means unlimited participants
* var @numeric.
*/
'maxParticipants' => 0,
'maxParticipants' => 0,

/**
* The URL that the BigBlueButton client will go to after users click the OK button.
*
* var @string
*/
'logoutUrl' => null,
'logoutUrl' => null,

/**
* Setting ‘record=true’ instructs the BigBlueButton server to record the media and
Expand All @@ -76,7 +76,7 @@
* See also the autoStartRecording and allowStartStopRecording parameters
* var @bool
*/
'record' => false,
'record' => false,

/**
* The maximum length (in minutes) for the meeting.
Expand All @@ -86,22 +86,22 @@
*
* var @numeric
*/
'duration' => 0,
'duration' => 0,

/**
* Must be set to true to create a breakout room. default set false.
*
* var @bool
*/
'isBreakout' => false,
'isBreakout' => false,

/**
* Display a message to all moderators in the public chat.
* The value is interpreted in the same way as the welcome parameter.
*
* var @string
*/
'moderatorOnlyMessage' => null,
'moderatorOnlyMessage' => null,

/**
* Whether to automatically start recording when first user joins (default false).
Expand All @@ -113,7 +113,7 @@
*
* var @bool
*/
'autoStartRecording' => false,
'autoStartRecording' => false,

/**
* Allow the user to start/stop recording. (default true)
Expand All @@ -123,37 +123,37 @@
*
* var @bool
*/
'allowStartStopRecording' => true,
'allowStartStopRecording' => true,

/**
* Setting webcamsOnlyForModerator=true will cause all webcams
* shared by viewers during this meeting to only appear for moderators (added 1.1).
*
* var @bool
*/
'webcamsOnlyForModerator' => false,
'webcamsOnlyForModerator' => false,

/**
* Will set the banner text in the client. (added 2.0).
*
* var @string
*/
'bannerText' => null,
'bannerText' => null,

/**
* Will set the banner background color in the client. The required format is color hex #FFFFFF. (added 2.0).
*
* var @string
*/
'bannerColor' => '#FFFFFF',
'bannerColor' => '#FFFFFF',

/**
* Setting logo=http://www.example.com/my-custom-logo.png will replace
* the default logo in the Flash client. (added 2.0).
*
* var @string
*/
'logo' => null,
'logo' => null,

/**
* Will set the banner text in the client. (added 2.0).
Expand All @@ -176,78 +176,78 @@
*
* var @string
*/
'copyright' => null,
'copyright' => null,

/**
* Setting muteOnStart=true will mute all users when the meeting starts. (added 2.0).
*
* var @bool
*/
'muteOnStart' => false,
'muteOnStart' => false,

/**
* Default allowModsToUnmuteUsers=false.
* Setting to allowModsToUnmuteUsers=true will allow moderators to unmute other users in the meeting. (added 2.2).
*
* var @bool
*/
'allowModsToUnmuteUsers' => false,
'allowModsToUnmuteUsers' => false,

/**
* Default lockSettingsDisableCam=false.
* Setting lockSettingsDisableCam=true will prevent users from sharing their camera in the meeting. (added 2.2).
*
* var @bool
*/
'lockSettingsDisableCam' => false,
'lockSettingsDisableCam' => false,

/**
* Default lockSettingsDisableMic=false.
* Setting to lockSettingsDisableMic=true will only allow user to join listen only. (added 2.2).
*
* var @bool
*/
'lockSettingsDisableMic' => false,
'lockSettingsDisableMic' => false,

/**
* Default lockSettingsDisablePrivateChat=false.
* Setting to lockSettingsDisablePrivateChat=true will disable private chats in the meeting. (added 2.2).
*
* var @bool
*/
'lockSettingsDisablePrivateChat' => false,
'lockSettingsDisablePrivateChat' => false,

/**
* Default lockSettingsDisablePublicChat=false.
* Setting to lockSettingsDisablePublicChat=true will disable public chat in the meeting. (added 2.2).
*
* var @bool
*/
'lockSettingsDisablePublicChat' => false,
'lockSettingsDisablePublicChat' => false,

/**
* Default lockSettingsDisableNote=false.
* Setting to lockSettingsDisableNote=true will disable notes in the meeting. (added 2.2).
*
* var @bool
**/
'lockSettingsDisableNote' => false,
'lockSettingsDisableNote' => false,

/**
* Default lockSettingsLockedLayout=false.
* Setting to lockSettingsLockedLayout=true will lock the layout in the meeting. (added 2.2).
*
* var @bool
*/
'lockSettingsLockedLayout' => false,
'lockSettingsLockedLayout' => false,

/**
* Default lockSettingsLockOnJoin=true.
* Setting to lockSettingsLockOnJoin=false will not apply lock setting to users when they join. (added 2.2).
*
* var @bool
*/
'lockSettingsLockOnJoin' => false,
'lockSettingsLockOnJoin' => false,

/**
* Default lockSettingsLockOnJoinConfigurable=false.
Expand All @@ -266,7 +266,7 @@
*
* var @string
*/
'guestPolicy' => 'ALWAYS_ACCEPT',
'guestPolicy' => 'ALWAYS_ACCEPT',

/**
* Defaults to the value of defaultKeepEvents.
Expand Down Expand Up @@ -335,13 +335,13 @@
*/
'userCameraCap' => 3,
],
'join' => [
'join' => [
/**
* var @bool.
*/
'redirect' => true,
'redirect' => true,
],
'getRecordings' => [
'getRecordings' => [
/**
* if the recording is [processing|processed|published|unpublished|deleted].
* The parameter state can be used to filter results. It can be a set of states separate by commas.
Expand Down
2 changes: 1 addition & 1 deletion src/Bigbluebutton.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct($bbbServerBaseUrl, $securitySecret, $transport = nul
{
$this->bbbServerBaseUrl = Str::finish(trim($bbbServerBaseUrl), '/');
$this->securitySecret = trim($securitySecret);
$this->urlBuilder = new UrlBuilder($this->securitySecret, $this->bbbServerBaseUrl, config("bigbluebutton.hash_algorithm", "sha1"));
$this->urlBuilder = new UrlBuilder($this->securitySecret, $this->bbbServerBaseUrl, config('bigbluebutton.hash_algorithm', 'sha1'));
$this->transport = $transport ?? CurlTransport::createWithDefaultOptions();
}
}

0 comments on commit fdfcbd5

Please sign in to comment.