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

@@ -182,7 +182,7 @@ func (s *rtmpSource) runInner() bool {
return fmt.Errorf("received an H264 packet, but track is not set up")
}
nalus, err := h264.DecodeAVCC(pkt.Data)
nalus, err := h264.AVCCDecode(pkt.Data)
if err != nil {
return err
}