<?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>29008</bug_id>
          
          <creation_ts>2015-07-30 18:17:26 +0000</creation_ts>
          <short_desc>[MSE] Media Segment Header is not defined</short_desc>
          <delta_ts>2015-10-16 01:18:00 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ralph Giles">giles</reporter>
          <assigned_to name="Matt Wolenetz">wolenetz</assigned_to>
          <cc>jdsmith</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>122329</commentid>
    <comment_count>0</comment_count>
    <who name="Ralph Giles">giles</who>
    <bug_when>2015-07-30 18:17:26 +0000</bug_when>
    <thetext>&quot;If the input buffer does not contain a complete media segment header yet,&quot;

In section 3.5.1, step 6.2, the spec refers to a &quot;media segment header&quot; but never defines this term. None of the Byte Stream Format drafts define it either.

I know it&apos;s supposed to be the moof box for mp4, but it&apos;s unclear how to implement this for other formats, especially those without second-level headers like mp3 and ADTS.

Is it possible to just remove this step, and clarify that the &apos;coded frame processing algorithm&apos; should only run if there&apos;s enough segment data to determine that there is a decodeable frame?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122556</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Wolenetz">wolenetz</who>
    <bug_when>2015-08-11 15:04:52 +0000</bug_when>
    <thetext>This is a great point.

In particular, I think this was meant to allow for incremental partial parsing of a large media segment, as you&apos;ve indicated. For instance, a WebM cluster could be significantly large, and coded frames could be successfully parsed out of the beginning of a cluster without having the entire cluster appended.

Your suggested replacement text sounds reasonable to me; I&apos;ll make the change shortly, with review of co-editors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123703</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Wolenetz">wolenetz</who>
    <bug_when>2015-10-13 23:18:49 +0000</bug_when>
    <thetext>This bug has been migrated to the GitHub issue tracker. Please follow/update progress using the GitHub issue:
https://github.com/w3c/media-source/issues/30</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123728</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Wolenetz">wolenetz</who>
    <bug_when>2015-10-16 01:18:00 +0000</bug_when>
    <thetext>fyi (Though this bug is moved to https://github.com/w3c/media-source/issues/30, I&apos;m double-posting here to include the original bug reporter on this update.)
Pull request is out for review at https://github.com/w3c/media-source/pull/32 for the</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>