# Virtual Background Does Not Persist Between Video On/Off

**URL:** <https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904>\
**Category:** macOS\
**Created:** [October 14, 2021, 8:10pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904 "2021-10-14T20:10:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathancq](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nathancq/32/5073_2.png) [@nathancq](https://devforum.zoom.us/u/nathancq)\
**Post date:** [October 14, 2021, 8:10pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/1 "2021-10-14T20:10:53Z")

</div>

**Description**  
We’re running into a new issue with the latest macOS SDK (v5.7.6.1333) where we are losing the virtual background between calls to start and stop video.

**Which Desktop Meeting SDK version?**  
v5.7.6.1333

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

1. Go to Virtual Background Settings and select a background
2. Start the user’s video

Result: The background is not used

1. With user video on, select a virtual background. Once the settings dialog is opened, the background is now visible and will work as long as the video stays on.  
5: Stop video and start it again

Result:  
The virtual background is no longer visible. It is lost every time the video is started and stopped.

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

- Device: Macbook Pro (16 inch 2019), Also all know mac users are reporting this
- OS: macOS Big Sur 11.6

**Additional context**  
This issue did not occur until upgrading to the latest ZoomSDK

---

<div class="post-metadata">

**Author:** ![nathancq](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nathancq/32/5073_2.png) [@nathancq](https://devforum.zoom.us/u/nathancq)\
**Post date:** [October 15, 2021, 3:29pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/2 "2021-10-15T15:29:15Z")

</div>

Just to follow up on this, I tried virtual backgrounds in the sample app and it is completely broken there too. I also get a dialog message that virtual background is still loading but it never does.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 15, 2021, 9:27pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/3 "2021-10-15T21:27:37Z")

</div>

Hi @nathancq, thanks for bringing this to our attention.

After some testing, there definitely seems to be some strange behavior around virtual backgrounds when using the default UI. We’ll need to investigate this further and get back to you as soon as we have any updates.

Just to clarify though, is the behavior you mentioned seeing in the sample app not the same as what you are seeing in your own app?

Thanks!

---

<div class="post-metadata">

**Author:** ![nathancq](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nathancq/32/5073_2.png) [@nathancq](https://devforum.zoom.us/u/nathancq)\
**Post date:** [October 15, 2021, 9:44pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/4 "2021-10-15T21:44:24Z")

</div>

Hi Jon, thanks for looking into this. It’s actually a little bit worse in the sample app. I can’t seem to get VB to apply at all there. In our custom app, I can get the VB to apply but it no longer works once video is started and stopped. At one point, VB would no longer apply in our app either but I was able to get it to come back after toggling “use greenscreen” off and on. I think it’s the same issue affecting both however. One of our devs reported seeing an error in the console that could be related: unknown hint identifier ‘kCGImageSourceTypeIdentifierHint:public.data’

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 18, 2021, 8:14pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/5 "2021-10-18T20:14:21Z")

</div>

Hi @nathancq,

Thanks for confirming. We have identified a fix for the behavior in the sample app, but it is not clear whether or not this will resolve the behavior you are seeing since it is slightly different. The SDK version with a fix for this should be available relatively soon, so be sure to let me know if the issue that is present in your application is still reproducible.

In case you weren’t already aware, you can find the most up-to-date release information in #new-releases or over on our [release notes page](https://marketplace.zoom.us/docs/changelog). 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![nathancq](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nathancq/32/5073_2.png) [@nathancq](https://devforum.zoom.us/u/nathancq)\
**Post date:** [October 18, 2021, 8:29pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/6 "2021-10-18T20:29:45Z")

</div>

Thank you Jon! That’s great news. I’ll try it with the the version as soon as I can get it and will let you know how it goes!

---

<div class="post-metadata">

**Author:** ![nathancq](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nathancq/32/5073_2.png) [@nathancq](https://devforum.zoom.us/u/nathancq)\
**Post date:** [October 19, 2021, 2:07pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/7 "2021-10-19T14:07:04Z")

</div>

Looks to be working again in the new release. Thanks again!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 19, 2021, 5:56pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/8 "2021-10-19T17:56:50Z")

</div>

That’s great, I’m glad to hear the fix resolved it in your application as well!

Please don’t hesitate to reach back out in a new topic with any additional questions. 🙂

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 19, 2021, 5:56pm UTC](https://devforum.zoom.us/t/virtual-background-does-not-persist-between-video-on-off/58904/9 "2021-10-19T17:56:54Z")

</div>

Closed on October 19, 2021, 5:56pm UTC


