You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: