From a3ca72fd3e35090168f2d99b59e9ac9228fc7c47 Mon Sep 17 00:00:00 2001 From: tlivegaming Date: Thu, 11 Jun 2020 16:19:19 +0800 Subject: [PATCH] UI: Enable Get Stream Key Button for Trovo service Closes obsproject/obs-studio#3005 --- UI/window-basic-auto-config.cpp | 2 ++ UI/window-basic-settings-stream.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/UI/window-basic-auto-config.cpp b/UI/window-basic-auto-config.cpp index 663251568..e79718474 100644 --- a/UI/window-basic-auto-config.cpp +++ b/UI/window-basic-auto-config.cpp @@ -578,6 +578,8 @@ void AutoConfigStreamPage::UpdateKeyLink() streamKeyLink = "https://www.pscp.tv/account/producer"; } else if (serviceName.startsWith("YouStreamer")) { streamKeyLink = "https://www.app.youstreamer.com/stream/"; + } else if (serviceName == "Trovo") { + streamKeyLink = "https://studio.trovo.live/mychannel/stream"; } if (QString(streamKeyLink).isNull()) { diff --git a/UI/window-basic-settings-stream.cpp b/UI/window-basic-settings-stream.cpp index e79d404fb..e2343532a 100644 --- a/UI/window-basic-settings-stream.cpp +++ b/UI/window-basic-settings-stream.cpp @@ -252,6 +252,8 @@ void OBSBasicSettings::UpdateKeyLink() streamKeyLink = "https://www.pscp.tv/account/producer"; } else if (serviceName.startsWith("YouStreamer")) { streamKeyLink = "https://app.youstreamer.com/stream/"; + } else if (serviceName == "Trovo") { + streamKeyLink = "https://studio.trovo.live/mychannel/stream"; } if (QString(streamKeyLink).isNull()) {