HDCP-LEVEL filtering with HDCP Policy Check
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 2.8k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 27
Description
Is your feature request related to a problem? Please describe.
Check for HDCP support before loading levels that cannot be played without error or will not be displayed.
Describe the solution you'd like
Use HDCP Policy Check https://wicg.github.io/hdcp-detection/ MediaKeys.getStatusForPolicy when available to set maxHdcpLevel and/or filter levels that cannot be played/displayed.
- Is it available on Chrome desktop devices? What about other browsers? (it "worth" implementing)
- Map HDCP-LEVELs to HDCP Policy HDCP Versions
- Valid test cases contributed by users
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the HDCP Policy Check specification and the MediaKeys.getStatusForPolicy API, then inspect how hls.js represents HDCP-LEVELs and selects levels. Establish browser availability, map HDCP-LEVELs to policy versions, and gather valid test cases. Done means the supported policy is used to set maxHdcpLevel or filter unplayable levels, with tests covering the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100