Description
I was having some errors related to the screen sharing using the video sdk, the problem occurs when a user tries to share the screen, ti took a long time to load the screen share (from 15 to 30 seconds) on the viewer (my client), and sometimes It didn’t load
When my client tried to share his screen it took 5 seconds maximum to load to me, so I though it was a network issue, but I’m not sure if it’s related to something else.
Checking on the logs of the sessions we found out that he has the “Screen share quality” as bad, but we don’t know if it onlymeans that when he shares his screen, the quality is bad for other viewers, or that he can’t see the screen share too
Could you help me to know if it is a network issue, or what could be the trouble?
The session id is:
yImpAfTqT+mucDbYjPL81g==
Screenshots
I connected with the user “jasonmichel”, my client (the guy with issues of not loading the screen share) connected as “davidjohnson”, and another mate connected as “joey”, with him there was no issues about sharing and loading screen share
Which Web Video SDK version?
1.11.0
Video SDK Code Snippets
client.on(‘active-share-change’, async (payload) => { //This event is triggered
if (payload.state === VideoActiveState.Active) {
await stream.startShareView(canvas, payload.userId); //But this is causing the error
} else if (payload.state === VideoActiveState.Inactive) {
// …
}
Device (where screen share didn’t load as viewer):
- Device: Macbook
- OS: macOs Ventura 13.1
- Chip: Apple M1 Pro
- Browser: Chrome
- Browser Version 124.0.6367.62 (Official Build) (arm64)