WebRTC Not Enabled in Some Calls, Causing Performance Issues - WebRTC Disabled (Not on Whitelist)

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 and stopRenderVideo with attachVideo and detachVideo
  • Set video_webrtc_mode and audio_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 and audio_webrtc_mode are set in the SDK JWT
  • Ensured that we are using attachVideo and detachVideo instead of renderVideo and stopRenderVideo
  • Tested across multiple browsers and environments
  • Verified that WebRTC is supported in the affected browsers

How To Reproduce

  1. Generate an SDK JWT with video_webrtc_mode: 1 and audio_webrtc_mode: 1
  2. Join a Zoom Video SDK session from a web browser
  3. 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?

Hey @Rafael_Goulart

Thanks for your feedback.

Currently, WebRTC works on all browser platforms except Firefox. However, on Edge for macOS and iOS, WebRTC is still experimental. If your platform or browser matches these conditions, WebRTC may not function as expected.

Thanks
Vic

1 Like