Description
Hi there, team.
I have noticed, having been working on the Web SDK implementation with ReactTS, for over a year now, that the gallery layout only responds to canvas dimension changes in the implementation.
I understand that this might be the expected working, but it has huge effects on the working of the implementation, knowing the shortcoming of the react useState hook.
This is very much glaring when the camera is kept on while interacting with the SDK. Some of the instances which these effects are notable are:
- When you toggle the chats container.
- Viewing from the receiver’s end when screensharing is stopped.
- When user’s are removed/leave the meeting
Now, we have tried to workaround this by hooking the layout to listen to several events such as:
- ‘user-added’
- ‘user-removed’
- ‘user-updated’
- ‘active-share-change’
- ‘share-content-dimension-change’
But the issues persist. In fact, only the ‘user-updated’ event seems to really be working. Now when I test with all participants muted. It seems like the application cannot even respond to anything else. But if at least two participants are unmuted, the application begins to respond. If everywhere is in still silence, it also behaves as when all participants were muted - unreactive.
While I know (and had stated already above) that this maybe inherent to the framework, or probably the SDK API, I don’t know where to look anymore and this is really bad for our company because these issues have contributed heavily to delayed delivery of our product.
So I kindly ask, is there a remedy for this? I sincerely don’t know where to look anymore.
Which Web Video SDK version?
1.9.5