To identify the copyright violation, many platforms have a feature of a moving watermark that includes the user's name and phone number or email. If any user screen records and shares it will be easy to identify who did it. This discourages from publishing. It is still okay if users privately record and share amongst a small group - which will continue to happen
But at least my class will not be available in the open market in platforms like telegram