Fixed MEDIA-SEQUENCE in HLS

This commit is contained in:
Thulinma 2021-01-22 01:03:51 +01:00
parent 842861c981
commit 465f50e6a2

View file

@ -151,7 +151,7 @@ namespace Mist{
/*LTS-END*/
}
result << "#EXT-X-MEDIA-SEQUENCE:" << M.getMissedFragments(timingTid) + skippedLines << "\r\n";
result << "#EXT-X-MEDIA-SEQUENCE:" << firstFragment + skippedLines << "\r\n";
for (std::deque<std::string>::iterator it = lines.begin(); it != lines.end(); it++){
result << *it;