-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(srgssr-middleware): add missing return statement for DRM check
A return statement was missing from the condition that checks if a list of resources contains DRM. This oversight caused all resources without DRM protection to end up with an empty `keySystems` object. - add return statement to the DRM check condition - fix the comparison function in the unit test and improve the resource list for better clarity
- Loading branch information
Showing
2 changed files
with
10 additions
and
7 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