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

VideoProcessors v3.0 #2053

Merged
merged 21 commits into from
Dec 10, 2024
Merged

VideoProcessors v3.0 #2053

merged 21 commits into from
Dec 10, 2024

Conversation

manjeshbhargav
Copy link
Collaborator

Contributing to Twilio

All third party contributors acknowledge that any contributions they provide will be made under the same open source license that the open source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

Pull Request Details

Description

A description of what this PR does.

Burndown

Before review

  • Updated CHANGELOG.md if necessary
  • Added unit tests if necessary
  • Updated affected documentation
  • Verified locally with npm test
  • Manually sanity tested running locally
  • Included screenshot as PR comment (if needed)
  • Ready for review

@@ -1,6 +1,33 @@
/**
* @beta VideoFrame is part of Video Processor V3 support which is currently in beta.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove beta tag

Copy link
Collaborator Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍


/**
* A processor for manipulating video frames.
* @beta Video Processor V3 support is currently in beta.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove beta tag

Copy link
Collaborator Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

* - VideoFrame (beta)
* @param outputFrameBuffer The output frame buffer. The context type can be:
* - '2d' (default)
* - 'bitmaprenderer' (beta, Chromium-based browsers only)
Copy link
Collaborator Author

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

Copy link
Collaborator

@luisrivas luisrivas Dec 6, 2024

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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove line

Copy link
Collaborator

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.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove line

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

Copy link
Collaborator

@charliesantos charliesantos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@luisrivas luisrivas merged commit b9d0b5d into master Dec 10, 2024
19 of 24 checks passed
luisrivas added a commit that referenced this pull request Dec 18, 2024
* 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]>
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

Successfully merging this pull request may close these issues.

4 participants