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:05:37 +01:00
parent 88749d2259
commit 9a783a782d
4 changed files with 39 additions and 29 deletions

View file

@ -297,7 +297,7 @@ namespace Mist {
pullLock.unlink();
return;
}
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
pullLock.post();
pullLock.close();
pullLock.unlink();