<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:johnsfreemusic&#64;gmail.com" title="johnsfreemusic&#64;gmail.com">johnsfreemusic&#64;gmail.com</a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [MSE] MediaSource.endOfStream() triggers updateend event"
   href="https://bugs.webkit.org/show_bug.cgi?id=165336">bug 165336</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>johnsfreemusic&#64;gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [MSE] MediaSource.endOfStream() triggers updateend event"
   href="https://bugs.webkit.org/show_bug.cgi?id=165336#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [MSE] MediaSource.endOfStream() triggers updateend event"
   href="https://bugs.webkit.org/show_bug.cgi?id=165336">bug 165336</a>
              from <span class="vcard"><a class="email" href="mailto:johnsfreemusic&#64;gmail.com" title="johnsfreemusic&#64;gmail.com">johnsfreemusic&#64;gmail.com</a>
</span></b>
        <pre>Was about to file a similar bug.

Not only does endOfStream fire an additional updateend event but it also sets the updating property to true.

The audioplayer I work on calls endOfStream before a remove to help avoid the audio drift problem found on many browsers (that is to say that what MSE reports as the end of the buffer is not accurate). However since endOfStream causes updating to be true remove will throw an exception (the spec does say that you cannot remove while updating is true).

So endOfStream is triggering something to cause the source buffer to enter the updating state (and eventually leave which fires updateend).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>