#576: Media Source Extensions for WebCodecs

Visit on Github.

Opened Nov 23, 2020

HIQaH! QaH! TAG!

I'm requesting a TAG review of Media Source Extensions for WebCodecs.

The Media Source Extensions API (MSE) requires applications to provide fragments of containerized media (such as fragmented MP4, WebM, or MP3) to be able to buffer and play that media. If the application already has the media in a parsed and structured form, it can cost extra latency and code complexity to package that media into a container and feed it to MSE. As the web platform is evolving to give applications lower-level abstractions for efficiently encoding and decoding media via the WebCodecs API, MSE can use WebCodec's media structures to let applications more efficiently feed their media to MSE. We propose additional MSE methods to provide web authors easy ability to buffer "containerless" media as an alternative to existing MSE methods that required containerized, "muxed" media.

Further details:

  • I have reviewed the TAG's API Design Principles
  • The group where the incubation/design work on this is being done (or is intended to be done in the future): Media WG
  • The group where standardization of this work is intended to be done ("unknown" if not known): Media WG
  • Major unresolved issues with or opposition to this design: None. Minor open questions are listed in the Explainer's Open Questions section

You should also know that...

  • The review is early in the prototyping and design stage because we expect to learn from early implementation feedback more precise answers to the Explainer's Open Questions section, so we'd like to get a rough design reviewed to help refine eventual implementation and specification for this feature.

We'd prefer the TAG provide feedback as:

💬 leave review feedback as a comment in this issue and @-notify @wolenetz

Discussions

2021-02-22

Minutes

Sangwhan: we should hold off on this one... webcodecs is going through a change.

2021-03-08

Minutes

Looked at, no comments, seems reasonable, bumping to next week for Sangwhan's input.

2021-03-15

Minutes

Bumped waiting for Sangwhan

2021-03-22

Minutes

Sangwhan: Use case makes sense. Propose close, but want Tess to take a look at the plenary

2021-10-11

Minutes

Sangwhan: I think we LGTM'd this

Dan: it says resolution satisfied, but the last comment by Sangwhan was asking a question, wiht a reply, and no followup response. And it's not closed.

Sangwhan: we looked during f2f. [reads] The final verdict was we have questions and concerns but not a strong preference for either. There are two options for doing this, one is obviosuly doing domain specific promises and generic promises.. if they can't sketch otu the time to do byte based promises we shouldn't block that work, it's a big chunk they need to do and enforcing that is not fair. It was a question about what would be the path forward given these two options. They answered, I'm going through the comments. Bottom line is: it's fine.

Dan: we should close it

Sangwhan: doing it

closed