Is consent from students required for teachers to video-record the online lecture?

Similar to face-to-face lectures, teachers should inform students prior to recording the lectures, and students will have the choice to disable the video function in the online meeting software (e.g. ZOOM / MS Teams / Blackboard Collaborate Ultra).