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

Option to have different FPS caps for when the window is active/inactive #4870

Open
Final23 opened this issue Apr 20, 2024 · 0 comments
Open

Comments

@Final23
Copy link

Final23 commented Apr 20, 2024

I'd love for Scrcpy to have a command line option that limits FPS unrelated to the existing one and is used when the Scrcpy window doesn't have the window focus, i.e. when it runs in the background. The existing option
scrcpy --max-fps=15
should be retained and entirely independent from this new one. I envision something like
scrcpy --max-background-fps=3

I use this in several other apps and games to help me focus by severely reducing frame rate for windows that aren't currently active. It could help with power consumption and network traffic, too, though it may be tricky to have Scrcpy transmit the capture FPS change event to an active session on the fly if we're limiting the capture on the device rather than on the receiving computer.

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