UI: Remove FTL support

This commit is contained in:
derrod
2023-12-19 02:56:46 +01:00
committed by Rodney
parent dfc1feac1a
commit 1206870cef
4 changed files with 2 additions and 10 deletions

View File

@@ -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",

View File

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

View File

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

View File

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