/plushcap/analysis/twilio/change-background-video-calls-twilio-video-processors-library

Change the Background in your Video Calls with the Twilio Video Processors Library

What's this blog post about?

Twilio has added a new feature to its Programmable Video product through the Twilio Video Processors JavaScript library, allowing developers to add video processing filters such as background replacement and blurring to their video streams. This feature is currently only supported in Chrome, but it can be easily integrated into existing applications using Express.js and Node.js. The process of adding a background effect involves creating a new processor instance, loading its model, and attaching it to the video track. Two options are available: blurring the background or replacing it with a picture of choice. Both effects can be applied to local video tracks and will push the processed version of the video stream to other participants in the video call. The complete code for this project is available on GitHub, and developers are encouraged to share their own projects that incorporate this feature.

Company
Twilio

Date published
July 5, 2021

Author(s)
Miguel Grinberg

Word count
1586

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.