# The processor stops working after receiving the connection-change event with the state Reconnecting

**URL:** <https://devforum.zoom.us/t/the-processor-stops-working-after-receiving-the-connection-change-event-with-the-state-reconnecting/136079>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [August 5, 2025, 4:23am UTC](https://devforum.zoom.us/t/the-processor-stops-working-after-receiving-the-connection-change-event-with-the-state-reconnecting/136079 "2025-08-05T04:23:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![namlv](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/namlv/32/51610_2.png) [@namlv](https://devforum.zoom.us/u/namlv)\
**Post date:** [August 5, 2025, 4:23am UTC](https://devforum.zoom.us/t/the-processor-stops-working-after-receiving-the-connection-change-event-with-the-state-reconnecting/136079/1 "2025-08-05T04:23:51Z")

</div>

**Description**

I am implementing an AI avatar feature using `VideoProcessor`. However, after encountering a network instability (receiving a `connection-change` event with the state `Reconnecting`), I noticed that the `VideoProcessor` no longer continues to `processFrame` even after I receive the `Connected` state again from the `connection-change` event.

I tried recreating the processor using `createProcessor`, but got the following error:

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

```

I also attempted to restart the existing processor, but it seems that the `MessagePort` inside the processor is no longer functional, as I can no longer receive any messages from it.

**Web Video SDK version:** 2.2.5

* * *

**Video SDK Code Snippets**

**Listening for messages in `VideoProcessor`:**

```javascript
class AvatarProcessor extends VideoProcessor {
  constructor(port: MessagePort, options?: any) {
    super(port, options);

    port.addEventListener('message', async (e) => {
      console.log('AvatarProcessor received message:', e.data);
    });
  }

}

```

**Where the event is sent:**

```javascript
  sendMessage(type, data) {
    this.processor?.port.postMessage({
      'type': type,
      'data': data
    });
  }

```

**Device (please complete the following information):**

- **Device:** Mac Mini M1

- **OS:** macOS 15.5

- **Browser:** Chrome

- **Browser Version:** 138.0.7204.157 (Official Build) (arm64)

* * *

---

<div class="post-metadata">

**Author:** ![namlv](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/namlv/32/51610_2.png) [@namlv](https://devforum.zoom.us/u/namlv)\
**Post date:** [August 5, 2025, 4:25am UTC](https://devforum.zoom.us/t/the-processor-stops-working-after-receiving-the-connection-change-event-with-the-state-reconnecting/136079/2 "2025-08-05T04:25:13Z")

</div>

@vic.yang Do you have any suggestions for me in this case?

---

<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:** [August 5, 2025, 5:18am UTC](https://devforum.zoom.us/t/the-processor-stops-working-after-receiving-the-connection-change-event-with-the-state-reconnecting/136079/3 "2025-08-05T05:18:09Z")

</div>

Hey @namlv

Thanks for your feedback.

It’s a known issue, and we will fix it in the upcoming release.

> [@Issue with Virtual Background When Using Newer Zoom SDK Versions](https://devforum.zoom.us/t/issue-with-virtual-background-when-using-newer-zoom-sdk-versions/135746):
>
> 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: { type: 'INVALID\_PARAMETERS', reason: 'You have already created this Processor', errorCode: 6121 } It seems that the processor is creat…

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![namlv](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/namlv/32/51610_2.png) [@namlv](https://devforum.zoom.us/u/namlv)\
**Post date:** [August 5, 2025, 10:11am UTC](https://devforum.zoom.us/t/the-processor-stops-working-after-receiving-the-connection-change-event-with-the-state-reconnecting/136079/4 "2025-08-05T10:11:52Z")

</div>

Thank you for your feedback.

---

<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:** [August 5, 2026, 10:12am UTC](https://devforum.zoom.us/t/the-processor-stops-working-after-receiving-the-connection-change-event-with-the-state-reconnecting/136079/5 "2026-08-05T10:12:08Z")

</div>

Closed on August 5, 2026, 10:12am UTC

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