-
Notifications
You must be signed in to change notification settings - Fork 143
Construct VideoFrame from CanvasImageSource (including VideoFrame) #185
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
Construct VideoFrame from CanvasImageSource (including VideoFrame) #185
Conversation
Replaces the ImageBitmap constructor with more generic constructor for CanvasImageSource. VideoFrame is itself a CanvasImageSource. Fixes #158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Editors call: looks good with minor comments addressed
Editors call: consider approved % addressing minor comments |
…eoframe_from_canvasimagesource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing.
I'll merge this back to main manually |
Replaces the ImageBitmap constructor with more generic constructor for
CanvasImageSource. VideoFrame is itself a CanvasImageSource.
frame.createImageBitmap() is removed, as we can now instead call createImageBitmap(frame).
Fixes #145. Also, see #158.
Preview | Diff