From 0c6385f0e8d24374b3d110f0d0878ab1eeb2db63 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Tue, 27 Dec 2022 12:00:00 +0000 Subject: [PATCH] hls source: support MPEG-TS streams with metadata tracks --- internal/hls/mpegts/tracks.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/hls/mpegts/tracks.go b/internal/hls/mpegts/tracks.go index b2d8e5be..e0ec8497 100644 --- a/internal/hls/mpegts/tracks.go +++ b/internal/hls/mpegts/tracks.go @@ -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) }