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

request: don't hardcode framerate #98

Open
ThaUnknown opened this issue Jan 27, 2023 · 0 comments
Open

request: don't hardcode framerate #98

ThaUnknown opened this issue Jan 27, 2023 · 0 comments

Comments

@ThaUnknown
Copy link

Hardcoding framerate for this looks very choppy, especially sub 60 fps as the video frametimes desync heavily from the fps check, I recommend requestVideoFrameCallback which would instead do this the frame before a frame is painted, or the moment a frame is processed, this allows for reduced bandwidth when no video updates are actually being sent, and more accurate video playback. It's also pollyfillable

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

1 participant