From 456655c981750886b8d1f629db021c55a026179f Mon Sep 17 00:00:00 2001 From: 21pages Date: Fri, 21 Jun 2024 16:59:18 +0800 Subject: [PATCH] option enable-directx-capture, andriod-software-encoding-half-scale Signed-off-by: 21pages --- .../advanced-settings/_index.en.md | 18 +++++++++++++++++- .../advanced-settings/_index.zh-cn.md | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/content/self-host/client-configuration/advanced-settings/_index.en.md b/content/self-host/client-configuration/advanced-settings/_index.en.md index cd871d0..ca44b42 100644 --- a/content/self-host/client-configuration/advanced-settings/_index.en.md +++ b/content/self-host/client-configuration/advanced-settings/_index.en.md @@ -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` | \ No newline at end of file +| 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` | diff --git a/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md b/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md index 39a973c..058da01 100644 --- a/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md +++ b/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md @@ -961,4 +961,20 @@ Android 浮动窗口具有可调整的透明度。如果您想启用但隐藏浮 | 可设值 | 默认值 | 示例 | | :------: | :------: | :------: | -| never, during-controlled, service-on | during-controlled | `keep-screen-on=never` | \ No newline at end of file +| 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` | \ No newline at end of file