UI: Specify exact service to auth login callbacks

(Jim note: This gives the ability for auth login callbacks to know which
specific service type is being used. For example, with something like
YouTube, there's multiple variants: RTMP, RTMPS, and HLS. This way, the
service login callback can determine how it wants to treat the login
procedure depending on the specific type of service.)
This commit is contained in:
Yuriy Chumak
2021-07-24 15:50:59 -07:00
committed by jp9000
parent 37b9ece904
commit 63ad0642ae
6 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ bool RestreamAuth::RetryLogin()
QT_TO_UTF8(login.GetCode()), true);
}
std::shared_ptr<Auth> RestreamAuth::Login(QWidget *parent)
std::shared_ptr<Auth> RestreamAuth::Login(QWidget *parent, const std::string &)
{
OAuthLogin login(parent, RESTREAM_AUTH_URL, false);
cef->add_popup_whitelist_url("about:blank", &login);