The VideoFiltersService manages the video filters that allow blurring the local participant's background or using a selected image as the local participant's background. The service allows checking the available video filters and applying the selected filter on the proper video stream.
▸ getSupportedFilters(): VideoFilter
Returns video filters that are available for the local participant.
Applies the selected video filter on the local participant's video stream. When setting the filter is successful, the method returns a promise. Otherwise, the promise is rejected and the SDK returns the UnsupportedError if the required filer is not supported or MediaStreamError if the requested constraints could not be applied.
Updated 2 months ago