As Saaru says - it is an unrelated AF assist light form a "stills" camera.
Using this is very rude* on the part of the photographer and not at all necessary in such high contrast situations.
The error is with the lecturer who should have issued a first and final warning the first time it happened. Such lights are often extremely bright and distracting for those they illuminate due to the relatively low power being concentrated in a small overall area.
I have had people in group photos where a flash was used advise that they were as distracting as the flash.
*-Inappropriate AF light operation is usually obvious to the photographer at close range due to the resultant illumination, but may not be obvious when the subject is some distance away. The AF light does not have to be useful to be annoying :-(.
I try to ensure that the "focus assist" light is disabled except when I very specifically wish to use it. I recently acquired a new camera (Sony A6300) and on one of its first "outings" I failed to properly disable the AF light. I took photos in an inside event where photography had previously been acceptable BUT should have been unobtrusive. It wasn't!!!
Due to the distance photos were being taken at I did not see the AF light working and the subjects were probably not usefully illuminated by it. I subsequently received several adverse comments.