Web sdk 1.9.9 + origins trials doesn't show video of participant on chrome v94

I have been trying to follow all the docs and tickets about the problem of the zoom web sdk not showing the camera of the user but it doesn’t work for me. I’ve tried to add the webassembly and share buffer array origin trials like that:

< meta http-equiv=“origin-trial” content=“Token” >

but the video still doesn’t show. I have also added ZoomMtg.prepareJssdk([‘WebAssembly SIMD’]);

I checked that the share buffer array works by doing that: typeof SharedArrayBuffer===‘function’
and it returns true and I also notice though that when I check in Chrome, I see that the UnrestrictedSharedArrayBuffer is enabled thanks to the token from origin trials but for the WebAssemblySimd it says ValidTokenNotProvided, which is weird because I do exactly the same thing as for the sharredbufferarray token. Would the problem of not showing the video come from that or it is independent of the simd token? When I create the web assembly token it says that it’s for chrome up to v90 so it’s weird to create it for v94? Maybe that is why it says it is not valid? I have also tried to add the webcodec token in case and tried some combinations of them all with no success. Well any help would be appreciated…

Hey @carbonfreeconf ,

Happy to help! :slight_smile:

First off, we just improved the SharedArrayBuffer document here: https://marketplace.zoom.us/docs/sdk/overview/improve-performance

Second off, can you please share a screenshot of the issue, steps to reproduce, and any errors in the browser console?

Thanks,
Tommy

Hi Tommy,

Here is a screenshot:

Joe’s camera is activated but doesn’t work. When I don’t use origin trials but rather the self-isolation it then works but it’s the rest of my website that need changing unless you would allow Cross-Origin-Embedder-Policy" = ‘credentialless’?

Please help to make the origin trial work. To reproduce you just start a new meeting and start the camera and it doesn’t show in the inlet even though I have the share buffer array activated via origin trial. There are no errors in the console.

Hey @carbonfreeconf ,

Have you added the meta tag with your SharedArrayBuffer token to your html webpages?

<meta http-equiv="origin-trial" content="TOKEN_GOES_HERE">

You can validate this by entering the following in the browser console on your page:

typeof SharedArrayBuffer ==='function'

Related thread:

Thanks,
Tommy

1 Like

Right, I found what was going on. I had added the origin trial token to the main page and not to the iframed page directly and hence it didn’t see it for the iframe… It may be helpful to some of you.

Thanks for sharing your solution @carbonfreeconf ! :slight_smile:

I am happy you got it to work!

-Tommy

1 Like

Hi, could you share how you put ZoomMtg into an iframed page?

Hey @yanflex ,

Embedding the Zoom Web SDKs into iFrames is not supported.

-Tommy