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

Suggest supporting frame rate adjustment #101

Open
fcwys opened this issue Sep 5, 2024 · 2 comments
Open

Suggest supporting frame rate adjustment #101

fcwys opened this issue Sep 5, 2024 · 2 comments

Comments

@fcwys
Copy link

fcwys commented Sep 5, 2024

At present, it has been found that in remote desktop environments, the refresh rate of the screen is relatively slow, and the display of QR codes lags and affects the recognition of the APP. It is hoped that the frame rate can be adjusted to adapt to this usage scenario.

@sz3
Copy link
Owner

sz3 commented Sep 6, 2024

This probably isn't the best answer, but right now the easiest way to do this might be to crack open whatever version of the cimbar.js page you're using and find/modify this line:
https://github.com/sz3/libcimbar/blob/master/web/main.js#L3

That "66" is milliseconds -- the delay between frames. I'm not sure what frame delay will work best for that use case -- or even if there is a one-size-fits-all framerate, but you might try something like 200 (5 fps), 100 (10 fps), or something in between and see if it helps.

@fcwys
Copy link
Author

fcwys commented Sep 6, 2024

OK, thank you. We can consider adding a frame rate option to the web page later.

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