Restrict recording to record only moderators and shared screen?

The scenario is that I’m a teacher (moderator) and the other participants are my pupils. I would like to record the meeting, so that the pupils who are not present, can watch the recording later, and also for others to review. But because these pupils are underage, I can’t by policy record them. So I wonder if it is possible to restrict recording to only record the moderator and any shared screen?

Yes, you can do that by setting “Everyone follow me” and then keeping your view (as the moderator) in Speaker/Stage mode.