<?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>18601</bug_id>
          
          <creation_ts>2012-08-17 13:07:23 +0000</creation_ts>
          <short_desc>Contradictory requirements for initialization segments</short_desc>
          <delta_ts>2012-11-28 18:40:41 +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>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>tpac2012</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="Aaron Colwell (c)">acolwell</assigned_to>
          <cc>acolwell</cc>
    
    <cc>adrianba</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
    
    <cc>watsonm</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>72353</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-08-17 13:07:23 +0000</bug_when>
    <thetext>The spec seems confused about whether or not initialization segments are mandatory or not.

http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#source-buffer-basic-append

&quot;The first segment appended MUST be an initialization segment.&quot;

(IMHO, this entire section should be non-normative, but currently it isn&apos;t.)

http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-append

A bunch of steps here are triggered by the first initialization segment.

http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#byte-stream-formats

&quot;A byte stream format specification MAY define initialization segments and MUST define media segments.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72354</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-08-17 13:08:12 +0000</bug_when>
    <thetext>I don&apos;t have a strong opinion on the fix, but if no one is planning to support a format without initialization segments, then it doesn&apos;t make sense to spend too much time on it at this point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72355</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-08-17 13:17:03 +0000</bug_when>
    <thetext>Further down, there&apos;s also this paragraph: &quot;Initialization segments are an optimization. They allow a byte stream format to avoid duplication of information in Media Segments that is the same for many Media Segments. Byte stream format specifications need not specify Initialization Segment formats, however. They may instead require that such information is duplicated in every Media Segment.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72371</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-08-17 20:41:37 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; The spec seems confused about whether or not initialization segments are
&gt; mandatory or not.
&gt; 
&gt; http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#source-buffer-basic-append
&gt; 
&gt; &quot;The first segment appended MUST be an initialization segment.&quot;

I could soften this to the following:
&quot;If the format defines an initialization segment format, the first segment appended must be an initialization segment.&quot;

&gt; 
&gt; (IMHO, this entire section should be non-normative, but currently it isn&apos;t.)
&gt; 
&gt; http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-append
&gt; 
&gt; A bunch of steps here are triggered by the first initialization segment.
&gt; 
&gt; http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#byte-stream-formats
&gt; 
&gt; &quot;A byte stream format specification MAY define initialization segments and MUST
&gt; define media segments.&quot;

I&apos;m CC&apos;ing Mark Watson because I believe he is the one that wanted to make initialization segments optional. All the formats we currently support have initialization segments so I&apos;d be fine with dropping the &quot;init segments are optional&quot; text until we have a more concrete idea of how a format w/o init segments would work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76867</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2012-10-22 01:14:05 +0000</bug_when>
    <thetext>Discussed during call: http://www.w3.org/2012/09/25-html-media-minutes.html#item06

Current proposal is to remove the text making initialization segments optional. Even &quot;self initializing&quot; media formats will likely be indistinguishable from formats that have distinct initialization and media segments. The main goal is to avoid appending media data without initialization for those formats where this might otherwise be possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79024</commentid>
    <comment_count>5</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-11-28 18:40:41 +0000</bug_when>
    <thetext>Changes committed.
http://dvcs.w3.org/hg/html-media/rev/0c638da9a67a

Based on TPAC decisions, I&apos;ve removed the text that says initialization segments are optional.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>