Problem while cancelling the screen sharing

When the user tries to share the screen and selects the “Cancel” button in the chrome screen sharing popup, a black rectangle is displayed in the zoom video. Is there any event fired when the user selects the “Cancel” button? The event can be used to rerender the video tiles.

Web Video SDK version

Steps to reproduce the behavior:

  1. Call startShareScreen() API
  2. Chrome screen sharing popup will be displayed.
  3. User selects “Cancel” button.
  4. User will be able to see a black rectangle in the zoom video
  • OS: Windows
  • Browser: Chrome
  • Browser Version :105.0.5195.102 (Official Build) (64-bit)

Hey @kvr

Thanks for your feedback.

Did you use the Video SDK Web 1.4.0 ? We have not released version 1.3.9.

After calling the startShareScreen, it will return a promise, if the user clicks the ‘Cancel’ button, the promise will reject for the reason “user deny screen share”.


Hi Vic,

Thanks for the solution. It works.


Hey there,
Great Question I was about to say the I am also facing the same problem with when I start cancelling the share screen of zoom on my website. how can I do this? Need help regarding this visit here.