<?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>18922</bug_id>
          
          <creation_ts>2012-09-19 19:14:32 +0000</creation_ts>
          <short_desc>Add a parser free, codec agnostic example</short_desc>
          <delta_ts>2012-10-21 15:52:07 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</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>
          <dependson>18920</dependson>
    
    <dependson>18921</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hadar Weiss">whadar</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>acolwell</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</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>74077</commentid>
    <comment_count>0</comment_count>
    <who name="Hadar Weiss">whadar</who>
    <bug_when>2012-09-19 19:14:32 +0000</bug_when>
    <thetext>The example in the spec relies on the existence of a &quot;parser&quot; that returns buffers that are full valid segments. Most of the code is not included.

A much more simple example (with all the code included) will help developers to better understand the API and use it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74082</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-09-19 19:41:53 +0000</bug_when>
    <thetext>The expectation is that the web application is responsible for determining where the segment boundaries are. This is highly format &amp; deployment dependent. This can be either done in javascript or with the help of backend servers. There is no generic solution that will work in a format agnostic way. The init/media segment abstractions are the best we can do. Lower level than that requires detailed knowledge of the specific format.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76846</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2012-10-21 15:52:07 +0000</bug_when>
    <thetext>We could make the code sample format agnostic by not using a specific media type. However, I don&apos;t think this is what you&apos;re asking for. I think you&apos;re asking for the code for the functions not included but in a format agnostic way. As Aaron says, applications will not be able to ignore the format.

Resolving NEEDSINFO. Please provide the example you&apos;re asking for and we can review adding it to the spec or into a separate primer document.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>