mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-20 04:05:13 -04:00
UI: Add support for Twitch "Auto" server in auto-config
Uses the "Auto" server automatically for Twitch rather than doing a region-based test on multiple servers.
This commit is contained in:
@@ -246,8 +246,10 @@ void AutoConfigTestPage::TestBandwidthThread()
|
||||
GetServers(servers);
|
||||
|
||||
/* just use the first server if it only has one alternate server,
|
||||
* or if using Mixer due to its "auto" server */
|
||||
if (servers.size() < 3 || wiz->serviceName == "Mixer.com - FTL")
|
||||
* or if using Twitch/Mixer due to the "auto" option */
|
||||
if (servers.size() < 3 ||
|
||||
wiz->service == AutoConfig::Service::Twitch ||
|
||||
wiz->serviceName == "Mixer.com - FTL")
|
||||
servers.resize(1);
|
||||
|
||||
/* -----------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user