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){
|
||||
myConn.close();
|
||||
onFail();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -177,6 +177,7 @@ namespace Mist {
|
|||
initialize();
|
||||
|
||||
if (!keepGoing()){
|
||||
onFail();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue