Skip to content

Latest commit

 

History

History

virtual-background

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Virtual background

Virtual Background enables users to blur their background or replace it with a solid color or an image. This feature is applicable to scenarios such as online conferences, online classes, and live streaming. It helps protect personal privacy and reduces audience distraction.

This sample project shows you how to set:

  • Blurred background
  • Color background
  • Image background

Understand the code

For context on this sample and a full explanation of the essential code snippets used in this project, read the Virtual Background document for your product of interest:

For the UI implementation of this example, refer to VirtualBackgroundActivity.kt.

How to run this example

To see how to run this example, refer to the README in the root folder or one of the complete product guides.