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

Switch VideoFrame(ImageBitmap) to VideoFrame(CanvasImageSource) #145

Closed
chcunningham opened this issue Feb 25, 2021 · 0 comments
Closed
Assignees

Comments

@chcunningham
Copy link
Collaborator

chcunningham commented Feb 25, 2021

This still allows for ImageBitmap, but also much more, as CanvasImageSource is a union of:
HTMLImageElement
SVGImageElement
HTMLVideoElement
HTMLCanvasElement
ImageBitmap
OffscreenCanvas

We also plan to add VideoFrame itself to that union.

Also, while doing this transition we should split off the resolution properties in VideoFrameInit -> VideoFramePlaneInit. They are most logical/useful when constructing from Planes.

These proposals are actively being implemented in chrome:
https://chromium-review.googlesource.com/c/chromium/src/+/2718704
https://chromium-review.googlesource.com/c/chromium/src/+/2718896

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

No branches or pull requests

1 participant