mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-18 05:22:47 -04:00
UI: Fix autoconfig saving signed stream key
This commit is contained in:
committed by
Ryan Foster
parent
4c1f783c66
commit
1648dcc7f2
@@ -427,17 +427,6 @@ bool AutoConfigStreamPage::validatePage()
|
||||
multitrackVideoBitrate += bitrate;
|
||||
}
|
||||
|
||||
// grab a streamkey from the go live config if we can
|
||||
for (auto &endpoint : config.ingest_endpoints) {
|
||||
const char *p = endpoint.protocol.c_str();
|
||||
const char *auth = endpoint.authentication ? endpoint.authentication->c_str()
|
||||
: nullptr;
|
||||
if (qstrnicmp("RTMP", p, 4) == 0 && auth && *auth) {
|
||||
wiz->key = auth;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (multitrackVideoBitrate > 0) {
|
||||
wiz->startingBitrate = multitrackVideoBitrate;
|
||||
wiz->idealBitrate = multitrackVideoBitrate;
|
||||
|
||||
Reference in New Issue
Block a user