EXT-X-MAP Needs to be added to ALLOW_REDUNDANCY list in utils.js
indiestream opened this issue · 1 comments
indiestream commented
Per the revision 23 of the HLS spec, multiple EXT-X-MAP's can be contained in a media playlist as long as it comes after a DISCONTINUITY tag.
This effects fragmented mp4s or fmp4 when you are compositing different videos together. A new map file containing the videos PMT data needs to be inserted after the DISCONTINUITY flag.
As of right now hls-parser throws an error for Redundant Item which prevents these composited playlists from being loaded.
'#EXT-X-MAP' needs to be added to the end of the ALLOW_REDUNDANCY constant in utils.js.