Browse Source

hls source: support MPEG-TS streams with metadata tracks

pull/1333/head
aler9 3 years ago
parent
commit
0c6385f0e8
  1. 4
      internal/hls/mpegts/tracks.go

4
internal/hls/mpegts/tracks.go

@ -58,6 +58,10 @@ func FindTracks(byts []byte) ([]*Track, error) { @@ -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)
}

Loading…
Cancel
Save