mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-27 15:46:13 -04:00
UI: Add "YouTube Control Panel" dock panel
New dock panel with integrated youtube studio live control room. This commit also modifies CI files.
This commit is contained in:
@@ -770,6 +770,14 @@ void OBSBasicSettings::on_connectAccount_clicked()
|
||||
auth = OAuthStreamKey::Login(this, service);
|
||||
if (!!auth) {
|
||||
OnAuthConnected();
|
||||
#ifdef YOUTUBE_ENABLED
|
||||
if (IsYouTubeService(service)) {
|
||||
if (!main->GetYouTubeAppDock()) {
|
||||
main->NewYouTubeAppDock();
|
||||
}
|
||||
main->GetYouTubeAppDock()->AccountConnected();
|
||||
}
|
||||
#endif
|
||||
|
||||
ui->useStreamKeyAdv->setVisible(false);
|
||||
}
|
||||
@@ -812,6 +820,16 @@ void OBSBasicSettings::on_disconnectAccount_clicked()
|
||||
|
||||
ui->connectedAccountLabel->setVisible(false);
|
||||
ui->connectedAccountText->setVisible(false);
|
||||
|
||||
#ifdef YOUTUBE_ENABLED
|
||||
if (IsYouTubeService(service)) {
|
||||
if (!main->GetYouTubeAppDock()) {
|
||||
main->NewYouTubeAppDock();
|
||||
}
|
||||
main->GetYouTubeAppDock()->AccountDisconnected();
|
||||
main->GetYouTubeAppDock()->Update();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_useStreamKey_clicked()
|
||||
|
||||
Reference in New Issue
Block a user