Video not rendering on canvas, throwing error: TypeError: Cannot read properties of null (reading 'getExtension')

Video not rendering on canvas on chrome Mac, console showing this error:
TypeError: Cannot read properties of null (reading ‘getExtension’)


Video SDK Type and Version
Video SDK Type: Web
Video SDK version: 1.6.0

Description
Producing only on Mac chrome, working fine on Mac safari
Mac OS X 10.15.7
Chrome 109.0.0

@arfa.ahmed Hope you will be fine.

Please verify that the rendering html element is not null.

Here is the session ReactJS with Zoom Video SDK.

Thanks for reply, It is only producing on specific device
Mac OS X 10.15.7
Chrome 109.0.0

HI @arfa.ahmed ,

Could you share the code snippet of you rendering the video? Also, I see the error is only happening on Chrome. Do you get the same error when testing with the sample application in Chrome?

Thanks,
Rehema

I have followed the demo of the video SDK. It is only happening with one user’s device and only on chrome, working fine on the safari browser on the same machine. Not seen this error during the development

Hi @arfa.ahmed ,

Thank you for the additional details, sounds like this may be a compatibility issue with the device’s current software version and Chrome. Is the user who’s having the issues able to update their computer software?

Thanks,
Rehema

Yes, he updated Chrome to the latest version and also uninstalled and reinstalled Chrome, but the issue was not resolved

Hey @arfa.ahmed

Could you try this code snippet in the Chrome dev tool console?

const canvas = new OffscreenCanvas(1, 1);
const gl = canvas.getContext('webgl');
console.log(gl);

If the gl is null, could you help check whether the graphic card is disabled or restart the computer and try it again?

Thanks
Vic