-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject AES-128 HLS content with meaningful error
Currently we check encrypt key tags after we parse the segment, so playing an AES-128 encrypted content results in error message 'MANIFEST.HLS_COULD_NOT_PARSE_SEGMENT_START_TIME'. We should check the encrypt key before, and give a more clear error message. Filtering out the contents encrypted with AES-128, and if there's no valid content left, we'll show 'CONTENT_UNSUPPORTED_BY_BROWSER'. Closes #1838 Change-Id: I893f57a939e45f2787144dfe311b779aed26ac34
- Loading branch information
1 parent
ee0cee9
commit cb9decb
Showing
3 changed files
with
174 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters