Take screenshot of conference using jitsi

i am working on jitsi meet we need to capture the screenshot of the conference and store it in Database

i tried api.captureLargeScreen but could manage to do so…
We’re looking to add a screenshot functionality to our jitsi installation. The idea is that the moderator can press a button to take a screenshot of the video conference and the screenshot will be uploaded to our server.
Is something like this possible, and if it is can someone please point us to the right direction?