Respond more correctly to failed HLS requests
This commit is contained in:
parent
c69adc26b9
commit
b3cdf34fbc
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue