|
|
|
|
@ -206,7 +206,7 @@ class ZoomPlugin extends Plugin |
|
|
|
|
* Updates a meeting. |
|
|
|
|
* |
|
|
|
|
* @param int $meetingId |
|
|
|
|
* @param CourseMeetingInfoGet $meeting with updated properties |
|
|
|
|
* @param CourseMeetingInfoGet $meeting with updated properties |
|
|
|
|
* |
|
|
|
|
* @throws Exception on API error |
|
|
|
|
*/ |
|
|
|
|
@ -268,29 +268,6 @@ class ZoomPlugin extends Plugin |
|
|
|
|
return $this->jwtClient()->getParticipants($meetingUUID); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Adds a link to a meeting's recordings. |
|
|
|
|
* |
|
|
|
|
* @param string $meetingUUID UUID of the meeting |
|
|
|
|
* |
|
|
|
|
* @throws Exception on API error |
|
|
|
|
* |
|
|
|
|
* @return Link the newly added link |
|
|
|
|
*/ |
|
|
|
|
public function copyRecordingToLinkTool($meetingUUID) |
|
|
|
|
{ |
|
|
|
|
$recordings = $this->jwtClient()->getRecordings($meetingUUID); |
|
|
|
|
$link = new Link(); |
|
|
|
|
$link->save( |
|
|
|
|
[ |
|
|
|
|
'url' => $recordings->share_url, |
|
|
|
|
'title' => $recordings->topic, |
|
|
|
|
] |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
return $link; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Caches and returns the JWT client instance, initialized with plugin settings. |
|
|
|
|
* |
|
|
|
|
@ -343,6 +320,7 @@ class ZoomPlugin extends Plugin |
|
|
|
|
{ |
|
|
|
|
$meeting->settings->auto_recording = 'cloud'; |
|
|
|
|
$meeting->tagAgenda(); |
|
|
|
|
|
|
|
|
|
return CourseMeetingInfoGet::fromMeetingInfoGet($this->jwtClient()->createMeeting($meeting)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|