Sharing view got black screen while changing browser dimesions

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.

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

1 Like

Hey @vic.yang ,

Thanks for responding,

This is the link to demo what happened.

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

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

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.

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

1 Like

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

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

1 Like

Hey @trananhvan1102vn

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

Thanks
Vic