Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Codecs API #40

Open
chrisn opened this issue Jul 13, 2020 · 3 comments
Open

Web Codecs API #40

chrisn opened this issue Jul 13, 2020 · 3 comments
Labels
tracking Work is happening elsewhere; the IG is tracking progress

Comments

@chrisn
Copy link
Member

chrisn commented Jul 13, 2020

The M&E IG call on 7th July 2020 (minutes) discussed the Web Codecs API.

Please submit issues to feed back directly on the API. You are also welcome to share use cases by replying to this issue.

As Chris mentioned in the call, the Blink source code currently contains the latest interface IDL files.

This issue tracks a media-related issue/proposal/work item/discussion

@chrisn chrisn added the tracking Work is happening elsewhere; the IG is tracking progress label Jul 13, 2020
@chcunningham
Copy link

As mentioned when we discussed WebCodecs during the July 7th meeting, Chrome is planning to launch an origin trial for the API in M86, scheduled for stable release in early October. If you would like to participate in this origin trial, please reach out to hbengali@google.com and chcunningham@google.com so we can learn more about your use case and help validate that the API surfaces you intend to use will be ready in the origin trial time frame.

@chcunningham
Copy link

chcunningham commented Jul 16, 2020

As Chris mentioned in the call, the Blink source code currently contains the latest interface IDL files.

I'll be uploading a spec PR with the latest in the coming week. For now, here's a google doc with the basic structure. A few known issues:

  • Encoder not yet written. Expect same as Decode, just reversed.
  • No BYOB mechanism yet. We need something like a read-only ArrayBuffer to make this secure.
  • GPU:CPU copies for video frame read back. We'd like to use a GPUBuffer for frames decoded to gpu memory, but this interface is still WIP in WebGPU spec.

@tidoust
Copy link
Member

tidoust commented Jun 23, 2021

A status update on the API. Since last comment on this issue (July 2020), WebCodecs has ben adopted as a normative deliverable by the Media Working Group and published as a Working Draft.

The API is under active development in the Media Working Group, with lots of discussions in the spec's repository:

Some of the issues being discussed are on "minor" technical details, other touch on core API design considerations. For instance, there is an ongoing call for consensus on whether WebCodecs should be exposed in Window environments (or only in workers for the time being).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracking Work is happening elsewhere; the IG is tracking progress
Projects
None yet
Development

No branches or pull requests

3 participants