feat(stream)!: remove limit on concurrent sessions and allow quitting apps with active sessions (#3325)

This commit is contained in:
Cameron Gutman 2024-10-24 19:11:50 -05:00 committed by GitHub
commit 73d777fa0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 56 additions and 120 deletions

View file

@ -395,7 +395,6 @@ namespace config {
APPS_JSON_PATH,
20, // fecPercentage
1, // channels
ENCRYPTION_MODE_NEVER, // lan_encryption_mode
ENCRYPTION_MODE_OPPORTUNISTIC, // wan_encryption_mode
@ -1046,8 +1045,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 });