#656: MSE-in-Workers

Visit on Github.

Opened Jun 30, 2021

Ya ya yawm TAG!

I'm requesting a TAG review of MSE-in-Workers.

Enable Media Source Extensions (MSE) API usage from DedicatedWorker contexts to enable improved performance of buffering media for playback by an HTMLMediaElement on the main Window context. By creating a MediaSource object on a DedicatedWorker context, an application may then create an ObjectURL for it and postMessage that URL to the main thread for use in attaching to an HTMLMediaElement. The context that created the MediaSource object may then use it to buffer media.

Further details:

  • [ x ] I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: This feature is expected to be part of the MSE v2 specification, whose editor's draft will be entering FPWD soon.
  • The group where the work on this specification is currently being done: https://www.w3.org/media-wg/
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): https://www.w3.org/media-wg/
  • Major unresolved issues with or opposition to this specification: None.
  • This work is being funded by: N/A

We'd prefer the TAG provide feedback as:

🐛 open issues in our GitHub repo for each point of feedback, with issue title prefix "MSE-in-Workers:".

Discussions

2021-09-Gethen

Minutes

Good to see the open questions section in the explainer, and multi-vendor interest. It's not fully parallelizable, which is probably okay. It gets the hard work off of the main thread. And they don't end up needing any author-facing complicated locking, which is nice.

Closed with comment.