Implement server commands through control stream

This commit is contained in:
Yukino Song
2024-09-11 07:30:50 +08:00
parent 2d084ed6f5
commit df7c742ca8
10 changed files with 190 additions and 24 deletions

View File

@@ -5,6 +5,8 @@
"autodetect": "Autodetect (recommended)",
"beta": "(beta)",
"cancel": "Cancel",
"cmd_name": "Command Name",
"cmd_val": "Command Value",
"disabled": "Disabled",
"disabled_def": "Disabled (default)",
"dismiss": "Dismiss",
@@ -308,6 +310,8 @@
"qsv_slow_hevc": "Allow Slow HEVC Encoding",
"qsv_slow_hevc_desc": "This can enable HEVC encoding on older Intel GPUs, at the cost of higher GPU usage and worse performance.",
"restart_note": "Apollo is restarting to apply changes.",
"server_cmd": "Server Commands",
"server_cmd_desc": "Configure a list of commands to be executed when called from client during streaming.",
"sunshine_name": "Apollo Name",
"sunshine_name_desc": "The name displayed by Moonlight. If not specified, the PC's hostname is used",
"sw_preset": "SW Presets",

View File

@@ -5,6 +5,8 @@
"autodetect": "自动检测 (推荐)",
"beta": "(测试版)",
"cancel": "取消",
"cmd_name": "命令名称",
"cmd_val": "命令值",
"disabled": "禁用",
"disabled_def": "禁用(默认)",
"dismiss": "关闭",
@@ -308,6 +310,8 @@
"res_fps_desc": "由 Apollo 通告的显示模式。 某些版本的 Moonlight如 Moonlight-nx (Switch),依靠这些清单来确保支持所请求的分辨率和 fps。 此设置不会改变屏幕串流送至 Moonlight 的方式。",
"resolutions": "通告分辨率",
"restart_note": "正在重启 Apollo 以应用更改。",
"server_cmd": "服务端命令",
"server_cmd_desc": "配置一个命令列表,当串流时从客户端调用。",
"sunshine_name": "Apollo 主机名称",
"sunshine_name_desc": "在 Moonlight 中显示的名称。如果未指定,则使用 PC 的主机名",
"sw_preset": "软件编码预设",