Added close socket and clean buffer to Downloader URIReader and InputHLS

This commit is contained in:
Katri 2022-06-13 15:52:43 +00:00 committed by Thulinma
parent 503a9591c9
commit 12246581e6
3 changed files with 22 additions and 0 deletions

View file

@ -679,6 +679,11 @@ namespace Mist{
break; // we have all tracks discovered, next playlist!
}
}while (!segDowner.atEnd());
if (!segDowner.atEnd()){
segDowner.close();
tsStream.clear();
}
if (prepidCounter < pidCounter){break;}// We're done reading this playlist!
}
}