hls source: support MPEG-TS streams with metadata tracks

This commit is contained in:
aler9 2022-12-27 12:00:00 +00:00
parent 0ab053ef8f
commit 0c6385f0e8

View File

@ -58,6 +58,10 @@ func FindTracks(byts []byte) ([]*Track, error) {
switch es.StreamType {
case astits.StreamTypeH264Video,
astits.StreamTypeAACAudio:
case astits.StreamTypeMetadata:
continue
default:
return nil, fmt.Errorf("track type %d not supported (yet)", es.StreamType)
}