add hints

This commit is contained in:
Leandro Moreira
2024-02-13 16:19:47 -03:00
parent 564861880e
commit e2f211c00e
2 changed files with 4 additions and 1 deletions

View File

@@ -144,6 +144,9 @@ func (c *SrtMpegTs) fillStreamInfoFromMpegTS(streamInfo map[entities.Codec]entit
}
if mpegTSDemuxData.PMT != nil {
// TODO: add timing information
// pts https://github.com/asticode/go-astits/blob/b0b19247aa31633650c32638fb55f597fa6e2468/cmd/astits-es-split/main.go#L206
// https://github.com/asticode/go-astits/blob/master/packet.go#L46
for _, es := range mpegTSDemuxData.PMT.ElementaryStreams {
streamInfo[c.m.FromMpegTsStreamTypeToCodec(es.StreamType)] = c.m.FromStreamTypeToEntityStream(es)
}