Cannot load audio.encode.wasm and video.simd.wasm on version 1.9.7 but works on 1.8.5

Description
Cannot load audio.encode.wasm and video.simd.wasm on version 1.9.7 but able to do it on 1.8.5

Error
On version 1.9.7 audo_encode.wasm is loaded from https://source.zoom.us/1.8.5/lib/av/1508_audio.encode.wasm which gives xml code with access denied error, but with 1.8.5 it uses https://source.zoom.us/1.8.5/lib/av/6206_audio.encode.wasm which is working fine

Which Web Client SDK version?
1.9.7

To Reproduce(If applicable)
Use version 1.9.7

Device (please complete the following information):

  • Device:Macbook Air
  • OS: 11.0
  • Browser: Chrome

Screenshots

Hey @uday_skuad,

Thank you for reaching out to the Zoom Developer Forum. First, please make sure that you are calliong setZoomJSLib() like so:

ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.7/lib', '/av'); 

That should cause Zoom to import the correct library files. If that doesn’t help, can you share a code snippet of how you’re importing the libraries?

Thanks,
Max

Hi Max
I use this snippet of code

useEffect(() => {
    if (ZoomMtg) {
      ZoomMtg.setZoomJSLib("https://source.zoom.us/1.8.5/lib", "/av");
      ZoomMtg.i18n.load("en-US");
      ZoomMtg.preLoadWasm();
      ZoomMtg.prepareJssdk();
      joinMeeting();
    }
  }, [ZoomMtg]);

changing to 1.9.7 doesn’t works, it fails to load wasm files

ZoomMtg.setZoomJSLib("https://source.zoom.us/1.9.7/lib", "/av");

Hey @uday_skuad,

Please see this page in our Sample React App for an example of how you can import these resources.

If you’re using the package manager to fetch dependencies, make sure that you’ve updated those packages as well.

Let me know if that helps.

Thanks,
Max

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