hls client: ignore data from unrecognized tracks in MPEG-TS segments

This commit is contained in:
aler9 2022-10-26 21:53:33 +02:00
parent 0daf8a17b7
commit cc0d8f7dab

View File

@ -161,7 +161,7 @@ func (p *clientProcessorMPEGTS) processSegment(ctx context.Context, byts []byte)
proc, ok := p.trackProcs[data.PID]
if !ok {
return fmt.Errorf("received data from track not present into PMT (%d)", data.PID)
continue
}
select {