Add section 2.2 on media element restrctions
authorMark Watson <watsonm@netflix.com>
Tue, 28 May 2013 07:57:17 -0700
changeset 129 fc9e628b538f
parent 128 b96bdeaf7857
child 130 1ac9c2205a7b
Add section 2.2 on media element restrctions
encrypted-media/encrypted-media.html
encrypted-media/encrypted-media.xml
--- a/encrypted-media/encrypted-media.html	Fri May 24 16:29:51 2013 -0700
+++ b/encrypted-media/encrypted-media.html	Tue May 28 07:57:17 2013 -0700
@@ -57,7 +57,7 @@
     <div class="head">
       <p><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" width="72" height="48"></a></p>
       <h1>Encrypted Media Extensions</h1>
-      <h2 id="draft-date">W3C Editor's Draft 6 May 2013</h2>
+      <h2 id="draft-date">W3C Editor's Draft 28 May 2013</h2>
       <dl>
         <dt>This Version:</dt>
         <dd><a href="http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html">http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html</a></dd>
@@ -138,6 +138,7 @@
       <li><a href="#extensions">2. Media Element Extensions</a></li>
         <li><ul style="list-style-type:none">
           <li><a href="#error-codes">2.1. Error Codes</a></li>
+          <li><a href="#media-element-restictions">2.2. Media Element Restrictions</a></li>
         </ul></li>
       <li><a href="#events">3. Events</a></li>
         <li><ul style="list-style-type:none">
@@ -559,7 +560,6 @@
   readonly attribute unsigned short <a href="#dom-code">code</a>;
   readonly attribute unsigned long <a href="#dom-systemcode">systemCode</a>;
 };</pre>
-
     <dl class="domintro">
      <dt>
 <var title="">session</var> . <var title="">error</var> . <code><a href="#dom-code">code</a></code>
@@ -618,7 +618,13 @@
     It should be 0 if there is no associated status code or such status codes are not supported by the Key System.
     </p>
     </div>
-
+    
+    <h3 id="media-element-restictions">2.2 Media Element Restrictions</h3>
+    <p><i>This section is non-normative.</i></p>
+    <p>Media data processed by a CDM may not be available through Javascript APIs in the usual way (for example using the CanvasRenderingContext2D drawImage() method and the AudioContext MediaElementAudioSourceNode).
+    This specification does not define conditions for such non-availability of media data, however, if media data is not available to Javascript APIs then these APIs may behave as if no media data was present at all.</p>
+    <p>Where media rendering is not performed by the UA, for example in the case of a hardware protected media pipeline, then the full set of HTML rendering capabilities, for example CSS Transforms, may not be available. One likely restriction is that
+    video media may be constrained to appear only in rectangular regions with sides parallel to the edges of the window and with normal orientation.</p>
 
     <h2 id="events">3. Events</h2>
 
--- a/encrypted-media/encrypted-media.xml	Fri May 24 16:29:51 2013 -0700
+++ b/encrypted-media/encrypted-media.xml	Tue May 28 07:57:17 2013 -0700
@@ -56,7 +56,7 @@
     <div class="head">
       <p><a href="http://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" width="72" height="48" /></a></p>
       <h1>Encrypted Media Extensions</h1>
-      <h2 id="draft-date">W3C Editor's Draft 6 May 2013</h2>
+      <h2 id="draft-date">W3C Editor's Draft 28 May 2013</h2>
       <dl>
         <dt>This Version:</dt>
         <dd><a href="http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html">http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html</a></dd>
@@ -135,6 +135,7 @@
       <li><a href="#extensions">2. Media Element Extensions</a></li>
         <li><ul style="list-style-type:none">
           <li><a href="#error-codes">2.1. Error Codes</a></li>
+          <li><a href="#media-element-restictions">2.2. Media Element Restrictions</a></li>
         </ul></li>
       <li><a href="#events">3. Events</a></li>
         <li><ul style="list-style-type:none">
@@ -534,7 +535,6 @@
   readonly attribute unsigned short <precoderef>code</precoderef>;
   readonly attribute unsigned long <precoderef>systemCode</precoderef>;
 };</pre>
-
     <dl class="domintro">
      <dt><var title="">session</var> . <var title="">error</var> . <coderef>code</coderef></dt>
      <dd>
@@ -581,7 +581,13 @@
     It should be 0 if there is no associated status code or such status codes are not supported by the Key System.
     </p>
     </div>
-
+    
+    <h3 id="media-element-restictions">2.2 Media Element Restrictions</h3>
+    <non-normative-section/>
+    <p>Media data processed by a CDM may not be available through Javascript APIs in the usual way (for example using the CanvasRenderingContext2D drawImage() method and the AudioContext MediaElementAudioSourceNode).
+    This specification does not define conditions for such non-availability of media data, however, if media data is not available to Javascript APIs then these APIs may behave as if no media data was present at all.</p>
+    <p>Where media rendering is not performed by the UA, for example in the case of a hardware protected media pipeline, then the full set of HTML rendering capabilities, for example CSS Transforms, may not be available. One likely restriction is that
+    video media may be constrained to appear only in rectangular regions with sides parallel to the edges of the window and with normal orientation.</p>
 
     <h2 id="events">3. Events</h2>