@videosdk.live/react-native-media-effects
v0.0.1
Published
A library enhances your video applications by providing advanced media effects, including virtual backgrounds.
Downloads
7
Readme
A library enhances your video applications by providing advanced media effects, including virtual backgrounds.
Installation
npm install react-native-media-effects
Usage
import VideosdkMediaEffects from "react-native-media-effects"
// apply image as background
VideosdkMediaEffects.applyImageBackground("https://cdn.videosdk.live/virtual-background/cloud.jpeg");
// apply color as background
VideosdkMediaEffects.applyColorBackground("#FF0000");
// apply blur background
VideosdkMediaEffects.applyBlurBackground(23.0);
// remove background
VideosdkMediaEffects.removeBackground();
Documentation
You can check out our documentation for more information.