Increase default FEC percentage to match GFE

Also increase the range to the maximum of 255
This commit is contained in:
Cameron Gutman
2021-07-03 23:37:43 -05:00
parent e169259f6f
commit 169a53b568
3 changed files with 11 additions and 11 deletions

View File

@@ -180,7 +180,7 @@ stream_t stream {
APPS_JSON_PATH,
10, // fecPercentage
20, // fecPercentage
1 // channels
};
@@ -624,7 +624,7 @@ void apply_config(std::unordered_map<std::string, std::string> &&vars) {
int_between_f(vars, "channels", stream.channels, { 1, std::numeric_limits<int>::max() });
path_f(vars, "file_apps", stream.file_apps);
int_between_f(vars, "fec_percentage", stream.fec_percentage, { 1, 100 });
int_between_f(vars, "fec_percentage", stream.fec_percentage, { 1, 255 });
to = std::numeric_limits<int>::min();
int_f(vars, "back_button_timeout", to);