Línea 244... |
Línea 244... |
244 |
$now = time();
|
244 |
$now = time();
|
245 |
$mockdata = array_merge((array) $recordingdata, [
|
245 |
$mockdata = array_merge((array) $recordingdata, [
|
246 |
'sequence' => 1,
|
246 |
'sequence' => 1,
|
247 |
'meta' => [
|
247 |
'meta' => [
|
248 |
'bn-presenter-name' => $data['presentername'] ?? 'Fake presenter',
|
248 |
'bn-presenter-name' => $data['presentername'] ?? 'Fake presenter',
|
249 |
'bn-recording-ready-url' => new moodle_url('/mod/bigbluebuttonbn/bbb_broker.php', [
|
249 |
'bbb-recording-ready-url' => new moodle_url('/mod/bigbluebuttonbn/bbb_broker.php', [
|
250 |
'action' => 'recording_ready',
|
250 |
'action' => 'recording_ready',
|
251 |
'bigbluebuttonbn' => $instance->get_instance_id()
|
251 |
'bigbluebuttonbn' => $instance->get_instance_id()
|
252 |
]),
|
252 |
]),
|
253 |
'bbb-recording-description' => $data['description'] ?? '',
|
253 |
'bbb-recording-description' => $data['description'] ?? '',
|
254 |
'bbb-recording-name' => $data['name'] ?? '',
|
254 |
'bbb-recording-name' => $data['name'] ?? '',
|
Línea 350... |
Línea 350... |
350 |
'bbb-recording-description' => $instance->get_meeting_description(),
|
350 |
'bbb-recording-description' => $instance->get_meeting_description(),
|
351 |
'bbb-recording-name' => $instance->get_meeting_name(),
|
351 |
'bbb-recording-name' => $instance->get_meeting_name(),
|
352 |
],
|
352 |
],
|
353 |
]);
|
353 |
]);
|
354 |
if ((boolean) config::get('recordingready_enabled')) {
|
354 |
if ((boolean) config::get('recordingready_enabled')) {
|
355 |
$roomconfig['meta']['bn-recording-ready-url'] = $instance->get_record_ready_url()->out(false);
|
355 |
$roomconfig['meta']['bbb-recording-ready-url'] = $instance->get_record_ready_url()->out(false);
|
356 |
}
|
356 |
}
|
357 |
if ((boolean) config::get('meetingevents_enabled')) {
|
357 |
if ((boolean) config::get('meetingevents_enabled')) {
|
358 |
$roomconfig['meta']['analytics-callback-url'] = $instance->get_meeting_event_notification_url()->out(false);
|
358 |
$roomconfig['meta']['analytics-callback-url'] = $instance->get_meeting_event_notification_url()->out(false);
|
359 |
}
|
359 |
}
|
360 |
if (!empty($roomconfig['isBreakout'])) {
|
360 |
if (!empty($roomconfig['isBreakout'])) {
|