Skip to content

Commit

Permalink
hls source: support MPEG-TS streams with metadata tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Dec 27, 2022
1 parent 0ab053e commit 0c6385f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/hls/mpegts/tracks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 0c6385f

Please sign in to comment.