# Can't get shareScreen canvas and not showing the select screen modal when start share screen

**URL:** <https://devforum.zoom.us/t/cant-get-sharescreen-canvas-and-not-showing-the-select-screen-modal-when-start-share-screen/80569>\
**Category:** Web\
**Created:** [December 21, 2022, 7:22am UTC](https://devforum.zoom.us/t/cant-get-sharescreen-canvas-and-not-showing-the-select-screen-modal-when-start-share-screen/80569 "2022-12-21T07:22:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nguyen.hoangtue](https://avatars.discourse-cdn.com/v4/letter/n/13edae/32.png) [@nguyen.hoangtue](https://devforum.zoom.us/u/nguyen.hoangtue)\
**Post date:** [December 21, 2022, 7:22am UTC](https://devforum.zoom.us/t/cant-get-sharescreen-canvas-and-not-showing-the-select-screen-modal-when-start-share-screen/80569/1 "2022-12-21T07:22:33Z")

</div>

**Video SDK Type and Version**  
1.5.5

**Description**  
My app is using 2 sessions for 2 seperate functions. One for video call and one for screen sharing.  
When users want to make video call, they can create 1 session and when they want to share screen, they can create another session.  
When they want to change from video call to screen sharing, they’ll have to remove 1 session and create new for screen sharing.

**Error?**  
But sometime, i have this issues:

1. When change from video call to screen sharing, the screen doesn’t show the modal to select select screen

2. When 1 user is sharing screen succesfully, another user can’t see it.

I check the console it failed to get canvas.

When i reset the browser, this issues gone.

I thought this issue maybe is because of internet issue but I get it even when I have stable connection. Can you pls help me to solve this issue? And is it right to use 2 sessions?

As you can see, when user can see the screen shared, it’s will return the  
URL: “https://…cloundfront.net…”

 ![console_bug](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/8/a854d79529d5b7813e1f064d86772d3cedb15413.jpeg)  
 ![console_ok](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/a/ba290ef29657892c97534383e5b3fdb5cd627def.jpeg)

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [December 21, 2022, 2:09pm UTC](https://devforum.zoom.us/t/cant-get-sharescreen-canvas-and-not-showing-the-select-screen-modal-when-start-share-screen/80569/2 "2022-12-21T14:09:41Z")

</div>

Hi @nguyen.hoangtue ,

Thanks for your post. First, to address the multiple sessions, you can achieve both pieces of functionality (video calling & screen sharing) within one session. Would you like to have the video call and the shared screen showed concurrently?

Additionally, in regards to the _‘canvas is falsy’_ error, the first thing that comes to mind is whether or not your browser supports **MediaStreamTrackProcessor**. This will determine whether or not you render your shared-screen media with a video tag or a canvas tag (our supporting documentation is [here](https://developers.zoom.us/docs/sdk/video/web/essential/screen-share/)). Have you checked for this yet? If not, you can do so by typing _‘typeof window.MediaStreamTrackProcessor’_ into your browser console, and seeing if it returns _‘function’_.

Thanks,  
Rehema

---

<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:** [January 21, 2023, 12:10am UTC](https://devforum.zoom.us/t/cant-get-sharescreen-canvas-and-not-showing-the-select-screen-modal-when-start-share-screen/80569/3 "2023-01-21T00:10:32Z")

</div>

Closed on January 21, 2023, 12:10am UTC

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