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

Support video transparency #42

Open
tidoust opened this issue Oct 29, 2021 · 2 comments
Open

Support video transparency #42

tidoust opened this issue Oct 29, 2021 · 2 comments

Comments

@tidoust
Copy link
Member

tidoust commented Oct 29, 2021

In WebRTC and WebCodecs. Only an implementation issue? Are there additional hooks that need to be exposed at the API level?

Raised in:

@chcunningham
Copy link

For WebCodecs, we have EncodedVideoChunkMetadata.alphaSideData, which will be populated with alpha info on a per-chunk basis when VideoEncoderConfig.alpha is set to keep.

https://w3c.github.io/webcodecs/#ref-for-dom-encodedvideochunkmetadata-alphasidedata

Buuuut, for Chrome, we don't actually have any encoders currently that support VideoEncoderConfig.alpha = "keep" (default is "discard").

@chcunningham
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants