VideoFilter

🚧

Deprecation notice

Dolby.io Communications SDK for Desktop has been deprecated. For building native desktop applications, we recommend using the vanilla Electron framework with the latest Web Client SDK.

🚀

Note

This model is supported only on the Desktop SDK. If you wish to change the local participant's background using the Web SDK, call the start or setProcessor method.

The VideoFilter model represents the possible video filters that allow blurring or changing the local participant's background. The video filters are available only for the Dolby.io Communications SDK for Desktop users.

Enumeration members

Bokeh

Bokeh: = "bokeh"

Blurs the local participant's background.

Example:

await VoxeetSDK.videoFilters.setFilter(VideoFilter.Bokeh);

None

None: = "none"

Disables the applied video filter. This setting does not disable video denoising; you can still use video denoising when VideoFilter is set to None.

Example:

await VoxeetSDK.videoFilters.setFilter(VideoFilter.None);

StaticImage

StaticImage: = "staticimage"

Replaces the local participant's background with the selected static image. The StaticImage filter supports the following image formats:

  • Windows bitmaps: BMP and DIB
  • JPEG files: JPEG, JPG, and JPE
  • Portable Network Graphics: PNG

Example:

await VoxeetSDK.videoFilters.setFilter(VideoFilter.StaticImage, {imageFile: fileObject});