Skip to content

Commit

Permalink
feat: option to disable virtualBackgrounds & raiseHand
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Feb 1, 2024
1 parent 0709d5a commit 2163881
Show file tree
Hide file tree
Showing 17 changed files with 554 additions and 261 deletions.
18 changes: 18 additions & 0 deletions helpers/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,24 @@ public static function get_room_features($roommetadata, $mform) {
"selected" => 1,
"type" => "select"
),
"allow_virtual_bg" => array(
"label" => get_string("allow_virtual_bg", "mod_plugnmeet"),
"options" => array(
0 => get_string("no", "mod_plugnmeet"),
1 => get_string("yes", "mod_plugnmeet")
),
"selected" => 1,
"type" => "select"
),
"allow_raise_hand" => array(
"label" => get_string("allow_raise_hand", "mod_plugnmeet"),
"options" => array(
0 => get_string("no", "mod_plugnmeet"),
1 => get_string("yes", "mod_plugnmeet")
),
"selected" => 1,
"type" => "select"
),
);

$data = [];
Expand Down
8 changes: 7 additions & 1 deletion helpers/libs/plugnmeet-sdk-php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

Plug-N-Meet PHP SDK. You can use this SDK to make API requests to the Plug-N-Meet server from your PHP application.

Download the latest version from [release page](https://github.com/mynaparrot/plugNmeet-sdk-php/releases)
Download the latest version from [release page](https://github.com/mynaparrot/plugNmeet-sdk-php/releases) or if you
prefer to use [composer](https://packagist.org/packages/mynaparrot/plugnmeet-sdk):

```bash
composer require mynaparrot/plugnmeet-sdk
```

Please check `examples` directory to see some examples.

Expand All @@ -18,6 +23,7 @@ Please check `examples` directory to see some examples.
| [fetchPastRoomsInfo](https://mynaparrot.github.io/plugNmeet-sdk-php/classes/Mynaparrot-Plugnmeet-PlugNmeet.html#method_fetchPastRoomsInfo) | Get past rooms |
| [endRoom](https://mynaparrot.github.io/plugNmeet-sdk-php/classes/Mynaparrot-Plugnmeet-PlugNmeet.html#method_endRoom) | End active room |
| [fetchRecordings](https://mynaparrot.github.io/plugNmeet-sdk-php/classes/Mynaparrot-Plugnmeet-PlugNmeet.html#method_fetchRecordings) | Fetch recordings |
| [getRecordingInfo](https://mynaparrot.github.io/plugNmeet-sdk-php/classes/Mynaparrot-Plugnmeet-PlugNmeet.html#method_getRecordingInfo) | Get details of a recording |
| [deleteRecordings](https://mynaparrot.github.io/plugNmeet-sdk-php/classes/Mynaparrot-Plugnmeet-PlugNmeet.html#method_deleteRecordings) | Delete recording |
| [getRecordingDownloadToken](https://mynaparrot.github.io/plugNmeet-sdk-php/classes/Mynaparrot-Plugnmeet-PlugNmeet.html#method_getRecordingDownloadToken) | Generate token to download recording |
| [fetchAnalytics](https://mynaparrot.github.io/plugNmeet-sdk-php/classes/Mynaparrot-Plugnmeet-PlugNmeet.html#method_fetchAnalytics) | Fetch analytics info |
Expand Down
2 changes: 1 addition & 1 deletion helpers/libs/plugnmeet-sdk-php/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "plugNmeet PHP SDK",
"type": "library",
"license": "MIT",
"version": "1.4.1",
"version": "1.4.2",
"autoload": {
"psr-4": {
"Mynaparrot\\Plugnmeet\\": "src/"
Expand Down
Loading

0 comments on commit 2163881

Please sign in to comment.