[Bug 26060] Media Source and Web Worker

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26060

Aaron Colwell <acolwell@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Aaron Colwell <acolwell@google.com> ---
(In reply to Aleksei Zbiniakov from comment #4)
> The one of the worth scenario is when you control your media stream via
> SharedWorker, so all open tabs for your site get the same isolated context.
> In this case you can keep just one MediaSource object and allow all open
> tabs to access it without additional memory consumption.

I do not believe the scenario you propose here would be common enough to be
worth the extra complexity this would introduce. Allowing multiple
HTMLMediaElements to reference a single MediaSource object would unnecessarily
complicate the buffer eviction algorithms because different elements could be
playing at different positions in the buffer. I also think this would give
developers the false sense that all tabs would render the same thing because
they share a buffer, but that may not actually be true if overlapping appends
and evictions are occurring.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 3 February 2015 18:57:09 UTC