While there have been a few cases of this, there have also been many cases where students have used videos of teachers in misleading ways or taken out of context to get effective teachers in trouble. Then people wonder why there’s a teaching shortage.
Students also routinely use photos and videos to bully, harass, and blackmail other students. And there is an epidemic of online predators who do this with minors.