Fixed same-connection HTTP requests after any end of track is reached
This commit is contained in:
parent
7d6bdb5553
commit
c4d036490f
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,7 @@ namespace Mist {
|
|||
}
|
||||
|
||||
INFO_MSG("Received request %s", H.getUrl().c_str());
|
||||
initialize();
|
||||
if (H.GetVar("audio") != "" || H.GetVar("video") != ""){
|
||||
selectedTracks.clear();
|
||||
if (H.GetVar("audio") != ""){
|
||||
|
@ -252,6 +253,8 @@ namespace Mist {
|
|||
for (std::set<unsigned long>::iterator it = toRemove.begin(); it != toRemove.end(); it++){
|
||||
selectedTracks.erase(*it);
|
||||
}
|
||||
}else{
|
||||
selectDefaultTracks();
|
||||
}
|
||||
|
||||
onHTTP();
|
||||
|
|
Loading…
Add table
Reference in a new issue