Taking student and user screenshot

Hi I am running a moodle website . i want to use jitsi for live classes in my moodle and i want a screenshot functionality in my jitsi. It should take screenshot of student and teacher in 5 mins.
Can any one here help me how can i ahieve this.
Gulshan Kumar

One way is to record the session with very low frame rate if this is your server


You can try this,

api.captureLargeVideoScreenshot().then(data => {
    // data is an Object with only one param, dataURL
    // data.dataURL = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABQAA..."

how can i try this , i dont know jitsi
can you please guide me what code should i put where?