setVirtualForeground does not work after removing it

Zoom Apps Configuration
React

Description
*I am using setVirtualForeground() to add virtual foreground image then using removeVirtualForeground() to remove it. After the image is removed from video, then I called setVirtualForeground() again, the image is not added. I notice that ‘The zoom client encountered an error while processing the request!’ error shows up after removeVirtualForeground() is called *

Error?
The zoom client encountered an error while processing the request!

Troubleshooting Routes
The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on Zoom · GitHub).

How To Reproduce
*

  1. setVirtualForeground()
  2. removeVirtualForeground()
  3. call setVirtualForeground() with the same imageData in step 1