| @@ 302-308 (lines=7) @@ | ||
| 299 | ]; |
|
| 300 | $data['record'] = bigbluebuttonbn_bbb_view_create_meeting_data_record($bbbsession['record']); |
|
| 301 | // Check if auto_start_record is enable. |
|
| 302 | if ($data['record'] == 'true' && $bbbsession['recordallfromstart']) { |
|
| 303 | $data['autoStartRecording'] = 'true'; |
|
| 304 | // Check if hide_record_button is enable. |
|
| 305 | if ($bbbsession['recordhidebutton']) { |
|
| 306 | $data['allowStartStopRecording'] = 'false'; |
|
| 307 | } |
|
| 308 | } |
|
| 309 | ||
| 310 | $data['welcome'] = trim($bbbsession['welcome']); |
|
| 311 | // Set the duration for the meeting. |
|
| @@ 102-108 (lines=7) @@ | ||
| 99 | ]; |
|
| 100 | $data['record'] = self::create_meeting_data_record($bbbsession['record']); |
|
| 101 | // Check if auto_start_record is enable. |
|
| 102 | if ($data['record'] == 'true' && $bbbsession['recordallfromstart']) { |
|
| 103 | $data['autoStartRecording'] = 'true'; |
|
| 104 | // Check if hide_record_button is enable. |
|
| 105 | if ($bbbsession['recordallfromstart'] && $bbbsession['recordhidebutton']) { |
|
| 106 | $data['allowStartStopRecording'] = 'false'; |
|
| 107 | } |
|
| 108 | } |
|
| 109 | $data['welcome'] = trim($bbbsession['welcome']); |
|
| 110 | // Set the duration for the meeting. |
|
| 111 | $durationtime = self::create_meeting_data_duration($bbbsession['bigbluebuttonbn']->closingtime); |
|