Upgrade to @zoomus/websdk v2.13.0 broke our Zoom web video. Downgrade to v2.12.2 works. Please help

Description
We were using v2.12.2 without issue. I saw there was a new minor upgrade available so I upgraded it to v2.13.0. I was not expecting breaking changes. However, the upgrade completely broke our zoom sdk integration. I have since downgraded back to v2.12.2 and everything is working as expected.

We are getting the following error:
“ReferenceError: JsMediaSDK_Instance is not defined”

Browser Console Error
The full error message or issue you are running into.
“ReferenceError: JsMediaSDK_Instance is not defined”

Which Web Meeting SDK version?
Knowing the version can help us to identify your issue faster. [e.g. 1.9.9]
2.13.0

Meeting SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.

import { ZoomMtg } from '@zoomus/websdk';

ZoomMtg.setZoomJSLib('https://source.zoom.us/2.9.5/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
// loads language files, also passes any error messages to the ui
ZoomMtg.i18n.load('en-US');
ZoomMtg.i18n.reload('en-US');

ZoomMtg.init({
              leaveUrl: `${window.location.origin}/meeting-completed/success`,
              success: (success) => {
                ZoomMtg.join({
                  signature: signature,
                  meetingNumber: uniqueNumber,
                  userName: userName,
                  sdkKey: env.zoomMeetingSdkKey,
                  zak: signature.zak || undefined,
                  success: (success) => {
                    // console.log(success);
                  },
                  error: (error) => {
                    // console.log(error);
                  },
                });
              },
              error: (error) => {
                // console.log(error);
              },
            });

Angular v12

Device (please complete the following information):

  • Device: [e.g. Macbook Pro]
  • OS: [e.g. macOS 11]
  • Browser: [e.g. Chrome]
  • Browser Version [e.g. 88.0.4324.150 (Official Build) (x86_64)]
    Device: Macbook Pro
    OS: Ventura v13
    Browser: Chrome
    Browser version: 114.0.5735.133 (Official Build) (arm64)

Testing on chrome currently, but this is reported by multiple production users. Web application in Angular 12

if you have this line in combination with 2.13.0 it cannot work

with 2.13.0 many file names have changed at this location, e.g.:

  • lib/av/1502_audio.encode.wasm (2.9.0 … 2.12.2)
  • lib/av/1503_audio.encode.wasm (2.13.0 … )

Where do I find these different files and their versions that are compatible with various web sdk versions for @zoomus/websdk?

I see in the docs that it says that the file version number should be the same as the web sdk version number: i.e.

ZoomMtg.setZoomJSLib('https://source.zoom.us/{VERSION_NUMBER}/lib', '/av')

so I changed it to:

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

and it is still broken with the same error:
ReferenceError: JsMediaSDK_Instance is not defined

I also changed the order of the ZoomMtg config to follow the documentation and it did not fix anything:

ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
ZoomMtg.i18n.load('en-US');
ZoomMtg.i18n.reload('en-US');
ZoomMtg.setZoomJSLib('https://source.zoom.us/2.13.0/lib', '/av');

here you can find all files - you can host them on your server

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