# Enabling WebCodecs Origin Trial causes the screen sharing not to work properly

**URL:** <https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255>\
**Category:** Web\
**Created:** [July 16, 2021, 7:45am UTC](https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255 "2021-07-16T07:45:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lfrancia](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lfrancia/32/9289_2.png) [@lfrancia](https://devforum.zoom.us/u/lfrancia)\
**Post date:** [July 16, 2021, 7:45am UTC](https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255/1 "2021-07-16T07:45:11Z")

</div>

**Description**  
We were advised to enable WebCodecs and SharedArrayBuffers origin trial to solve some of the issues we are facing with Web SDK 1.9.6 like the delay in showing own video.

When I tested with just the WebCodecs origin trial enabled, I noticed that although the “delay in showing on video” issue has been fixed with that, a new issue appeared which is the screen sharing is no longer working properly. When I started screen sharing, preview is not shown on the screen sharing preview box inside the green bar of the page (this is the green bar showing when you do screen sharing on web client SDK). The black screen is also shown on the other user’s screen instead of the screen that I am sharing.

And then, when reported to Zoom, we were advised to enable SharedArrayBuffers origin trial as well together with WebCodecs. But when I tested with both the origin trials enabled, the issue is still there.

**Error**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/e/6e991204882988c50977d07c43b7c0cfefac21a7.png)

**Which Web Client SDK version?**  
1.9.6

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Enable WebCodes origin trial in the app
2. Launch your application
3. Join a meeting
4. Click on the “New Share” button
5. Select any random window and start sharing

**Screenshots**

User sharing the screen view

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/b/6bf0bb159ecec7b801b7c791b73a60a326ea39de.png)

Other user’s screen

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/2/52aabb114e6d9e34f8898aad0de0d7ffcaf5920c.png)

**Device (please complete the following information):**

- OS: Windows 10 Pro
- Browser: Chrome
- Browser Version: 91.0.4472.124 (Official Build) (64-bit)

Please let me know if you need more information.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [July 16, 2021, 8:18pm UTC](https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255/2 "2021-07-16T20:18:40Z")

</div>

Hey @lfrancia,

Thank you for reporting this issue. I’ve since reached out to our engineering team for their insight.

I’ll let you know what I hear. (ZOOM-293128)

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 22, 2021, 6:15pm UTC](https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255/3 "2021-07-22T18:15:51Z")

</div>

Hey @lfrancia ,

This is now fixed in version 1.9.7. 🙂

> [@Web Client SDK version 1.9.7](https://devforum.zoom.us/t/web-client-sdk-version-1-9-7/54573):
>
> Hello Zoom Developers, here are the updates for the Web Client SDK version 1.9.7 release : Zoom ending support of Microsoft Internet Explorer Microsoft is [ending support for Internet Explorer (IE) 11 on August 17, 2021](https://blogs.windows.com/windowsexperience/2021/05/19/the-future-of-internet-explorer-on-windows-10-is-in-microsoft-edge/). Based on this date, Zoom is ending support for IE on September 30, 2021. Users can still use Zoom on IE after this date but we will no longer be supporting IE, fixing issues related to IE, or offering any customer support related to IE. Fixed Issue where participants could con…

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![lfrancia](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lfrancia/32/9289_2.png) [@lfrancia](https://devforum.zoom.us/u/lfrancia)\
**Post date:** [July 26, 2021, 1:31am UTC](https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255/4 "2021-07-26T01:31:09Z")

</div>

Hi @tommy,

Thank you so much for the fast action on this issue. We will now test our app with SDK 1.9.7.

Thanks again for your help!

Regards,  
Lara

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [July 26, 2021, 11:07pm UTC](https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255/5 "2021-07-26T23:07:21Z")

</div>

I’m glad to hear that a fix was released! Let us know if you encounter any further issues.

Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 26, 2021, 9:08am UTC](https://devforum.zoom.us/t/enabling-webcodecs-origin-trial-causes-the-screen-sharing-not-to-work-properly/54255/6 "2021-08-26T09:08:07Z")

</div>

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