# Sharing view got black screen while changing browser dimesions

**URL:** <https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812>\
**Category:** Video SDK\
**Created:** [July 14, 2023, 4:06am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812 "2023-07-14T04:06:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![trananhvan1102vn](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@trananhvan1102vn](https://devforum.zoom.us/u/trananhvan1102vn)\
**Post date:** [July 14, 2023, 4:06am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/1 "2023-07-14T04:06:42Z")

</div>

Web @zoom1234/video-sdk 1.8.0

**Description**  
Users who receive sharing view ( rendered by canvas element ), get black screen for a few seconds while changing their browser dimensions.

This also happens when the user enters the room in which there is already another had started sharing his/her screen.

**Additional Context**  
The user who shares his/her view has no trouble while sharing their view. The sharing content can change its dimension without displaying black screen.

This scenario happens when the user who shares is not focused on their shared screen.

**Troubleshooting Routes**  
The same happens in the Demo Zoom video SDK.

---

<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:** [July 27, 2023, 10:48am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/2 "2023-07-27T10:48:11Z")

</div>

Hey @trananhvan1102vn

Thanks for your feedback.

Are there any errors on the console when the sharing doesn’t work?

We will try to reproduce it and fix it soon.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![trananhvan1102vn](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@trananhvan1102vn](https://devforum.zoom.us/u/trananhvan1102vn)\
**Post date:** [July 29, 2023, 2:56am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/3 "2023-07-29T02:56:32Z")

</div>

Hey @vic.yang ,

Thanks for responding,

This is the link to demo what happened.

> **[Media1.mp4](https://drive.google.com/file/d/1XjqZ3yHXkQzh7JAIY8apJX8czcVL2quw/view?usp=sharing)**
>
> Google Drive file.

The error is while the user is sharing the screen but not actively focusing on the sharing window. If other users change their browser dimension which affects the canvas, they will see no frame render for from a few seconds to forever.

There is no error logging to the screen.

Thanks  
Van

---

<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:** [July 31, 2023, 2:32am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/4 "2023-07-31T02:32:02Z")

</div>

Hey @trananhvan1102vn

Thanks for your demo.

Could you try to use separate devices for sharing sender and receiver? And see whether the issue still occurs.  
The sharing sender doesn’t have black screen because the content is rendered directly after capturing, but the receiver doesn’t.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![trananhvan1102vn](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@trananhvan1102vn](https://devforum.zoom.us/u/trananhvan1102vn)\
**Post date:** [July 31, 2023, 2:48am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/5 "2023-07-31T02:48:38Z")

</div>

Hi @vic.yang,

The error still occurs with 2 different devices scenario. While the sharing user is not focusing on the sharing window, the receiver will see a black screen for a period of time (sometimes a few seconds, sometimes a few minutes) while changing their browser dimension.

Thanks for your response.

---

<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:** [July 31, 2023, 3:14am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/6 "2023-07-31T03:14:53Z")

</div>

Hey @trananhvan1102vn

Understood!

Are you sharing the still content? And can you check whether `SharedArrayBuffer` is enabled?

We have a known issue with the still content and try to fix it in the next release.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![trananhvan1102vn](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@trananhvan1102vn](https://devforum.zoom.us/u/trananhvan1102vn)\
**Post date:** [July 31, 2023, 3:22am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/7 "2023-07-31T03:22:59Z")

</div>

I don’t really understand what is still content but in my situation, there is no action like mouse movements or anything on the sharing window.

I have checked and it happened on both SharedArrayBuffer enabled and disabled scenarios.

Thanks for your response, will wait for the next update

---

<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:** [July 31, 2023, 3:59am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/8 "2023-07-31T03:59:17Z")

</div>

Hey @trananhvan1102vn

Yes. That’s the behavior. No mouse movement and the screen content is static.

With `SharedArrayBuffer` enabled, we have improved the black screen time, and we are still working on it.

Optimistically, this issue will be improved in the next release. Please stay tuned.

Thanks  
Vic

---

<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:** [September 7, 2023, 2:21am UTC](https://devforum.zoom.us/t/sharing-view-got-black-screen-while-changing-browser-dimesions/91812/9 "2023-09-07T02:21:20Z")

</div>

Hey @trananhvan1102vn

The latest Video SDK Web has fixed the black screen issue with sharing, could you upgrade it and try it again?

> **[Zoom Video SDK- web - 1.8.10](https://devsupport.zoom.us/hc/en-us/articles/18598109985037-Zoom-Video-SDK-web-1-8-10)**
>
> Published September 6, 2023
> Enhanced
> 
> Added a prompt for recommending the latest version in the console.
> 
> Fixed
> 
> Resolved issues with the video mask feature.
> Fixed the problem with a black screen o...

Thanks  
Vic
