Open ProgrammingLife opened 4 years ago
This not happens when I use webm-writer only without CCapture.
Ok finally I got the warning about setTimeout() on the main page of the library:
requestAnimationFrame, setTimeout, etc. won't work as expected after capture is started. Make sure your animation loop is running
but why don't you make your own custom setTimeout() function? To not to break the standart setTimeout() functionality.
I use CCapture in the following way:
<script src="scripts/ccapture.js-1.0.9/build/CCapture.all.min.js"></script>
Tested in all latest browsers (FireFox, Chromium).
I have the code:
Console output is:
which is great, right? But when I uncomment that problem line with capturer.start() I get in the console only:
but what's wrong with the CCapturer? Why it breaks my promises? What do I do wrong? How to avoid it?