iheartradio / open-m3u8

Open Source m3u8 Parser
Other
245 stars 94 forks source link

CHANNELS attribute not supported in EXT-X-MEDIA tag #53

Closed eventh closed 6 years ago

eventh commented 6 years ago

All EXT-X-MEDIA attributes except CHANNELS seems to be supported.

The specification describes the CHANNELS attribute as following: CHANNELS

  The value is a quoted-string that specifies an ordered,
  "/"-separated list of parameters.  If the TYPE attribute is AUDIO
  then the first parameter is a count of audio channels expressed as
  a decimal-integer, indicating the maximum number of independent,
  simultaneous audio channels present in any Media Segment in the
  Rendition.  For example, an AC-3 5.1 rendition would have a
  CHANNELS="6" attribute.  No other CHANNELS parameters are
  currently defined.

  All audio EXT-X-MEDIA tags SHOULD have a CHANNELS attribute.  If a
  Master Playlist contains two renditions encoded with the same
  codec but a different number of channels, then the CHANNELS
  attribute is REQUIRED; otherwise it is OPTIONAL.