UI: Add Auth and OAuth classes
Allows the ability to authenticate to a specific service. Typically via OAuth.
This commit is contained in:
parent
1b8bc55f6a
commit
08fb29a035
10 changed files with 543 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue