UI: Assume RTMP if service has no protcol
This commit is contained in:
parent
fb5d03130a
commit
e26a04fa44
1 changed files with 4 additions and 1 deletions
|
|
@ -566,7 +566,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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue