Cancel virtual background

Description
How to cancel the virtual background through the SDK API interface when the virtual background is not needed

Which version?
v4.6.21666.0428

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @jiedesheng,

Thanks for the post and pardon the late response. Is this question for iOS SDK or Windows SDK?

Thanks!

windows SDK. windows SDK.

Hi @jiedesheng,

To cancel the virtual background, you could use the interface virtual SDKError UseBGImage(IVirtualBGImageInfo* pImage) in setting_service_interface.h and pass an empty string as the filePath to the parameter pImage.

Hope this helps. Thanks!

thank you very much!

Glad to be helpful. I will go ahead and close this thread. Please feel free to create another post if any other questions. :slight_smile: