Send html page screenshots to videostream for sharing

I am working on a Desktop App which is built on JXBrowser. JXBrowser does not support many of the navigator apis and extensions too and so screen sharing isnt working.

Currently my plan is to get screenshot of my page using html2canvas api.
I can then keep sending those images which would appear like its a video.

Is there a way in jitsi meet wherein I can send those images in the video stream (similar to how share desktop works)

Any help/reference would be greatly appreciated