mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-19 11:48:41 -05:00
Allow file names to be used instead of URLs
This commit is contained in:
@@ -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