Zoom web application crashes sometimes

Hi,

 We are using video SDK UMD files in our Vuejs application. We are preloading the dependent assets,  so that the time taken for the user to see the zoom screen is faster.

  //When the web application starts
    script.src = '/zoom_video_sdk_1.5.1/index.umd_v1.5.1.js';
    document.getElementsByTagName('head')[0].appendChild(script);
    script.onload = () => {
        WebVideoSDK.default.preloadDependentAssets('Global');
    }

	//When we actually go to Zoom screen, the below code is executed
	client = WebVideoSDK.default.createClient();		
	
    client.init('en-US', 'Global',{stayAwake: true})
        .then((resJson)=> {
    }).catch((error) => {
        console.log("init failed "+ error);
	});

 Sometimes(once in 10 times), the application crashes when we access the zoom page. There is a good time interval between the application startup and the time at which we are accessing the zoom page. We are able to see the below logs. Please let us know if you need more information. The application is crashing.

//In zoom screen

Error: Uncaught (in promise) ReferenceError: WebVideoSDK is not defined

The resource was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

A preload for ‘https://source.zoom.us/videosdk/1.5.1/lib/js_media.min.js’ is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.

26084b7c-e022-4d71-a85e-3dee13c330c4:1 Uncaught RangeError: WebAssembly.Memory(): could not allocate memory

Please find additional information.

Which Web Video SDK version?
1.5.1

Device (please complete the following information):

  • Device: Laptop
  • OS: Windows
  • Browser: Chrome
  • Browser Version Version 108.0.5359.99 (Official Build) (64-bit)

Hey @kvr

Thanks for your feedback.
There are three errors in your console logs.

  1. WebVideoSDK is not defined

    Usually, it occurs when using the WebVideoSDK before the script is ready, in the code above, it’s better to add the client = WebVideoSDK.default.createClient(); to the onload event callback.

  2. *The resource was preloaded using link preload but not used within a few seconds from the window’s load event. *

    It doesn’t matter. The warning appears when resources are preloaded but not used soon.

    • Uncaught RangeError: WebAssembly.Memory(): could not allocate memory*

    Could you share the environment(Device, CPU, OS, Chrome, version) and CPU/memory usage when this issue occurs?

Thanks
Vic

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