hls source: support MPEG-TS streams with metadata tracks
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user