mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user