[Webkit-unassigned] [Bug 165336] [MSE] MediaSource.endOfStream() triggers updateend event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 10:42:39 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=165336

johnsfreemusic at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johnsfreemusic at gmail.com

--- Comment #1 from johnsfreemusic at gmail.com ---
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161220/8c326669/attachment.html>


More information about the webkit-unassigned mailing list