Add Custom Effect Filters to your Twilio Programmable Video Calls
The Twilio Video JavaScript SDK has been enhanced with support for video processors, small effects, and filters that can be applied to the video tracks in a Programmable Video application. A video processor is a small JavaScript object that performs video processing transformations or effects, such as mirroring, converting to black and white, adding watermarks, and performing face detection using Tensorflow. To create a custom video effect, a video processor object is added to the local participant's video track with the addProcessor() method, which applies the processFrame() function to the frames published from that track to other participants in the video call. The article provides code examples for several simple and complex video effects, including mirroring, black and white conversion, adding watermarks, and face detection using Tensorflow.
Company
Twilio
Date published
July 13, 2021
Author(s)
Miguel Grinberg
Word count
1097
Language
English
Hacker News points
None found.