[Webkit-unassigned] [Bug 139439] [MSE] Sending media segment without any init segment should call endOfStream.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 9 09:09:33 PST 2014


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

--- Comment #2 from Jer Noble <jer.noble at apple.com> ---
(In reply to comment #1)
> Created attachment 242905 [details]
> call endofstream on receive sample without first init flag v1

Doesn't this look like a spec bug, that MediaSource.endOfStream() is supposed to call the Append Error Algorithm (on SourceBuffer) without stating explicitly /which/ SourceBuffer is supposed to run the algorithm?  It's a little weird to pass in a SourceBuffer to MediaSource.streamEndedWithError().  After all, what if someone calls "endOfStream('decode')"?

Wouldn't it make more sense for the 3.5.1 - 6.1 step to call the Append Error Algorithm, which in turn calls the Stream Ended Algorithm (rather than vice versa)?

I filed <https://www.w3.org/Bugs/Public/show_bug.cgi?id=27548>. Lets see what they say.

> This is the initial patch of this. I'm not sure what should be proper way to
> fail here as sometimes 'updateend' came before 'error' (from unknown reason)
> so I rejected that option. I'm open to suggestions.

There was a bug <https://bugs.webkit.org/show_bug.cgi?id=138394> about events from different GenericEventQueues being fired out of order. Is that change in your tree?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141209/9771ddfa/attachment-0002.html>


More information about the webkit-unassigned mailing list