-
Notifications
You must be signed in to change notification settings - Fork 217
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
VideoProcessors v3.0 #2053
VideoProcessors v3.0 #2053
Conversation
…streams where supported.
* Support outputFrameBufferContextType=bitmaprenderer.
* Pass unit tests.
docs: introduce beta support for Video Processor V3
tsdef/VideoProcessor.d.ts
Outdated
@@ -1,6 +1,33 @@ | |||
/** | |||
* @beta VideoFrame is part of Video Processor V3 support which is currently in beta. |
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.
Remove beta tag
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.
These APIs are used by other developers apart from Video Processors SDK, so let's remove references to the video processors sdk.
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.
Done 👍
tsdef/VideoProcessor.d.ts
Outdated
|
||
/** | ||
* A processor for manipulating video frames. | ||
* @beta Video Processor V3 support is currently in beta. |
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.
Remove beta tag
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.
These APIs are used by other developers apart from Video Processors SDK, so let's remove references to the video processors sdk.
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.
Done 👍
tsdef/VideoProcessor.d.ts
Outdated
* - VideoFrame (beta) | ||
* @param outputFrameBuffer The output frame buffer. The context type can be: | ||
* - '2d' (default) | ||
* - 'bitmaprenderer' (beta, Chromium-based browsers only) |
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.
Remove the text in brackets
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.
Done 👍
tsdef/types.d.ts
Outdated
inputFrameBufferType?: 'video' | 'canvas' | 'offscreencanvas'; | ||
/** | ||
* The type of input frame buffer to use. | ||
* @beta The 'videoframe' value is currently in beta and only supported on browsers that support VideoFrame API |
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.
Remove line
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.
Done 👍
tsdef/types.d.ts
Outdated
|
||
/** | ||
* The type of context to use for the output frame buffer. | ||
* @beta The 'bitmaprenderer' value is currently in beta. It is only supported on Chromium-based browsers, and falls back to '2d' on other browsers. |
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.
Remove line
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.
Done 👍
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.
Looks great!
* Refactor video frame capture logic to its own module. * Use insertable streams where supported. * Support inputFrameBufferType=videoframe. * Support outputFrameBufferContextType=bitmaprenderer. * Support outputFrameBufferContextType=bitmaprenderer only for chrome. * Work around: markdown-it/linkify-it#111 * VBLOCKS-3643 VBLOCKS-3644 * docs: introduce beta support for Video Processor V3 --------- Co-authored-by: Manjesh Malavalli <[email protected]> Co-authored-by: twilio-ci <[email protected]>
Contributing to Twilio
Pull Request Details
Description
A description of what this PR does.
Burndown
Before review
npm test