commit
60fed63d68
|
@ -373,8 +373,6 @@ bool AutoConfigStreamPage::validatePage()
|
|||
if (!wiz->customServer) {
|
||||
if (wiz->serviceName == "Twitch")
|
||||
wiz->service = AutoConfig::Service::Twitch;
|
||||
else if (wiz->serviceName == "Smashcast")
|
||||
wiz->service = AutoConfig::Service::Smashcast;
|
||||
else
|
||||
wiz->service = AutoConfig::Service::Other;
|
||||
} else {
|
||||
|
@ -504,7 +502,7 @@ void AutoConfigStreamPage::ServiceChanged()
|
|||
return;
|
||||
|
||||
std::string service = QT_TO_UTF8(ui->service->currentText());
|
||||
bool regionBased = service == "Twitch" || service == "Smashcast";
|
||||
bool regionBased = service == "Twitch";
|
||||
bool testBandwidth = ui->doBandwidthTest->isChecked();
|
||||
bool custom = IsCustomService();
|
||||
|
||||
|
@ -928,21 +926,6 @@ bool AutoConfig::CanTestServer(const char *server)
|
|||
} else if (regionOther) {
|
||||
return true;
|
||||
}
|
||||
} else if (service == Service::Smashcast) {
|
||||
if (strcmp(server, "Default") == 0) {
|
||||
return true;
|
||||
} else if (astrcmp_n(server, "US-West:", 8) == 0 ||
|
||||
astrcmp_n(server, "US-East:", 8) == 0) {
|
||||
return regionUS;
|
||||
} else if (astrcmp_n(server, "EU-", 3) == 0) {
|
||||
return regionEU;
|
||||
} else if (astrcmp_n(server, "South Korea:", 12) == 0 ||
|
||||
astrcmp_n(server, "Asia:", 5) == 0 ||
|
||||
astrcmp_n(server, "China:", 6) == 0) {
|
||||
return regionAsia;
|
||||
} else if (regionOther) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -38,7 +38,6 @@ class AutoConfig : public QWizard {
|
|||
|
||||
enum class Service {
|
||||
Twitch,
|
||||
Smashcast,
|
||||
Other,
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"url": "https://obsproject.com/obs2_update/rtmp-services",
|
||||
"version": 161,
|
||||
"version": 162,
|
||||
"files": [
|
||||
{
|
||||
"name": "services.json",
|
||||
"version": 161
|
||||
"version": 162
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -278,61 +278,6 @@
|
|||
"x264opts": "scenecut=0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Smashcast",
|
||||
"servers": [
|
||||
{
|
||||
"name": "Default",
|
||||
"url": "rtmp://live.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "EU-North: Amsterdam, Netherlands",
|
||||
"url": "rtmp://live.ams.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "EU-West: Paris, France",
|
||||
"url": "rtmp://live.cdg.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "EU-South: Milan, Italia",
|
||||
"url": "rtmp://live.mxp.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "Russia: Moscow",
|
||||
"url": "rtmp://live.dme.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "US-East: New York",
|
||||
"url": "rtmp://live.jfk.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "US-West: San Francisco",
|
||||
"url": "rtmp://live.sfo.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "US-West: Los Angeles",
|
||||
"url": "rtmp://live.lax.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "South America: Sao Paulo, Brazil",
|
||||
"url": "rtmp://live.gru.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "Asia: Singapore",
|
||||
"url": "rtmp://live.sin.hitbox.tv/push"
|
||||
},
|
||||
{
|
||||
"name": "Oceania: Sydney, Australia",
|
||||
"url": "rtmp://live.syd.hitbox.tv/push"
|
||||
}
|
||||
],
|
||||
"recommended": {
|
||||
"keyint": 2,
|
||||
"profile": "high",
|
||||
"max video bitrate": 3500,
|
||||
"max audio bitrate": 320
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Mobcrush",
|
||||
"servers": [
|
||||
|
|
Loading…
Reference in New Issue