Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Conversation

juliancooper
Copy link
Contributor

As defined in the HLS V5 spec:

A Playlist MUST indicate protocol version 5 or higher if it contains:
o The KEYFORMAT and KEYFORMATVERSIONS attributes of the EXT-X-KEY
tag.

However any HLS version > 2 is compatible with EXT-X-KEY tags containing only METHOD, URI and IV attributes.

It looks like this behaviour was fixed for the SetKey function, but not SetDefaultKey. I added the fix to SetDefaultKey and a couple of tests around it.

I also changed the behaviour of SetDefaultKey to return an error value to make it more resemble SetKey

@grafov grafov added the bug label Aug 20, 2015
@grafov grafov self-assigned this Aug 20, 2015
@grafov
Copy link
Owner

grafov commented Aug 22, 2015

Thank you for this fix!

grafov added a commit that referenced this pull request Aug 22, 2015
Fix unnecessary playlist version change in SetDefaultKey
@grafov grafov merged commit 8a35b4b into grafov:master Aug 22, 2015
grafov added a commit that referenced this pull request Nov 22, 2016
Fix unnecessary playlist version change in SetDefaultKey
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants