This PR adds support for parsing hls manifests that include a #EXT-X-KEY tag, and also #EXT-X-MAP tag. The implementation followed the structure currently in place for the #EXT-X-CUE-OUT-CONT tag.
Following the HLS specs, if the #EXT-X-KEY tag has NONE as METHOD attribute then other attributes will be ignored. if present.
Updated unit tests are also included in this PR.
Bonus
Fixed #EXT-X-CUE-OUT-CONT not being properly read in toString() function.
Fixed #EXT-X-PROGRAM-DATE-TIME: to be fully supported. It can be parsed correctly, and will be read properly in toString(). It can also be parsed if it is located under the EXTINF tag. However, in toString() it will be placed above the EXTINF tag.
This PR adds support for parsing hls manifests that include a
#EXT-X-KEY
tag, and also#EXT-X-MAP
tag. The implementation followed the structure currently in place for the#EXT-X-CUE-OUT-CONT
tag. Following the HLS specs, if the#EXT-X-KEY
tag has NONE as METHOD attribute then other attributes will be ignored. if present.Updated unit tests are also included in this PR.
Bonus
#EXT-X-CUE-OUT-CONT
not being properly read intoString()
function.#EXT-X-PROGRAM-DATE-TIME:
to be fully supported. It can be parsed correctly, and will be read properly intoString()
. It can also be parsed if it is located under the EXTINF tag. However, intoString()
it will be placed above the EXTINF tag.