Browse Source

UI: Fix autoconfig saving signed stream key

Dennis Sädtler 1 year ago
parent
commit
1648dcc7f2
1 changed files with 0 additions and 11 deletions
  1. 0 11
      UI/window-basic-auto-config.cpp

+ 0 - 11
UI/window-basic-auto-config.cpp

@@ -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;