Awesome!, If you want to try without the ffmpeg dependency in the future, you might have some luck with the Canvas captureStream API [1] and the MediaStream Recording API
[1] https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasE...
[2] https://developer.mozilla.org/en-US/docs/Web/API/MediaStream...