feat: Add Max Bitrate option (#3628)

This commit is contained in:
Utkarsh Dalal
2025-02-10 01:30:29 +05:30
committed by GitHub
parent ff0ed25e47
commit 3a88ddc639
6 changed files with 37 additions and 2 deletions

View File

@@ -509,7 +509,8 @@ namespace config {
{} // wa
}, // display_device
1 // min_fps_factor
1, // min_fps_factor
0 // max_bitrate
};
audio_t audio {
@@ -1138,6 +1139,7 @@ namespace config {
bool_f(vars, "dd_wa_hdr_toggle", video.dd.wa.hdr_toggle);
int_between_f(vars, "min_fps_factor", video.min_fps_factor, {1, 3});
int_f(vars, "max_bitrate", video.max_bitrate);
path_f(vars, "pkey", nvhttp.pkey);
path_f(vars, "cert", nvhttp.cert);