<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26811</bug_id>
          
          <creation_ts>2014-09-15 20:24:43 +0000</creation_ts>
          <short_desc>Separate definitions of Initialization Data Types from Stream Format parsing</short_desc>
          <delta_ts>2015-10-19 23:47:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Encrypted Media Extensions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>to_be_implemented</status_whiteboard>
          <keywords>editorial</keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>CR</target_milestone>
          
          <blocked>26573</blocked>
    
    <blocked>26738</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Dorwin">ddorwin</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>b.lund</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111542</commentid>
    <comment_count>0</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2014-09-15 20:24:43 +0000</bug_when>
    <thetext>Currently, the Encrypted Media Extensions Stream Format and Initialization Data Format Registry [1] is organized such that each Initialization Data Type has its own page, which covers both the Initialization Data format and - where applicable - how to parse the associated stream (i.e. container).

However:
 * The Initialization Data Type and stream format are used by two different parts of implementations:
  - The user agent uses the stream format to extract the initialization data, but does not necessarily care about its format.
  - The CDM only needs to know how to parse the Initialization Data format and does not need to parse the stream/container.
  - Note: A packager, which is not covered by the spec, needs to know both.
 * Initialization Data Types do not necessarily have an associated container (e.g. &quot;keyids&quot;)
 * An Initialization Data Type may apply to more than one stream/container format (bug 26738).

We should have a table and page for Initialization Data Types and separate pages for stream/container parsing information. Maybe we can use the MIME type as the index for a table pointing to the latter pages.


[1] https://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/initdata-format-registry.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112054</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2014-09-24 00:24:20 +0000</bug_when>
    <thetext>Section 3 of the webm and cenc pages is currently called &quot;Initialization Data and Events,&quot; but events are not discussed. We can probably drop &quot;and Events&quot; as part of this change. (Those entire sections will probably become a new page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114955</commentid>
    <comment_count>2</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2014-11-14 23:38:41 +0000</bug_when>
    <thetext>When implementing this, we should move the registries to their own directories. For example:

encrypted-media\
  ...
  registry\
    stream-format\
      bmff.html
      webm.thml
      ...
    initdata-format\
      cenc.html
      webm.thml
      ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117464</commentid>
    <comment_count>3</comment_count>
    <who name="Bob Lund">b.lund</who>
    <bug_when>2015-01-23 21:28:13 +0000</bug_when>
    <thetext>(In reply to David Dorwin from comment #2)
&gt; When implementing this, we should move the registries to their own
&gt; directories. For example:
&gt; 
&gt; encrypted-media\
&gt;   ...
&gt;   registry\
&gt;     stream-format\
&gt;       bmff.html
&gt;       webm.thml
&gt;       ...
&gt;     initdata-format\
&gt;       cenc.html
&gt;       webm.thml
&gt;       ...

I&apos;ve taken a stab at separating the cenc-format-respec.html into an cenc init data spec[1] and a cenc in bmff stream format spec[2]. [1] references [2].

[1] http://rawgit.com/boblund/encrypted-media/bug26811/cenc-init-format-respec.html
[2] http://rawgit.com/boblund/encrypted-media/bug26811/bmff-format-respec.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123790</commentid>
    <comment_count>4</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2015-10-19 23:47:29 +0000</bug_when>
    <thetext>Migrated to https://github.com/w3c/encrypted-media/issues/105.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>