getUsers_id())."?{$userCredentials}"; if (Meet::isModerator($meet_schedule_id)) { $readyToClose = "{$global['webSiteRootURL']}plugin/Meet/?{$userCredentials}"; if ($meet->getPassword()) { //$apiExecute[] = "api.executeCommand('password', '" . $meet->getPassword() . "');"; } if ($meet->getLive_stream()) { $apiExecute[] = "api.executeCommand('startRecording', { mode: 'stream', youtubeStreamKey: '" . Live::getRTMPLink($meet->getUsers_id()) . "', });"; } else { $apiExecute[] = "/* getLive_stream = false */"; } } else { $apiExecute[] = "/* not moderator */"; } $domain = Meet::getDomainURL(); // for tests //$domain = str_replace('ca2.ypt.me', 'ca1.ypt.me', $domain); $nameIdentification = ''; if(!empty($_REQUEST['nameIdentification'])){ $nameIdentification = xss_esc($_REQUEST['nameIdentification']); }else if (User::isLogged()) { $nameIdentification = User::getNameIdentification(); } ?>