UI: Assume RTMP if service has no protocol

(cherry picked from commit e26a04fa44)
This commit is contained in:
derrod
2023-06-11 02:18:17 +02:00
committed by Rodney
parent 8983083cec
commit 66b3a04424
+4 -1
View File
@@ -603,7 +603,10 @@ QString OBSBasicSettings::FindProtocol()
obs_properties_destroy(props);
return QT_UTF8(obs_data_get_string(settings, "protocol"));
const char *protocol =
obs_data_get_string(settings, "protocol");
if (protocol && *protocol)
return QT_UTF8(protocol);
}
return QString("RTMP");