Skip to content

Commit 4aeb485

Browse files
Update minHdcpVersion to reference registry (#535)
1 parent 5e983d5 commit 4aeb485

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

encrypted-media-respec.html

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2978,7 +2978,7 @@ <h2>
29782978
<div>
29792979
<pre class="idl">
29802980
dictionary MediaKeysPolicy {
2981-
HDCPVersion minHdcpVersion;
2981+
DOMString minHdcpVersion;
29822982
};
29832983
</pre>
29842984
<p>
@@ -2989,23 +2989,11 @@ <h2>
29892989
</p>
29902990
</div>
29912991
<div>
2992-
<pre class="idl">
2993-
enum HDCPVersion {
2994-
"1.0",
2995-
"1.1",
2996-
"1.2",
2997-
"1.3",
2998-
"1.4",
2999-
"2.0",
3000-
"2.1",
3001-
"2.2",
3002-
"2.3",
3003-
};
3004-
</pre>
30052992
<p>
3006-
The HDCP Policy is represented by {{MediaKeysPolicy/minHdcpVersion}}. When set, the
3007-
policy requirement will be fulfilled if the system supports
3008-
{{MediaKeysPolicy/minHdcpVersion}} on the current display.
2993+
The HDCP Policy is represented by {{MediaKeysPolicy/minHdcpVersion}}. If the system
2994+
can enable the HDCP version specified or higher, then the policy will result in a
2995+
{{MediaKeyStatus}} of {{MediaKeyStatus/"usable"}}. Implementations MUST support
2996+
{{MediaKeysPolicy/minHdcpVersion}} values defined in [[EME-HDCP-VERSION-REGISTRY]].
30092997
</p>
30102998
<p class="note">
30112999
The determination of HDCP status should be done in the same way that the [=CDM=]
@@ -3026,6 +3014,20 @@ <h2>
30263014
Let <var>promise</var> be a new promise.
30273015
</p>
30283016
<ol>
3017+
<li>
3018+
<p>
3019+
For each [=dictionary member=] of <var>policy</var>, run the following steps:
3020+
</p>
3021+
<ol>
3022+
<li>
3023+
<p>
3024+
If the key is not a valid {{MediaKeysPolicy}} member or the type of the
3025+
value is incorrect, then reject <var>promise</var> with {{TypeError}} and
3026+
abort these steps.
3027+
</p>
3028+
</li>
3029+
</ol>
3030+
</li>
30293031
<li>
30303032
<p>
30313033
For each [=dictionary member=] of <var>policy</var>, run the following steps:

0 commit comments

Comments
 (0)