grafov / m3u8

Parser and generator of M3U8-playlists for Apple HLS. Library for Go language. :cinema:
http://tools.ietf.org/html/draft-pantos-http-live-streaming
BSD 3-Clause "New" or "Revised" License
1.22k stars 312 forks source link

tag: #EXT-X-MEDIA attribute: CHANNELS is not recognized #181

Open megaadam opened 2 years ago

megaadam commented 2 years ago

CHANNELS should be recognized according to the RFC

All audio EXT-X-MEDIA tags SHOULD have a CHANNELS attribute.

Yes, I am aware of func SetCustomTag() but this is an existing tag and even if I could use that to bend the existing tag handler to include the CHANNELS attribute it would be nice if m3u8 can follow the standard.

There is an old and incomplete (lacks reader, lacks tests) PR for this in https://github.com/grafov/m3u8/pull/168

Maybe, maybe, we (my team), can finish that job.

megaadam commented 2 years ago

Fixed: https://github.com/grafov/m3u8/pull/183