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

Fix playlist version in SetKey method #23

Merged
merged 1 commit into from
Aug 15, 2015
Merged

Conversation

THE108
Copy link

@THE108 THE108 commented Aug 14, 2015

Сейчас при вызове playlist.SetKey("AES-128", KeyUrl, "", "", "") у плейлиста будет версия 5, хотя должна быть 3.

В стандарте есть требование к версии медиа плейлиста для шифрованного HLS:

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

Т.е. 5-я версия должна быть только если присутствуют атрибуты KEYFORMAT и KEYFORMATVERSIONS.

@grafov grafov added the bug label Aug 14, 2015
@grafov grafov self-assigned this Aug 14, 2015
grafov added a commit that referenced this pull request Aug 15, 2015
Fix playlist version in SetKey method
@grafov grafov merged commit facecdd into grafov:master Aug 15, 2015
grafov added a commit that referenced this pull request Nov 22, 2016
Fix playlist version in SetKey method
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