diff --git a/assets/sunshine.conf b/assets/sunshine.conf index 29f2a12a..1501bb98 100644 --- a/assets/sunshine.conf +++ b/assets/sunshine.conf @@ -38,7 +38,7 @@ # file_state = sunshine_state.json # How long to wait in milliseconds for data from moonlight before shutting down the stream -ping_timeout = 2000 +# ping_timeout = 2000 # The file where configuration for the different applications that Sunshine can run during a stream # file_apps = apps.json @@ -48,7 +48,7 @@ ping_timeout = 2000 # The higher fec_percentage, the lower space for the actual data to send per frame there is # # The value must be greater than 0 and lower than or equal to 100 -fec_percentage = 10 +# fec_percentage = 10 # The back/select button on the controller @@ -86,18 +86,18 @@ fec_percentage = 10 # Constant Rate Factor. Between 1 and 52. It allows QP to go up during motion and down with still image, resulting in constant perceived quality # Higher value means more compression, but less quality # If crf == 0, then use QP directly instead -crf = 0 +# crf = 0 # Quantitization Parameter # Higher value means more compression, but less quality # If crf != 0, then this parameter is ignored -qp = 28 +# qp = 28 # Minimum number of threads used by ffmpeg to encode the video. # Increasing the value slightly reduces encoding efficiency, but the tradeoff is usually # worth it to gain the use of more CPU cores for encoding. The ideal value is the lowest # value that can reliably encode at your desired streaming settings on your hardware. -min_threads = 2 +# min_threads = 2 # Allows the client to request HEVC Main or HEVC Main10 video streams. # HEVC is more CPU-intensive to encode, so enabling this may reduce performance. @@ -107,5 +107,5 @@ min_threads = 2 # hevc_mode = 2 # See x264 --fullhelp for the different presets -preset = superfast -tune = zerolatency +# preset = superfast +# tune = zerolatency diff --git a/sunshine/config.cpp b/sunshine/config.cpp index ff9482fc..a0ca7cdf 100644 --- a/sunshine/config.cpp +++ b/sunshine/config.cpp @@ -16,8 +16,8 @@ namespace config { using namespace std::literals; video_t video { - 35, // crf - 35, // qp + 0, // crf + 28, // qp 2, // min_threads @@ -35,7 +35,7 @@ stream_t stream { APPS_JSON_PATH, - 13 // fecPercentage + 10 // fecPercentage }; nvhttp_t nvhttp {