提交 225817b1 编写于 作者: S SoftArch 提交者: jp9000

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.
上级 f914b45c
......@@ -575,6 +575,13 @@ void AutoConfigStreamPage::UpdateKeyLink()
text += "</a>";
isYoutube = true;
} 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>";
}
if (isYoutube) {
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册