video-dev / video-dev/hls.js

HDCP-LEVEL filtering with HDCP Policy Check

Open
#5,149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DRM Feature proposal
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.