Merge pull request #410 from 21pages/directx-option

option enable-directx-capture, andriod-software-encoding-half-scale
This commit is contained in:
RustDesk 2024-06-21 18:56:24 +08:00 committed by GitHub
commit adc629940b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 2 deletions

View File

@ -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` |

View File

@ -961,4 +961,20 @@ Android 浮动窗口具有可调整的透明度。如果您想启用但隐藏浮
| 可设值 | 默认值 | 示例 |
| :------: | :------: | :------: |
| 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
这个选项用于Windows做被控。如果没有遇到任何问题,建议使用默认设置,默认设置会优先使用DirectX进行截图,而不是直接使用GDI。
| 可设值 | 默认值 | 示例 |
| :------: | :------: | :------: |
| Y, N | Y | `enable-directx-capture=N` |
### andriod-software-encoding-half-scale
这个选项用于Android做被控。默认情况下,当分辨率大于1200时,硬件编码使用原始分辨率,而软件编码使用一半的分辨率,因为软件编码比较慢。这个选项用于设置软件编码是否应该缩放到一半分辨率。
| Values | Default | Example |
| :------: | :------: | :------: |
| Y, N | Y | `andriod-software-encoding-half-scale=N` |