Is it possible to do capturing in a Web Worker thread?
cuinjune opened this issue · comments
Zack Lee commented
I'm currently using setTimeout(functionToCapture, 4)
to capture frames as fast as possible while not blocking the main thread.
I wonder if it's technically possible to capture frames in a Web Worker thread instead to make it even faster.
The canvas doesn't need to be drawn while capturing the frames in my case.
Usama Khalid commented
were you able to run it?