Auto Record Meetings

Has anybody worked around recording a jitsi meeting as soon as it starts ?