videojs / m3u8-parser

An m3u8 parser.
Other
471 stars 98 forks source link

fix: merge dateRange tags with same IDs and no conflicting attributes #175

Closed harisha-swaminathan closed 1 year ago

harisha-swaminathan commented 1 year ago

In the PR that added the dateRange feature, the specification If a Playlist contains two EXT-X-DATERANGE tags with the same ID attribute value, then any AttributeName that appears in both tags MUST have the same AttributeValue. was misinterpreted as EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes and same attribute values.

This PR