UI: Add Auth and OAuth classes

Allows the ability to authenticate to a specific service.  Typically via
OAuth.
This commit is contained in:
jp9000 committed 2019-02-07 14:47:15 -08:00
1 parent 1b8bc55f6a
commit 08fb29a035
10 files changed
+543 -4

No files matched your search

+8
View File
@@ -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",