Video SDK Type and Version
@zoom/videosdk: 2.1.5
Description
We are using the Zoom Video SDK for the web and want to enable WebRTC for all users while avoiding SharedArrayBuffer. We have followed the documentation and made the necessary updates:
- Upgraded to version 2.1.5
- Replaced
renderVideo
andstopRenderVideo
withattachVideo
anddetachVideo
- Set
video_webrtc_mode
andaudio_webrtc_mode
in the SDK JWT
In most cases, WebRTC works as expected. However, on some client computers, WebRTC does not activate, and we see the following message in the console: WebRTC is disabled (not on the whitelist)
Error?
WebRTC is disabled (not on the whitelist)
When this happens, the user falls back to WebAssembly (Wasm). Since SharedArrayBuffer is not enabled, video call performance is significantly degraded.
Troubleshooting Routes
- Confirmed that
video_webrtc_mode
andaudio_webrtc_mode
are set in the SDK JWT - Ensured that we are using
attachVideo
anddetachVideo
instead ofrenderVideo
andstopRenderVideo
- Tested across multiple browsers and environments
- Verified that WebRTC is supported in the affected browsers
How To Reproduce
- Generate an SDK JWT with
video_webrtc_mode: 1
andaudio_webrtc_mode: 1
- Join a Zoom Video SDK session from a web browser
- Observe the console logs – in some cases, the error
WebRTC is disabled (not on the whitelist)
appears, preventing WebRTC from being used
Why is WebRTC not being enabled for all calls, even when explicitly set in the JWT and followed every changes necessary to use WebRTC?