Respond more correctly to failed HLS requests

This commit is contained in:
Thulinma 2017-12-11 13:13:38 +01:00
parent c69adc26b9
commit b3cdf34fbc

View file

@ -159,7 +159,7 @@ namespace Mist {
} }
if (H.url.find("hls") == std::string::npos){ if (H.url.find("hls") == std::string::npos){
myConn.close(); onFail();
return; return;
} }
@ -177,6 +177,7 @@ namespace Mist {
initialize(); initialize();
if (!keepGoing()){ if (!keepGoing()){
onFail();
return; return;
} }