mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-21 13:34:56 -04:00
UI: Add Auth and OAuth classes
Allows the ability to authenticate to a specific service. Typically via OAuth.
This commit is contained in:
1 parent
1b8bc55f6a
commit
08fb29a035
10 files changed
+543
-4
No files matched your search
@@ -651,6 +651,10 @@ bool SimpleOutput::StartStreaming(obs_service_t *service)
|
||||
if (!Active())
|
||||
SetupOutputs();
|
||||
|
||||
Auth *auth = main->GetAuth();
|
||||
if (auth)
|
||||
auth->OnStreamConfig();
|
||||
|
||||
/* --------------------- */
|
||||
|
||||
const char *type = obs_service_get_output_type(service);
|
||||
@@ -1426,6 +1430,10 @@ bool AdvancedOutput::StartStreaming(obs_service_t *service)
|
||||
if (!Active())
|
||||
SetupOutputs();
|
||||
|
||||
Auth *auth = main->GetAuth();
|
||||
if (auth)
|
||||
auth->OnStreamConfig();
|
||||
|
||||
/* --------------------- */
|
||||
|
||||
int trackIndex = config_get_int(main->Config(), "AdvOut",
|
||||
|
||||
Reference in new issue
Block a user