MistInBuffer no longer boots if the process starting it has no data to fill it with. Optimized and simplified HTTP internal output.

This commit is contained in:
Thulinma 2017-06-07 14:24:46 +02:00
parent bef46f969c
commit 26f4d1fdee

View file

@ -47,7 +47,7 @@ void parseThread(void * ignored) {
}
if (liveStream.isDataTrack(tid)){
if (!Util::startInput(globalStreamName, "push://INTERNAL_ONLY:"+cfgPointer->getString("input"))) {//manually override stream url to start the buffer
if (!Util::startInput(globalStreamName, "push://INTERNAL_ONLY:"+cfgPointer->getString("input"), true, true)) {//manually override stream url to start the buffer
FAIL_MSG("Could not start buffer for %s", globalStreamName.c_str());
return;
}