Unified all push-in-enabled outputs into a single style/function of accepting incoming pushes

This commit is contained in:
Thulinma 2017-02-28 14:08:08 +01:00
parent daa0833970
commit ef3f4aaf1a
5 changed files with 40 additions and 114 deletions

View file

@ -295,7 +295,7 @@ namespace Mist {
}
void inputTS::stream() {
if (!Util::startInput(streamName, "push://")) {//manually override stream url to start the buffer
if (!Util::startInput(streamName, "push://INTERNAL_ONLY:"+config->getString("input"))) {//manually override stream url to start the buffer
FAIL_MSG("Could not start buffer for %s", streamName.c_str());
return;
}