Accept --max-fps before Android 10

KEY_MAX_FPS_TO_ENCODER existed privately before Android 10:
<https://github.com/Genymobile/scrcpy/issues/488#issuecomment-567321437>
This commit is contained in:
Romain Vimont
2019-12-19 11:49:50 +01:00
parent db6252e52b
commit 83d48267a7
4 changed files with 11 additions and 9 deletions

View File

@@ -137,12 +137,14 @@ scrcpy -b 2M # short version
#### Limit frame rate
On devices with Android >= 10, the capture frame rate can be limited:
The capture frame rate can be limited:
```bash
scrcpy --max-fps 15
```
This is officially supported since Android 10, but may work on earlier versions.
#### Crop
The device screen may be cropped to mirror only part of the screen.