Allow file names to be used instead of URLs
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_18">
|
||||
<property name="text">
|
||||
<string>URL:</string>
|
||||
<string>URL/Filename:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@@ -813,11 +813,12 @@ void OBSBasic::on_streamButton_clicked()
|
||||
int aBitrate = config_get_uint(basicConfig, "OutputTemp",
|
||||
"ABitrate");
|
||||
|
||||
if (!url || !key)
|
||||
if (!url)
|
||||
return;
|
||||
|
||||
string fullURL = url;
|
||||
fullURL = fullURL + "/" + key;
|
||||
if (key && *key)
|
||||
fullURL = fullURL + "/" + key;
|
||||
|
||||
obs_data_t data = obs_data_create();
|
||||
obs_data_setstring(data, "filename", fullURL.c_str());
|
||||
|
Reference in New Issue
Block a user