[SOLVED] Using ccapture.js library to PC screen capture

Hey all! I am trying to use the ccapture.js library that @Leonidas had mentioned in this post [SOLVED] How to get video .mp4 from canvas? - Help & Support - PlayCanvas Discussion.

My project Screen Capture Test | Editor (playcanvas.com) doesn’t throw any error and looks like it works fine, but at the end of capture the downloaded webm file is not correct.

Somebody can help?

I discovered that “Preserve Drawing Buffer” needs to be checked in SETTINGS>RENDERING panel