# Issue with Virtual Background When Using Newer Zoom SDK Versions

**URL:** <https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [July 28, 2025, 6:53pm UTC](https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746 "2025-07-28T18:53:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafael\_Goulart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rafael_goulart/32/49383_2.png) [@Rafael\_Goulart](https://devforum.zoom.us/u/Rafael_Goulart)\
**Post date:** [July 28, 2025, 6:53pm UTC](https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746/1 "2025-07-28T18:53:34Z")

</div>

**Video SDK Type and Version**  
zoom/videosdk Web Version 2.2.0 and 2.2.5

**Description**  
We’re using [`stream.createProcessor`](https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#createProcessor) to implement our custom virtual background feature. However, starting from version 2.2.0 of the Video SDK, we began encountering a problem with this functionality.

When a user joins a call for the second time, we receive the following error:

```auto

{ type: 'INVALID_PARAMETERS', reason: 'You have already created this Processor', errorCode: 6121 }

```

It seems that the processor is created correctly the first time, but on subsequent attempts to join a call, the SDK considers that the processor is already created and does not allow us to create it again. The issue is that there is no method available in the SDK to destroy or reset the processor, so the only workaround is to refresh the entire page.

We also tried saving the created processor from the first call and reusing it in later calls, but that approach doesn’t work either.

This issue is currently blocking us from upgrading to the latest versions of @zoom/videosdk. We would appreciate any guidance or a fix for this problem.

**Error?**

```auto
{ type: 'INVALID_PARAMETERS', reason: 'You have already created this Processor', errorCode: 6121 }

```

**How To Reproduce**  
_Steps to reproduce the behavior including:_

1. Start a Zoom call using a custom video processor with` @zoom/videosdk` version 2.2.0 or above.  
Example code:

```auto
const processor = await this.stream.createProcessor(videoProcessorOptions);
await this.stream.addProcessor(processor);

```

1. The first call works as expected. End the call.

2. Attempt to join a new call and run the same processor setup code again.

3. You will receive the error

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 29, 2025, 2:50am UTC](https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746/2 "2025-07-29T02:50:44Z")

</div>

Hey @Rafael_Goulart

Thanks for your feedback.

This is indeed an issue in Video SDK Web, and we will fix it in the next version.

For now, the workaround is to call `destroyClient` after leaving the session and then `createClient` again and make sure to rebind all the necessary events afterward.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![Rafael\_Goulart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rafael_goulart/32/49383_2.png) [@Rafael\_Goulart](https://devforum.zoom.us/u/Rafael_Goulart)\
**Post date:** [July 29, 2025, 12:46pm UTC](https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746/3 "2025-07-29T12:46:02Z")

</div>

Hey @vic.yang

I had already tried using `destroyClient` after leaving the session and creating a new client instance, but unfortunately, the issue still persists the error continues to appear when trying to use `createProcessor` again.

Given that, I’ll wait for the next version with the fix.  
Do you have an estimated release date for it?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 30, 2025, 5:28am UTC](https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746/4 "2025-07-30T05:28:49Z")

</div>

Hi @Rafael_Goulart

> I had already tried using `destroyClient` after leaving the session and creating a new client instance, but unfortunately, the issue still persists the error continues to appear when trying to use `createProcessor` again.

We tested the workaround using destroyClient, and it works. Below are the code snippets:

```javascript
await client.leave();
await ZoomVideo.destroyClient();
client = ZoomVideo.createClient();
await client.init("en-US", "Golbal");
initEvents();
await client.join("TOPIC", "JWT_TOKEN", "NAME", "PASSCODE");
const stream = client.getMediaStream();
const processor = await stream.createProcessor(params);

```

> Do you have an estimated release date for it?

The next release is expected around late August.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 30, 2026, 5:28am UTC](https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746/5 "2026-07-30T05:28:50Z")

</div>

Closed on July 30, 2026, 5:28am UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
