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