# Enabling WebCodec stops screen share feature from working in Chorme

**URL:** <https://devforum.zoom.us/t/enabling-webcodec-stops-screen-share-feature-from-working-in-chorme/55145>\
**Category:** Web\
**Created:** [August 3, 2021, 10:32am UTC](https://devforum.zoom.us/t/enabling-webcodec-stops-screen-share-feature-from-working-in-chorme/55145 "2021-08-03T10:32:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [August 4, 2021, 3:15am UTC](https://devforum.zoom.us/t/enabling-webcodec-stops-screen-share-feature-from-working-in-chorme/55145/4 "2021-08-04T03:15:35Z")

</div>

Hey @shoaib @hasan.md

Thanks for your feedback. Sorry for the unpleasant experience of Web Video SDK.

If the Web Codecs is enabled, you should pass the Video Element instead of Canvas Element to `stream.startShareScreen` method. Following is a quick way to determine whether the browser supports WebCodecs:

```javascript
function isSupportWebCodecs(){
  return typeof window.MediaStreamTrackProcessor === 'function'
}

```

We have updated the [react-demo](https://github.com/zoom/sample-app-videosdk/tree/master/react-demo) sample code, you can also refer to its implementation.

In the next release of Web Video SDK, we will provide detailed instructions on the console when the WebCodecs is enabled.

Thanks  
Vic

---

_[View the full topic](https://devforum.zoom.us/t/enabling-webcodec-stops-screen-share-feature-from-working-in-chorme/55145)._
