diff --git a/src/output/output_hls.cpp b/src/output/output_hls.cpp index 4388e412..af26827b 100644 --- a/src/output/output_hls.cpp +++ b/src/output/output_hls.cpp @@ -181,6 +181,8 @@ namespace Mist { if (!haveAvcc){ avccbox.setPayload(myMeta.tracks[currentPacket.getTrackId()].init); haveAvcc = true; + bs = avccbox.asAnnexB(); + fillPacket(first, bs.data(), bs.size(), VideoCounter); } }