Browse Source

UI: Remove FTL support

derrod 1 year ago
parent
commit
1206870cef

+ 0 - 3
UI/window-basic-auto-config-test.cpp

@@ -228,9 +228,6 @@ void AutoConfigTestPage::TestBandwidthThread()
 		   wiz->serviceName == "Restream.io - RTMP") {
 		string_depad_key(key);
 		key += "?test=true";
-	} else if (wiz->serviceName == "Restream.io - FTL") {
-		string_depad_key(key);
-		key += "?test";
 	}
 
 	obs_data_set_string(service_settings, "service",

+ 0 - 1
UI/window-basic-main-outputs.cpp

@@ -20,7 +20,6 @@ volatile bool recording_paused = false;
 volatile bool replaybuf_active = false;
 volatile bool virtualcam_active = false;
 
-#define FTL_PROTOCOL "ftl"
 #define RTMP_PROTOCOL "rtmp"
 #define SRT_PROTOCOL "srt"
 #define RIST_PROTOCOL "rist"

+ 2 - 3
UI/window-basic-main.cpp

@@ -1501,9 +1501,8 @@ bool OBSBasic::LoadService()
 	if (!service)
 		return false;
 
-	/* Enforce Opus on FTL if needed */
-	if (strcmp(obs_service_get_protocol(service), "FTL") == 0 ||
-	    strcmp(obs_service_get_protocol(service), "WHIP") == 0) {
+	/* Enforce Opus on WHIP if needed */
+	if (strcmp(obs_service_get_protocol(service), "WHIP") == 0) {
 		const char *option = config_get_string(
 			basicConfig, "SimpleOutput", "StreamAudioEncoder");
 		if (strcmp(option, "opus") != 0)

+ 0 - 3
UI/window-basic-settings-stream.cpp

@@ -746,9 +746,6 @@ QString OBSBasicSettings::FindProtocol()
 		    server.startsWith("rtmps://"))
 			return QString("RTMPS");
 
-		if (server.startsWith("ftl://"))
-			return QString("FTL");
-
 		if (server.startsWith("srt://"))
 			return QString("SRT");