VideoTrack. You can also use the tools to create your own transformations or filters.
- Node.js (v14+)
- NPM (v6+, comes installed with newer Node versions)
See a live demo with blurred backgrounds and virtual backgrounds using the Video Processors tools here.
View the Video Processors demo application and run the example application locally.
You can install Video Processors using Node Package Manager (npm):
npm install @twilio/video-processors --save
Using this method, you can import
twilio-video-processors like so:
import * as VideoProcessors from '@twilio/video-processors';
After installing with npm, you can also copy
twilio-video-processors.js from the
dist/build folder and include it directly in your web app using a
Using this method,
twilio-video-processors.js will set a browser global:
const VideoProcessors = Twilio.VideoProcessors;
These processors are only supported on chromium-based desktop browsers at this moment and will not work on other browsers.
View the full Video Processors SDK documentation here.