diff --git a/.gitignore b/.gitignore index 3c420e1..077bc43 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ !LICENSE !/assets/ !/plugnmeet/ +.DS_Store \ No newline at end of file diff --git a/plugnmeet/README.txt b/plugnmeet/README.txt index f906055..20fc00c 100644 --- a/plugnmeet/README.txt +++ b/plugnmeet/README.txt @@ -3,8 +3,8 @@ Contributors: mynaparrot Donate link: https://www.mynaparrot.com/ Tags: mynaparrot, web conference, plugnmeet Requires at least: 5.9 -Tested up to: 6.0.3 -Stable tag: 1.1.5 +Tested up to: 6.1 +Stable tag: 1.2.0 Requires PHP: 7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -56,6 +56,10 @@ Please follow this article: https://www.plugnmeet.org/docs/installation == Changelog == += 1.2.0 = +* auto recording + playback recording +* new permission setting + = 1.1.0 = * Bump Plug-N-Meet PHP SDK to v1.1.0 diff --git a/plugnmeet/admin/class-plugnmeet-admin.php b/plugnmeet/admin/class-plugnmeet-admin.php index e361013..e5f879a 100755 --- a/plugnmeet/admin/class-plugnmeet-admin.php +++ b/plugnmeet/admin/class-plugnmeet-admin.php @@ -253,7 +253,7 @@ public function save_room_data() { $published = isset($_POST['published']) ? sanitize_text_field($_POST['published']) : 1; $roles = isset($_POST['roles']) ? $_POST['roles'] : array(); - $room_metadata_items = ['room_features', 'chat_features', 'shared_note_pad_features', 'whiteboard_features', 'external_media_player_features', 'waiting_room_features', 'breakout_room_features', 'display_external_link_features', 'default_lock_settings', 'custom_design']; + $room_metadata_items = ['room_features', 'recording_features', 'chat_features', 'shared_note_pad_features', 'whiteboard_features', 'external_media_player_features', 'waiting_room_features', 'breakout_room_features', 'display_external_link_features', 'default_lock_settings', 'custom_design']; $room_metadata = []; foreach ($room_metadata_items as $item) { diff --git a/plugnmeet/admin/class-plugnmeet-room-page.php b/plugnmeet/admin/class-plugnmeet-room-page.php index 244b995..a364847 100644 --- a/plugnmeet/admin/class-plugnmeet-room-page.php +++ b/plugnmeet/admin/class-plugnmeet-room-page.php @@ -97,7 +97,7 @@ private function getFormData() { $fields_values['attendee_pass'] = PlugnmeetHelper::secureRandomKey(10); } - $room_metadata_items = ['room_features', 'chat_features', 'shared_note_pad_features', 'whiteboard_features', 'external_media_player_features', 'waiting_room_features', 'breakout_room_features', 'display_external_link_features', 'default_lock_settings', 'custom_design']; + $room_metadata_items = ['room_features', 'recording_features', 'chat_features', 'shared_note_pad_features', 'whiteboard_features', 'external_media_player_features', 'waiting_room_features', 'breakout_room_features', 'display_external_link_features', 'default_lock_settings', 'custom_design']; if (isset($data->room_metadata)) { $room_metadata = json_decode($data->room_metadata, true); diff --git a/plugnmeet/admin/partials/form-parts/permission.php b/plugnmeet/admin/partials/form-parts/permission.php index 67441ba..89ab3c3 100644 --- a/plugnmeet/admin/partials/form-parts/permission.php +++ b/plugnmeet/admin/partials/form-parts/permission.php @@ -22,17 +22,23 @@ 'title' => $role['name'], 'require_password' => "on", 'join_as' => 'attendee', + 'can_view_recording' => "off", + 'can_play' => "off", 'can_download' => "off", 'can_delete' => "off" ); if (isset($role['capabilities']['edit_users']) && $role['capabilities']['edit_users']) { $r['require_password'] = "off"; + $r['can_play'] = "on"; + $r['can_view_recording'] = "on"; $r['can_download'] = "on"; $r['can_delete'] = "on"; $r['join_as'] = 'moderator'; } elseif (isset($role['capabilities']['edit_posts']) && $role['capabilities']['edit_posts']) { $r['require_password'] = "off"; + $r['can_view_recording'] = "on"; + $r['can_play'] = "on"; $r['can_download'] = "on"; $r['join_as'] = 'moderator'; } @@ -43,6 +49,8 @@ 'title' => "Guest/Public", 'require_password' => "on", 'join_as' => 'attendee', + 'can_view_recording' => 'off', + 'can_play' => 'off', 'can_download' => "off", 'can_delete' => "off" ); @@ -100,6 +108,8 @@ Moderator", "plugnmeet"); ?> Attendee", "plugnmeet"); ?> Password", "plugnmeet"); ?> + Recordings", "plugnmeet"); ?> + Recordings", "plugnmeet"); ?> Recordings", "plugnmeet"); ?> Recordings", "plugnmeet"); ?> @@ -120,6 +130,14 @@ > + + > + + + > + > diff --git a/plugnmeet/admin/partials/plugnmeet-admin-edit-room.php b/plugnmeet/admin/partials/plugnmeet-admin-edit-room.php index bd6b310..dc21342 100644 --- a/plugnmeet/admin/partials/plugnmeet-admin-edit-room.php +++ b/plugnmeet/admin/partials/plugnmeet-admin-edit-room.php @@ -83,6 +83,12 @@
+ + + + + +
diff --git a/plugnmeet/helpers/ajaxHelper.php b/plugnmeet/helpers/ajaxHelper.php index 5776a8a..cdf3e95 100644 --- a/plugnmeet/helpers/ajaxHelper.php +++ b/plugnmeet/helpers/ajaxHelper.php @@ -40,7 +40,7 @@ public function get_recordings() { wp_send_json($output); } - $check = $this->canAccess($roomId, 'can_download'); + $check = $this->canAccess($roomId, 'can_view_recording'); if (!$check->status) { $output->msg = $check->msg; wp_send_json($output); @@ -73,13 +73,14 @@ public function download_recording() { $recordingId = isset($_POST['recordingId']) ? sanitize_text_field($_POST['recordingId']) : null; $roomId = isset($_POST['roomId']) ? sanitize_text_field($_POST['roomId']) : null; + $role = isset($_POST['role']) ? sanitize_text_field($_POST['role']) : 'can_download'; if (!$recordingId || !$roomId) { $output->msg = __("both roomId & record id required", 'plugnmeet'); wp_send_json($output); } - $check = $this->canAccess($roomId, 'can_download'); + $check = $this->canAccess($roomId, $role); if (!$check->status) { $output->msg = $check->msg; wp_send_json($output); diff --git a/plugnmeet/helpers/helper.php b/plugnmeet/helpers/helper.php index e9f5e42..74535ac 100644 --- a/plugnmeet/helpers/helper.php +++ b/plugnmeet/helpers/helper.php @@ -147,19 +147,6 @@ public static function getRoomFeatures($room_features) { "selected" => 1, "type" => "select" ), - "allow_recording" => array( - "label" => __("Allow recording", "plugnmeet"), - "options" => array( - array( - "label" => __("Yes", "plugnmeet"), - "value" => 1 - ), array( - "label" => __("No", "plugnmeet"), - "value" => 0 - )), - "selected" => 1, - "type" => "select" - ), "allow_rtmp" => array( "label" => __("Allow rtmp", "plugnmeet"), "options" => array( @@ -240,6 +227,70 @@ public static function getRoomFeatures($room_features) { return self::formatHtml($roomFeatures, "room_features", $data); } + public static function getRecordingFeatures($recording_features) { + $recordingFeatures = array( + "is_allow" => array( + "label" => __("Allow recording", "plugnmeet"), + "options" => array( + array( + "label" => __("Yes", "plugnmeet"), + "value" => 1 + ), array( + "label" => __("No", "plugnmeet"), + "value" => 0 + )), + "selected" => 1, + "type" => "select" + ), + "is_allow_cloud" => array( + "label" => __("Allow cloud recording", "plugnmeet"), + "options" => array( + array( + "label" => __("Yes", "plugnmeet"), + "value" => 1 + ), array( + "label" => __("No", "plugnmeet"), + "value" => 0 + )), + "selected" => 1, + "type" => "select" + ), + "enable_auto_cloud_recording" => array( + "label" => __("Enable auto cloud recording", "plugnmeet"), + "options" => array( + array( + "label" => __("Yes", "plugnmeet"), + "value" => 1 + ), array( + "label" => __("No", "plugnmeet"), + "value" => 0 + )), + "selected" => 0, + "type" => "select" + ), + "is_allow_local" => array( + "label" => __("Allow local recording", "plugnmeet"), + "options" => array( + array( + "label" => __("Yes", "plugnmeet"), + "value" => 1 + ), array( + "label" => __("No", "plugnmeet"), + "value" => 0 + )), + "selected" => 1, + "type" => "select" + ), + ); + + $data = []; + if (!empty($recording_features)) { + $data = $recording_features; + } + + return self::formatHtml($recordingFeatures, "recording_features", $data); + } + public static function getChatFeatures($chat_features) { $chatFeatures = array( "allow_chat" => array( diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/composer.json b/plugnmeet/helpers/libs/plugnmeet-sdk-php/composer.json index 4f92254..702a672 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/composer.json +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/composer.json @@ -3,7 +3,7 @@ "description": "plugNmeet PHP SDK", "type": "library", "license": "MIT", - "version": "1.1.5", + "version": "1.2.0", "autoload": { "psr-4": { "Mynaparrot\\Plugnmeet\\": "src/" diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/BreakoutRoomFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/BreakoutRoomFeaturesParameters.php index 49801b1..ae465cc 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/BreakoutRoomFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/BreakoutRoomFeaturesParameters.php @@ -75,13 +75,11 @@ public function setAllowedNumberRooms(int $allowedNumberRooms): void /** * @return array */ - public function buildBody() + public function buildBody(): array { - $body = array( + return array( "is_allow" => $this->isAllow(), - "allowed_number_rooms" => $this->allowedNumberRooms + "allowed_number_rooms" => $this->getAllowedNumberRooms() ); - - return $body; } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ChatFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ChatFeaturesParameters.php index c8596a7..5742961 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ChatFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ChatFeaturesParameters.php @@ -56,7 +56,7 @@ public function __construct() /** * @return bool */ - public function isAllowChat() + public function isAllowChat(): bool { return $this->allowChat; } @@ -64,7 +64,7 @@ public function isAllowChat() /** * @param bool $allowChat */ - public function setAllowChat($allowChat) + public function setAllowChat(bool $allowChat) { $this->allowChat = filter_var($allowChat, FILTER_VALIDATE_BOOLEAN); } @@ -72,7 +72,7 @@ public function setAllowChat($allowChat) /** * @return bool */ - public function isAllowFileUpload() + public function isAllowFileUpload(): bool { return $this->allowFileUpload; } @@ -80,7 +80,7 @@ public function isAllowFileUpload() /** * @param bool $allowFileUpload */ - public function setAllowFileUpload($allowFileUpload) + public function setAllowFileUpload(bool $allowFileUpload) { $this->allowFileUpload = filter_var($allowFileUpload, FILTER_VALIDATE_BOOLEAN); } @@ -88,7 +88,7 @@ public function setAllowFileUpload($allowFileUpload) /** * @return string[] */ - public function getAllowedFileTypes() + public function getAllowedFileTypes(): array { return $this->allowedFileTypes; } @@ -104,7 +104,7 @@ public function setAllowedFileTypes(array $allowedFileTypes) /** * @return int */ - public function getMaxFileSize() + public function getMaxFileSize(): int { return $this->maxFileSize; } @@ -112,7 +112,7 @@ public function getMaxFileSize() /** * @param int $maxFileSize */ - public function setMaxFileSize($maxFileSize) + public function setMaxFileSize(int $maxFileSize) { $this->maxFileSize = $maxFileSize; } @@ -120,19 +120,19 @@ public function setMaxFileSize($maxFileSize) /** * @return array */ - public function buildBody() + public function buildBody(): array { $body = array( - "allow_chat" => $this->allowChat, - "allow_file_upload" => $this->allowFileUpload + "allow_chat" => $this->isAllowChat(), + "allow_file_upload" => $this->isAllowFileUpload() ); if (!empty($this->allowedFileTypes)) { - $body['allowed_file_types'] = $this->allowedFileTypes; + $body['allowed_file_types'] = $this->getAllowedFileTypes(); } if ($this->maxFileSize > 0) { - $body['max_file_size'] = $this->maxFileSize; + $body['max_file_size'] = $this->getMaxFileSize(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/CreateRoomParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/CreateRoomParameters.php index a5d18b9..4fc0dec 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/CreateRoomParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/CreateRoomParameters.php @@ -56,7 +56,7 @@ public function __construct() /** * @return string */ - public function getRoomId() + public function getRoomId(): string { return $this->roomId; } @@ -64,7 +64,7 @@ public function getRoomId() /** * @param string $roomId */ - public function setRoomId($roomId) + public function setRoomId(string $roomId) { $this->roomId = $roomId; } @@ -72,7 +72,7 @@ public function setRoomId($roomId) /** * @return int */ - public function getEmptyTimeout() + public function getEmptyTimeout(): int { return $this->emptyTimeout; } @@ -80,7 +80,7 @@ public function getEmptyTimeout() /** * @param int $emptyTimeout */ - public function setEmptyTimeout($emptyTimeout) + public function setEmptyTimeout(int $emptyTimeout) { $this->emptyTimeout = $emptyTimeout; } @@ -88,7 +88,7 @@ public function setEmptyTimeout($emptyTimeout) /** * @return int */ - public function getMaxParticipants() + public function getMaxParticipants(): int { return $this->maxParticipants; } @@ -96,7 +96,7 @@ public function getMaxParticipants() /** * @param int $maxParticipants */ - public function setMaxParticipants($maxParticipants) + public function setMaxParticipants(int $maxParticipants) { $this->maxParticipants = $maxParticipants; } @@ -104,7 +104,7 @@ public function setMaxParticipants($maxParticipants) /** * @return RoomMetadataParameters */ - public function getRoomMetadata() + public function getRoomMetadata(): RoomMetadataParameters { return $this->roomMetadata; } @@ -112,7 +112,7 @@ public function getRoomMetadata() /** * @param RoomMetadataParameters $roomMetadata */ - public function setRoomMetadata($roomMetadata) + public function setRoomMetadata(RoomMetadataParameters $roomMetadata) { $this->roomMetadata = $roomMetadata; } @@ -120,22 +120,22 @@ public function setRoomMetadata($roomMetadata) /** * @return array */ - public function buildBody() + public function buildBody(): array { $body = array( - "room_id" => $this->roomId, + "room_id" => $this->getRoomId(), ); if ($this->maxParticipants > 0) { - $body['max_participants'] = $this->maxParticipants; + $body['max_participants'] = $this->getMaxParticipants(); } if ($this->emptyTimeout > 0) { - $body['empty_timeout'] = $this->emptyTimeout; + $body['empty_timeout'] = $this->getEmptyTimeout(); } if ($this->roomMetadata !== null) { - $body['metadata'] = $this->roomMetadata->buildBody(); + $body['metadata'] = $this->getRoomMetadata()->buildBody(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DeleteRecordingParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DeleteRecordingParameters.php index 137644c..0833e63 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DeleteRecordingParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DeleteRecordingParameters.php @@ -60,10 +60,10 @@ public function setRecordId(string $recordId): void /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "record_id" => $this->recordId, + "record_id" => $this->getRecordId(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DisplayExternalLinkFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DisplayExternalLinkFeaturesParameters.php index 6450a8b..a374ce7 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DisplayExternalLinkFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/DisplayExternalLinkFeaturesParameters.php @@ -54,10 +54,10 @@ public function setIsAllow(bool $isAllow): void /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "is_allow" => $this->isAllow, + "is_allow" => $this->isAllow(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/EndRoomParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/EndRoomParameters.php index 5d88298..4d1e0bd 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/EndRoomParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/EndRoomParameters.php @@ -44,7 +44,7 @@ public function __construct() /** * @return string */ - public function getRoomId() + public function getRoomId(): string { return $this->roomId; } @@ -52,7 +52,7 @@ public function getRoomId() /** * @param string $roomId */ - public function setRoomId($roomId) + public function setRoomId(string $roomId) { $this->roomId = $roomId; } @@ -60,10 +60,10 @@ public function setRoomId($roomId) /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "room_id" => $this->roomId, + "room_id" => $this->getRoomId(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ExternalMediaPlayerFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ExternalMediaPlayerFeaturesParameters.php index e5d2c11..0882208 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ExternalMediaPlayerFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/ExternalMediaPlayerFeaturesParameters.php @@ -49,16 +49,15 @@ public function isAllowedExternalMediaPlayer(): bool public function setAllowedExternalMediaPlayer(bool $allowedExternalMediaPlayer): void { $this->allowedExternalMediaPlayer = filter_var($allowedExternalMediaPlayer, FILTER_VALIDATE_BOOLEAN); - ; } /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "allowed_external_media_player" => $this->allowedExternalMediaPlayer, + "allowed_external_media_player" => $this->isAllowedExternalMediaPlayer(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/FetchRecordingsParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/FetchRecordingsParameters.php index 2643108..7320836 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/FetchRecordingsParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/FetchRecordingsParameters.php @@ -121,13 +121,13 @@ public function setOrderBy(string $orderBy): void /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "room_ids" => $this->roomIds, - "from" => $this->from, - "limit" => $this->limit, - "order_by" => $this->orderBy + "room_ids" => $this->getRoomIds(), + "from" => $this->getFrom(), + "limit" => $this->getLimit(), + "order_by" => $this->getOrderBy() ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GenerateJoinTokenParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GenerateJoinTokenParameters.php index 954dd08..ef57c7f 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GenerateJoinTokenParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GenerateJoinTokenParameters.php @@ -65,7 +65,7 @@ public function __construct() /** * @return string */ - public function getRoomId() + public function getRoomId(): string { return $this->roomId; } @@ -73,7 +73,7 @@ public function getRoomId() /** * @param string $roomId */ - public function setRoomId($roomId) + public function setRoomId(string $roomId) { $this->roomId = $roomId; } @@ -81,7 +81,7 @@ public function setRoomId($roomId) /** * @return string */ - public function getName() + public function getName(): string { return $this->name; } @@ -89,7 +89,7 @@ public function getName() /** * @param string $name */ - public function setName($name) + public function setName(string $name) { $this->name = $name; } @@ -97,7 +97,7 @@ public function setName($name) /** * @return string */ - public function getUserId() + public function getUserId(): string { return $this->userId; } @@ -105,7 +105,7 @@ public function getUserId() /** * @param string $userId */ - public function setUserId($userId) + public function setUserId(string $userId) { $this->userId = $userId; } @@ -113,7 +113,7 @@ public function setUserId($userId) /** * @return bool */ - public function isAdmin() + public function isAdmin(): bool { return $this->isAdmin; } @@ -121,15 +121,15 @@ public function isAdmin() /** * @param bool $isAdmin */ - public function setIsAdmin($isAdmin) + public function setIsAdmin(bool $isAdmin) { - $this->isAdmin = $isAdmin; + $this->isAdmin = filter_var($isAdmin, FILTER_VALIDATE_BOOLEAN); } /** * @return bool */ - public function isHidden() + public function isHidden(): bool { return $this->isHidden; } @@ -137,15 +137,15 @@ public function isHidden() /** * @param bool $isHidden */ - public function setIsHidden($isHidden) + public function setIsHidden(bool $isHidden) { - $this->isHidden = $isHidden; + $this->isHidden = filter_var($isHidden, FILTER_VALIDATE_BOOLEAN); } /** * @return UserMetadataParameters */ - public function getUserMetadata() + public function getUserMetadata(): UserMetadataParameters { return $this->userMetadata; } @@ -153,7 +153,7 @@ public function getUserMetadata() /** * @param UserMetadataParameters $userMetadata */ - public function setUserMetadata($userMetadata) + public function setUserMetadata(UserMetadataParameters $userMetadata) { $this->userMetadata = $userMetadata; } @@ -161,20 +161,20 @@ public function setUserMetadata($userMetadata) /** * @return array */ - public function buildBody() + public function buildBody(): array { $body = array( - "room_id" => $this->roomId, + "room_id" => $this->getRoomId(), "user_info" => array( - "name" => $this->name, - "user_id" => $this->userId, - "is_admin" => $this->isAdmin, - "is_hidden" => $this->isHidden + "name" => $this->getName(), + "user_id" => $this->getUserId(), + "is_admin" => $this->isAdmin(), + "is_hidden" => $this->isHidden() ) ); if ($this->userMetadata !== null) { - $body["user_info"]["user_metadata"] = $this->userMetadata->buildBody(); + $body["user_info"]["user_metadata"] = $this->getUserMetadata()->buildBody(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GetActiveRoomInfoParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GetActiveRoomInfoParameters.php index 07d7d9d..63f6101 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GetActiveRoomInfoParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/GetActiveRoomInfoParameters.php @@ -44,7 +44,7 @@ public function __construct() /** * @return string */ - public function getRoomId() + public function getRoomId(): string { return $this->roomId; } @@ -52,7 +52,7 @@ public function getRoomId() /** * @param string $roomId */ - public function setRoomId($roomId) + public function setRoomId(string $roomId) { $this->roomId = $roomId; } @@ -60,10 +60,10 @@ public function setRoomId($roomId) /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "room_id" => $this->roomId, + "room_id" => $this->getRoomId(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/IsRoomActiveParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/IsRoomActiveParameters.php index 8692c30..b86ae3c 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/IsRoomActiveParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/IsRoomActiveParameters.php @@ -44,7 +44,7 @@ public function __construct() /** * @return string */ - public function getRoomId() + public function getRoomId(): string { return $this->roomId; } @@ -52,7 +52,7 @@ public function getRoomId() /** * @param string $roomId */ - public function setRoomId($roomId) + public function setRoomId(string $roomId) { $this->roomId = $roomId; } @@ -60,10 +60,10 @@ public function setRoomId($roomId) /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "room_id" => $this->roomId, + "room_id" => $this->getRoomId(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/LockSettingsParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/LockSettingsParameters.php index ceae43b..7f06b4e 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/LockSettingsParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/LockSettingsParameters.php @@ -76,7 +76,7 @@ public function __construct() /** * @return bool */ - public function isLockMicrophone() + public function isLockMicrophone(): bool { return $this->lockMicrophone; } @@ -84,7 +84,7 @@ public function isLockMicrophone() /** * @param bool $lockMicrophone */ - public function setLockMicrophone($lockMicrophone) + public function setLockMicrophone(bool $lockMicrophone) { $this->lockMicrophone = filter_var($lockMicrophone, FILTER_VALIDATE_BOOLEAN); } @@ -92,7 +92,7 @@ public function setLockMicrophone($lockMicrophone) /** * @return bool */ - public function isLockWebcam() + public function isLockWebcam(): bool { return $this->lockWebcam; } @@ -100,7 +100,7 @@ public function isLockWebcam() /** * @param bool $lockWebcam */ - public function setLockWebcam($lockWebcam) + public function setLockWebcam(bool $lockWebcam) { $this->lockWebcam = filter_var($lockWebcam, FILTER_VALIDATE_BOOLEAN); } @@ -108,7 +108,7 @@ public function setLockWebcam($lockWebcam) /** * @return bool */ - public function isLockScreenSharing() + public function isLockScreenSharing(): bool { return $this->lockScreenSharing; } @@ -116,7 +116,7 @@ public function isLockScreenSharing() /** * @param bool $lockScreenSharing */ - public function setLockScreenSharing($lockScreenSharing) + public function setLockScreenSharing(bool $lockScreenSharing) { $this->lockScreenSharing = filter_var($lockScreenSharing, FILTER_VALIDATE_BOOLEAN); } @@ -156,7 +156,7 @@ public function setLockSharedNotepad(bool $lockSharedNotepad): void /** * @return bool */ - public function isLockChat() + public function isLockChat(): bool { return $this->lockChat; } @@ -164,7 +164,7 @@ public function isLockChat() /** * @param bool $lockChat */ - public function setLockChat($lockChat) + public function setLockChat(bool $lockChat) { $this->lockChat = filter_var($lockChat, FILTER_VALIDATE_BOOLEAN); } @@ -172,7 +172,7 @@ public function setLockChat($lockChat) /** * @return bool */ - public function isLockChatSendMessage() + public function isLockChatSendMessage(): bool { return $this->lockChatSendMessage; } @@ -180,7 +180,7 @@ public function isLockChatSendMessage() /** * @param bool $lockChatSendMessage */ - public function setLockChatSendMessage($lockChatSendMessage) + public function setLockChatSendMessage(bool $lockChatSendMessage) { $this->lockChatSendMessage = filter_var($lockChatSendMessage, FILTER_VALIDATE_BOOLEAN); } @@ -188,7 +188,7 @@ public function setLockChatSendMessage($lockChatSendMessage) /** * @return bool */ - public function isLockChatFileShare() + public function isLockChatFileShare(): bool { return $this->lockChatFileShare; } @@ -196,7 +196,7 @@ public function isLockChatFileShare() /** * @param bool $lockChatFileShare */ - public function setLockChatFileShare($lockChatFileShare) + public function setLockChatFileShare(bool $lockChatFileShare) { $this->lockChatFileShare = filter_var($lockChatFileShare, FILTER_VALIDATE_BOOLEAN); } @@ -220,37 +220,36 @@ public function setLockPrivateChat(bool $lockPrivateChat): void /** * @return array */ - public function buildBody() + public function buildBody(): array { - $body = array(); if ($this->lockMicrophone !== null) { - $body["lock_microphone"] = $this->lockMicrophone; + $body["lock_microphone"] = $this->isLockMicrophone(); } if ($this->lockWebcam !== null) { - $body["lock_webcam"] = $this->lockWebcam; + $body["lock_webcam"] = $this->isLockWebcam(); } if ($this->lockScreenSharing !== null) { - $body["lock_screen_sharing"] = $this->lockScreenSharing; + $body["lock_screen_sharing"] = $this->isLockScreenSharing(); } if ($this->lockWhiteboard !== null) { - $body["lock_whiteboard"] = $this->lockWhiteboard; + $body["lock_whiteboard"] = $this->isLockWhiteboard(); } if ($this->lockSharedNotepad !== null) { - $body["lock_shared_notepad"] = $this->lockSharedNotepad; + $body["lock_shared_notepad"] = $this->isLockSharedNotepad(); } if ($this->lockChat !== null) { - $body["lock_chat"] = $this->lockChat; + $body["lock_chat"] = $this->isLockChat(); } if ($this->lockChatSendMessage !== null) { - $body["lock_chat_send_message"] = $this->lockChatSendMessage; + $body["lock_chat_send_message"] = $this->isLockChatSendMessage(); } if ($this->lockChatFileShare !== null) { - $body["lock_chat_file_share"] = $this->lockChatFileShare; + $body["lock_chat_file_share"] = $this->isLockChatFileShare(); } if ($this->lockPrivateChat !== null) { - $body["lock_private_chat"] = $this->lockPrivateChat; + $body["lock_private_chat"] = $this->isLockPrivateChat(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RecordingDownloadTokenParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RecordingDownloadTokenParameters.php index 2cb6285..8da6ee5 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RecordingDownloadTokenParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RecordingDownloadTokenParameters.php @@ -60,10 +60,10 @@ public function setRecordId(string $recordId): void /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "record_id" => $this->recordId, + "record_id" => $this->getRecordId(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RecordingFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RecordingFeaturesParameters.php new file mode 100644 index 0000000..cd13cc0 --- /dev/null +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RecordingFeaturesParameters.php @@ -0,0 +1,110 @@ +isAllow; + } + + /** + * @param bool $isAllow + */ + public function setIsAllow(bool $isAllow): void + { + $this->isAllow = filter_var($isAllow, FILTER_VALIDATE_BOOLEAN); + } + + /** + * @return bool + */ + public function isAllowCloud(): bool + { + return $this->isAllowCloud; + } + + /** + * @param bool $isAllowCloud + */ + public function setIsAllowCloud(bool $isAllowCloud): void + { + $this->isAllowCloud = filter_var($isAllowCloud, FILTER_VALIDATE_BOOLEAN); + } + + /** + * @return bool + */ + public function isAllowLocal(): bool + { + return $this->isAllowLocal; + } + + /** + * @param bool $isAllowLocal + */ + public function setIsAllowLocal(bool $isAllowLocal): void + { + $this->isAllowLocal = filter_var($isAllowLocal, FILTER_VALIDATE_BOOLEAN); + } + + /** + * @return bool + */ + public function isEnableAutoCloudRecording(): bool + { + return $this->enableAutoCloudRecording; + } + + /** + * @param bool $enableAutoCloudRecording + */ + public function setEnableAutoCloudRecording(bool $enableAutoCloudRecording): void + { + $this->enableAutoCloudRecording = filter_var($enableAutoCloudRecording, FILTER_VALIDATE_BOOLEAN); + } + + /** + * @return array + */ + public function buildBody(): array + { + return array( + "is_allow" => $this->isAllow(), + "is_allow_cloud" => $this->isAllowCloud(), + "is_allow_local" => $this->isAllowLocal(), + "enable_auto_cloud_recording" => $this->isEnableAutoCloudRecording() + ); + } +} diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomFeaturesParameters.php index 5e0a766..be8adbe 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomFeaturesParameters.php @@ -41,10 +41,6 @@ class RoomFeaturesParameters * @var bool */ protected $allowScreenShare = true; - /** - * @var bool - */ - protected $allowRecording = true; /** * @var bool */ @@ -69,11 +65,14 @@ class RoomFeaturesParameters * @var int */ protected $roomDuration = 0; + /** + * @var RecordingFeaturesParameters + */ + protected $recordingFeatures; /** * @var ChatFeaturesParameters */ protected $chatFeatures; - /** * @var SharedNotePadFeaturesParameters */ @@ -112,7 +111,7 @@ public function __construct() /** * @return bool */ - public function isAllowWebcams() + public function isAllowWebcams(): bool { return $this->allowWebcams; } @@ -120,7 +119,7 @@ public function isAllowWebcams() /** * @param bool $allowWebcams */ - public function setAllowWebcams($allowWebcams) + public function setAllowWebcams(bool $allowWebcams) { $this->allowWebcams = filter_var($allowWebcams, FILTER_VALIDATE_BOOLEAN); } @@ -144,7 +143,7 @@ public function setMuteOnStart(bool $muteOnStart): void /** * @return bool */ - public function isAllowScreenShare() + public function isAllowScreenShare(): bool { return $this->allowScreenShare; } @@ -152,7 +151,7 @@ public function isAllowScreenShare() /** * @param bool $allowScreenShare */ - public function setAllowScreenShare($allowScreenShare) + public function setAllowScreenShare(bool $allowScreenShare) { $this->allowScreenShare = filter_var($allowScreenShare, FILTER_VALIDATE_BOOLEAN); } @@ -160,23 +159,7 @@ public function setAllowScreenShare($allowScreenShare) /** * @return bool */ - public function isAllowRecording() - { - return $this->allowRecording; - } - - /** - * @param bool $allowRecording - */ - public function setAllowRecording($allowRecording) - { - $this->allowRecording = filter_var($allowRecording, FILTER_VALIDATE_BOOLEAN); - } - - /** - * @return bool - */ - public function isAllowRTMP() + public function isAllowRTMP(): bool { return $this->allowRTMP; } @@ -184,7 +167,7 @@ public function isAllowRTMP() /** * @param bool $allowRTMP */ - public function setAllowRTMP($allowRTMP) + public function setAllowRTMP(bool $allowRTMP) { $this->allowRTMP = filter_var($allowRTMP, FILTER_VALIDATE_BOOLEAN); } @@ -192,7 +175,7 @@ public function setAllowRTMP($allowRTMP) /** * @return bool */ - public function isAdminOnlyWebcams() + public function isAdminOnlyWebcams(): bool { return $this->adminOnlyWebcams; } @@ -200,7 +183,7 @@ public function isAdminOnlyWebcams() /** * @param bool $adminOnlyWebcams */ - public function setAdminOnlyWebcams($adminOnlyWebcams) + public function setAdminOnlyWebcams(bool $adminOnlyWebcams) { $this->adminOnlyWebcams = filter_var($adminOnlyWebcams, FILTER_VALIDATE_BOOLEAN); } @@ -269,10 +252,26 @@ public function setRoomDuration(int $roomDuration): void $this->roomDuration = $roomDuration; } + /** + * @return RecordingFeaturesParameters + */ + public function getRecordingFeatures(): RecordingFeaturesParameters + { + return $this->recordingFeatures; + } + + /** + * @param RecordingFeaturesParameters $recordingFeatures + */ + public function setRecordingFeatures(RecordingFeaturesParameters $recordingFeatures): void + { + $this->recordingFeatures = $recordingFeatures; + } + /** * @return ChatFeaturesParameters */ - public function getChatFeatures() + public function getChatFeatures(): ChatFeaturesParameters { return $this->chatFeatures; } @@ -280,7 +279,7 @@ public function getChatFeatures() /** * @param ChatFeaturesParameters $chatFeatures */ - public function setChatFeatures($chatFeatures) + public function setChatFeatures(ChatFeaturesParameters $chatFeatures) { $this->chatFeatures = $chatFeatures; } @@ -386,47 +385,50 @@ public function setDisplayExternalLinkFeatures( /** * @return array */ - public function buildBody() + public function buildBody(): array { $body = array( - "allow_webcams" => $this->allowWebcams, - "mute_on_start" => $this->muteOnStart, - "allow_screen_share" => $this->allowScreenShare, - "allow_recording" => $this->allowRecording, - "allow_rtmp" => $this->allowRTMP, - "admin_only_webcams" => $this->adminOnlyWebcams, - "allow_view_other_webcams" => $this->allowViewOtherWebcams, - "allow_view_other_users_list" => $this->allowViewOtherParticipants, - "allow_polls" => $this->allowPolls, - "room_duration" => $this->roomDuration + "allow_webcams" => $this->isAllowWebcams(), + "mute_on_start" => $this->isMuteOnStart(), + "allow_screen_share" => $this->isAllowScreenShare(), + "allow_rtmp" => $this->isAllowRTMP(), + "admin_only_webcams" => $this->isAdminOnlyWebcams(), + "allow_view_other_webcams" => $this->isAllowViewOtherWebcams(), + "allow_view_other_users_list" => $this->isAllowViewOtherParticipants(), + "allow_polls" => $this->isAllowPolls(), + "room_duration" => $this->getRoomDuration() ); + if ($this->recordingFeatures !== null) { + $body['recording_features'] = $this->getRecordingFeatures()->buildBody(); + } + if ($this->chatFeatures !== null) { - $body['chat_features'] = $this->chatFeatures->buildBody(); + $body['chat_features'] = $this->getChatFeatures()->buildBody(); } if ($this->sharedNotePadFeatures !== null) { - $body['shared_note_pad_features'] = $this->sharedNotePadFeatures->buildBody(); + $body['shared_note_pad_features'] = $this->getSharedNotePadFeatures()->buildBody(); } if ($this->whiteboardFeatures !== null) { - $body['whiteboard_features'] = $this->whiteboardFeatures->buildBody(); + $body['whiteboard_features'] = $this->getWhiteboardFeatures()->buildBody(); } if ($this->externalMediaPlayerFeatures !== null) { - $body['external_media_player_features'] = $this->externalMediaPlayerFeatures->buildBody(); + $body['external_media_player_features'] = $this->getExternalMediaPlayerFeatures()->buildBody(); } if ($this->waitingRoomFeatures !== null) { - $body['waiting_room_features'] = $this->waitingRoomFeatures->buildBody(); + $body['waiting_room_features'] = $this->getWaitingRoomFeatures()->buildBody(); } if ($this->breakoutRoomFeatures !== null) { - $body['breakout_room_features'] = $this->breakoutRoomFeatures->buildBody(); + $body['breakout_room_features'] = $this->getBreakoutRoomFeatures()->buildBody(); } if ($this->displayExternalLinkFeatures !== null) { - $body['display_external_link_features'] = $this->displayExternalLinkFeatures->buildBody(); + $body['display_external_link_features'] = $this->getDisplayExternalLinkFeatures()->buildBody(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomMetadataParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomMetadataParameters.php index 277d191..975f601 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomMetadataParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/RoomMetadataParameters.php @@ -61,7 +61,7 @@ public function __construct() /** * @return string */ - public function getRoomTitle() + public function getRoomTitle(): string { return $this->roomTitle; } @@ -69,7 +69,7 @@ public function getRoomTitle() /** * @param string $roomTitle */ - public function setRoomTitle($roomTitle) + public function setRoomTitle(string $roomTitle) { $this->roomTitle = $roomTitle; } @@ -93,7 +93,7 @@ public function setWelcomeMessage(string $welcomeMessage): void /** * @return string */ - public function getWebhookUrl() + public function getWebhookUrl(): string { return $this->webhookUrl; } @@ -101,7 +101,7 @@ public function getWebhookUrl() /** * @param string $webhookUrl */ - public function setWebhookUrl($webhookUrl) + public function setWebhookUrl(string $webhookUrl) { $this->webhookUrl = $webhookUrl; } @@ -109,7 +109,7 @@ public function setWebhookUrl($webhookUrl) /** * @return RoomFeaturesParameters */ - public function getFeatures() + public function getFeatures(): RoomFeaturesParameters { return $this->features; } @@ -117,7 +117,7 @@ public function getFeatures() /** * @param RoomFeaturesParameters $features */ - public function setFeatures($features) + public function setFeatures(RoomFeaturesParameters $features) { $this->features = $features; } @@ -141,26 +141,26 @@ public function setDefaultLockSettings(LockSettingsParameters $defaultLockSettin /** * @return array */ - public function buildBody() + public function buildBody(): array { $body = array( - "room_title" => $this->roomTitle, + "room_title" => $this->getRoomTitle(), ); if (!empty($this->welcomeMessage)) { - $body["welcome_message"] = $this->welcomeMessage; + $body["welcome_message"] = $this->getWelcomeMessage(); } if (!empty($this->webhookUrl)) { - $body["webhook_url"] = $this->webhookUrl; + $body["webhook_url"] = $this->getWebhookUrl(); } if ($this->features !== null) { - $body["room_features"] = $this->features->buildBody(); + $body["room_features"] = $this->getFeatures()->buildBody(); } if ($this->defaultLockSettings !== null) { - $body["default_lock_settings"] = $this->defaultLockSettings->buildBody(); + $body["default_lock_settings"] = $this->getDefaultLockSettings()->buildBody(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/SharedNotePadFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/SharedNotePadFeaturesParameters.php index 993e48f..f205061 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/SharedNotePadFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/SharedNotePadFeaturesParameters.php @@ -55,16 +55,15 @@ public function isAllowedSharedNotePad(): bool public function setAllowedSharedNotePad(bool $allowedSharedNotePad): void { $this->allowedSharedNotePad = filter_var($allowedSharedNotePad, FILTER_VALIDATE_BOOLEAN); - ; } /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "allowed_shared_note_pad" => $this->allowedSharedNotePad, + "allowed_shared_note_pad" => $this->isAllowedSharedNotePad(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/UserMetadataParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/UserMetadataParameters.php index a1d7e19..96cc4f9 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/UserMetadataParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/UserMetadataParameters.php @@ -48,7 +48,7 @@ public function __construct() /** * @return string */ - public function getProfilePic() + public function getProfilePic(): string { return $this->profilePic; } @@ -56,7 +56,7 @@ public function getProfilePic() /** * @param string $profilePic */ - public function setProfilePic($profilePic) + public function setProfilePic(string $profilePic) { $this->profilePic = $profilePic; } @@ -64,7 +64,7 @@ public function setProfilePic($profilePic) /** * @return LockSettingsParameters */ - public function getLockSettings() + public function getLockSettings(): LockSettingsParameters { return $this->lockSettings; } @@ -72,7 +72,7 @@ public function getLockSettings() /** * @param LockSettingsParameters $lockSettings */ - public function setLockSettings($lockSettings) + public function setLockSettings(LockSettingsParameters $lockSettings) { $this->lockSettings = $lockSettings; } @@ -80,16 +80,16 @@ public function setLockSettings($lockSettings) /** * @return array */ - public function buildBody() + public function buildBody(): array { $body = array(); if (!empty($this->profilePic)) { - $body["profile_pic"] = $this->profilePic; + $body["profile_pic"] = $this->getProfilePic(); } if ($this->lockSettings !== null) { - $body["lock_settings"] = $this->lockSettings->buildBody(); + $body["lock_settings"] = $this->getLockSettings()->buildBody(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WaitingRoomFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WaitingRoomFeaturesParameters.php index 6c4b35c..d42bb5d 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WaitingRoomFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WaitingRoomFeaturesParameters.php @@ -51,7 +51,7 @@ public function isActive(): bool */ public function setIsActive(bool $isActive): void { - $this->isActive = $this->allowPolls = filter_var($isActive, FILTER_VALIDATE_BOOLEAN); + $this->isActive = filter_var($isActive, FILTER_VALIDATE_BOOLEAN); } /** @@ -75,14 +75,14 @@ public function setWaitingRoomMsg(string $waitingRoomMsg): void /** * @return array */ - public function buildBody() + public function buildBody(): array { $body = array( - "is_active" => $this->isActive, + "is_active" => $this->isActive(), ); if (!empty($this->waitingRoomMsg)) { - $body["waiting_room_msg"] = $this->waitingRoomMsg; + $body["waiting_room_msg"] = $this->getWaitingRoomMsg(); } return $body; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WhiteboardFeaturesParameters.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WhiteboardFeaturesParameters.php index 20066e3..220b9d0 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WhiteboardFeaturesParameters.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Parameters/WhiteboardFeaturesParameters.php @@ -55,16 +55,15 @@ public function isAllowedWhiteboard(): bool public function setAllowedWhiteboard(bool $allowedWhiteboard): void { $this->allowedWhiteboard = filter_var($allowedWhiteboard, FILTER_VALIDATE_BOOLEAN); - ; } /** * @return array */ - public function buildBody() + public function buildBody(): array { return array( - "allowed_whiteboard" => $this->allowedWhiteboard, + "allowed_whiteboard" => $this->isAllowedWhiteboard(), ); } } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/PlugNmeet.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/PlugNmeet.php index 6d93968..6768647 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/PlugNmeet.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/PlugNmeet.php @@ -157,7 +157,7 @@ public function getActiveRoomsInfo(): GetActiveRoomsInfoResponse * @param EndRoomParameters $endRoomParameters * @return EndRoomResponse */ - public function endRoom(EndRoomParameters $endRoomParameters) + public function endRoom(EndRoomParameters $endRoomParameters): EndRoomResponse { $body = $endRoomParameters->buildBody(); $output = $this->sendRequest("/room/endRoom", $body); @@ -207,7 +207,7 @@ public function getRecordingDownloadToken( /** * @return ClientFilesResponses */ - public function getClientFiles() + public function getClientFiles(): ClientFilesResponses { $output = $this->sendRequest("/getClientFiles", []); return new ClientFilesResponses($output); @@ -220,7 +220,7 @@ public function getClientFiles() * @param array $head * @return string */ - public function getJWTencodedData(array $payload, int $validity, $algo = "HS256", array $head = []) + public function getJWTencodedData(array $payload, int $validity, $algo = "HS256", array $head = []): string { $payload['iss'] = $this->apiKey; $payload['nbf'] = time(); @@ -232,9 +232,9 @@ public function getJWTencodedData(array $payload, int $validity, $algo = "HS256" /** * @param string $raw * @param string $algo - * @return object + * @return stdClass */ - public function decodeJWTData(string $raw, $algo = "HS256") + public function decodeJWTData(string $raw, $algo = "HS256"): stdClass { return JWT::decode($raw, new Key($this->apiSecret, $algo)); } @@ -244,7 +244,7 @@ public function decodeJWTData(string $raw, $algo = "HS256") * * @return string */ - public function getUUID() + public function getUUID(): string { $uuid = Uuid::uuid4(); return $uuid->toString(); @@ -253,9 +253,9 @@ public function getUUID() /** * @param $path * @param array $body - * @return object + * @return stdClass */ - protected function sendRequest($path, array $body) + protected function sendRequest($path, array $body): stdClass { $output = new stdClass(); $output->status = false; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Responses/BaseResponse.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Responses/BaseResponse.php index 697defb..2bbdb6e 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Responses/BaseResponse.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/src/Responses/BaseResponse.php @@ -37,7 +37,7 @@ abstract class BaseResponse /** * @param object $rawResponse */ - public function __construct($rawResponse) + public function __construct(object $rawResponse) { $this->rawResponse = $rawResponse; if ($rawResponse->status) { @@ -50,7 +50,7 @@ public function __construct($rawResponse) /** * @return object */ - public function getRawResponse() + public function getRawResponse(): object { return $this->rawResponse; } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/autoload.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/autoload.php index 88e5f35..cec40bc 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/autoload.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/autoload.php @@ -3,23 +3,10 @@ // autoload.php @generated by Composer if (PHP_VERSION_ID < 50600) { - if (!headers_sent()) { - header('HTTP/1.1 500 Internal Server Error'); - } - $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; - if (!ini_get('display_errors')) { - if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { - fwrite(STDERR, $err); - } elseif (!headers_sent()) { - echo $err; - } - } - trigger_error( - $err, - E_USER_ERROR - ); + echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; + exit(1); } require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitbc35f389582f6a60644ea35d34589680::getLoader(); +return ComposerAutoloaderInit2718347fc95c2fbae5a88af337f73f10::getLoader(); diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_classmap.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_classmap.php index 8626066..a3b903c 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_classmap.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_classmap.php @@ -6,197 +6,6 @@ $baseDir = dirname($vendorDir); return array( - 'Brick\\Math\\BigDecimal' => $vendorDir . '/brick/math/src/BigDecimal.php', - 'Brick\\Math\\BigInteger' => $vendorDir . '/brick/math/src/BigInteger.php', - 'Brick\\Math\\BigNumber' => $vendorDir . '/brick/math/src/BigNumber.php', - 'Brick\\Math\\BigRational' => $vendorDir . '/brick/math/src/BigRational.php', - 'Brick\\Math\\Exception\\DivisionByZeroException' => $vendorDir . '/brick/math/src/Exception/DivisionByZeroException.php', - 'Brick\\Math\\Exception\\IntegerOverflowException' => $vendorDir . '/brick/math/src/Exception/IntegerOverflowException.php', - 'Brick\\Math\\Exception\\MathException' => $vendorDir . '/brick/math/src/Exception/MathException.php', - 'Brick\\Math\\Exception\\NegativeNumberException' => $vendorDir . '/brick/math/src/Exception/NegativeNumberException.php', - 'Brick\\Math\\Exception\\NumberFormatException' => $vendorDir . '/brick/math/src/Exception/NumberFormatException.php', - 'Brick\\Math\\Exception\\RoundingNecessaryException' => $vendorDir . '/brick/math/src/Exception/RoundingNecessaryException.php', - 'Brick\\Math\\Internal\\Calculator' => $vendorDir . '/brick/math/src/Internal/Calculator.php', - 'Brick\\Math\\Internal\\Calculator\\BcMathCalculator' => $vendorDir . '/brick/math/src/Internal/Calculator/BcMathCalculator.php', - 'Brick\\Math\\Internal\\Calculator\\GmpCalculator' => $vendorDir . '/brick/math/src/Internal/Calculator/GmpCalculator.php', - 'Brick\\Math\\Internal\\Calculator\\NativeCalculator' => $vendorDir . '/brick/math/src/Internal/Calculator/NativeCalculator.php', - 'Brick\\Math\\RoundingMode' => $vendorDir . '/brick/math/src/RoundingMode.php', 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', - 'Firebase\\JWT\\BeforeValidException' => $vendorDir . '/firebase/php-jwt/src/BeforeValidException.php', - 'Firebase\\JWT\\CachedKeySet' => $vendorDir . '/firebase/php-jwt/src/CachedKeySet.php', - 'Firebase\\JWT\\ExpiredException' => $vendorDir . '/firebase/php-jwt/src/ExpiredException.php', - 'Firebase\\JWT\\JWK' => $vendorDir . '/firebase/php-jwt/src/JWK.php', - 'Firebase\\JWT\\JWT' => $vendorDir . '/firebase/php-jwt/src/JWT.php', - 'Firebase\\JWT\\Key' => $vendorDir . '/firebase/php-jwt/src/Key.php', - 'Firebase\\JWT\\SignatureInvalidException' => $vendorDir . '/firebase/php-jwt/src/SignatureInvalidException.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\BreakoutRoomFeaturesParameters' => $baseDir . '/src/Parameters/BreakoutRoomFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\ChatFeaturesParameters' => $baseDir . '/src/Parameters/ChatFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\CreateRoomParameters' => $baseDir . '/src/Parameters/CreateRoomParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\DeleteRecordingParameters' => $baseDir . '/src/Parameters/DeleteRecordingParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\DisplayExternalLinkFeaturesParameters' => $baseDir . '/src/Parameters/DisplayExternalLinkFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\EndRoomParameters' => $baseDir . '/src/Parameters/EndRoomParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\ExternalMediaPlayerFeaturesParameters' => $baseDir . '/src/Parameters/ExternalMediaPlayerFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\FetchRecordingsParameters' => $baseDir . '/src/Parameters/FetchRecordingsParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\GenerateJoinTokenParameters' => $baseDir . '/src/Parameters/GenerateJoinTokenParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\GetActiveRoomInfoParameters' => $baseDir . '/src/Parameters/GetActiveRoomInfoParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\IsRoomActiveParameters' => $baseDir . '/src/Parameters/IsRoomActiveParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\LockSettingsParameters' => $baseDir . '/src/Parameters/LockSettingsParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\RecordingDownloadTokenParameters' => $baseDir . '/src/Parameters/RecordingDownloadTokenParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\RoomFeaturesParameters' => $baseDir . '/src/Parameters/RoomFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\RoomMetadataParameters' => $baseDir . '/src/Parameters/RoomMetadataParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\SharedNotePadFeaturesParameters' => $baseDir . '/src/Parameters/SharedNotePadFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\UserMetadataParameters' => $baseDir . '/src/Parameters/UserMetadataParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\WaitingRoomFeaturesParameters' => $baseDir . '/src/Parameters/WaitingRoomFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\WhiteboardFeaturesParameters' => $baseDir . '/src/Parameters/WhiteboardFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\PlugNmeet' => $baseDir . '/src/PlugNmeet.php', - 'Mynaparrot\\Plugnmeet\\Responses\\BaseResponse' => $baseDir . '/src/Responses/BaseResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\ClientFilesResponses' => $baseDir . '/src/Responses/ClientFilesResponses.php', - 'Mynaparrot\\Plugnmeet\\Responses\\CreateRoomResponse' => $baseDir . '/src/Responses/CreateRoomResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\DeleteRecordingResponse' => $baseDir . '/src/Responses/DeleteRecordingResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\EndRoomResponse' => $baseDir . '/src/Responses/EndRoomResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\FetchRecordingsResponse' => $baseDir . '/src/Responses/FetchRecordingsResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\GenerateJoinTokenResponse' => $baseDir . '/src/Responses/GenerateJoinTokenResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\GetActiveRoomInfoResponse' => $baseDir . '/src/Responses/GetActiveRoomInfoResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\GetActiveRoomsInfoResponse' => $baseDir . '/src/Responses/GetActiveRoomsInfoResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\IsRoomActiveResponse' => $baseDir . '/src/Responses/IsRoomActiveResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\RecordingDownloadTokenResponse' => $baseDir . '/src/Responses/RecordingDownloadTokenResponse.php', - 'Mynaparrot\\Plugnmeet\\Utils\\ActiveRoomInfo' => $baseDir . '/src/Utils/ActiveRoomInfo.php', - 'Mynaparrot\\Plugnmeet\\Utils\\ParticipantInfo' => $baseDir . '/src/Utils/ParticipantInfo.php', - 'Mynaparrot\\Plugnmeet\\Utils\\RecordingInfo' => $baseDir . '/src/Utils/RecordingInfo.php', - 'Ramsey\\Collection\\AbstractArray' => $vendorDir . '/ramsey/collection/src/AbstractArray.php', - 'Ramsey\\Collection\\AbstractCollection' => $vendorDir . '/ramsey/collection/src/AbstractCollection.php', - 'Ramsey\\Collection\\AbstractSet' => $vendorDir . '/ramsey/collection/src/AbstractSet.php', - 'Ramsey\\Collection\\ArrayInterface' => $vendorDir . '/ramsey/collection/src/ArrayInterface.php', - 'Ramsey\\Collection\\Collection' => $vendorDir . '/ramsey/collection/src/Collection.php', - 'Ramsey\\Collection\\CollectionInterface' => $vendorDir . '/ramsey/collection/src/CollectionInterface.php', - 'Ramsey\\Collection\\DoubleEndedQueue' => $vendorDir . '/ramsey/collection/src/DoubleEndedQueue.php', - 'Ramsey\\Collection\\DoubleEndedQueueInterface' => $vendorDir . '/ramsey/collection/src/DoubleEndedQueueInterface.php', - 'Ramsey\\Collection\\Exception\\CollectionMismatchException' => $vendorDir . '/ramsey/collection/src/Exception/CollectionMismatchException.php', - 'Ramsey\\Collection\\Exception\\InvalidArgumentException' => $vendorDir . '/ramsey/collection/src/Exception/InvalidArgumentException.php', - 'Ramsey\\Collection\\Exception\\InvalidSortOrderException' => $vendorDir . '/ramsey/collection/src/Exception/InvalidSortOrderException.php', - 'Ramsey\\Collection\\Exception\\NoSuchElementException' => $vendorDir . '/ramsey/collection/src/Exception/NoSuchElementException.php', - 'Ramsey\\Collection\\Exception\\OutOfBoundsException' => $vendorDir . '/ramsey/collection/src/Exception/OutOfBoundsException.php', - 'Ramsey\\Collection\\Exception\\UnsupportedOperationException' => $vendorDir . '/ramsey/collection/src/Exception/UnsupportedOperationException.php', - 'Ramsey\\Collection\\Exception\\ValueExtractionException' => $vendorDir . '/ramsey/collection/src/Exception/ValueExtractionException.php', - 'Ramsey\\Collection\\GenericArray' => $vendorDir . '/ramsey/collection/src/GenericArray.php', - 'Ramsey\\Collection\\Map\\AbstractMap' => $vendorDir . '/ramsey/collection/src/Map/AbstractMap.php', - 'Ramsey\\Collection\\Map\\AbstractTypedMap' => $vendorDir . '/ramsey/collection/src/Map/AbstractTypedMap.php', - 'Ramsey\\Collection\\Map\\AssociativeArrayMap' => $vendorDir . '/ramsey/collection/src/Map/AssociativeArrayMap.php', - 'Ramsey\\Collection\\Map\\MapInterface' => $vendorDir . '/ramsey/collection/src/Map/MapInterface.php', - 'Ramsey\\Collection\\Map\\NamedParameterMap' => $vendorDir . '/ramsey/collection/src/Map/NamedParameterMap.php', - 'Ramsey\\Collection\\Map\\TypedMap' => $vendorDir . '/ramsey/collection/src/Map/TypedMap.php', - 'Ramsey\\Collection\\Map\\TypedMapInterface' => $vendorDir . '/ramsey/collection/src/Map/TypedMapInterface.php', - 'Ramsey\\Collection\\Queue' => $vendorDir . '/ramsey/collection/src/Queue.php', - 'Ramsey\\Collection\\QueueInterface' => $vendorDir . '/ramsey/collection/src/QueueInterface.php', - 'Ramsey\\Collection\\Set' => $vendorDir . '/ramsey/collection/src/Set.php', - 'Ramsey\\Collection\\Tool\\TypeTrait' => $vendorDir . '/ramsey/collection/src/Tool/TypeTrait.php', - 'Ramsey\\Collection\\Tool\\ValueExtractorTrait' => $vendorDir . '/ramsey/collection/src/Tool/ValueExtractorTrait.php', - 'Ramsey\\Collection\\Tool\\ValueToStringTrait' => $vendorDir . '/ramsey/collection/src/Tool/ValueToStringTrait.php', - 'Ramsey\\Uuid\\BinaryUtils' => $vendorDir . '/ramsey/uuid/src/BinaryUtils.php', - 'Ramsey\\Uuid\\Builder\\BuilderCollection' => $vendorDir . '/ramsey/uuid/src/Builder/BuilderCollection.php', - 'Ramsey\\Uuid\\Builder\\DefaultUuidBuilder' => $vendorDir . '/ramsey/uuid/src/Builder/DefaultUuidBuilder.php', - 'Ramsey\\Uuid\\Builder\\DegradedUuidBuilder' => $vendorDir . '/ramsey/uuid/src/Builder/DegradedUuidBuilder.php', - 'Ramsey\\Uuid\\Builder\\FallbackBuilder' => $vendorDir . '/ramsey/uuid/src/Builder/FallbackBuilder.php', - 'Ramsey\\Uuid\\Builder\\UuidBuilderInterface' => $vendorDir . '/ramsey/uuid/src/Builder/UuidBuilderInterface.php', - 'Ramsey\\Uuid\\Codec\\CodecInterface' => $vendorDir . '/ramsey/uuid/src/Codec/CodecInterface.php', - 'Ramsey\\Uuid\\Codec\\GuidStringCodec' => $vendorDir . '/ramsey/uuid/src/Codec/GuidStringCodec.php', - 'Ramsey\\Uuid\\Codec\\OrderedTimeCodec' => $vendorDir . '/ramsey/uuid/src/Codec/OrderedTimeCodec.php', - 'Ramsey\\Uuid\\Codec\\StringCodec' => $vendorDir . '/ramsey/uuid/src/Codec/StringCodec.php', - 'Ramsey\\Uuid\\Codec\\TimestampFirstCombCodec' => $vendorDir . '/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php', - 'Ramsey\\Uuid\\Codec\\TimestampLastCombCodec' => $vendorDir . '/ramsey/uuid/src/Codec/TimestampLastCombCodec.php', - 'Ramsey\\Uuid\\Converter\\NumberConverterInterface' => $vendorDir . '/ramsey/uuid/src/Converter/NumberConverterInterface.php', - 'Ramsey\\Uuid\\Converter\\Number\\BigNumberConverter' => $vendorDir . '/ramsey/uuid/src/Converter/Number/BigNumberConverter.php', - 'Ramsey\\Uuid\\Converter\\Number\\DegradedNumberConverter' => $vendorDir . '/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php', - 'Ramsey\\Uuid\\Converter\\Number\\GenericNumberConverter' => $vendorDir . '/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php', - 'Ramsey\\Uuid\\Converter\\TimeConverterInterface' => $vendorDir . '/ramsey/uuid/src/Converter/TimeConverterInterface.php', - 'Ramsey\\Uuid\\Converter\\Time\\BigNumberTimeConverter' => $vendorDir . '/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php', - 'Ramsey\\Uuid\\Converter\\Time\\DegradedTimeConverter' => $vendorDir . '/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php', - 'Ramsey\\Uuid\\Converter\\Time\\GenericTimeConverter' => $vendorDir . '/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php', - 'Ramsey\\Uuid\\Converter\\Time\\PhpTimeConverter' => $vendorDir . '/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php', - 'Ramsey\\Uuid\\DegradedUuid' => $vendorDir . '/ramsey/uuid/src/DegradedUuid.php', - 'Ramsey\\Uuid\\DeprecatedUuidInterface' => $vendorDir . '/ramsey/uuid/src/DeprecatedUuidInterface.php', - 'Ramsey\\Uuid\\DeprecatedUuidMethodsTrait' => $vendorDir . '/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php', - 'Ramsey\\Uuid\\Exception\\BuilderNotFoundException' => $vendorDir . '/ramsey/uuid/src/Exception/BuilderNotFoundException.php', - 'Ramsey\\Uuid\\Exception\\DateTimeException' => $vendorDir . '/ramsey/uuid/src/Exception/DateTimeException.php', - 'Ramsey\\Uuid\\Exception\\DceSecurityException' => $vendorDir . '/ramsey/uuid/src/Exception/DceSecurityException.php', - 'Ramsey\\Uuid\\Exception\\InvalidArgumentException' => $vendorDir . '/ramsey/uuid/src/Exception/InvalidArgumentException.php', - 'Ramsey\\Uuid\\Exception\\InvalidBytesException' => $vendorDir . '/ramsey/uuid/src/Exception/InvalidBytesException.php', - 'Ramsey\\Uuid\\Exception\\InvalidUuidStringException' => $vendorDir . '/ramsey/uuid/src/Exception/InvalidUuidStringException.php', - 'Ramsey\\Uuid\\Exception\\NameException' => $vendorDir . '/ramsey/uuid/src/Exception/NameException.php', - 'Ramsey\\Uuid\\Exception\\NodeException' => $vendorDir . '/ramsey/uuid/src/Exception/NodeException.php', - 'Ramsey\\Uuid\\Exception\\RandomSourceException' => $vendorDir . '/ramsey/uuid/src/Exception/RandomSourceException.php', - 'Ramsey\\Uuid\\Exception\\TimeSourceException' => $vendorDir . '/ramsey/uuid/src/Exception/TimeSourceException.php', - 'Ramsey\\Uuid\\Exception\\UnableToBuildUuidException' => $vendorDir . '/ramsey/uuid/src/Exception/UnableToBuildUuidException.php', - 'Ramsey\\Uuid\\Exception\\UnsupportedOperationException' => $vendorDir . '/ramsey/uuid/src/Exception/UnsupportedOperationException.php', - 'Ramsey\\Uuid\\Exception\\UuidExceptionInterface' => $vendorDir . '/ramsey/uuid/src/Exception/UuidExceptionInterface.php', - 'Ramsey\\Uuid\\FeatureSet' => $vendorDir . '/ramsey/uuid/src/FeatureSet.php', - 'Ramsey\\Uuid\\Fields\\FieldsInterface' => $vendorDir . '/ramsey/uuid/src/Fields/FieldsInterface.php', - 'Ramsey\\Uuid\\Fields\\SerializableFieldsTrait' => $vendorDir . '/ramsey/uuid/src/Fields/SerializableFieldsTrait.php', - 'Ramsey\\Uuid\\Generator\\CombGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/CombGenerator.php', - 'Ramsey\\Uuid\\Generator\\DceSecurityGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/DceSecurityGenerator.php', - 'Ramsey\\Uuid\\Generator\\DceSecurityGeneratorInterface' => $vendorDir . '/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php', - 'Ramsey\\Uuid\\Generator\\DefaultNameGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/DefaultNameGenerator.php', - 'Ramsey\\Uuid\\Generator\\DefaultTimeGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/DefaultTimeGenerator.php', - 'Ramsey\\Uuid\\Generator\\NameGeneratorFactory' => $vendorDir . '/ramsey/uuid/src/Generator/NameGeneratorFactory.php', - 'Ramsey\\Uuid\\Generator\\NameGeneratorInterface' => $vendorDir . '/ramsey/uuid/src/Generator/NameGeneratorInterface.php', - 'Ramsey\\Uuid\\Generator\\PeclUuidNameGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php', - 'Ramsey\\Uuid\\Generator\\PeclUuidRandomGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php', - 'Ramsey\\Uuid\\Generator\\PeclUuidTimeGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php', - 'Ramsey\\Uuid\\Generator\\RandomBytesGenerator' => $vendorDir . '/ramsey/uuid/src/Generator/RandomBytesGenerator.php', - 'Ramsey\\Uuid\\Generator\\RandomGeneratorFactory' => $vendorDir . '/ramsey/uuid/src/Generator/RandomGeneratorFactory.php', - 'Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' => $vendorDir . '/ramsey/uuid/src/Generator/RandomGeneratorInterface.php', - 'Ramsey\\Uuid\\Generator\\RandomLibAdapter' => $vendorDir . '/ramsey/uuid/src/Generator/RandomLibAdapter.php', - 'Ramsey\\Uuid\\Generator\\TimeGeneratorFactory' => $vendorDir . '/ramsey/uuid/src/Generator/TimeGeneratorFactory.php', - 'Ramsey\\Uuid\\Generator\\TimeGeneratorInterface' => $vendorDir . '/ramsey/uuid/src/Generator/TimeGeneratorInterface.php', - 'Ramsey\\Uuid\\Guid\\Fields' => $vendorDir . '/ramsey/uuid/src/Guid/Fields.php', - 'Ramsey\\Uuid\\Guid\\Guid' => $vendorDir . '/ramsey/uuid/src/Guid/Guid.php', - 'Ramsey\\Uuid\\Guid\\GuidBuilder' => $vendorDir . '/ramsey/uuid/src/Guid/GuidBuilder.php', - 'Ramsey\\Uuid\\Lazy\\LazyUuidFromString' => $vendorDir . '/ramsey/uuid/src/Lazy/LazyUuidFromString.php', - 'Ramsey\\Uuid\\Math\\BrickMathCalculator' => $vendorDir . '/ramsey/uuid/src/Math/BrickMathCalculator.php', - 'Ramsey\\Uuid\\Math\\CalculatorInterface' => $vendorDir . '/ramsey/uuid/src/Math/CalculatorInterface.php', - 'Ramsey\\Uuid\\Math\\RoundingMode' => $vendorDir . '/ramsey/uuid/src/Math/RoundingMode.php', - 'Ramsey\\Uuid\\Nonstandard\\Fields' => $vendorDir . '/ramsey/uuid/src/Nonstandard/Fields.php', - 'Ramsey\\Uuid\\Nonstandard\\Uuid' => $vendorDir . '/ramsey/uuid/src/Nonstandard/Uuid.php', - 'Ramsey\\Uuid\\Nonstandard\\UuidBuilder' => $vendorDir . '/ramsey/uuid/src/Nonstandard/UuidBuilder.php', - 'Ramsey\\Uuid\\Nonstandard\\UuidV6' => $vendorDir . '/ramsey/uuid/src/Nonstandard/UuidV6.php', - 'Ramsey\\Uuid\\Provider\\DceSecurityProviderInterface' => $vendorDir . '/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php', - 'Ramsey\\Uuid\\Provider\\Dce\\SystemDceSecurityProvider' => $vendorDir . '/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php', - 'Ramsey\\Uuid\\Provider\\NodeProviderInterface' => $vendorDir . '/ramsey/uuid/src/Provider/NodeProviderInterface.php', - 'Ramsey\\Uuid\\Provider\\Node\\FallbackNodeProvider' => $vendorDir . '/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\Node\\NodeProviderCollection' => $vendorDir . '/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php', - 'Ramsey\\Uuid\\Provider\\Node\\RandomNodeProvider' => $vendorDir . '/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\Node\\StaticNodeProvider' => $vendorDir . '/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\Node\\SystemNodeProvider' => $vendorDir . '/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\TimeProviderInterface' => $vendorDir . '/ramsey/uuid/src/Provider/TimeProviderInterface.php', - 'Ramsey\\Uuid\\Provider\\Time\\FixedTimeProvider' => $vendorDir . '/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php', - 'Ramsey\\Uuid\\Provider\\Time\\SystemTimeProvider' => $vendorDir . '/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php', - 'Ramsey\\Uuid\\Rfc4122\\Fields' => $vendorDir . '/ramsey/uuid/src/Rfc4122/Fields.php', - 'Ramsey\\Uuid\\Rfc4122\\FieldsInterface' => $vendorDir . '/ramsey/uuid/src/Rfc4122/FieldsInterface.php', - 'Ramsey\\Uuid\\Rfc4122\\NilTrait' => $vendorDir . '/ramsey/uuid/src/Rfc4122/NilTrait.php', - 'Ramsey\\Uuid\\Rfc4122\\NilUuid' => $vendorDir . '/ramsey/uuid/src/Rfc4122/NilUuid.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidBuilder' => $vendorDir . '/ramsey/uuid/src/Rfc4122/UuidBuilder.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidInterface' => $vendorDir . '/ramsey/uuid/src/Rfc4122/UuidInterface.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV1' => $vendorDir . '/ramsey/uuid/src/Rfc4122/UuidV1.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV2' => $vendorDir . '/ramsey/uuid/src/Rfc4122/UuidV2.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV3' => $vendorDir . '/ramsey/uuid/src/Rfc4122/UuidV3.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV4' => $vendorDir . '/ramsey/uuid/src/Rfc4122/UuidV4.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV5' => $vendorDir . '/ramsey/uuid/src/Rfc4122/UuidV5.php', - 'Ramsey\\Uuid\\Rfc4122\\Validator' => $vendorDir . '/ramsey/uuid/src/Rfc4122/Validator.php', - 'Ramsey\\Uuid\\Rfc4122\\VariantTrait' => $vendorDir . '/ramsey/uuid/src/Rfc4122/VariantTrait.php', - 'Ramsey\\Uuid\\Rfc4122\\VersionTrait' => $vendorDir . '/ramsey/uuid/src/Rfc4122/VersionTrait.php', - 'Ramsey\\Uuid\\Type\\Decimal' => $vendorDir . '/ramsey/uuid/src/Type/Decimal.php', - 'Ramsey\\Uuid\\Type\\Hexadecimal' => $vendorDir . '/ramsey/uuid/src/Type/Hexadecimal.php', - 'Ramsey\\Uuid\\Type\\Integer' => $vendorDir . '/ramsey/uuid/src/Type/Integer.php', - 'Ramsey\\Uuid\\Type\\NumberInterface' => $vendorDir . '/ramsey/uuid/src/Type/NumberInterface.php', - 'Ramsey\\Uuid\\Type\\Time' => $vendorDir . '/ramsey/uuid/src/Type/Time.php', - 'Ramsey\\Uuid\\Type\\TypeInterface' => $vendorDir . '/ramsey/uuid/src/Type/TypeInterface.php', - 'Ramsey\\Uuid\\Uuid' => $vendorDir . '/ramsey/uuid/src/Uuid.php', - 'Ramsey\\Uuid\\UuidFactory' => $vendorDir . '/ramsey/uuid/src/UuidFactory.php', - 'Ramsey\\Uuid\\UuidFactoryInterface' => $vendorDir . '/ramsey/uuid/src/UuidFactoryInterface.php', - 'Ramsey\\Uuid\\UuidInterface' => $vendorDir . '/ramsey/uuid/src/UuidInterface.php', - 'Ramsey\\Uuid\\Validator\\GenericValidator' => $vendorDir . '/ramsey/uuid/src/Validator/GenericValidator.php', - 'Ramsey\\Uuid\\Validator\\ValidatorInterface' => $vendorDir . '/ramsey/uuid/src/Validator/ValidatorInterface.php', 'ReturnTypeWillChange' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', - 'Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php', - 'Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', ); diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_real.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_real.php index f597c05..5a7a8ad 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_real.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitbc35f389582f6a60644ea35d34589680 +class ComposerAutoloaderInit2718347fc95c2fbae5a88af337f73f10 { private static $loader; @@ -22,18 +22,20 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitbc35f389582f6a60644ea35d34589680', 'loadClassLoader'), true, true); + require __DIR__ . '/platform_check.php'; + + spl_autoload_register(array('ComposerAutoloaderInit2718347fc95c2fbae5a88af337f73f10', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInitbc35f389582f6a60644ea35d34589680', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit2718347fc95c2fbae5a88af337f73f10', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitbc35f389582f6a60644ea35d34589680::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit2718347fc95c2fbae5a88af337f73f10::getInitializer($loader)); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInitbc35f389582f6a60644ea35d34589680::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInit2718347fc95c2fbae5a88af337f73f10::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequirebc35f389582f6a60644ea35d34589680($fileIdentifier, $file); + composerRequire2718347fc95c2fbae5a88af337f73f10($fileIdentifier, $file); } return $loader; @@ -45,7 +47,7 @@ public static function getLoader() * @param string $file * @return void */ -function composerRequirebc35f389582f6a60644ea35d34589680($fileIdentifier, $file) +function composerRequire2718347fc95c2fbae5a88af337f73f10($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_static.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_static.php index d526460..65d145e 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_static.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitbc35f389582f6a60644ea35d34589680 +class ComposerStaticInit2718347fc95c2fbae5a88af337f73f10 { public static $files = array ( '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', @@ -69,207 +69,16 @@ class ComposerStaticInitbc35f389582f6a60644ea35d34589680 ); public static $classMap = array ( - 'Brick\\Math\\BigDecimal' => __DIR__ . '/..' . '/brick/math/src/BigDecimal.php', - 'Brick\\Math\\BigInteger' => __DIR__ . '/..' . '/brick/math/src/BigInteger.php', - 'Brick\\Math\\BigNumber' => __DIR__ . '/..' . '/brick/math/src/BigNumber.php', - 'Brick\\Math\\BigRational' => __DIR__ . '/..' . '/brick/math/src/BigRational.php', - 'Brick\\Math\\Exception\\DivisionByZeroException' => __DIR__ . '/..' . '/brick/math/src/Exception/DivisionByZeroException.php', - 'Brick\\Math\\Exception\\IntegerOverflowException' => __DIR__ . '/..' . '/brick/math/src/Exception/IntegerOverflowException.php', - 'Brick\\Math\\Exception\\MathException' => __DIR__ . '/..' . '/brick/math/src/Exception/MathException.php', - 'Brick\\Math\\Exception\\NegativeNumberException' => __DIR__ . '/..' . '/brick/math/src/Exception/NegativeNumberException.php', - 'Brick\\Math\\Exception\\NumberFormatException' => __DIR__ . '/..' . '/brick/math/src/Exception/NumberFormatException.php', - 'Brick\\Math\\Exception\\RoundingNecessaryException' => __DIR__ . '/..' . '/brick/math/src/Exception/RoundingNecessaryException.php', - 'Brick\\Math\\Internal\\Calculator' => __DIR__ . '/..' . '/brick/math/src/Internal/Calculator.php', - 'Brick\\Math\\Internal\\Calculator\\BcMathCalculator' => __DIR__ . '/..' . '/brick/math/src/Internal/Calculator/BcMathCalculator.php', - 'Brick\\Math\\Internal\\Calculator\\GmpCalculator' => __DIR__ . '/..' . '/brick/math/src/Internal/Calculator/GmpCalculator.php', - 'Brick\\Math\\Internal\\Calculator\\NativeCalculator' => __DIR__ . '/..' . '/brick/math/src/Internal/Calculator/NativeCalculator.php', - 'Brick\\Math\\RoundingMode' => __DIR__ . '/..' . '/brick/math/src/RoundingMode.php', 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', - 'Firebase\\JWT\\BeforeValidException' => __DIR__ . '/..' . '/firebase/php-jwt/src/BeforeValidException.php', - 'Firebase\\JWT\\CachedKeySet' => __DIR__ . '/..' . '/firebase/php-jwt/src/CachedKeySet.php', - 'Firebase\\JWT\\ExpiredException' => __DIR__ . '/..' . '/firebase/php-jwt/src/ExpiredException.php', - 'Firebase\\JWT\\JWK' => __DIR__ . '/..' . '/firebase/php-jwt/src/JWK.php', - 'Firebase\\JWT\\JWT' => __DIR__ . '/..' . '/firebase/php-jwt/src/JWT.php', - 'Firebase\\JWT\\Key' => __DIR__ . '/..' . '/firebase/php-jwt/src/Key.php', - 'Firebase\\JWT\\SignatureInvalidException' => __DIR__ . '/..' . '/firebase/php-jwt/src/SignatureInvalidException.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\BreakoutRoomFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/BreakoutRoomFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\ChatFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/ChatFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\CreateRoomParameters' => __DIR__ . '/../..' . '/src/Parameters/CreateRoomParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\DeleteRecordingParameters' => __DIR__ . '/../..' . '/src/Parameters/DeleteRecordingParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\DisplayExternalLinkFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/DisplayExternalLinkFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\EndRoomParameters' => __DIR__ . '/../..' . '/src/Parameters/EndRoomParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\ExternalMediaPlayerFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/ExternalMediaPlayerFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\FetchRecordingsParameters' => __DIR__ . '/../..' . '/src/Parameters/FetchRecordingsParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\GenerateJoinTokenParameters' => __DIR__ . '/../..' . '/src/Parameters/GenerateJoinTokenParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\GetActiveRoomInfoParameters' => __DIR__ . '/../..' . '/src/Parameters/GetActiveRoomInfoParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\IsRoomActiveParameters' => __DIR__ . '/../..' . '/src/Parameters/IsRoomActiveParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\LockSettingsParameters' => __DIR__ . '/../..' . '/src/Parameters/LockSettingsParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\RecordingDownloadTokenParameters' => __DIR__ . '/../..' . '/src/Parameters/RecordingDownloadTokenParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\RoomFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/RoomFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\RoomMetadataParameters' => __DIR__ . '/../..' . '/src/Parameters/RoomMetadataParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\SharedNotePadFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/SharedNotePadFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\UserMetadataParameters' => __DIR__ . '/../..' . '/src/Parameters/UserMetadataParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\WaitingRoomFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/WaitingRoomFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\Parameters\\WhiteboardFeaturesParameters' => __DIR__ . '/../..' . '/src/Parameters/WhiteboardFeaturesParameters.php', - 'Mynaparrot\\Plugnmeet\\PlugNmeet' => __DIR__ . '/../..' . '/src/PlugNmeet.php', - 'Mynaparrot\\Plugnmeet\\Responses\\BaseResponse' => __DIR__ . '/../..' . '/src/Responses/BaseResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\ClientFilesResponses' => __DIR__ . '/../..' . '/src/Responses/ClientFilesResponses.php', - 'Mynaparrot\\Plugnmeet\\Responses\\CreateRoomResponse' => __DIR__ . '/../..' . '/src/Responses/CreateRoomResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\DeleteRecordingResponse' => __DIR__ . '/../..' . '/src/Responses/DeleteRecordingResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\EndRoomResponse' => __DIR__ . '/../..' . '/src/Responses/EndRoomResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\FetchRecordingsResponse' => __DIR__ . '/../..' . '/src/Responses/FetchRecordingsResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\GenerateJoinTokenResponse' => __DIR__ . '/../..' . '/src/Responses/GenerateJoinTokenResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\GetActiveRoomInfoResponse' => __DIR__ . '/../..' . '/src/Responses/GetActiveRoomInfoResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\GetActiveRoomsInfoResponse' => __DIR__ . '/../..' . '/src/Responses/GetActiveRoomsInfoResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\IsRoomActiveResponse' => __DIR__ . '/../..' . '/src/Responses/IsRoomActiveResponse.php', - 'Mynaparrot\\Plugnmeet\\Responses\\RecordingDownloadTokenResponse' => __DIR__ . '/../..' . '/src/Responses/RecordingDownloadTokenResponse.php', - 'Mynaparrot\\Plugnmeet\\Utils\\ActiveRoomInfo' => __DIR__ . '/../..' . '/src/Utils/ActiveRoomInfo.php', - 'Mynaparrot\\Plugnmeet\\Utils\\ParticipantInfo' => __DIR__ . '/../..' . '/src/Utils/ParticipantInfo.php', - 'Mynaparrot\\Plugnmeet\\Utils\\RecordingInfo' => __DIR__ . '/../..' . '/src/Utils/RecordingInfo.php', - 'Ramsey\\Collection\\AbstractArray' => __DIR__ . '/..' . '/ramsey/collection/src/AbstractArray.php', - 'Ramsey\\Collection\\AbstractCollection' => __DIR__ . '/..' . '/ramsey/collection/src/AbstractCollection.php', - 'Ramsey\\Collection\\AbstractSet' => __DIR__ . '/..' . '/ramsey/collection/src/AbstractSet.php', - 'Ramsey\\Collection\\ArrayInterface' => __DIR__ . '/..' . '/ramsey/collection/src/ArrayInterface.php', - 'Ramsey\\Collection\\Collection' => __DIR__ . '/..' . '/ramsey/collection/src/Collection.php', - 'Ramsey\\Collection\\CollectionInterface' => __DIR__ . '/..' . '/ramsey/collection/src/CollectionInterface.php', - 'Ramsey\\Collection\\DoubleEndedQueue' => __DIR__ . '/..' . '/ramsey/collection/src/DoubleEndedQueue.php', - 'Ramsey\\Collection\\DoubleEndedQueueInterface' => __DIR__ . '/..' . '/ramsey/collection/src/DoubleEndedQueueInterface.php', - 'Ramsey\\Collection\\Exception\\CollectionMismatchException' => __DIR__ . '/..' . '/ramsey/collection/src/Exception/CollectionMismatchException.php', - 'Ramsey\\Collection\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/ramsey/collection/src/Exception/InvalidArgumentException.php', - 'Ramsey\\Collection\\Exception\\InvalidSortOrderException' => __DIR__ . '/..' . '/ramsey/collection/src/Exception/InvalidSortOrderException.php', - 'Ramsey\\Collection\\Exception\\NoSuchElementException' => __DIR__ . '/..' . '/ramsey/collection/src/Exception/NoSuchElementException.php', - 'Ramsey\\Collection\\Exception\\OutOfBoundsException' => __DIR__ . '/..' . '/ramsey/collection/src/Exception/OutOfBoundsException.php', - 'Ramsey\\Collection\\Exception\\UnsupportedOperationException' => __DIR__ . '/..' . '/ramsey/collection/src/Exception/UnsupportedOperationException.php', - 'Ramsey\\Collection\\Exception\\ValueExtractionException' => __DIR__ . '/..' . '/ramsey/collection/src/Exception/ValueExtractionException.php', - 'Ramsey\\Collection\\GenericArray' => __DIR__ . '/..' . '/ramsey/collection/src/GenericArray.php', - 'Ramsey\\Collection\\Map\\AbstractMap' => __DIR__ . '/..' . '/ramsey/collection/src/Map/AbstractMap.php', - 'Ramsey\\Collection\\Map\\AbstractTypedMap' => __DIR__ . '/..' . '/ramsey/collection/src/Map/AbstractTypedMap.php', - 'Ramsey\\Collection\\Map\\AssociativeArrayMap' => __DIR__ . '/..' . '/ramsey/collection/src/Map/AssociativeArrayMap.php', - 'Ramsey\\Collection\\Map\\MapInterface' => __DIR__ . '/..' . '/ramsey/collection/src/Map/MapInterface.php', - 'Ramsey\\Collection\\Map\\NamedParameterMap' => __DIR__ . '/..' . '/ramsey/collection/src/Map/NamedParameterMap.php', - 'Ramsey\\Collection\\Map\\TypedMap' => __DIR__ . '/..' . '/ramsey/collection/src/Map/TypedMap.php', - 'Ramsey\\Collection\\Map\\TypedMapInterface' => __DIR__ . '/..' . '/ramsey/collection/src/Map/TypedMapInterface.php', - 'Ramsey\\Collection\\Queue' => __DIR__ . '/..' . '/ramsey/collection/src/Queue.php', - 'Ramsey\\Collection\\QueueInterface' => __DIR__ . '/..' . '/ramsey/collection/src/QueueInterface.php', - 'Ramsey\\Collection\\Set' => __DIR__ . '/..' . '/ramsey/collection/src/Set.php', - 'Ramsey\\Collection\\Tool\\TypeTrait' => __DIR__ . '/..' . '/ramsey/collection/src/Tool/TypeTrait.php', - 'Ramsey\\Collection\\Tool\\ValueExtractorTrait' => __DIR__ . '/..' . '/ramsey/collection/src/Tool/ValueExtractorTrait.php', - 'Ramsey\\Collection\\Tool\\ValueToStringTrait' => __DIR__ . '/..' . '/ramsey/collection/src/Tool/ValueToStringTrait.php', - 'Ramsey\\Uuid\\BinaryUtils' => __DIR__ . '/..' . '/ramsey/uuid/src/BinaryUtils.php', - 'Ramsey\\Uuid\\Builder\\BuilderCollection' => __DIR__ . '/..' . '/ramsey/uuid/src/Builder/BuilderCollection.php', - 'Ramsey\\Uuid\\Builder\\DefaultUuidBuilder' => __DIR__ . '/..' . '/ramsey/uuid/src/Builder/DefaultUuidBuilder.php', - 'Ramsey\\Uuid\\Builder\\DegradedUuidBuilder' => __DIR__ . '/..' . '/ramsey/uuid/src/Builder/DegradedUuidBuilder.php', - 'Ramsey\\Uuid\\Builder\\FallbackBuilder' => __DIR__ . '/..' . '/ramsey/uuid/src/Builder/FallbackBuilder.php', - 'Ramsey\\Uuid\\Builder\\UuidBuilderInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Builder/UuidBuilderInterface.php', - 'Ramsey\\Uuid\\Codec\\CodecInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Codec/CodecInterface.php', - 'Ramsey\\Uuid\\Codec\\GuidStringCodec' => __DIR__ . '/..' . '/ramsey/uuid/src/Codec/GuidStringCodec.php', - 'Ramsey\\Uuid\\Codec\\OrderedTimeCodec' => __DIR__ . '/..' . '/ramsey/uuid/src/Codec/OrderedTimeCodec.php', - 'Ramsey\\Uuid\\Codec\\StringCodec' => __DIR__ . '/..' . '/ramsey/uuid/src/Codec/StringCodec.php', - 'Ramsey\\Uuid\\Codec\\TimestampFirstCombCodec' => __DIR__ . '/..' . '/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php', - 'Ramsey\\Uuid\\Codec\\TimestampLastCombCodec' => __DIR__ . '/..' . '/ramsey/uuid/src/Codec/TimestampLastCombCodec.php', - 'Ramsey\\Uuid\\Converter\\NumberConverterInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/NumberConverterInterface.php', - 'Ramsey\\Uuid\\Converter\\Number\\BigNumberConverter' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/Number/BigNumberConverter.php', - 'Ramsey\\Uuid\\Converter\\Number\\DegradedNumberConverter' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/Number/DegradedNumberConverter.php', - 'Ramsey\\Uuid\\Converter\\Number\\GenericNumberConverter' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php', - 'Ramsey\\Uuid\\Converter\\TimeConverterInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/TimeConverterInterface.php', - 'Ramsey\\Uuid\\Converter\\Time\\BigNumberTimeConverter' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php', - 'Ramsey\\Uuid\\Converter\\Time\\DegradedTimeConverter' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/Time/DegradedTimeConverter.php', - 'Ramsey\\Uuid\\Converter\\Time\\GenericTimeConverter' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php', - 'Ramsey\\Uuid\\Converter\\Time\\PhpTimeConverter' => __DIR__ . '/..' . '/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php', - 'Ramsey\\Uuid\\DegradedUuid' => __DIR__ . '/..' . '/ramsey/uuid/src/DegradedUuid.php', - 'Ramsey\\Uuid\\DeprecatedUuidInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/DeprecatedUuidInterface.php', - 'Ramsey\\Uuid\\DeprecatedUuidMethodsTrait' => __DIR__ . '/..' . '/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php', - 'Ramsey\\Uuid\\Exception\\BuilderNotFoundException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/BuilderNotFoundException.php', - 'Ramsey\\Uuid\\Exception\\DateTimeException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/DateTimeException.php', - 'Ramsey\\Uuid\\Exception\\DceSecurityException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/DceSecurityException.php', - 'Ramsey\\Uuid\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/InvalidArgumentException.php', - 'Ramsey\\Uuid\\Exception\\InvalidBytesException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/InvalidBytesException.php', - 'Ramsey\\Uuid\\Exception\\InvalidUuidStringException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/InvalidUuidStringException.php', - 'Ramsey\\Uuid\\Exception\\NameException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/NameException.php', - 'Ramsey\\Uuid\\Exception\\NodeException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/NodeException.php', - 'Ramsey\\Uuid\\Exception\\RandomSourceException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/RandomSourceException.php', - 'Ramsey\\Uuid\\Exception\\TimeSourceException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/TimeSourceException.php', - 'Ramsey\\Uuid\\Exception\\UnableToBuildUuidException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/UnableToBuildUuidException.php', - 'Ramsey\\Uuid\\Exception\\UnsupportedOperationException' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/UnsupportedOperationException.php', - 'Ramsey\\Uuid\\Exception\\UuidExceptionInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Exception/UuidExceptionInterface.php', - 'Ramsey\\Uuid\\FeatureSet' => __DIR__ . '/..' . '/ramsey/uuid/src/FeatureSet.php', - 'Ramsey\\Uuid\\Fields\\FieldsInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Fields/FieldsInterface.php', - 'Ramsey\\Uuid\\Fields\\SerializableFieldsTrait' => __DIR__ . '/..' . '/ramsey/uuid/src/Fields/SerializableFieldsTrait.php', - 'Ramsey\\Uuid\\Generator\\CombGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/CombGenerator.php', - 'Ramsey\\Uuid\\Generator\\DceSecurityGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/DceSecurityGenerator.php', - 'Ramsey\\Uuid\\Generator\\DceSecurityGeneratorInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php', - 'Ramsey\\Uuid\\Generator\\DefaultNameGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/DefaultNameGenerator.php', - 'Ramsey\\Uuid\\Generator\\DefaultTimeGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/DefaultTimeGenerator.php', - 'Ramsey\\Uuid\\Generator\\NameGeneratorFactory' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/NameGeneratorFactory.php', - 'Ramsey\\Uuid\\Generator\\NameGeneratorInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/NameGeneratorInterface.php', - 'Ramsey\\Uuid\\Generator\\PeclUuidNameGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php', - 'Ramsey\\Uuid\\Generator\\PeclUuidRandomGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php', - 'Ramsey\\Uuid\\Generator\\PeclUuidTimeGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php', - 'Ramsey\\Uuid\\Generator\\RandomBytesGenerator' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/RandomBytesGenerator.php', - 'Ramsey\\Uuid\\Generator\\RandomGeneratorFactory' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/RandomGeneratorFactory.php', - 'Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/RandomGeneratorInterface.php', - 'Ramsey\\Uuid\\Generator\\RandomLibAdapter' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/RandomLibAdapter.php', - 'Ramsey\\Uuid\\Generator\\TimeGeneratorFactory' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/TimeGeneratorFactory.php', - 'Ramsey\\Uuid\\Generator\\TimeGeneratorInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Generator/TimeGeneratorInterface.php', - 'Ramsey\\Uuid\\Guid\\Fields' => __DIR__ . '/..' . '/ramsey/uuid/src/Guid/Fields.php', - 'Ramsey\\Uuid\\Guid\\Guid' => __DIR__ . '/..' . '/ramsey/uuid/src/Guid/Guid.php', - 'Ramsey\\Uuid\\Guid\\GuidBuilder' => __DIR__ . '/..' . '/ramsey/uuid/src/Guid/GuidBuilder.php', - 'Ramsey\\Uuid\\Lazy\\LazyUuidFromString' => __DIR__ . '/..' . '/ramsey/uuid/src/Lazy/LazyUuidFromString.php', - 'Ramsey\\Uuid\\Math\\BrickMathCalculator' => __DIR__ . '/..' . '/ramsey/uuid/src/Math/BrickMathCalculator.php', - 'Ramsey\\Uuid\\Math\\CalculatorInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Math/CalculatorInterface.php', - 'Ramsey\\Uuid\\Math\\RoundingMode' => __DIR__ . '/..' . '/ramsey/uuid/src/Math/RoundingMode.php', - 'Ramsey\\Uuid\\Nonstandard\\Fields' => __DIR__ . '/..' . '/ramsey/uuid/src/Nonstandard/Fields.php', - 'Ramsey\\Uuid\\Nonstandard\\Uuid' => __DIR__ . '/..' . '/ramsey/uuid/src/Nonstandard/Uuid.php', - 'Ramsey\\Uuid\\Nonstandard\\UuidBuilder' => __DIR__ . '/..' . '/ramsey/uuid/src/Nonstandard/UuidBuilder.php', - 'Ramsey\\Uuid\\Nonstandard\\UuidV6' => __DIR__ . '/..' . '/ramsey/uuid/src/Nonstandard/UuidV6.php', - 'Ramsey\\Uuid\\Provider\\DceSecurityProviderInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php', - 'Ramsey\\Uuid\\Provider\\Dce\\SystemDceSecurityProvider' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php', - 'Ramsey\\Uuid\\Provider\\NodeProviderInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/NodeProviderInterface.php', - 'Ramsey\\Uuid\\Provider\\Node\\FallbackNodeProvider' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\Node\\NodeProviderCollection' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php', - 'Ramsey\\Uuid\\Provider\\Node\\RandomNodeProvider' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\Node\\StaticNodeProvider' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\Node\\SystemNodeProvider' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php', - 'Ramsey\\Uuid\\Provider\\TimeProviderInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/TimeProviderInterface.php', - 'Ramsey\\Uuid\\Provider\\Time\\FixedTimeProvider' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php', - 'Ramsey\\Uuid\\Provider\\Time\\SystemTimeProvider' => __DIR__ . '/..' . '/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php', - 'Ramsey\\Uuid\\Rfc4122\\Fields' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/Fields.php', - 'Ramsey\\Uuid\\Rfc4122\\FieldsInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/FieldsInterface.php', - 'Ramsey\\Uuid\\Rfc4122\\NilTrait' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/NilTrait.php', - 'Ramsey\\Uuid\\Rfc4122\\NilUuid' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/NilUuid.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidBuilder' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/UuidBuilder.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/UuidInterface.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV1' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/UuidV1.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV2' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/UuidV2.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV3' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/UuidV3.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV4' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/UuidV4.php', - 'Ramsey\\Uuid\\Rfc4122\\UuidV5' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/UuidV5.php', - 'Ramsey\\Uuid\\Rfc4122\\Validator' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/Validator.php', - 'Ramsey\\Uuid\\Rfc4122\\VariantTrait' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/VariantTrait.php', - 'Ramsey\\Uuid\\Rfc4122\\VersionTrait' => __DIR__ . '/..' . '/ramsey/uuid/src/Rfc4122/VersionTrait.php', - 'Ramsey\\Uuid\\Type\\Decimal' => __DIR__ . '/..' . '/ramsey/uuid/src/Type/Decimal.php', - 'Ramsey\\Uuid\\Type\\Hexadecimal' => __DIR__ . '/..' . '/ramsey/uuid/src/Type/Hexadecimal.php', - 'Ramsey\\Uuid\\Type\\Integer' => __DIR__ . '/..' . '/ramsey/uuid/src/Type/Integer.php', - 'Ramsey\\Uuid\\Type\\NumberInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Type/NumberInterface.php', - 'Ramsey\\Uuid\\Type\\Time' => __DIR__ . '/..' . '/ramsey/uuid/src/Type/Time.php', - 'Ramsey\\Uuid\\Type\\TypeInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Type/TypeInterface.php', - 'Ramsey\\Uuid\\Uuid' => __DIR__ . '/..' . '/ramsey/uuid/src/Uuid.php', - 'Ramsey\\Uuid\\UuidFactory' => __DIR__ . '/..' . '/ramsey/uuid/src/UuidFactory.php', - 'Ramsey\\Uuid\\UuidFactoryInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/UuidFactoryInterface.php', - 'Ramsey\\Uuid\\UuidInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/UuidInterface.php', - 'Ramsey\\Uuid\\Validator\\GenericValidator' => __DIR__ . '/..' . '/ramsey/uuid/src/Validator/GenericValidator.php', - 'Ramsey\\Uuid\\Validator\\ValidatorInterface' => __DIR__ . '/..' . '/ramsey/uuid/src/Validator/ValidatorInterface.php', 'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', - 'Symfony\\Polyfill\\Ctype\\Ctype' => __DIR__ . '/..' . '/symfony/polyfill-ctype/Ctype.php', - 'Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', ); public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitbc35f389582f6a60644ea35d34589680::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitbc35f389582f6a60644ea35d34589680::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitbc35f389582f6a60644ea35d34589680::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit2718347fc95c2fbae5a88af337f73f10::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit2718347fc95c2fbae5a88af337f73f10::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit2718347fc95c2fbae5a88af337f73f10::$classMap; }, null, ClassLoader::class); } diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/installed.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/installed.php index 2f2c258..18987d2 100644 --- a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/installed.php +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/installed.php @@ -1,8 +1,8 @@ array( 'name' => 'mynaparrot/plugnmeet-sdk', - 'pretty_version' => '1.1.5', - 'version' => '1.1.5.0', + 'pretty_version' => '1.2.0', + 'version' => '1.2.0.0', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', @@ -29,8 +29,8 @@ 'dev_requirement' => false, ), 'mynaparrot/plugnmeet-sdk' => array( - 'pretty_version' => '1.1.5', - 'version' => '1.1.5.0', + 'pretty_version' => '1.2.0', + 'version' => '1.2.0.0', 'reference' => NULL, 'type' => 'library', 'install_path' => __DIR__ . '/../../', diff --git a/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/platform_check.php b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/platform_check.php new file mode 100644 index 0000000..580fa96 --- /dev/null +++ b/plugnmeet/helpers/libs/plugnmeet-sdk-php/vendor/composer/platform_check.php @@ -0,0 +1,26 @@ += 70400)) { + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; +} + +if ($issues) { + if (!headers_sent()) { + header('HTTP/1.1 500 Internal Server Error'); + } + if (!ini_get('display_errors')) { + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); + } elseif (!headers_sent()) { + echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; + } + } + trigger_error( + 'Composer detected issues in your platform: ' . implode(' ', $issues), + E_USER_ERROR + ); +} diff --git a/plugnmeet/helpers/plugNmeetConnect.php b/plugnmeet/helpers/plugNmeetConnect.php index 4cb6256..c2b4b6a 100755 --- a/plugnmeet/helpers/plugNmeetConnect.php +++ b/plugnmeet/helpers/plugNmeetConnect.php @@ -34,11 +34,14 @@ use Mynaparrot\Plugnmeet\Parameters\IsRoomActiveParameters; use Mynaparrot\Plugnmeet\Parameters\LockSettingsParameters; use Mynaparrot\Plugnmeet\Parameters\RecordingDownloadTokenParameters; +use Mynaparrot\Plugnmeet\Parameters\RecordingFeaturesParameters; use Mynaparrot\Plugnmeet\Parameters\RoomFeaturesParameters; use Mynaparrot\Plugnmeet\Parameters\RoomMetadataParameters; use Mynaparrot\Plugnmeet\Parameters\SharedNotePadFeaturesParameters; +use Mynaparrot\Plugnmeet\Parameters\UserMetadataParameters; use Mynaparrot\Plugnmeet\Parameters\WaitingRoomFeaturesParameters; use Mynaparrot\Plugnmeet\Parameters\WhiteboardFeaturesParameters; +use Mynaparrot\Plugnmeet\PlugNmeet; use Mynaparrot\Plugnmeet\Responses\ClientFilesResponses; use Mynaparrot\Plugnmeet\Responses\CreateRoomResponse; use Mynaparrot\Plugnmeet\Responses\DeleteRecordingResponse; @@ -49,7 +52,6 @@ use Mynaparrot\Plugnmeet\Responses\GetActiveRoomsInfoResponse; use Mynaparrot\Plugnmeet\Responses\IsRoomActiveResponse; use Mynaparrot\Plugnmeet\Responses\RecordingDownloadTokenResponse; -use Mynaparrot\Plugnmeet\PlugNmeet; require __DIR__ . "/libs/plugnmeet-sdk-php/vendor/autoload.php"; @@ -70,286 +72,330 @@ function __construct($config) { ); } - /** - * @return string - */ - public function getUUID() { - return $this->plugnmeet->getUUID(); - } - - /** - * @param string $roomId - * @return IsRoomActiveResponse - */ - public function isRoomActive(string $roomId): IsRoomActiveResponse { - $isRoomActiveParameters = new IsRoomActiveParameters(); - $isRoomActiveParameters->setRoomId($roomId); - - return $this->plugnmeet->isRoomActive($isRoomActiveParameters); - } - - /** - * @param string $roomId - * @param string $roomTitle - * @param string $welcomeMessage - * @param string $webHookUrl - * @param array $roomMetadata - * @return CreateRoomResponse - */ - public function createRoom(string $roomId, string $roomTitle, string $welcomeMessage, int $max_participants, string $webHookUrl, array $roomMetadata): CreateRoomResponse { - $roomFeatures = $roomMetadata['room_features']; - $features = new RoomFeaturesParameters(); - - if (isset($roomFeatures['allow_webcams'])) { - $features->setAllowWebcams($roomFeatures['allow_webcams']); - } - if (isset($roomFeatures['mute_on_start'])) { - $features->setMuteOnStart($roomFeatures['mute_on_start']); - } - if (isset($roomFeatures['allow_screen_share'])) { - $features->setAllowScreenShare($roomFeatures['allow_screen_share']); - } - if (isset($roomFeatures['allow_recording'])) { - $features->setAllowRecording($roomFeatures['allow_recording']); - } - if (isset($roomFeatures['allow_rtmp'])) { - $features->setAllowRTMP($roomFeatures['allow_rtmp']); - } - if (isset($roomFeatures['allow_view_other_webcams'])) { - $features->setAllowViewOtherWebcams($roomFeatures['allow_view_other_webcams']); - } - if (isset($roomFeatures['allow_view_other_users_list'])) { - $features->setAllowViewOtherParticipants($roomFeatures['allow_view_other_users_list']); - } - if (isset($roomFeatures['admin_only_webcams'])) { - $features->setAdminOnlyWebcams($roomFeatures['admin_only_webcams']); - } - if (isset($roomFeatures['allow_polls'])) { - $features->setAllowPolls($roomFeatures['allow_polls']); - } - if (isset($roomFeatures['room_duration'])) { - if ($roomFeatures['room_duration'] > 0) { - $features->setRoomDuration($roomFeatures['room_duration']); - } - } - - if (isset($roomMetadata['chat_features'])) { - $roomChatFeatures = $roomMetadata['chat_features']; - $chatFeatures = new ChatFeaturesParameters(); - if (isset($roomChatFeatures['allow_chat'])) { - $chatFeatures->setAllowChat($roomChatFeatures['allow_chat']); - } - if (isset($roomChatFeatures['allow_file_upload'])) { - $chatFeatures->setAllowFileUpload($roomChatFeatures['allow_file_upload']); - } - $features->setChatFeatures($chatFeatures); - } - - if (isset($roomMetadata['shared_note_pad_features'])) { - $roomSharedNotepadFeatures = $roomMetadata['shared_note_pad_features']; - $sharedNotePadFeatures = new SharedNotePadFeaturesParameters(); - if (isset($roomSharedNotepadFeatures['allowed_shared_note_pad'])) { - $sharedNotePadFeatures->setAllowedSharedNotePad($roomSharedNotepadFeatures['allowed_shared_note_pad']); - } - $features->setSharedNotePadFeatures($sharedNotePadFeatures); - } - - if (isset($roomMetadata['whiteboard_features'])) { - $roomWhiteboardFeatures = $roomMetadata['whiteboard_features']; - $whiteboardFeatures = new WhiteboardFeaturesParameters(); - if (isset($roomWhiteboardFeatures['allowed_whiteboard'])) { - $whiteboardFeatures->setAllowedWhiteboard($roomWhiteboardFeatures['allowed_whiteboard']); - } - $features->setWhiteboardFeatures($whiteboardFeatures); - } - - if (isset($roomMetadata['external_media_player_features'])) { - $roomExternalMediaPlayerFeatures = $roomMetadata['external_media_player_features']; - $externalMediaPlayerFeatures = new ExternalMediaPlayerFeaturesParameters(); - if (isset($roomExternalMediaPlayerFeatures['allowed_external_media_player'])) { - $externalMediaPlayerFeatures->setAllowedExternalMediaPlayer($roomExternalMediaPlayerFeatures['allowed_external_media_player']); - } - $features->setExternalMediaPlayerFeatures($externalMediaPlayerFeatures); - } - - if (isset($roomMetadata['waiting_room_features'])) { - $roomWaitingRoomFeatures = $roomMetadata['waiting_room_features']; - $waitingRoomFeatures = new WaitingRoomFeaturesParameters(); - if (isset($roomWaitingRoomFeatures['is_active'])) { - $waitingRoomFeatures->setIsActive($roomWaitingRoomFeatures['is_active']); - } - if (isset($roomWaitingRoomFeatures['waiting_room_msg'])) { - if (!empty($roomWaitingRoomFeatures['waiting_room_msg'])) { - $waitingRoomFeatures->setWaitingRoomMsg($roomWaitingRoomFeatures['waiting_room_msg']); - } - } - $features->setWaitingRoomFeatures($waitingRoomFeatures); - } - - if (isset($roomMetadata['breakout_room_features'])) { - $roomBreakoutRoomFeatures = $roomMetadata['breakout_room_features']; - $breakoutRoomFeatures = new BreakoutRoomFeaturesParameters(); - if (isset($roomBreakoutRoomFeatures['is_allow'])) { - $breakoutRoomFeatures->setIsAllow($roomBreakoutRoomFeatures['is_allow']); - } - if (isset($roomBreakoutRoomFeatures['allowed_number_rooms'])) { - if (!empty($roomBreakoutRoomFeatures['allowed_number_rooms'])) { - $breakoutRoomFeatures->setAllowedNumberRooms($roomBreakoutRoomFeatures['allowed_number_rooms']); - } - } - $features->setBreakoutRoomFeatures($breakoutRoomFeatures); - } - - if (isset($roomMetadata['display_external_link_features'])) { - $roomDisplayExternalLinkFeatures = $roomMetadata['display_external_link_features']; - $displayExternalLinkFeatures = new DisplayExternalLinkFeaturesParameters(); - if (isset($roomDisplayExternalLinkFeatures['is_allow'])) { - $displayExternalLinkFeatures->setIsAllow($roomDisplayExternalLinkFeatures['is_allow']); - } - $features->setDisplayExternalLinkFeatures($displayExternalLinkFeatures); - } - - $metadata = new RoomMetadataParameters(); - $metadata->setRoomTitle($roomTitle); - $metadata->setWelcomeMessage($welcomeMessage); - $metadata->setWebhookUrl($webHookUrl); - $metadata->setFeatures($features); - - if (isset($roomMetadata['default_lock_settings'])) { - $defaultLocks = $roomMetadata['default_lock_settings']; - $lockSettings = new LockSettingsParameters(); - - if (isset($defaultLocks['lock_microphone'])) { - $lockSettings->setLockMicrophone($defaultLocks['lock_microphone']); - } - if (isset($defaultLocks['lock_webcam'])) { - $lockSettings->setLockWebcam($defaultLocks['lock_webcam']); - } - if (isset($defaultLocks['lock_screen_sharing'])) { - $lockSettings->setLockScreenSharing($defaultLocks['lock_screen_sharing']); - } - if (isset($defaultLocks['lock_whiteboard'])) { - $lockSettings->setLockWhiteboard($defaultLocks['lock_whiteboard']); - } - if (isset($defaultLocks['lock_shared_notepad'])) { - $lockSettings->setLockSharedNotepad($defaultLocks['lock_shared_notepad']); - } - if (isset($defaultLocks['lock_chat'])) { - $lockSettings->setLockChat($defaultLocks['lock_chat']); - } - if (isset($defaultLocks['lock_chat_send_message'])) { - $lockSettings->setLockChatSendMessage($defaultLocks['lock_chat_send_message']); - } - if (isset($defaultLocks['lock_chat_file_share'])) { - $lockSettings->setLockChatFileShare($defaultLocks['lock_chat_file_share']); - } - if (isset($defaultLocks['lock_private_chat'])) { - $lockSettings->setLockPrivateChat($defaultLocks['lock_private_chat']); - } - - $metadata->setDefaultLockSettings($lockSettings); - } - - $roomCreateParams = new CreateRoomParameters(); - $roomCreateParams->setRoomId($roomId); - if ($max_participants > 0) { - $roomCreateParams->setMaxParticipants($max_participants); - } - $roomCreateParams->setRoomMetadata($metadata); - - return $this->plugnmeet->createRoom($roomCreateParams); - } - - /** - * @param string $roomId - * @param string $name - * @param string $userId - * @param bool $isAdmin - * @return GenerateJoinTokenResponse - */ - public function getJoinToken(string $roomId, string $name, string $userId, bool $isAdmin, bool $isHidden = false): GenerateJoinTokenResponse { - $generateJoinTokenParameters = new GenerateJoinTokenParameters(); - $generateJoinTokenParameters->setRoomId($roomId); - $generateJoinTokenParameters->setName($name); - $generateJoinTokenParameters->setUserId($userId); - $generateJoinTokenParameters->setIsAdmin($isAdmin); - $generateJoinTokenParameters->setIsHidden($isHidden); - - return $this->plugnmeet->getJoinToken($generateJoinTokenParameters); - } - - /** - * @param string $roomId - * @return EndRoomResponse - */ - public function endRoom(string $roomId) { - $endRoomParameters = new EndRoomParameters(); - $endRoomParameters->setRoomId($roomId); - - return $this->plugnmeet->endRoom($endRoomParameters); - } - - /** - * @param string $roomId - * @return GetActiveRoomInfoResponse - */ - public function getActiveRoomInfo(string $roomId) { - $getActiveRoomInfoParameters = new GetActiveRoomInfoParameters(); - $getActiveRoomInfoParameters->setRoomId($roomId); - - return $this->plugnmeet->getActiveRoomInfo($getActiveRoomInfoParameters); - } - - /** - * @return GetActiveRoomsInfoResponse - */ - public function getActiveRoomsInfo() { - return $this->plugnmeet->getActiveRoomsInfo(); - } - - /** - * @param array $roomIds - * @param int $from - * @param int $limit - * @param string $orderBy - * @return FetchRecordingsResponse - */ - public function getRecordings(array $roomIds, int $from = 0, int $limit = 20, string $orderBy = "DESC") { - $fetchRecordingsParameters = new FetchRecordingsParameters(); - $fetchRecordingsParameters->setRoomIds($roomIds); - $fetchRecordingsParameters->setFrom($from); - $fetchRecordingsParameters->setLimit($limit); - $fetchRecordingsParameters->setOrderBy($orderBy); - - return $this->plugnmeet->fetchRecordings($fetchRecordingsParameters); - } - - /** - * @param $recordingId - * @return mixed|RecordingDownloadTokenResponse - */ - public function getRecordingDownloadLink($recordingId) { - $recordingDownloadTokenParameters = new RecordingDownloadTokenParameters(); - $recordingDownloadTokenParameters->setRecordId($recordingId); - - return $this->plugnmeet->getRecordingDownloadToken($recordingDownloadTokenParameters); - } - - /** - * @param $recordingId - * @return DeleteRecordingResponse - */ - public function deleteRecording($recordingId) { - $deleteRecordingParameters = new DeleteRecordingParameters(); - $deleteRecordingParameters->setRecordId($recordingId); - - return $this->plugnmeet->deleteRecordings($deleteRecordingParameters); - } - - /** - * @return ClientFilesResponses - */ - public function getClientFiles() { - return $this->plugnmeet->getClientFiles(); - } + /** + * @return PlugNmeet + */ + public function getPlugnmeet(): PlugNmeet + { + return $this->plugnmeet; + } + + /** + * @return string + */ + public function getUUID() + { + return $this->plugnmeet->getUUID(); + } + + /** + * @param string $roomId + * @return IsRoomActiveResponse + */ + public function isRoomActive(string $roomId): IsRoomActiveResponse + { + $isRoomActiveParameters = new IsRoomActiveParameters(); + $isRoomActiveParameters->setRoomId($roomId); + + return $this->plugnmeet->isRoomActive($isRoomActiveParameters); + } + + /** + * @param string $roomId + * @param string $roomTitle + * @param string $welcomeMessage + * @param int $max_participants + * @param string $webHookUrl + * @param array $roomMetadata + * @param int $empty_timeout + * @return CreateRoomResponse + */ + public function createRoom(string $roomId, string $roomTitle, string $welcomeMessage, int $max_participants, string $webHookUrl, array $roomMetadata, int $empty_timeout = 0): CreateRoomResponse + { + $roomFeatures = $roomMetadata['room_features']; + $features = new RoomFeaturesParameters(); + + if (isset($roomFeatures['allow_webcams'])) { + $features->setAllowWebcams($roomFeatures['allow_webcams']); + } + if (isset($roomFeatures['mute_on_start'])) { + $features->setMuteOnStart($roomFeatures['mute_on_start']); + } + if (isset($roomFeatures['allow_screen_share'])) { + $features->setAllowScreenShare($roomFeatures['allow_screen_share']); + } + if (isset($roomFeatures['allow_rtmp'])) { + $features->setAllowRTMP($roomFeatures['allow_rtmp']); + } + if (isset($roomFeatures['allow_view_other_webcams'])) { + $features->setAllowViewOtherWebcams($roomFeatures['allow_view_other_webcams']); + } + if (isset($roomFeatures['allow_view_other_users_list'])) { + $features->setAllowViewOtherParticipants($roomFeatures['allow_view_other_users_list']); + } + if (isset($roomFeatures['admin_only_webcams'])) { + $features->setAdminOnlyWebcams($roomFeatures['admin_only_webcams']); + } + if (isset($roomFeatures['allow_polls'])) { + $features->setAllowPolls($roomFeatures['allow_polls']); + } + if (isset($roomFeatures['room_duration'])) { + if ($roomFeatures['room_duration'] > 0) { + $features->setRoomDuration($roomFeatures['room_duration']); + } + } + + if (isset($roomMetadata['recording_features'])) { + $roomRecordingFeatures = $roomMetadata['recording_features']; + $recordingFeatures = new RecordingFeaturesParameters(); + if (isset($roomRecordingFeatures['is_allow'])) { + $recordingFeatures->setIsAllow($roomRecordingFeatures['is_allow']); + } + if (isset($roomRecordingFeatures['is_allow_cloud'])) { + $recordingFeatures->setIsAllowCloud($roomRecordingFeatures['is_allow_cloud']); + } + if (isset($roomRecordingFeatures['is_allow_local'])) { + $recordingFeatures->setIsAllowLocal($roomRecordingFeatures['is_allow_local']); + } + if (isset($roomRecordingFeatures['enable_auto_cloud_recording'])) { + $recordingFeatures->setEnableAutoCloudRecording($roomRecordingFeatures['enable_auto_cloud_recording']); + } + $features->setRecordingFeatures($recordingFeatures); + } + + if (isset($roomMetadata['chat_features'])) { + $roomChatFeatures = $roomMetadata['chat_features']; + $chatFeatures = new ChatFeaturesParameters(); + if (isset($roomChatFeatures['allow_chat'])) { + $chatFeatures->setAllowChat($roomChatFeatures['allow_chat']); + } + if (isset($roomChatFeatures['allow_file_upload'])) { + $chatFeatures->setAllowFileUpload($roomChatFeatures['allow_file_upload']); + } + $features->setChatFeatures($chatFeatures); + } + + if (isset($roomMetadata['shared_note_pad_features'])) { + $roomSharedNotepadFeatures = $roomMetadata['shared_note_pad_features']; + $sharedNotePadFeatures = new SharedNotePadFeaturesParameters(); + if (isset($roomSharedNotepadFeatures['allowed_shared_note_pad'])) { + $sharedNotePadFeatures->setAllowedSharedNotePad($roomSharedNotepadFeatures['allowed_shared_note_pad']); + } + $features->setSharedNotePadFeatures($sharedNotePadFeatures); + } + + if (isset($roomMetadata['whiteboard_features'])) { + $roomWhiteboardFeatures = $roomMetadata['whiteboard_features']; + $whiteboardFeatures = new WhiteboardFeaturesParameters(); + if (isset($roomWhiteboardFeatures['allowed_whiteboard'])) { + $whiteboardFeatures->setAllowedWhiteboard($roomWhiteboardFeatures['allowed_whiteboard']); + } + $features->setWhiteboardFeatures($whiteboardFeatures); + } + + if (isset($roomMetadata['external_media_player_features'])) { + $roomExternalMediaPlayerFeatures = $roomMetadata['external_media_player_features']; + $externalMediaPlayerFeatures = new ExternalMediaPlayerFeaturesParameters(); + if (isset($roomExternalMediaPlayerFeatures['allowed_external_media_player'])) { + $externalMediaPlayerFeatures->setAllowedExternalMediaPlayer($roomExternalMediaPlayerFeatures['allowed_external_media_player']); + } + $features->setExternalMediaPlayerFeatures($externalMediaPlayerFeatures); + } + + if (isset($roomMetadata['waiting_room_features'])) { + $roomWaitingRoomFeatures = $roomMetadata['waiting_room_features']; + $waitingRoomFeatures = new WaitingRoomFeaturesParameters(); + if (isset($roomWaitingRoomFeatures['is_active'])) { + $waitingRoomFeatures->setIsActive($roomWaitingRoomFeatures['is_active']); + } + if (isset($roomWaitingRoomFeatures['waiting_room_msg'])) { + if (!empty($roomWaitingRoomFeatures['waiting_room_msg'])) { + $waitingRoomFeatures->setWaitingRoomMsg($roomWaitingRoomFeatures['waiting_room_msg']); + } + } + $features->setWaitingRoomFeatures($waitingRoomFeatures); + } + + if (isset($roomMetadata['breakout_room_features'])) { + $roomBreakoutRoomFeatures = $roomMetadata['breakout_room_features']; + $breakoutRoomFeatures = new BreakoutRoomFeaturesParameters(); + if (isset($roomBreakoutRoomFeatures['is_allow'])) { + $breakoutRoomFeatures->setIsAllow($roomBreakoutRoomFeatures['is_allow']); + } + if (isset($roomBreakoutRoomFeatures['allowed_number_rooms'])) { + if (!empty($roomBreakoutRoomFeatures['allowed_number_rooms'])) { + $breakoutRoomFeatures->setAllowedNumberRooms($roomBreakoutRoomFeatures['allowed_number_rooms']); + } + } + $features->setBreakoutRoomFeatures($breakoutRoomFeatures); + } + + if (isset($roomMetadata['display_external_link_features'])) { + $roomDisplayExternalLinkFeatures = $roomMetadata['display_external_link_features']; + $displayExternalLinkFeatures = new DisplayExternalLinkFeaturesParameters(); + if (isset($roomDisplayExternalLinkFeatures['is_allow'])) { + $displayExternalLinkFeatures->setIsAllow($roomDisplayExternalLinkFeatures['is_allow']); + } + $features->setDisplayExternalLinkFeatures($displayExternalLinkFeatures); + } + + $metadata = new RoomMetadataParameters(); + $metadata->setRoomTitle($roomTitle); + $metadata->setWelcomeMessage($welcomeMessage); + $metadata->setWebhookUrl($webHookUrl); + $metadata->setFeatures($features); + + if (isset($roomMetadata['default_lock_settings'])) { + $defaultLocks = $roomMetadata['default_lock_settings']; + $lockSettings = new LockSettingsParameters(); + + if (isset($defaultLocks['lock_microphone'])) { + $lockSettings->setLockMicrophone($defaultLocks['lock_microphone']); + } + if (isset($defaultLocks['lock_webcam'])) { + $lockSettings->setLockWebcam($defaultLocks['lock_webcam']); + } + if (isset($defaultLocks['lock_screen_sharing'])) { + $lockSettings->setLockScreenSharing($defaultLocks['lock_screen_sharing']); + } + if (isset($defaultLocks['lock_whiteboard'])) { + $lockSettings->setLockWhiteboard($defaultLocks['lock_whiteboard']); + } + if (isset($defaultLocks['lock_shared_notepad'])) { + $lockSettings->setLockSharedNotepad($defaultLocks['lock_shared_notepad']); + } + if (isset($defaultLocks['lock_chat'])) { + $lockSettings->setLockChat($defaultLocks['lock_chat']); + } + if (isset($defaultLocks['lock_chat_send_message'])) { + $lockSettings->setLockChatSendMessage($defaultLocks['lock_chat_send_message']); + } + if (isset($defaultLocks['lock_chat_file_share'])) { + $lockSettings->setLockChatFileShare($defaultLocks['lock_chat_file_share']); + } + if (isset($defaultLocks['lock_private_chat'])) { + $lockSettings->setLockPrivateChat($defaultLocks['lock_private_chat']); + } + + $metadata->setDefaultLockSettings($lockSettings); + } + + $roomCreateParams = new CreateRoomParameters(); + $roomCreateParams->setRoomId($roomId); + if ($max_participants > 0) { + $roomCreateParams->setMaxParticipants($max_participants); + } + if ($empty_timeout > 0) { + $roomCreateParams->setEmptyTimeout($empty_timeout); + } + $roomCreateParams->setRoomMetadata($metadata); + + return $this->plugnmeet->createRoom($roomCreateParams); + } + + /** + * @param string $roomId + * @param string $name + * @param string $userId + * @param bool $isAdmin + * @param bool $isHidden + * @param UserMetadataParameters|null $userMetadata + * @return GenerateJoinTokenResponse + */ + public function getJoinToken(string $roomId, string $name, string $userId, bool $isAdmin, bool $isHidden = false, UserMetadataParameters $userMetadata = null): GenerateJoinTokenResponse + { + $generateJoinTokenParameters = new GenerateJoinTokenParameters(); + $generateJoinTokenParameters->setRoomId($roomId); + $generateJoinTokenParameters->setName($name); + $generateJoinTokenParameters->setUserId($userId); + $generateJoinTokenParameters->setIsAdmin($isAdmin); + $generateJoinTokenParameters->setIsHidden($isHidden); + if ($userMetadata !== null) { + $generateJoinTokenParameters->setUserMetadata($userMetadata); + } + + return $this->plugnmeet->getJoinToken($generateJoinTokenParameters); + } + + /** + * @param string $roomId + * @return EndRoomResponse + */ + public function endRoom(string $roomId) + { + $endRoomParameters = new EndRoomParameters(); + $endRoomParameters->setRoomId($roomId); + + return $this->plugnmeet->endRoom($endRoomParameters); + } + + /** + * @param string $roomId + * @return GetActiveRoomInfoResponse + */ + public function getActiveRoomInfo(string $roomId): GetActiveRoomInfoResponse + { + $getActiveRoomInfoParameters = new GetActiveRoomInfoParameters(); + $getActiveRoomInfoParameters->setRoomId($roomId); + + return $this->plugnmeet->getActiveRoomInfo($getActiveRoomInfoParameters); + } + + /** + * @return GetActiveRoomsInfoResponse + */ + public function getActiveRoomsInfo(): GetActiveRoomsInfoResponse + { + return $this->plugnmeet->getActiveRoomsInfo(); + } + + /** + * @param array $roomIds + * @param int $from + * @param int $limit + * @param string $orderBy + * @return FetchRecordingsResponse + */ + public function getRecordings(array $roomIds, int $from = 0, int $limit = 20, string $orderBy = "DESC"): FetchRecordingsResponse + { + $fetchRecordingsParameters = new FetchRecordingsParameters(); + $fetchRecordingsParameters->setRoomIds($roomIds); + $fetchRecordingsParameters->setFrom($from); + $fetchRecordingsParameters->setLimit($limit); + $fetchRecordingsParameters->setOrderBy($orderBy); + + return $this->plugnmeet->fetchRecordings($fetchRecordingsParameters); + } + + /** + * @param $recordingId + * @return RecordingDownloadTokenResponse + */ + public function getRecordingDownloadLink($recordingId): RecordingDownloadTokenResponse + { + $recordingDownloadTokenParameters = new RecordingDownloadTokenParameters(); + $recordingDownloadTokenParameters->setRecordId($recordingId); + + return $this->plugnmeet->getRecordingDownloadToken($recordingDownloadTokenParameters); + } + + /** + * @param $recordingId + * @return DeleteRecordingResponse + */ + public function deleteRecording($recordingId): DeleteRecordingResponse + { + $deleteRecordingParameters = new DeleteRecordingParameters(); + $deleteRecordingParameters->setRecordId($recordingId); + + return $this->plugnmeet->deleteRecordings($deleteRecordingParameters); + } + + /** + * @return ClientFilesResponses + */ + public function getClientFiles(): ClientFilesResponses + { + return $this->plugnmeet->getClientFiles(); + } } diff --git a/plugnmeet/languages/plugnmeet.pot b/plugnmeet/languages/plugnmeet.pot index cf636da..4127706 100755 --- a/plugnmeet/languages/plugnmeet.pot +++ b/plugnmeet/languages/plugnmeet.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-08-13 06:30+0000\n" +"POT-Creation-Date: 2022-11-12 14:08+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: \n" @@ -18,7 +18,7 @@ msgstr "" msgid " can't be empty." msgstr "" -#: helpers/helper.php:359 +#: helpers/helper.php:410 msgid "Activate waiting room" msgstr "" @@ -26,47 +26,59 @@ msgstr "" msgid "Add New" msgstr "" -#: helpers/helper.php:203 +#: helpers/helper.php:190 msgid "Admin only webcams" msgstr "" -#: helpers/helper.php:389 +#: helpers/helper.php:440 msgid "Allow breakout rooms" msgstr "" -#: helpers/helper.php:246 +#: helpers/helper.php:297 msgid "Allow chat" msgstr "" -#: admin/partials/form-parts/permission.php:104 +#: helpers/helper.php:246 +msgid "Allow cloud recording" +msgstr "" + +#: admin/partials/form-parts/permission.php:114 msgid "Allow Delete
Recordings" msgstr "" -#: helpers/helper.php:419 +#: helpers/helper.php:470 msgid "Allow Display External Link" msgstr "" -#: admin/partials/form-parts/permission.php:103 +#: admin/partials/form-parts/permission.php:113 msgid "Allow Download
Recordings" msgstr "" -#: helpers/helper.php:334 +#: helpers/helper.php:385 msgid "Allow external media player" msgstr "" -#: helpers/helper.php:259 +#: helpers/helper.php:310 msgid "Allow file upload" msgstr "" -#: helpers/helper.php:216 +#: helpers/helper.php:272 +msgid "Allow local recording" +msgstr "" + +#: admin/partials/form-parts/permission.php:112 +msgid "Allow Play
Recordings" +msgstr "" + +#: helpers/helper.php:203 msgid "Allow polls" msgstr "" -#: helpers/helper.php:151 +#: helpers/helper.php:233 msgid "Allow recording" msgstr "" -#: helpers/helper.php:164 +#: helpers/helper.php:151 msgid "Allow rtmp" msgstr "" @@ -74,15 +86,19 @@ msgstr "" msgid "Allow screen share" msgstr "" -#: helpers/helper.php:284 +#: helpers/helper.php:335 msgid "Allow shared notepad" msgstr "" -#: helpers/helper.php:190 -msgid "Allow view other users list" +#: admin/partials/form-parts/permission.php:111 +msgid "Allow View
Recordings" msgstr "" #: helpers/helper.php:177 +msgid "Allow view other users list" +msgstr "" + +#: helpers/helper.php:164 msgid "Allow view other webcams" msgstr "" @@ -90,16 +106,16 @@ msgstr "" msgid "Allow webcams" msgstr "" -#: helpers/helper.php:309 +#: helpers/helper.php:360 msgid "Allow whiteboard" msgstr "" #: admin/partials/plugnmeet-admin-display-recordings.php:117 -#: public/partials/parts/recordings.php:133 +#: public/partials/parts/recordings.php:167 msgid "Are you sure to delete?" msgstr "" -#: admin/class-plugnmeet-admin.php:273 +#: admin/class-plugnmeet-admin.php:276 msgid "attendee & moderator password can't be same" msgstr "" @@ -122,11 +138,11 @@ msgstr "" msgid "Basic" msgstr "" -#: helpers/ajaxHelper.php:78 helpers/ajaxHelper.php:118 +#: helpers/ajaxHelper.php:79 helpers/ajaxHelper.php:119 msgid "both roomId & record id required" msgstr "" -#: admin/class-plugnmeet-admin.php:179 +#: admin/class-plugnmeet-admin.php:182 msgid "Can't write file" msgstr "" @@ -155,9 +171,9 @@ msgstr "" msgid "Default lock settings" msgstr "" -#: admin/partials/plugnmeet-admin-display-rooms.php:68 #: admin/partials/plugnmeet-admin-display-recordings.php:194 -#: public/partials/parts/recordings.php:181 +#: admin/partials/plugnmeet-admin-display-rooms.php:68 +#: public/partials/parts/recordings.php:225 msgid "Delete" msgstr "" @@ -167,10 +183,14 @@ msgid "Design Customization" msgstr "" #: admin/partials/plugnmeet-admin-display-recordings.php:191 -#: public/partials/parts/recordings.php:176 +#: public/partials/parts/recordings.php:218 msgid "Download" msgstr "" +#: helpers/helper.php:259 +msgid "Enable auto cloud recording" +msgstr "" + #: admin/class-plugnmeet-settings-page.php:226 msgid "Enable Dynacast" msgstr "" @@ -214,11 +234,11 @@ msgstr "" msgid "Join" msgstr "" -#: admin/partials/form-parts/permission.php:101 +#: admin/partials/form-parts/permission.php:109 msgid "Join as
Attendee" msgstr "" -#: admin/partials/form-parts/permission.php:100 +#: admin/partials/form-parts/permission.php:108 msgid "Join as
Moderator" msgstr "" @@ -234,39 +254,39 @@ msgstr "" msgid "Local client download url" msgstr "" -#: helpers/helper.php:509 +#: helpers/helper.php:560 msgid "Lock chat" msgstr "" -#: helpers/helper.php:535 +#: helpers/helper.php:586 msgid "Lock chat file share" msgstr "" -#: helpers/helper.php:522 +#: helpers/helper.php:573 msgid "Lock chat send message" msgstr "" -#: helpers/helper.php:444 +#: helpers/helper.php:495 msgid "Lock microphone" msgstr "" -#: helpers/helper.php:548 +#: helpers/helper.php:599 msgid "Lock private chat" msgstr "" -#: helpers/helper.php:470 +#: helpers/helper.php:521 msgid "Lock screen sharing" msgstr "" -#: helpers/helper.php:496 +#: helpers/helper.php:547 msgid "Lock shared notepad" msgstr "" -#: helpers/helper.php:457 +#: helpers/helper.php:508 msgid "Lock webcam" msgstr "" -#: helpers/helper.php:483 +#: helpers/helper.php:534 msgid "Lock whiteboard" msgstr "" @@ -274,11 +294,11 @@ msgstr "" msgid "Logo" msgstr "" -#: admin/class-plugnmeet-admin.php:122 +#: admin/class-plugnmeet-admin.php:125 msgid "Manage recordings" msgstr "" -#: admin/class-plugnmeet-admin.php:112 +#: admin/class-plugnmeet-admin.php:115 msgid "Manage Rooms" msgstr "" @@ -304,7 +324,7 @@ msgstr "" msgid "Name" msgstr "" -#: helpers/ajaxHelper.php:160 +#: helpers/ajaxHelper.php:161 msgid "name is required" msgstr "" @@ -318,26 +338,27 @@ msgstr "" #: helpers/helper.php:118 helpers/helper.php:131 helpers/helper.php:144 #: helpers/helper.php:157 helpers/helper.php:170 helpers/helper.php:183 -#: helpers/helper.php:196 helpers/helper.php:209 helpers/helper.php:222 -#: helpers/helper.php:252 helpers/helper.php:265 helpers/helper.php:290 -#: helpers/helper.php:315 helpers/helper.php:340 helpers/helper.php:365 -#: helpers/helper.php:395 helpers/helper.php:425 helpers/helper.php:450 -#: helpers/helper.php:463 helpers/helper.php:476 helpers/helper.php:489 -#: helpers/helper.php:502 helpers/helper.php:515 helpers/helper.php:528 -#: helpers/helper.php:541 helpers/helper.php:554 +#: helpers/helper.php:196 helpers/helper.php:209 helpers/helper.php:239 +#: helpers/helper.php:252 helpers/helper.php:265 helpers/helper.php:278 +#: helpers/helper.php:303 helpers/helper.php:316 helpers/helper.php:341 +#: helpers/helper.php:366 helpers/helper.php:391 helpers/helper.php:416 +#: helpers/helper.php:446 helpers/helper.php:476 helpers/helper.php:501 +#: helpers/helper.php:514 helpers/helper.php:527 helpers/helper.php:540 +#: helpers/helper.php:553 helpers/helper.php:566 helpers/helper.php:579 +#: helpers/helper.php:592 helpers/helper.php:605 msgid "No" msgstr "" -#: admin/class-plugnmeet-admin.php:356 +#: admin/class-plugnmeet-admin.php:359 msgid "No id was sent" msgstr "" -#: public/class-plugnmeet-public.php:271 helpers/ajaxHelper.php:172 -#: helpers/ajaxHelper.php:301 +#: helpers/ajaxHelper.php:173 helpers/ajaxHelper.php:302 +#: public/class-plugnmeet-public.php:272 msgid "no room found" msgstr "" -#: helpers/helper.php:402 +#: helpers/helper.php:453 msgid "Number of rooms" msgstr "" @@ -353,7 +374,7 @@ msgstr "" msgid "Password" msgstr "" -#: helpers/ajaxHelper.php:252 +#: helpers/ajaxHelper.php:253 msgid "password didn't match" msgstr "" @@ -361,7 +382,11 @@ msgstr "" msgid "Permission" msgstr "" -#: admin/class-plugnmeet-admin.php:101 admin/class-plugnmeet-admin.php:102 +#: public/partials/parts/recordings.php:211 +msgid "Play" +msgstr "" + +#: admin/class-plugnmeet-admin.php:104 admin/class-plugnmeet-admin.php:105 msgid "Plug-N-Meet" msgstr "" @@ -411,15 +436,15 @@ msgstr "" msgid "Recording date" msgstr "" -#: helpers/ajaxHelper.php:135 +#: helpers/ajaxHelper.php:136 msgid "Recording was deleted successfully" msgstr "" -#: admin/class-plugnmeet-admin.php:123 public/partials/parts/recordings.php:20 +#: admin/class-plugnmeet-admin.php:126 public/partials/parts/recordings.php:20 msgid "Recordings" msgstr "" -#: admin/partials/form-parts/permission.php:102 +#: admin/partials/form-parts/permission.php:110 msgid "Require
Password" msgstr "" @@ -431,7 +456,7 @@ msgstr "" msgid "Right Color" msgstr "" -#: admin/partials/form-parts/permission.php:99 +#: admin/partials/form-parts/permission.php:107 msgid "Role" msgstr "" @@ -439,7 +464,7 @@ msgstr "" msgid "Room description" msgstr "" -#: helpers/helper.php:229 +#: helpers/helper.php:216 msgid "Room duration (In minutes, 0 = unlimited)" msgstr "" @@ -451,7 +476,7 @@ msgstr "" msgid "Room Id" msgstr "" -#: public/class-plugnmeet-public.php:113 helpers/ajaxHelper.php:155 +#: helpers/ajaxHelper.php:156 public/class-plugnmeet-public.php:114 msgid "room Id is missing" msgstr "" @@ -459,11 +484,11 @@ msgstr "" msgid "room id required" msgstr "" -#: helpers/ajaxHelper.php:175 helpers/ajaxHelper.php:304 +#: helpers/ajaxHelper.php:176 helpers/ajaxHelper.php:305 msgid "room not active" msgstr "" -#: helpers/helper.php:583 +#: helpers/helper.php:634 msgid "Room Status" msgstr "" @@ -476,7 +501,7 @@ msgstr "" msgid "Room's Password" msgstr "" -#: admin/class-plugnmeet-admin.php:113 +#: admin/class-plugnmeet-admin.php:116 #: admin/partials/plugnmeet-admin-display-rooms.php:20 msgid "Rooms" msgstr "" @@ -507,7 +532,7 @@ msgstr "" msgid "Setting saved" msgstr "" -#: admin/class-plugnmeet-admin.php:132 admin/class-plugnmeet-admin.php:133 +#: admin/class-plugnmeet-admin.php:135 admin/class-plugnmeet-admin.php:136 msgid "Settings" msgstr "" @@ -527,18 +552,18 @@ msgstr "" msgid "Submit" msgstr "" -#: admin/class-plugnmeet-admin.php:307 +#: admin/class-plugnmeet-admin.php:310 msgid "Successfully saved room data" msgstr "" -#: admin/class-plugnmeet-admin.php:337 +#: admin/class-plugnmeet-admin.php:340 msgid "Successfully updated room data" msgstr "" -#: admin/class-plugnmeet-admin.php:153 admin/class-plugnmeet-admin.php:230 -#: admin/class-plugnmeet-admin.php:348 helpers/ajaxHelper.php:24 -#: helpers/ajaxHelper.php:64 helpers/ajaxHelper.php:104 -#: helpers/ajaxHelper.php:144 +#: admin/class-plugnmeet-admin.php:156 admin/class-plugnmeet-admin.php:233 +#: admin/class-plugnmeet-admin.php:351 helpers/ajaxHelper.php:24 +#: helpers/ajaxHelper.php:64 helpers/ajaxHelper.php:105 +#: helpers/ajaxHelper.php:145 msgid "Token mismatched" msgstr "" @@ -546,7 +571,7 @@ msgstr "" msgid "Unpublished" msgstr "" -#: admin/class-plugnmeet-admin.php:199 +#: admin/class-plugnmeet-admin.php:202 msgid "Unzip failed" msgstr "" @@ -554,7 +579,7 @@ msgstr "" msgid "Update" msgstr "" -#: admin/class-plugnmeet-admin.php:197 +#: admin/class-plugnmeet-admin.php:200 msgid "Updated client successfully" msgstr "" @@ -568,7 +593,7 @@ msgstr "" msgid "Video Codec" msgstr "" -#: helpers/helper.php:372 +#: helpers/helper.php:423 msgid "Waiting room message" msgstr "" @@ -582,17 +607,18 @@ msgstr "" #: helpers/helper.php:115 helpers/helper.php:128 helpers/helper.php:141 #: helpers/helper.php:154 helpers/helper.php:167 helpers/helper.php:180 -#: helpers/helper.php:193 helpers/helper.php:206 helpers/helper.php:219 -#: helpers/helper.php:249 helpers/helper.php:262 helpers/helper.php:287 -#: helpers/helper.php:312 helpers/helper.php:337 helpers/helper.php:362 -#: helpers/helper.php:392 helpers/helper.php:422 helpers/helper.php:447 -#: helpers/helper.php:460 helpers/helper.php:473 helpers/helper.php:486 -#: helpers/helper.php:499 helpers/helper.php:512 helpers/helper.php:525 -#: helpers/helper.php:538 helpers/helper.php:551 +#: helpers/helper.php:193 helpers/helper.php:206 helpers/helper.php:236 +#: helpers/helper.php:249 helpers/helper.php:262 helpers/helper.php:275 +#: helpers/helper.php:300 helpers/helper.php:313 helpers/helper.php:338 +#: helpers/helper.php:363 helpers/helper.php:388 helpers/helper.php:413 +#: helpers/helper.php:443 helpers/helper.php:473 helpers/helper.php:498 +#: helpers/helper.php:511 helpers/helper.php:524 helpers/helper.php:537 +#: helpers/helper.php:550 helpers/helper.php:563 helpers/helper.php:576 +#: helpers/helper.php:589 helpers/helper.php:602 msgid "Yes" msgstr "" -#: helpers/ajaxHelper.php:242 helpers/ajaxHelper.php:293 +#: helpers/ajaxHelper.php:243 helpers/ajaxHelper.php:294 msgid "you don't have permission" msgstr "" diff --git a/plugnmeet/plugnmeet.php b/plugnmeet/plugnmeet.php index 5d0e300..74b2482 100755 --- a/plugnmeet/plugnmeet.php +++ b/plugnmeet/plugnmeet.php @@ -15,7 +15,7 @@ * Plugin Name: Plug-N-Meet web conference integration * Plugin URI: https://github.com/mynaparrot/plugNmeet-WordPress * Description: Plug-N-Meet web conference integration with WordPress - * Version: 1.1.5 + * Version: 1.2.0 * Author: Jibon L. Costa * Requires at least: 5.9 * Requires PHP: 7.4.0 @@ -37,7 +37,7 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define('PLUGNMEET_VERSION', '1.1.5'); +define('PLUGNMEET_VERSION', '1.2.0'); /** * Define the Plugin basename diff --git a/plugnmeet/public/class-plugnmeet-public.php b/plugnmeet/public/class-plugnmeet-public.php index 51383bd..ca8d654 100755 --- a/plugnmeet/public/class-plugnmeet-public.php +++ b/plugnmeet/public/class-plugnmeet-public.php @@ -82,6 +82,7 @@ public function enqueue_styles() { */ public function enqueue_scripts() { wp_enqueue_script($this->plugin_name, plugin_dir_url(__FILE__) . 'js/plugnmeet-public.js', array('jquery'), $this->version, true); + add_thickbox(); $nonce = wp_create_nonce('plugnmeet_frontend'); $script = array('nonce' => $nonce, 'ajaxurl' => admin_url('admin-ajax.php')); diff --git a/plugnmeet/public/partials/parts/recordings.php b/plugnmeet/public/partials/parts/recordings.php index 92fd180..c4421df 100644 --- a/plugnmeet/public/partials/parts/recordings.php +++ b/plugnmeet/public/partials/parts/recordings.php @@ -11,35 +11,41 @@ * @subpackage Plugnmeet/public/partials */ -if (!defined('PLUGNMEET_BASE_NAME')) { - die; +if ( ! defined( 'PLUGNMEET_BASE_NAME' ) ) { + die; } ?>
-

+

-
-
-
+
+
+
+