Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/dev-dependencies-cddfeb1403'

This commit is contained in:
Yukino Song
2024-10-29 01:57:22 +08:00
13 changed files with 68 additions and 124 deletions

View File

@@ -403,7 +403,6 @@ namespace config {
APPS_JSON_PATH,
20, // fecPercentage
1, // channels
ENCRYPTION_MODE_NEVER, // lan_encryption_mode
ENCRYPTION_MODE_OPPORTUNISTIC, // wan_encryption_mode
@@ -1096,8 +1095,6 @@ namespace config {
stream.ping_timeout = std::chrono::milliseconds(to);
}
int_between_f(vars, "channels", stream.channels, { 1, std::numeric_limits<int>::max() });
int_between_f(vars, "lan_encryption_mode", stream.lan_encryption_mode, { 0, 2 });
int_between_f(vars, "wan_encryption_mode", stream.wan_encryption_mode, { 0, 2 });