fix: add missing strings for max_bitrate setting, and improved logging for bitrate (#3656)
This commit is contained in:
parent
41d9a58560
commit
ffccc1af9b
2 changed files with 3 additions and 1 deletions
|
|
@ -1688,7 +1688,7 @@ namespace video {
|
|||
}
|
||||
|
||||
auto bitrate = ((config::video.max_bitrate > 0) ? std::min(config.bitrate, config::video.max_bitrate) : config.bitrate) * 1000;
|
||||
BOOST_LOG(info) << "Max bitrate is " << config::video.max_bitrate;
|
||||
BOOST_LOG(info) << "Streaming bitrate is " << bitrate;
|
||||
ctx->rc_max_rate = bitrate;
|
||||
ctx->bit_rate = bitrate;
|
||||
|
||||
|
|
|
|||
|
|
@ -252,6 +252,8 @@
|
|||
"log_level_desc": "The minimum log level printed to standard out",
|
||||
"log_path": "Logfile Path",
|
||||
"log_path_desc": "The file where the current logs of Sunshine are stored.",
|
||||
"max_bitrate": "Maximum Bitrate",
|
||||
"max_bitrate_desc": "The maximum bitrate (in Kbps) that Sunshine will encode the stream at. If set to 0, it will always use the bitrate requested by Moonlight.",
|
||||
"min_fps_factor": "Minimum FPS Factor",
|
||||
"min_fps_factor_desc": "Sunshine will use this factor to calculate the minimum time between frames. Increasing this value slightly may help when streaming mostly static content. Higher values will consume more bandwidth.",
|
||||
"min_threads": "Minimum CPU Thread Count",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue