Auto recording in jitsi

Hi,

I want to implement an auto recording of a meeting whenever the moderator joins the class. Any ideas for how can I achieve this?