mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
fix(nvenc): Enable opt-in client refresh by client (#3415)
This commit is contained in:
@@ -976,6 +976,7 @@ namespace rtsp_stream {
|
||||
args.try_emplace("x-ml-video.configuredBitrateKbps"sv, "0"sv);
|
||||
args.try_emplace("x-ss-general.encryptionEnabled"sv, "0"sv);
|
||||
args.try_emplace("x-ss-video[0].chromaSamplingType"sv, "0"sv);
|
||||
args.try_emplace("x-ss-video[0].intraRefresh"sv, "0"sv);
|
||||
|
||||
stream::config_t config;
|
||||
|
||||
@@ -1012,6 +1013,7 @@ namespace rtsp_stream {
|
||||
config.monitor.videoFormat = util::from_view(args.at("x-nv-vqos[0].bitStreamFormat"sv));
|
||||
config.monitor.dynamicRange = util::from_view(args.at("x-nv-video[0].dynamicRangeMode"sv));
|
||||
config.monitor.chromaSamplingType = util::from_view(args.at("x-ss-video[0].chromaSamplingType"sv));
|
||||
config.monitor.enableIntraRefresh = util::from_view(args.at("x-ss-video[0].intraRefresh"sv));
|
||||
|
||||
configuredBitrateKbps = util::from_view(args.at("x-ml-video.configuredBitrateKbps"sv));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user