Add option --max-fps

Add an option to limit the capture frame rate. It only works for devices
with Android >= 10.

Fixes <https://github.com/Genymobile/scrcpy/issues/488>
This commit is contained in:
Romain Vimont
2019-11-17 22:07:19 +01:00
parent fb976816f9
commit 1d97d7213d
10 changed files with 87 additions and 12 deletions

View File

@@ -134,6 +134,14 @@ scrcpy --bit-rate 2M
scrcpy -b 2M # short version
```
### Limit capture frame rate
On device with Android >= 10, the capture frame rate can be limited:
```bash
scrcpy --max-fps 15
```
### Crop