From 465f50e6a20461666c758a4edffe25dcb1c815bf Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 22 Jan 2021 01:03:51 +0100 Subject: [PATCH] Fixed MEDIA-SEQUENCE in HLS --- src/output/output_hls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/output_hls.cpp b/src/output/output_hls.cpp index 4f564f8f..edf7f29d 100644 --- a/src/output/output_hls.cpp +++ b/src/output/output_hls.cpp @@ -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::iterator it = lines.begin(); it != lines.end(); it++){ result << *it;