UI: Add Restream.io link to stream key page

Allows the users to find their stream key via a specified link if they
opt to just use a stream key instead of integration.
This commit is contained in:
SoftArch 2019-07-21 22:13:21 -07:00 • committed by jp9000
commit 225817b1ba
2 changed files with 14 additions and 0 deletions

View file

@ -198,6 +198,13 @@ void OBSBasicSettings::UpdateKeyLink()
text += QTStr(
"Basic.AutoConfig.StreamPage.StreamKey.LinkToSite");
text += "</a>";
} else if (serviceName.startsWith("Restream.io")) {
text += " <a href=\"https://";
text += "restream.io/settings/streaming-setup?from=OBS";
text += "\">";
text += QTStr(
"Basic.AutoConfig.StreamPage.StreamKey.LinkToSite");
text += "</a>";
}
ui->streamKeyLabel->setText(text);