advertise display modes

This commit is contained in:
loki
2021-05-26 17:34:25 +02:00
parent 9f6b4ed93b
commit 113e7a52d4
6 changed files with 212 additions and 29 deletions

View File

@@ -37,6 +37,26 @@
# The file where current state of Sunshine is stored
# file_state = sunshine_state.json
# The display modes advertised by Sunshine
#
# Some versions of Moonlight, such as Moonlight-nx (Switch),
# rely on this list to ensure that the requested resolutions and fps
# are supported.
#
# fps = [10, 30, 60, 90, 120]
# resolutions = [
# 352x240,
# 480x360,
# 858x480,
# 1280x720,
# 1920x1080,
# 2560x1080,
# 3440x1440,
# 1920x1200,
# 3860x2160,
# 3840x1600,
# ]
# How long to wait in milliseconds for data from moonlight before shutting down the stream
# ping_timeout = 2000
@@ -210,4 +230,4 @@
# To set the initial state of flags -0 and -1 to on, set the following flags:
# flags = 01
#
# See: sunshine --help for all options under the header: flags
# See: sunshine --help for all options under the header: flags