hls client: add limit on AU size

This commit is contained in:
aler9
2022-04-29 12:02:11 +02:00
parent 095b90b7ef
commit 35b3541e4f
8 changed files with 11 additions and 11 deletions

View File

@@ -83,7 +83,7 @@ func (p *clientVideoProcessor) doProcess(
}
}
nalus, err := h264.DecodeAnnexB(data)
nalus, err := h264.AnnexBDecode(data)
if err != nil {
p.logger.Log(logger.Warn, "unable to decode Annex-B: %s", err)
return nil