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.
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.
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.
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.