Video SDK Type and Version
@zoom/videosdk: “1.12.12”
React: “18.2.0”
Description
I am trying to implement the virtual background feature (blur effect) using the Zoom Video SDK. I followed the documentation and applied the following steps:
- Initialize the client:
await clientZoom.init('en-US', 'Global', {
patchJsMedia: true,
enforceVirtualBackground: true
});
- Use the
updateVirtualBackgroundImage
method in atoggleBlur
function:
await mediaStream.updateVirtualBackgroundImage('blur');
The issue I am facing is that when I join a call, my local video does not render properly. However, the other participant in the meeting can see my video with the blur effect applied.
Error?
There is no error message, but the issue is that the local video is not displaying correctly, while the remote participant sees it blurred as expected.
Troubleshooting Routes
- I have reviewed the documentation for the Video SDK.
- I checked the Zoom Developer Changelog and other related forum posts but couldn’t find a solution.
- I have not been able to test this with the sample app, as my issue is specific to React integration.
How To Reproduce
- Authentication method or app type: Using React SDK integration with Zoom Video SDK 1.12.12.
- Steps:
- Initialize the client as shown above.
- Join a meeting and observe the local video feed.
- Use the
updateVirtualBackgroundImage('blur')
method when toggling the blur effect.
- Browser/client type and version: Tested on Google Chrome and React 18.2.0.