w3c / encrypted-media

Encrypted Media Extensions
https://w3c.github.io/encrypted-media/
Other
180 stars 80 forks source link

Add getStatusForPolicy #515

Closed gregwfreedman closed 10 months ago

gregwfreedman commented 11 months ago

Add the method getStatusForPolicy as described in Encrypted Media: HDCP Policy Check to address #311.


Preview | Diff

chrisn commented 11 months ago

LGTM too.

The WICG draft also contains some security and privacy considerations and a code example that we might want to consider including. There's also a question there about whether we should introduce a registry for HDCPVersion to allow updates to the enum without changing the EME spec.

We can follow up on these as separate issues though.