When a professor acts that way, I fully support the student’s recording the class without his or her knowledge. It’s simply an act of self-defense.
I recommend that parents tell all their kids to record teacher/prof. I do know that it has changed leftist behavior in the classroom for they do not know whether they are recorded or not these days.