Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to do capturing in a Web Worker thread? #124

Open
cuinjune opened this issue Oct 22, 2020 · 1 comment
Open

Is it possible to do capturing in a Web Worker thread? #124

cuinjune opened this issue Oct 22, 2020 · 1 comment

Comments

@cuinjune
Copy link

cuinjune commented Oct 22, 2020

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-gh
Copy link

were you able to run it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants