muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.52k stars 1.75k forks source link

[Feature] Allow RecordRTC record video for html (not canvas) element #710

Open RomanIovlev opened 3 years ago

RomanIovlev commented 3 years ago

As I know RecordRTC can record video only for canvas elements but we can convert any HTML element to the canvas using html2Canvas and can create image of this element with simple html2canvas(element).then((canvas) => canvas.toDataURL('"+imageType.value+"')) command So idea is to capture a seria of images of elements using the code above and store this seria to a video stream. Is this possible?