feat(macos/capture): support for capture display other than main display (#2449)
This commit is contained in:
@@ -392,19 +392,24 @@
|
||||
<pre>tools\dxgi-info.exe</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3" v-if="platform === 'linux'">
|
||||
<label for="output_name" class="form-label">{{ $t('config.output_name_linux') }}</label>
|
||||
<div class="mb-3" v-if="platform === 'linux' || platform === 'macos'">
|
||||
<label for="output_name" class="form-label">{{ $t('config.output_name_unix') }}</label>
|
||||
<input type="text" class="form-control" id="output_name" placeholder="0" v-model="config.output_name" />
|
||||
<div class="form-text">
|
||||
{{ $t('config.output_name_desc_linux') }}<br>
|
||||
{{ $t('config.output_name_desc_unix') }}<br>
|
||||
<br>
|
||||
<pre style="white-space: pre-line;">
|
||||
Info: Detecting connected monitors
|
||||
Info: Detected monitor 0: DVI-D-0, connected: false
|
||||
Info: Detected monitor 1: HDMI-0, connected: true
|
||||
Info: Detected monitor 2: DP-0, connected: true
|
||||
Info: Detected monitor 3: DP-1, connected: false
|
||||
Info: Detected monitor 4: DVI-D-1, connected: false
|
||||
<pre style="white-space: pre-line;" v-if="platform === 'linux'">
|
||||
Info: Detecting displays
|
||||
Info: Detected display: DVI-D-0 (id: 0) connected: false
|
||||
Info: Detected display: HDMI-0 (id: 1) connected: true
|
||||
Info: Detected display: DP-0 (id: 2) connected: true
|
||||
Info: Detected display: DP-1 (id: 3) connected: false
|
||||
Info: Detected display: DVI-D-1 (id: 4) connected: false
|
||||
</pre>
|
||||
<pre style="white-space: pre-line;" v-if="platform === 'macos'">
|
||||
Info: Detecting displays
|
||||
Info: Detected display: Monitor-0 (id: 3) connected: true
|
||||
Info: Detected display: Monitor-1 (id: 2) connected: true
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -243,9 +243,9 @@
|
||||
"origin_web_ui_allowed_lan": "Only those in LAN may access Web UI",
|
||||
"origin_web_ui_allowed_pc": "Only localhost may access Web UI",
|
||||
"origin_web_ui_allowed_wan": "Anyone may access Web UI",
|
||||
"output_name_desc_linux": "During Sunshine startup, you should see the list of detected monitors. You need to use the value before the colon in the output. e.g.:",
|
||||
"output_name_desc_unix": "During Sunshine startup, you should see the list of detected displays. Note: You need to use the id value inside the parenthesis.",
|
||||
"output_name_desc_win": "Manually specify a display to use for capture. If unset, the primary display is captured. Note: If you specified a GPU above, this display must be connected to that GPU. The appropriate values can be found using the following command:",
|
||||
"output_name_linux": "Monitor number",
|
||||
"output_name_unix": "Display number",
|
||||
"output_name_win": "Output Name",
|
||||
"ping_timeout": "Ping Timeout",
|
||||
"ping_timeout_desc": "How long to wait in milliseconds for data from moonlight before shutting down the stream",
|
||||
|
||||
Reference in New Issue
Block a user