# removeVirtualBackgroundItem has no effect

**URL:** <https://devforum.zoom.us/t/removevirtualbackgrounditem-has-no-effect/111737>\
**Category:** Android\
**Tags:** video-sdk, android\
**Created:** [June 11, 2024, 1:48pm UTC](https://devforum.zoom.us/t/removevirtualbackgrounditem-has-no-effect/111737 "2024-06-11T13:48:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jledwon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jledwon/32/59907_2.png) [@jledwon](https://devforum.zoom.us/u/jledwon)\
**Post date:** [June 11, 2024, 1:48pm UTC](https://devforum.zoom.us/t/removevirtualbackgrounditem-has-no-effect/111737/1 "2024-06-11T13:48:46Z")

</div>

Zoom SDK Version: 1.11.10  
Artifacts used:

- us.zoom.videosdk:zoomvideosdk-core
- us.zoom.videosdk:zoomvideosdk-videoeffects

Hi folks, I try to set a virtual background (blur) and then remove it using `removeVirtualBackgroundItem`, but this code seems to have no effect and blur is still there after calling it.

Setting the blur:

```Kotlin
val blur = virtualBackgroundHelper
    .virtualBackgroundItemList
    .first { it.type == ZoomVideoSDKVirtualBackgroundDataType_Blur }
virtualBackgroundHelper.setVirtualBackgroundItem(blur)

```

Removing blur:

```Kotlin
virtualBackgroundHelper.removeVirtualBackgroundItem(virtualBackgroundHelper.selectedVirtualBackgroundItem)

```

I also tried:

```Kotlin
val blur = virtualBackgroundHelper
    .virtualBackgroundItemList
    .first { it.type == ZoomVideoSDKVirtualBackgroundDataType_Blur }
virtualBackgroundHelper.removeVirtualBackgroundItem(blur)

```

But none of them are working as expected. Eventually I went with something that looks a bit like a hack:

```Kotlin
val noBackground = virtualBackgroundHelper
    .virtualBackgroundItemList
    .first { it.type == ZoomVideoSDKVirtualBackgroundDataType_None }
virtualBackgroundHelper.setVirtualBackgroundItem(noBackground)

```

This seems like a bug, but if it’s not please extend the documentation with intended usage of these methods.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![mlewandowski](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mlewandowski/32/60961_2.png) [@mlewandowski](https://devforum.zoom.us/u/mlewandowski)\
**Post date:** [July 8, 2024, 6:50am UTC](https://devforum.zoom.us/t/removevirtualbackgrounditem-has-no-effect/111737/2 "2024-07-08T06:50:41Z")

</div>

I’ve also encountered this on 1.12.0

---

<div class="post-metadata">

**Author:** ![mlewandowski](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mlewandowski/32/60961_2.png) [@mlewandowski](https://devforum.zoom.us/u/mlewandowski)\
**Post date:** [August 5, 2024, 10:44am UTC](https://devforum.zoom.us/t/removevirtualbackgrounditem-has-no-effect/111737/3 "2024-08-05T10:44:50Z")

</div>

Is there a chance this will be picked up?

---

<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:** [September 4, 2024, 8:45pm UTC](https://devforum.zoom.us/t/removevirtualbackgrounditem-has-no-effect/111737/4 "2024-09-04T20:45:12Z")

</div>

Closed on September 4, 2024, 8:45pm UTC

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