mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
UI: Assume RTMP if service has no protocol
(cherry picked from commit e26a04fa44)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user