option enable-directx-capture, andriod-software-encoding-half-scale

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2024-06-21 16:59:18 +08:00
parent 1e73c1a0f4
commit 456655c981
2 changed files with 34 additions and 2 deletions
@@ -961,4 +961,20 @@ This is for the Android controlled side. Note that keeping the screen on depends
| Values | Default | Example |
| :------: | :------: | :------: |
| never, during-controlled, service-on | during-controlled | `keep-screen-on=never` |
| never, during-controlled, service-on | during-controlled | `keep-screen-on=never` |
### enable-directx-capture
This is for the Windows controlled side. If you don't encounter any problems, it is recommended to use the default settings, which prioritize using DirectX for screenshots instead of using GDI directly.
| Values | Default | Example |
| :------: | :------: | :------: |
| Y, N | Y | `enable-directx-capture=N` |
### andriod-software-encoding-half-scale
This is for the Android controlled side. By default, when the resolution is greater than 1200, hardware encoding uses the original resolution, while software encoding uses half the resolution, as software encoding is slower. This option is used to set whether software encoding should be scaled to half the resolution.
| Values | Default | Example |
| :------: | :------: | :------: |
| Y, N | Y | `andriod-software-encoding-half-scale=N` |