mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-10 08:59:57 +00:00
hls source: support MPEG-TS streams with metadata tracks
This commit is contained in:
parent
0ab053ef8f
commit
0c6385f0e8
@ -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…
Reference in New Issue
Block a user