BigBlueButton avoid recording or showing studient's webcam

Re: BigBlueButton avoid recording or showing studient's webcam

by Raúl Groba Álvarez -
Number of replies: 0
the server has to be updated otherwise it doesn't work.

in /mod/bigbluebuttonbn/locallib.php
function bigbluebuttonbn_get_join_url($meetingid, $username, $pw, $logouturl, $configtoken = null, $userid = null) {

add

//no permitir las grabaciones a los estudiantes
$context = context_course::instance($COURSE->id);
$roles = get_user_roles($context, $USER->id, false);

foreach($roles as $role){
if($role->roleid == 5){
$data['userdata-bbb_record_video'] = "false";
}
}
//fin