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

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