You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update registries to use W3C Registry Track (#524)
* Update registries to use W3C Registry Track
* Registry edits
- Use lower-case "must" to avoid ReSpec warnings
- Use ED document type, as DRY is applied when publishing to /TR
* Update regsitry entries
- Remove custom JavaScript
- Use latest ReSpec script
- Add Conformance sections
- Update links to term definitions
- Export definitions from the EME spec:
- Decryption key ID
- Initialization Data Encountered
- Encrypted Block Encountered
* Move export definitions
Copy file name to clipboardExpand all lines: encrypted-media-respec.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -289,7 +289,7 @@ <h2>Definitions</h2>
289
289
<pclass="note">For example, a key is not usable for decryption if its license has expired. Even if its license has not expired, a key is not usable for decryption if other conditions (e.g., output protection) for its use are not currently satisfied.</p>
<p>A <ahref="#decryption-key">key</a> is associated with a key ID that is a sequence of octets and which uniquely identifies the key.
295
295
The container specifies the ID of the key that can decrypt a block or set of blocks within the <adef-id="media-data"></a>.
@@ -332,7 +332,7 @@ <h2>Definitions</h2>
332
332
333
333
<p>
334
334
The format of the initialization data depends upon the type of container, and containers MAY support more than one format
335
-
of initialization data. The <dfnid="initialization-data-type">Initialization Data Type</dfn> is a string that indicates the
335
+
of initialization data. The <dfnclass="export" id="initialization-data-type">Initialization Data Type</dfn> is a string that indicates the
336
336
format of the accompanying Initialization Data. Initialization Data Type strings are always matched case-sensitively. It is
337
337
RECOMMENDED that Initialization Data Type strings are lower-case ASCII strings.
338
338
</p>
@@ -3027,7 +3027,7 @@ <h4>Media Data May Contain Encrypted Blocks</h4>
3027
3027
</section>
3028
3028
3029
3029
<sectionid="initdata-encountered">
3030
-
<h4>Initialization Data Encountered</h4>
3030
+
<h4><dfnclass="export">Initialization Data Encountered</dfn></h4>
3031
3031
<p>
3032
3032
The Initialization Data Encountered algorithm queues an <adef-id="encrypted"></a> event for <adef-id="initialization-data"></a> encounterd in the <adef-id="media-data"></a>.
3033
3033
Requests to run this algorithm include a target <adef-id="htmlmediaelement"></a> object.
@@ -3061,7 +3061,7 @@ <h4>Initialization Data Encountered</h4>
// Empty definitions for objects declared in the document are here to
73
-
// prevent error messages from being displayed for references to these objects.
74
-
definitionMap: {},
75
-
76
-
preProcess: [encryptedMediaPreProcessor],
77
-
78
-
// Empty definitions for objects declared in the document are here to
79
-
// prevent error messages from being displayed for references to these objects.
80
-
definitionMap: {},
81
-
82
-
postProcess: [encryptedMediaPostProcessor],
83
-
84
49
localBiblio: {
85
50
"CENC": {
86
51
title: "ISO/IEC 23001-7:2016, Information technology — MPEG systems technologies — Part 7: Common encryption in ISO base media file format files",
@@ -89,6 +54,8 @@
89
54
publisher: "ISO/IEC",
90
55
},
91
56
},
57
+
58
+
xref: ["encrypted-media"]
92
59
};
93
60
</script>
94
61
<!-- script to register bugs -->
@@ -102,33 +69,34 @@
102
69
<body>
103
70
<!-- TODO: Use styles for ISO boxes like the MSE registry. -->
104
71
<sectionid="abstract">
105
-
<p>This specification defines the <code>"cenc"</code><adef-id="initialization-data"></a> format for use with the <adef-id="eme-spec"></a> [[!ENCRYPTED-MEDIA]].
106
-
This format is commonly used with the <adef-id="stream-registry-mp4"></a> [[EME-STREAM-REGISTRY]].
72
+
<p>This specification defines the <code>"cenc"</code>[=initializationdata=] format for use with the [[[ENCRYPTED-MEDIA]]] [[ENCRYPTED-MEDIA]].
73
+
This format is commonly used with the [[[EME-STREAM-MP4]]] [[EME-STREAM-REGISTRY]].
107
74
</p>
108
75
<p>This specification also defines a common SystemID and PSSH box format for use with Encrypted Media Extensions.</p>
109
-
<pclass="note">This format's <adef-id="initialization-data-type"></a> string <code>"cenc"</code> refers to the [[CENC]] spec that defines the PSSH boxes that comprise the format.
76
+
<pclass="note">This format's [=initializationdatatype=] string <code>"cenc"</code> refers to the [[CENC]] spec that defines the PSSH boxes that comprise the format.
110
77
It does not relate to or imply a stream format, including the use of the 'cenc' protection scheme.
111
-
Stream formats are indicated by the content types as defined in <adef-id="stream-registry"></a> [[EME-STREAM-REGISTRY]].
78
+
Stream formats are indicated by the content types as defined in the [[[EME-STREAM-REGISTRY]]] [[EME-STREAM-REGISTRY]].
79
+
</p>
112
80
</section>
113
81
114
82
<sectionid="sotd">
115
83
</section>
116
84
117
85
<sectionid="format">
118
86
<h2>Format</h2>
119
-
<p>The format is one or more concatenated Protection System Specific Header ('pssh') boxes [[!CENC]], each for a unique SystemID.
87
+
<p>The format is one or more concatenated Protection System Specific Header ('pssh') boxes [[CENC]], each for a unique SystemID.
120
88
One of the concatenated 'pssh' boxes SHOULD use the <ahref="#common-system">Common SystemID and PSSH Box Format</a>.
121
89
</p>
122
90
123
-
<pclass="note">[[!CENC]] also specifies storage of a 'pssh' box base64-encoded in an XML element of the form <code><cenc:pssh (base64 'pssh')></code>.
91
+
<pclass="note">[[CENC]] also specifies storage of a 'pssh' box base64-encoded in an XML element of the form <code><cenc:pssh (base64 'pssh')></code>.
124
92
For example, [[MPEGDASH]] manifests may provide 'pssh' boxes in this format, each contained in a ContentProtection Descriptor element identified by a SystemID.
125
93
These 'pssh' boxes may be decoded and concatenated by an application to provide equivalent Initialization Data to that stored in movie or movie fragment boxes.
126
94
</p>
127
95
</section>
128
96
129
97
<sectionid="processing">
130
98
<h2>Processing</h2>
131
-
<p>When such Initialization Data is provided by the application, an implementation (the user agent and/or CDM) MUST:</p>
99
+
<p>When such Initialization Data is provided by the application, an implementation (the user agent and/or CDM) MUST:</p>
132
100
<ol>
133
101
<li><p>Examine the series of 'pssh' boxes to find the <em>first</em> 'pssh' box that the CDM instance supports. This includes checking the SystemID, box version, and system-specific values.</p></li>
134
102
<li><p>If no such supported box is found, the provided data SHALL be considered "not supported by the CDM."</p></li>
@@ -137,7 +105,7 @@ <h2>Processing</h2>
137
105
138
106
<sectionid="clear-key">
139
107
<h3>Use with Clear Key</h3>
140
-
<p>When Initialization data is provided with <var>initDataType</var><code>"cenc"</code>, <adef-id="clear-key"></a> implementations MUST look for and use the PSSH box with the <ahref="#common-system">Common SystemID</a>.</p>
108
+
<p>When Initialization data is provided with <var>initDataType</var><code>"cenc"</code>, <adata-cite="encrypted-media#clear-key">Clear Key</a> implementations MUST look for and use the PSSH box with the <ahref="#common-system">Common SystemID</a>.</p>
141
109
</section>
142
110
143
111
<sectionid="common-system">
@@ -149,19 +117,19 @@ <h2>Common SystemID and PSSH Box Format</h2>
149
117
Use of this SystemID is RECOMMENDED for applications, packagers, and implementors.
150
118
Use of other SystemIDs with the Encrypted Media Extensions APIs is discouraged.
151
119
'pssh' box(es) for this SystemID SHOULD be included in all new or repackaged content so that the content can be used with any compliant Key System.
152
-
For existing content, applications may alternatively obtain a 'pssh' box containing this SystemID or another Initialization Data Type (e.g., <adef-id="initdata-registry-keyids"></a> [[EME-STREAM-REGISTRY]]) from another source.
120
+
For existing content, applications may alternatively obtain a 'pssh' box containing this SystemID or another Initialization Data Type (e.g., [[[EME-INITDATA-KEYIDS]]] [[EME-STREAM-REGISTRY]]) from another source.
153
121
</p>
154
122
<pclass="note">Implementations MAY support other SystemIDs for backwards compatibility with existing streams.</p>
155
123
156
124
<sectionid="common-system-definition">
157
125
<h3>Definition</h3>
158
126
<p>The SystemID is <code>1077efec-c0b2-4d02-ace3-3c1e52e2fb4b</code>.</p>
159
-
<p>The PSSH box format is as follows. It follows version 1 of the 'pssh' box as defined in [[!CENC]].</p>
127
+
<p>The PSSH box format is as follows. It follows version 1 of the 'pssh' box as defined in [[CENC]].</p>
160
128
<dl>
161
129
<dt>version</dt>
162
130
<dd><code>1</code></dd>
163
131
<dt>KID and KID_count</dt>
164
-
<dd>The <adef-id="key-id"></a>(s) represented by the PSSH box. For example, those key ID(s) used by the Movie ('moov') or Movie Fragment ('moof').</dd>
132
+
<dd>The [=Decryption key ID|key ID=](s) represented by the PSSH box. For example, those key ID(s) used by the Movie ('moov') or Movie Fragment ('moof').</dd>
165
133
<dt>Data and DataSize</dt>
166
134
<dd>Reserved for future use. DataSize SHALL be set to <code>0</code> when constructing this box. When processing, if dataSize is non-zero the Data field SHALL be ignored.</dd>
// Empty definitions for objects declared in the document are here to
73
-
// prevent error messages from being displayed for references to these objects.
74
-
definitionMap: {},
75
-
76
-
preProcess: [encryptedMediaPreProcessor],
77
-
78
-
// Empty definitions for objects declared in the document are here to
79
-
// prevent error messages from being displayed for references to these objects.
80
-
definitionMap: {},
81
-
82
-
postProcess: [encryptedMediaPostProcessor],
49
+
xref: ["html","encrypted-media"]
83
50
};
84
51
</script>
85
52
<!-- script to register bugs -->
@@ -100,11 +67,12 @@
100
67
<body>
101
68
102
69
<sectionid="abstract">
103
-
<p>This specification defines the <adef-id="initialization-data"></a> formats for use with the <adef-id="eme-spec"></a> [[!ENCRYPTED-MEDIA]].</p>
70
+
<p>This specification defines the [=initializationdata=] formats for use with the [[[ENCRYPTED-MEDIA]]] [[ENCRYPTED-MEDIA]].</p>
104
71
105
-
<p>Some formats may be extracted from <adef-id="media-data"></a> [[HTML5]] as defined in the <adef-id="stream-registry"></a> [[EME-STREAM-REGISTRY]].
72
+
<p>Some formats may be extracted from [=HTMLMediaElement/media data=] as defined in the [[[EME-STREAM-REGISTRY]]] [[EME-STREAM-REGISTRY]].
106
73
All may be provided separately, such as via a manifest or other application data.
107
74
</p>
75
+
<p>This registry is non-normative.</p>
108
76
</section>
109
77
110
78
<sectionid="sotd">
@@ -113,15 +81,15 @@
113
81
<sectionid="purpose">
114
82
<h2>Purpose</h2>
115
83
<p>This registry is intended to enhance interoperability among implementations and users of encrypted media streams with the
116
-
<adef-id="eme-spec"></a> (EME) specification [[!ENCRYPTED-MEDIA]]. In particular, this registry provides the means (1) to identify
84
+
[[[ENCRYPTED-MEDIA]]] (EME) specification [[ENCRYPTED-MEDIA]]. In particular, this registry provides the means (1) to identify
117
85
and avoid collisions among initialization data type strings, and (2) to disclose information about initialization data formats accepted by EME
118
86
implementations to promote interoperability.
119
87
</section>
120
88
121
89
<sectionid="organization">
122
90
<h2>Organization</h2>
123
-
<p>The registry maintains a mapping between <adef-id="initialization-data-type"></a> strings and format specifications, which describe the structure and semantics of initialization data.
124
-
The strings are those used for <code>initDataType</code> values provided by and to <adef-id="eme-spec"></a> [[!ENCRYPTED-MEDIA]] APIs.
91
+
<p>The registry maintains a mapping between [=initializationdatatype=] strings and format specifications, which describe the structure and semantics of initialization data.
92
+
The strings are those used for <code>initDataType</code> values provided by and to [[[ENCRYPTED-MEDIA]]] [[ENCRYPTED-MEDIA]] APIs.
125
93
</p>
126
94
<p>This registry is not intended to include any information on whether a format is encumbered by intellectual property claims. Implementors and users
127
95
are advised to seek appropriate legal counsel in this matter if they intend to implement or use a specific format.</p>
@@ -130,18 +98,23 @@ <h2>Organization</h2>
130
98
<sectionid="entry-requirements">
131
99
<h2>Registration Entry Requirements</h2>
132
100
<ol>
133
-
<li><p>Each entry must include a unique <adef-id="initialization-data-type"></a> string.</p></li>
101
+
<li><p>Each entry must include a unique [=initializationdatatype=] string.</p></li>
134
102
<li>
135
103
<p>Each entry must include a link that references a publicly available specification.
136
-
It is RECOMMENDED that such a specification be made available without cost (other than reasonable shipping and handling if not available by online means).
104
+
It is recommended that such a specification be made available without cost (other than reasonable shipping and handling if not available by online means).
137
105
</p>
138
106
</li>
139
107
<li>
140
-
<p>Candidate entries must be announced on <ahref="mailto:public-media-wg@w3.org">public-media-wg@w3.org</a>(<ahref="mailto:public-media-wg-request@w3.org">subscribe</a>,
141
-
<ahref="https://lists.w3.org/Archives/Public/public-media-wg/">archives</a>) so they can be discussed and evaluated for compliance before being added to the registry.
108
+
<p>Candidate entries must be announced by filing an issue in the
109
+
<ahref="https://github.com/w3c/encrypted-media/issues/">Encrypted Media Extensions GitHub issue tracker</a>
110
+
so they can be discussed and evaluated for compliance before being added to
111
+
the registry.
142
112
</p>
143
113
</li>
144
-
<li><p>Per the <adef-id="eme-spec"></a> specification, entries MUST be fully specified and support common formats such that instances of the format can be processed in a fully specified and compatible way.</p></li>
114
+
<li><p>Per the [[[ENCRYPTED-MEDIA]]] specification, entries must be fully specified and support common formats such that instances of the format can be processed in a fully specified and compatible way.</p></li>
115
+
<li>
116
+
<p>Existing entries cannot be deleted or deprecated.</p>
0 commit comments